/* EMMAR — Corporate Website
   Self-contained RTL design system
*/
:root {
  --green-950: #0b1713;
  --green-900: #10221c;
  --green-850: #142a23;
  --green-800: #19352c;
  --green-700: #24483d;
  --cream-50: #faf7f0;
  --cream-100: #f2ebdf;
  --cream-200: #e6d9c4;
  --cream-300: #d9c6a6;
  --ink: #16231f;
  --muted: #6c746f;
  --line: rgba(22, 35, 31, .14);
  --line-light: rgba(242, 235, 223, .16);
  --shadow: 0 30px 80px rgba(8, 20, 16, .13);
  --radius: 2px;
  --container: min(1240px, calc(100vw - 64px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-50);
  font-family: "Estedad", Tahoma, "Segoe UI", sans-serif;
  line-height: 1.85;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--green-800); color: var(--cream-100); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: fixed; top: -100px; right: 20px; z-index: 9999;
  padding: 10px 18px; background: var(--cream-100); color: var(--green-950);
}
.skip-link:focus { top: 20px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: .35s ease;
}
.site-header.scrolled {
  background: rgba(11, 23, 19, .92);
  backdrop-filter: blur(18px);
  border-color: var(--line-light);
}
.nav-wrap {
  min-height: 92px; display: flex; align-items: center; gap: 42px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--cream-100); }
.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}
.brand-logo-header { height: 70px; }
.brand-logo-footer { height: 116px; }
.footer-logo-link { align-items: flex-start; }

.brand-mark { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 21px; letter-spacing: -.5px; }
.brand-text small { font: 9px/1.5 Arial, sans-serif; letter-spacing: 4px; margin-top: 5px; opacity: .68; }
.main-nav { display: flex; align-items: center; gap: 32px; margin-right: auto; }
.main-nav a { color: rgba(250, 247, 240, .72); font-size: 13px; position: relative; transition: .25s ease; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -9px; width: 0; height: 1px; background: var(--cream-200); transition: .3s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: var(--cream-50); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.nav-cta {
  color: var(--cream-100); border: 1px solid rgba(242,235,223,.35);
  padding: 10px 20px; font-size: 12px; transition: .3s ease;
}
.nav-cta:hover { color: var(--green-950); background: var(--cream-100); }
.menu-toggle {
  display: none; border: 0; background: none; width: 42px; height: 42px; padding: 10px;
}
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--cream-100); margin: 5px 0; transition: .3s ease; }

.hero {
  min-height: 100svh; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 78% 32%, rgba(69, 101, 84, .35), transparent 34%),
    linear-gradient(135deg, var(--green-950), var(--green-850));
  color: var(--cream-50);
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 60px;
}
.hero-noise {
  position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to left, black, transparent 70%);
}
.hero-layout { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 64px; position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 24px; display: flex; align-items: center; gap: 12px;
  color: rgba(242,235,223,.72); font-size: 12px; letter-spacing: .4px;
}
.eyebrow span { width: 44px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--green-700); }
.hero h1, .section h2, .contact h2 {
  margin: 0; font-weight: 400; line-height: 1.4; letter-spacing: -2px;
}
.hero h1 { font-size: clamp(48px, 5.1vw, 78px); max-width: 760px; }
.hero h1 em, .section h2 em, .contact h2 em { color: var(--cream-300); font-style: normal; }
.hero-lead { max-width: 610px; color: rgba(250,247,240,.68); margin: 28px 0 0; font-size: 15px; line-height: 2.05; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; }
.btn {
  min-height: 52px; padding: 0 24px; border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 34px;
  font-size: 13px; transition: .3s var(--ease);
}
.btn-light { background: var(--cream-100); color: var(--green-950); }
.btn-light:hover { background: transparent; color: var(--cream-100); border-color: rgba(242,235,223,.55); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(250,247,240,.74); }
.text-link span { transition: .3s var(--ease); }
.text-link:hover span { transform: translate(-6px, 5px); }

.hero-visual { height: min(680px, 68vh); position: relative; }
.architecture-art { position: absolute; width: 94%; height: 100%; left: 1%; bottom: 0; overflow: visible; }
.art-outline { fill: none; stroke: rgba(242,235,223,.75); stroke-width: 1.2; }
.art-outline.faint { opacity: .2; }
.art-surface { fill: rgba(230,217,196,.055); stroke: rgba(230,217,196,.12); }
.art-surface.alt { fill: rgba(230,217,196,.025); }
.art-window { fill: rgba(230,217,196,.07); stroke: rgba(230,217,196,.15); }
.art-ground { stroke: rgba(242,235,223,.25); stroke-width: 1; }
.flow-card {
  position: absolute; min-width: 154px; padding: 16px 18px;
  background: rgba(12,27,22,.72); border: 1px solid rgba(242,235,223,.16);
  backdrop-filter: blur(10px); display: grid; grid-template-columns: 30px 1fr; column-gap: 8px;
  box-shadow: 0 16px 30px rgba(0,0,0,.12);
}
.flow-card span { grid-row: 1 / 3; color: var(--cream-300); font: 10px Arial; padding-top: 5px; }
.flow-card strong { font-size: 13px; font-weight: 500; }
.flow-card small { color: rgba(250,247,240,.45); font-size: 10px; white-space: nowrap; }
.flow-1 { right: 4%; top: 20%; }
.flow-2 { left: 4%; top: 45%; }
.flow-3 { right: 12%; bottom: 11%; }
.hero-seal { position: absolute; left: 11%; bottom: 5%; width: 106px; height: 106px; color: var(--cream-200); }
.hero-seal svg { animation: spin 18s linear infinite; }
.hero-seal text { fill: currentColor; font: 7px Arial; letter-spacing: 1.7px; }
.hero-seal circle { fill: currentColor; }
@keyframes spin { to { transform: rotate(-360deg); } }
.hero-bottom { position: absolute; z-index: 2; bottom: 28px; right: 0; left: 0; display: flex; justify-content: space-between; align-items: center; color: rgba(250,247,240,.35); font-size: 10px; }
.scroll-hint { display: flex; align-items: center; gap: 12px; }
.scroll-hint span { width: 1px; height: 28px; background: currentColor; animation: pulse 1.8s infinite; }
.hero-index { direction: ltr; font-family: Arial; display: flex; align-items: center; gap: 10px; }
.hero-index i { width: 42px; height: 1px; background: currentColor; }
@keyframes pulse { 50% { transform: scaleY(.5); opacity: .3; } }

.stats { background: var(--cream-100); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { min-height: 175px; padding: 38px 32px; border-left: 1px solid var(--line); display: flex; flex-wrap: wrap; align-content: center; }
.stat:first-child { border-right: 1px solid var(--line); }
.stat strong { font: 400 36px/1 Arial, sans-serif; color: var(--green-850); }
.stat > span { font: 18px Arial; color: var(--green-700); margin-right: 3px; }
.stat p { flex-basis: 100%; font-size: 11px; color: var(--muted); margin: 14px 0 0; }
.stat-quote p { color: var(--green-850); font-size: 14px; line-height: 1.9; margin: 0; }

.section { padding: 130px 0; }
.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.section-no { color: var(--muted); font: 10px Arial; display: block; margin-bottom: 48px; }
.section h2, .contact h2 { font-size: clamp(38px, 4.1vw, 62px); color: var(--green-950); }
.section h2 em { color: var(--green-700); }
.large-copy { font-size: 20px; line-height: 2.05; margin: 88px 0 46px; max-width: 650px; }
.manifesto-list { border-top: 1px solid var(--line); }
.manifesto-list div { border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 24px; padding: 16px 0; }
.manifesto-list span { color: var(--green-700); font-size: 11px; border: 1px solid var(--line); padding: 2px 8px; }
.manifesto-list p { margin: 0; font-size: 13px; color: var(--muted); }
blockquote {
  margin: 44px 0 0; padding: 6px 22px 6px 0; border-right: 2px solid var(--green-700);
  color: var(--green-800); font-size: 14px;
}

.solutions { background: var(--green-900); color: var(--cream-50); position: relative; overflow: hidden; }
.solutions::before {
  content: ""; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(242,235,223,.05);
  border-radius: 50%; left: -170px; top: -180px; box-shadow: 0 0 0 110px rgba(242,235,223,.015), 0 0 0 220px rgba(242,235,223,.01);
}
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 70px; position: relative; }
.solutions .section-no, .ecosystem .section-no, .why .section-no, .contact .section-no { color: rgba(242,235,223,.42); }
.solutions h2, .ecosystem h2, .why h2, .contact h2 { color: var(--cream-50); }
.solutions h2 em, .ecosystem h2 em, .why h2 em, .contact h2 em { color: var(--cream-300); }
.section-intro { max-width: 400px; color: rgba(242,235,223,.55); font-size: 13px; margin: 0 0 10px; }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-right: 1px solid var(--line-light); position: relative; }
.solution-card {
  min-height: 340px; padding: 28px; border-left: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  position: relative; transition: .45s var(--ease); overflow: hidden;
}
.solution-card::after { content: ""; position: absolute; inset: 100% 0 0; background: var(--cream-100); z-index: 0; transition: .45s var(--ease); }
.solution-card > * { position: relative; z-index: 1; }
.solution-card:hover::after { inset: 0; }
.solution-card:hover { color: var(--green-950); transform: translateY(-4px); }
.card-top { display: flex; justify-content: space-between; color: rgba(242,235,223,.38); font: 10px Arial; transition: .3s; }
.solution-card:hover .card-top { color: var(--green-700); }
.solution-card svg { width: 54px; height: 54px; fill: none; stroke: var(--cream-300); stroke-width: 1.4; margin: 50px 0 26px; transition: .3s; }
.solution-card:hover svg { stroke: var(--green-700); }
.solution-card h3 { font-size: 17px; font-weight: 500; margin: 0 0 15px; }
.solution-card p { color: rgba(242,235,223,.47); font-size: 12px; margin: 0; line-height: 1.95; transition: .3s; }
.solution-card:hover p { color: var(--muted); }

.process { background: var(--cream-100); }
.process-title { display: flex; justify-content: space-between; align-items: end; }
.process-title h2 { text-align: left; }
.process-track { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 100px; position: relative; }
.process-line { position: absolute; top: 19px; right: 0; left: 0; height: 1px; background: var(--line); }
.process-line span { display: block; width: 0; height: 100%; background: var(--green-700); transition: 1.8s var(--ease); }
.process-track.visible .process-line span { width: 100%; }
.process-track article { position: relative; padding-left: 34px; }
.process-track b {
  width: 39px; height: 39px; border-radius: 50%; background: var(--cream-100); border: 1px solid var(--green-700);
  display: grid; place-items: center; color: var(--green-700); font: 11px Arial; position: relative; z-index: 2;
}
.process-track h3 { margin: 27px 0 10px; font-size: 15px; font-weight: 500; }
.process-track p { color: var(--muted); font-size: 11px; max-width: 210px; margin: 0; line-height: 1.9; }

.ecosystem { background: var(--green-850); color: var(--cream-50); overflow: hidden; }
.ecosystem-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px; }
.ecosystem-copy > p:not(.eyebrow) { color: rgba(242,235,223,.56); font-size: 13px; max-width: 470px; margin: 30px 0; }
.legend { display: flex; gap: 22px; font-size: 10px; color: rgba(242,235,223,.48); }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--cream-300); }
.legend span:nth-child(2) i { background: transparent; border: 1px solid var(--cream-300); }
.orbit { width: min(620px, 100%); aspect-ratio: 1; position: relative; margin-inline: auto; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 4%; border: 1px solid rgba(242,235,223,.05); transform: rotate(45deg); }
.orbit::after { inset: 21%; }
.orbit-ring { position: absolute; border: 1px solid rgba(242,235,223,.18); border-radius: 50%; }
.ring-a { inset: 11%; }
.ring-b { inset: 29%; border-style: dashed; animation: spin 34s linear infinite reverse; }
.orbit-core {
  position: absolute; width: 152px; height: 152px; top: 50%; right: 50%; transform: translate(50%,-50%);
  border-radius: 50%; background: var(--cream-100); color: var(--green-900); display: grid; place-content: center; text-align: center;
  box-shadow: 0 20px 70px rgba(0,0,0,.23);
}
.orbit-core svg { width: 55px; fill: none; stroke: currentColor; stroke-width: 1.4; margin: auto; }
.orbit-logo {
  display: block;
  width: 58px;
  height: 78px;
  object-fit: contain;
  margin: -5px auto -4px;
}

.orbit-core strong { font-size: 15px; margin-top: 8px; }
.node {
  position: absolute; min-width: 82px; text-align: center; font-size: 10px; color: var(--cream-100);
  background: var(--green-850); border: 1px solid rgba(242,235,223,.26); padding: 8px 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}
.n1 { top: 5%; right: 42%; }.n2 { top: 19%; right: 9%; }.n3 { top: 48%; right: -1%; }.n4 { bottom: 12%; right: 14%; }
.n5 { bottom: 4%; left: 36%; }.n6 { bottom: 18%; left: 2%; }.n7 { top: 46%; left: -2%; }.n8 { top: 16%; left: 12%; }

.projects { background: var(--cream-50); }
.dark-link { color: var(--green-700); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { background: var(--cream-100); border: 1px solid var(--line); transition: .4s var(--ease); }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.project-visual { height: 330px; position: relative; overflow: hidden; background: var(--green-800); }
.project-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,18,.55), transparent 60%); }
.project-visual > span { position: absolute; bottom: 16px; left: 18px; z-index: 2; color: rgba(242,235,223,.6); font: 8px Arial; letter-spacing: 2px; }
.visual-one { background: linear-gradient(140deg, #c8c0b0, #53675d); }
.visual-two { background: linear-gradient(140deg, #667b70, #1d332b); }
.visual-three { background: linear-gradient(140deg, #d6cec0, #8d958e); }
.building { position: absolute; inset: 22% 13% 0; z-index: 1; transform: perspective(700px) rotateY(-13deg); transition: .6s var(--ease); }
.project-card:hover .building { transform: perspective(700px) rotateY(-4deg) scale(1.03); }
.building::before, .building::after, .building i {
  content: ""; position: absolute; background: rgba(237,231,219,.48); border: 1px solid rgba(255,255,255,.24);
}
.b-one::before { inset: 0 20% 0 0; }
.b-one::after { inset: 18% 0 0 65%; background: rgba(25,45,37,.45); }
.b-one i:nth-child(1) { width: 45%; height: 1px; right: 10%; top: 28%; box-shadow: 0 55px rgba(255,255,255,.25), 0 110px rgba(255,255,255,.25); }
.b-one i:nth-child(2) { width: 1px; height: 60%; right: 38%; top: 12%; box-shadow: -55px 0 rgba(255,255,255,.2); }
.b-two::before { inset: 6% 32% 0 4%; transform: skewY(-7deg); background: rgba(230,217,196,.18); }
.b-two::after { inset: 28% 2% 0 54%; background: rgba(230,217,196,.36); }
.b-two i:nth-child(1) { inset: 20% 42% 18% 14%; background: repeating-linear-gradient(to bottom, transparent 0 18px, rgba(255,255,255,.22) 19px 20px); }
.b-three::before { inset: 0 5% 0 25%; clip-path: polygon(0 20%,100% 0,100% 100%,0 100%); }
.b-three::after { inset: 32% 65% 0 0; background: rgba(31,50,42,.38); }
.b-three i:nth-child(1) { inset: 32% 18% 10% 43%; background: repeating-linear-gradient(90deg, rgba(31,50,42,.33) 0 18px, transparent 19px 36px); }
.project-content { padding: 24px 24px 28px; }
.project-content > div { display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); }
.project-content h3 { font-size: 16px; line-height: 1.8; font-weight: 500; margin: 18px 0 10px; }
.project-content p { font-size: 11px; color: var(--muted); margin: 0 0 24px; }
.project-content a { font-size: 11px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 15px; color: var(--green-700); }


/* Integrated execution domains */
.capabilities {
  background:
    linear-gradient(rgba(22, 35, 31, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 35, 31, .035) 1px, transparent 1px),
    var(--cream-50);
  background-size: 72px 72px;
  position: relative;
  overflow: hidden;
}
.capabilities::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(36, 72, 61, .08);
  border-radius: 50%;
  left: -220px;
  top: -190px;
  box-shadow: 0 0 0 90px rgba(36, 72, 61, .025);
}
.capability-intro {
  color: var(--muted);
  max-width: 470px;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
}
.capability-card {
  min-height: 350px;
  padding: 38px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 240, .7);
  transition: .45s var(--ease);
  position: relative;
  overflow: hidden;
}
.capability-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0;
  background: var(--green-900);
  transition: .48s var(--ease);
}
.capability-card > * {
  position: relative;
  z-index: 1;
}
.capability-card:hover {
  color: var(--cream-50);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.capability-card:hover::before {
  height: 100%;
}
.capability-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--green-700);
}
.capability-head > span {
  font: 11px "Montserrat", Arial, sans-serif;
}
.capability-head small {
  font: 8px "Montserrat", Arial, sans-serif;
  letter-spacing: 2px;
  opacity: .6;
}
.capability-card h3 {
  font-size: 23px;
  font-weight: 400;
  margin: 76px 0 16px;
}
.capability-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
  transition: .35s ease;
}
.capability-card:hover p {
  color: rgba(242, 235, 223, .58);
}
.capability-card:hover .capability-head {
  color: var(--cream-300);
}
.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}
.capability-tags span {
  border: 1px solid var(--line);
  padding: 5px 10px;
  font-size: 9px;
  color: var(--green-700);
  transition: .35s ease;
}
.capability-card:hover .capability-tags span {
  color: var(--cream-200);
  border-color: rgba(242, 235, 223, .18);
}
.capability-bridge {
  margin-top: 42px;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  padding: 18px 28px;
  background: var(--cream-100);
}
.capability-bridge span {
  font-size: 11px;
  color: var(--muted);
}
.capability-bridge strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-850);
  text-align: center;
}
.capability-bridge i {
  height: 1px;
  background: linear-gradient(to left, var(--green-700), transparent);
  position: relative;
}
.capability-bridge i::after {
  content: "←";
  position: absolute;
  left: -2px;
  top: -13px;
  color: var(--green-700);
  font-style: normal;
  font-size: 13px;
}





/* Team section matched to provided reference - corrected column order */
.team-reference-layout {
  background: #ece6da;
  position: relative;
  overflow: hidden;
  padding: 78px 0 92px;
}
.team-reference-layout::before {
  content: "EMAAR";
  position: absolute;
  top: -8px;
  left: 33%;
  direction: ltr;
  font: 205px/1 "Montserrat", Arial, sans-serif;
  letter-spacing: -10px;
  color: rgba(22, 35, 31, .03);
  pointer-events: none;
  z-index: 0;
}
.team-reference-grid {
  display: grid;
  direction: ltr;
  grid-template-columns: 1.02fr .82fr .86fr;
  grid-template-areas: "left center right";
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.team-col-left { grid-area: left; }
.team-col-center { grid-area: center; }
.team-col-right { grid-area: right; }

.team-mini-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green-700);
}
.team-mini-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--green-700);
  opacity: .8;
}
.team-mini-text {
  font-size: 11px;
  color: var(--green-700);
}
.team-mini-line {
  width: 48px;
  height: 1px;
  background: var(--green-700);
  opacity: .75;
}
.team-mini-label-right {
  justify-content: flex-start;
  margin-bottom: 26px;
}
.team-visual-column {
  direction: rtl;
  padding-top: 18px;
}
.team-visual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.team-person-card {
  background: rgba(250,247,240,.56);
  border: 1px solid rgba(22, 35, 31, .08);
  box-shadow: 0 10px 24px rgba(11, 23, 19, .04);
  transition: .35s var(--ease);
}
.team-person-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(11, 23, 19, .07);
}
.team-person-photo {
  position: relative;
  aspect-ratio: 4 / 4.9;
  background: #b5b0aa;
  overflow: hidden;
}
.team-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-person-index {
  position: absolute;
  left: 11px;
  bottom: 9px;
  color: rgba(250,247,240,.88);
  font: 9px "Montserrat", Arial, sans-serif;
  letter-spacing: 1.8px;
}
.team-person-caption {
  min-height: 76px;
  padding: 18px 16px 16px;
  background: rgba(255,255,255,.18);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.team-person-caption h3 {
  margin: 0;
  font-size: 16px;
  color: var(--green-950);
  font-weight: 600;
  line-height: 1.8;
}
.team-person-caption p {
  margin: 4px 0 0;
  color: rgba(22, 35, 31, .58);
  font-size: 10px;
  line-height: 1.9;
}
.team-copy-column {
  direction: rtl;
  padding-top: 160px;
  max-width: 390px;
}
.team-copy-column p {
  margin: 0;
  color: var(--green-900);
  font-size: 13px;
  line-height: 2.4;
  text-align: right;
}
.team-copy-column p + p {
  margin-top: 34px;
  color: rgba(22, 35, 31, .72);
}
.team-heading-column {
  direction: rtl;
  text-align: right;
  padding-top: 18px;
}
.team-heading-column h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(52px, 4.8vw, 76px);
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: -1.4px;
}
.team-heading-column h2 em {
  font-style: normal;
}

@media (max-width: 1280px) {
  .team-reference-grid {
    grid-template-columns: 1fr .85fr .85fr;
    gap: 34px;
  }
  .team-reference-layout::before {
    left: 28%;
    font-size: 176px;
  }
  .team-copy-column {
    padding-top: 145px;
  }
}
@media (max-width: 980px) {
  .team-reference-layout {
    padding: 70px 0 78px;
  }
  .team-reference-layout::before {
    left: 14%;
    top: 8px;
    font-size: 126px;
  }
  .team-reference-grid {
    direction: rtl;
    grid-template-columns: 1fr;
    grid-template-areas:
      "right"
      "center"
      "left";
    gap: 28px;
  }
  .team-heading-column {
    padding-top: 0;
  }
  .team-copy-column {
    padding-top: 0;
    max-width: 100%;
  }
  .team-visual-column {
    padding-top: 0;
  }
  .team-heading-column h2 {
    font-size: 42px;
    line-height: 1.8;
  }
}
@media (max-width: 560px) {
  .team-reference-layout {
    padding: 62px 0 66px;
  }
  .team-reference-layout::before {
    left: 8%;
    top: 14px;
    font-size: 86px;
    letter-spacing: -5px;
  }
  .team-visual-cards {
    gap: 10px;
  }
  .team-reference-grid {
    gap: 22px;
  }
  .team-person-caption {
    min-height: 88px;
    padding: 14px 12px 13px;
  }
  .team-person-caption h3 {
    font-size: 14px;
    line-height: 1.8;
  }
  .team-person-caption p {
    font-size: 9px;
    line-height: 1.9;
  }
  .team-copy-column p {
    font-size: 12px;
    line-height: 2.25;
  }
  .team-heading-column h2 {
    font-size: 34px;
    line-height: 1.9;
  }
}

.why { padding: 0; background: var(--green-900); color: var(--cream-50); }
.why-layout { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.why-visual {
  min-height: 830px; padding: 110px max(8vw, 50px); display: flex; flex-direction: column; justify-content: flex-end;
  background:
    linear-gradient(to top, rgba(10,22,18,.93), rgba(10,22,18,.18)),
    radial-gradient(circle at 35% 28%, rgba(230,217,196,.34), transparent 28%),
    linear-gradient(135deg, #77827d, #1c332a);
  position: relative; overflow: hidden;
}
.why-visual::before {
  content: ""; position: absolute; width: 70%; height: 76%; top: -8%; left: 5%;
  border: 1px solid rgba(242,235,223,.24); border-radius: 50% 50% 0 0;
  box-shadow: inset 0 0 80px rgba(242,235,223,.07), 0 0 0 90px rgba(242,235,223,.025);
}
.quote-mark { font: 110px/1 Georgia, serif; color: var(--cream-300); height: 68px; position: relative; }
.why-visual p { font-size: clamp(25px, 3vw, 42px); line-height: 1.75; margin: 20px 0 28px; position: relative; }
.why-visual span { font-size: 10px; color: rgba(242,235,223,.48); position: relative; }
.why-content { padding: 110px max(7vw, 50px); }
.why-list { margin-top: 58px; border-top: 1px solid var(--line-light); }
.why-list article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.why-list article > span { font: 9px Arial; color: var(--cream-300); padding-top: 7px; }
.why-list h3 { font-size: 14px; font-weight: 500; margin: 0 0 5px; }
.why-list p { color: rgba(242,235,223,.48); font-size: 11px; margin: 0; }

.contact { background: var(--green-950); color: var(--cream-50); padding: 130px 0; position: relative; overflow: hidden; }
.contact::before {
  content: "EMMAR"; position: absolute; direction: ltr; left: -20px; bottom: -130px;
  font: 240px/1 Arial; letter-spacing: -20px; color: rgba(242,235,223,.022);
}
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; position: relative; }
.contact-copy > p:not(.eyebrow) { color: rgba(242,235,223,.52); max-width: 460px; font-size: 13px; margin: 30px 0; }
.contact-social { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; direction: ltr; }
.contact-social a { font: 11px Arial; color: var(--cream-300); border-bottom: 1px solid transparent; }
.contact-social a:hover { border-color: currentColor; }
.contact-form { padding-top: 77px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-form label { display: block; margin-bottom: 25px; }
.contact-form label > span { display: block; font-size: 10px; color: rgba(242,235,223,.52); margin-bottom: 9px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; border: 0; border-bottom: 1px solid rgba(242,235,223,.2); background: transparent;
  color: var(--cream-50); padding: 9px 0 12px; outline: none; transition: .3s; border-radius: 0;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(242,235,223,.27); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--cream-300); }
.contact-form select option { color: var(--green-950); background: var(--cream-100); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-submit { border: 0; min-width: 190px; }
.form-status { min-height: 26px; margin: 15px 0 0; font-size: 11px; color: var(--cream-300); }
.is-invalid { border-color: #d8947f !important; }

.site-footer { background: #07110e; color: var(--cream-50); border-top: 1px solid var(--line-light); padding: 70px 0 24px; }
.footer-main { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding-bottom: 62px; }
.footer-brand p { color: rgba(242,235,223,.38); font-size: 11px; margin: 22px 0 0; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links strong { font-size: 11px; font-weight: 500; margin-bottom: 10px; }
.footer-links a, .footer-links span { font-size: 10px; color: rgba(242,235,223,.42); }
.footer-links a:hover { color: var(--cream-100); }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(242,235,223,.08); display: flex; justify-content: space-between; color: rgba(242,235,223,.25); font: 8px Arial, sans-serif; letter-spacing: 1px; direction: ltr; }
.footer-bottom b { font-weight: inherit; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }.delay-2 { transition-delay: .22s; }.delay-3 { transition-delay: .32s; }

@media (max-width: 1080px) {
  :root { --container: min(100% - 44px, 960px); }
  .main-nav { gap: 20px; }
  .hero-layout { grid-template-columns: 1fr .9fr; gap: 25px; }
  .hero-visual { height: 580px; }
  .split-layout, .contact-layout { gap: 60px; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-layout { grid-template-columns: .72fr 1.28fr; gap: 24px; }
  .why-content { padding: 90px 50px; }
}

@media (max-width: 820px) {
  :root { --container: calc(100vw - 36px); }
  .nav-wrap { min-height: 76px; }
  .menu-toggle { display: block; margin-right: auto; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed; inset: 76px 0 0; background: rgba(11,23,19,.985);
    flex-direction: column; align-items: stretch; gap: 0; padding: 28px 24px;
    transform: translateX(100%); transition: .4s var(--ease); visibility: hidden;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav a { padding: 18px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero { min-height: auto; padding-top: 130px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 10px; }
  .hero h1 { font-size: clamp(45px, 12vw, 68px); }
  .hero-visual { height: 570px; width: min(100%, 610px); margin-inline: auto; }
  .hero-bottom { position: relative; bottom: auto; margin-top: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-right: 1px solid var(--line); }
  .section { padding: 90px 0; }
  .split-layout, .ecosystem-layout, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .section-no { margin-bottom: 30px; }
  .large-copy { margin-top: 25px; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .process-title { display: block; }
  .process-title h2 { text-align: right; margin-top: 15px; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 48px 10px; }
  .process-line { display: none; }
  .orbit { margin-top: 30px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .project-visual { height: 100%; min-height: 300px; }
  .why-layout { grid-template-columns: 1fr; }
  .why-visual { min-height: 620px; }
  .contact-form { padding-top: 20px; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --container: calc(100vw - 28px); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-logo-header { height: 58px; }
  .brand-logo-footer { height: 102px; }
  .hero { padding-top: 112px; }
  .hero-lead { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-visual { height: 460px; }
  .architecture-art { width: 108%; left: -4%; }
  .flow-card { min-width: 128px; padding: 12px; }
  .flow-card small { display: none; }
  .flow-1 { right: 0; }.flow-2 { left: 0; }.flow-3 { right: 5%; }
  .hero-seal { width: 85px; height: 85px; left: 2%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 140px; padding: 25px 18px; }
  .section h2, .contact h2 { font-size: 39px; letter-spacing: -1.5px; }
  .large-copy { font-size: 17px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 310px; }
  .process-track { grid-template-columns: 1fr; }
  .process-track article { padding-left: 0; }
  .orbit { transform: scale(.96); }
  .node { font-size: 8px; min-width: 66px; padding: 6px; }
  .orbit-core { width: 118px; height: 118px; }
  .orbit-core svg { width: 42px; }
  .project-card { display: block; }
  .project-visual { height: 310px; }
  .why-visual { min-height: 540px; padding: 70px 25px; }
  .why-content { padding: 80px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-links div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: center; }
}

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


/* Official EMMAR typography */
:lang(en),
.brand-text small,
.hero-index,
.card-top,
.section-no,
.stat strong,
.stat > span,
.flow-card span,
.hero-seal text,
.project-visual > span,
.contact-social a,
.footer-bottom {
  font-family: "Montserrat", Arial, sans-serif;
}

button,
input,
textarea,
select {
  font-family: "Estedad", Tahoma, "Segoe UI", sans-serif;
}


@media (max-width: 1080px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 320px; }
  .capability-bridge {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
    padding: 24px;
  }
  .capability-bridge i {
    width: 1px;
    height: 26px;
    margin: auto;
    background: linear-gradient(to bottom, var(--green-700), transparent);
  }
  .capability-bridge i::after {
    content: "↓";
    left: -6px;
    top: 13px;
  }
}

@media (max-width: 560px) {
  .capability-card { padding: 28px 22px; min-height: 300px; }
  .capability-card h3 { font-size: 20px; margin-top: 56px; }
  .capability-head small { letter-spacing: 1.2px; }
}


/* Complete official contact information */
.contact-layout {
  grid-template-columns: .96fr 1.04fr;
}
.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 42px;
}
.contact-detail-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 19px 20px;
  border: 1px solid rgba(242, 235, 223, .13);
  background: rgba(242, 235, 223, .025);
  transition: .35s var(--ease);
}
.contact-detail-card:hover {
  background: rgba(242, 235, 223, .055);
  border-color: rgba(230, 217, 196, .32);
  transform: translateX(-4px);
}
.contact-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(230, 217, 196, .24);
  display: grid;
  place-items: center;
}
.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--cream-300);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-detail-card small {
  display: block;
  color: rgba(242, 235, 223, .42);
  font-size: 9px;
  margin-bottom: 5px;
}
.contact-detail-card address {
  color: rgba(250, 247, 240, .83);
  font-size: 11px;
  font-style: normal;
  line-height: 2;
  max-width: 490px;
}
.contact-detail-card > div:last-child > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream-300);
  font-size: 10px;
  margin-top: 7px;
}
.contact-phone-list,
.contact-instagram-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-phone-list a,
.contact-instagram-list a {
  color: rgba(250, 247, 240, .85) !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px !important;
  margin-top: 3px !important;
  transition: .25s ease;
}
.contact-phone-list a:hover,
.contact-instagram-list a:hover {
  color: var(--cream-300) !important;
}
.contact-direct-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
}
.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(242, 235, 223, .64);
  font-size: 11px;
}
.contact-map-link:hover {
  color: var(--cream-100);
}
.form-heading {
  border-bottom: 1px solid rgba(242, 235, 223, .14);
  padding-bottom: 22px;
  margin-bottom: 28px;
}
.form-heading > span {
  font-size: 17px;
  color: var(--cream-100);
}
.form-heading p {
  margin: 5px 0 0;
  color: rgba(242, 235, 223, .38);
  font-size: 10px;
}
.footer-contact-block address {
  max-width: 260px;
  font-style: normal;
  color: rgba(242, 235, 223, .42);
  font-size: 9px;
  line-height: 1.9;
  margin-bottom: 4px;
}
.footer-contact-block a[dir="ltr"] {
  font-family: "Montserrat", Arial, sans-serif;
}

@media (max-width: 1080px) {
  .contact-layout {
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
  }
}

@media (max-width: 820px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding-top: 50px;
  }
}

@media (max-width: 560px) {
  .contact-detail-card {
    grid-template-columns: 40px 1fr;
    gap: 13px;
    padding: 17px 14px;
  }
  .contact-icon {
    width: 36px;
    height: 36px;
  }
  .contact-direct-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
}
