/* ALSAADITRADE: About Us page (/pages/about-us/ and /ar/about-us.html).
   Builds on style.css + division.css; uses logical properties so the Arabic (RTL) page mirrors on its own. */

.about-page { --hair: rgba(73,197,182,.35); }

/* ---------- Image reveal (clip wipe) ---------- */
.js .reveal .ab-wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease) .1s; }
.js .reveal.is-in .ab-wipe { clip-path: inset(0); }

/* ---------- Hero ---------- */
.ab-hero { min-height: min(100svh, 980px); display: flex; align-items: flex-end; padding-bottom: 120px; }
.ab-hero > .container { width: 100%; grid-template-columns: 1.5fr 1fr; }
.ab-hero__bg img { opacity: .55; transform: scale(1.08); animation: abKen 18s var(--ease) forwards; }
@keyframes abKen { to { transform: scale(1); } }
.ab-hero__title { font-size: clamp(40px, 4.9vw, 70px); line-height: 1.02; letter-spacing: -.03em; font-weight: 500; max-width: 820px; }
.ab-hero__title .serif { display: block; }
.ab-hero p { max-width: 560px; }

.ab-facts {
  margin: 0; padding: 14px 6px 6px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.ab-facts__title { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 600; padding: 10px 22px 12px; }
.ab-facts > div:not(.ab-facts__title) { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: baseline; padding: 16px 22px; border-top: 1px solid rgba(255,255,255,.09); }
.ab-facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8ea2b3; font-weight: 500; }
.ab-facts dd { margin: 0; font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 19px; color: var(--white); line-height: 1.35; }

.ab-scroll { position: absolute; inset-inline-start: 50%; bottom: 34px; width: 26px; height: 42px; margin-inline-start: -13px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px; z-index: 2; }
.ab-scroll span { position: absolute; inset-inline-start: 50%; top: 8px; width: 3px; height: 8px; margin-inline-start: -1.5px; border-radius: 2px; background: var(--teal); animation: abScroll 2s var(--ease) infinite; }
@keyframes abScroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Shared frame ---------- */
.ab-frame { position: relative; border-radius: 4px 120px 4px 4px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.ab-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.ab-frame:hover img { transform: scale(1.04); }
.ab-frame--alt { border-radius: 120px 4px 4px 4px; }
[dir="rtl"] .ab-frame { border-radius: 120px 4px 4px 4px; }
[dir="rtl"] .ab-frame--alt { border-radius: 4px 120px 4px 4px; }

/* ---------- Story ---------- */
.ab-story__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: center; }
.ab-story__media { position: relative; padding: 0 0 40px; padding-inline-start: 40px; }
.ab-story__media::before { content: ""; position: absolute; inset-block: 40px 0; inset-inline: 0 40px; border: 1px solid var(--hair); border-radius: 4px 120px 4px 4px; }
[dir="rtl"] .ab-story__media::before { border-radius: 120px 4px 4px 4px; }
.ab-story__media .ab-frame { position: relative; }
.ab-seal {
  position: absolute; inset-inline-end: -28px; bottom: 0; width: 148px; height: 148px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: grid; place-items: center; align-content: center; gap: 8px; text-align: center;
  box-shadow: 0 0 0 8px var(--white), var(--shadow-lg);
}
.ab-seal::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid var(--hair); }
.ab-seal span { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.ab-story__text h2 { margin-bottom: 28px; }
.ab-story__text p { color: var(--muted); font-size: 16.5px; line-height: 1.85; }
.ab-dropcap::first-letter { float: inline-start; font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 4.1em; line-height: .82; padding: 6px 0 0; padding-inline-end: 14px; color: var(--teal-dark); }
.ab-pull { margin: 36px 0 0; padding: 4px 0; padding-inline-start: 28px; border-inline-start: 2px solid var(--teal); }
.ab-pull p { font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.5; color: var(--navy) !important; margin: 0 0 12px; }
.ab-pull footer { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; }

/* ---------- Philosophy (dark) ---------- */
.ab-phil { overflow: hidden; padding: 140px 0; }
.ab-phil__glow { position: absolute; width: 900px; height: 900px; inset-inline-start: 50%; top: -420px; margin-inline-start: -450px; border-radius: 50%; background: radial-gradient(circle, rgba(73,197,182,.16), transparent 62%); pointer-events: none; }
.ab-phil .container { position: relative; }
.ab-phil__head { text-align: center; max-width: 980px; margin: 0 auto 80px; }
.ab-phil__head .eyebrow { justify-content: center; }
.ab-phil__head .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.ab-phil__quote { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.3; color: var(--white); font-weight: 300; letter-spacing: -.02em; margin: 6px 0 36px; }
.ab-orn { display: flex; align-items: center; justify-content: center; gap: 18px; }
.ab-orn i { width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--teal)); }
.ab-orn i:last-child { background: linear-gradient(270deg, transparent, var(--teal)); }
.ab-orn img { opacity: .9; }
.ab-principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.ab-pr { position: relative; padding: 44px 32px 8px; border-inline-end: 1px solid var(--line-dark); transition: background .4s; }
.ab-pr:last-child { border-inline-end: 0; }
.ab-pr::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 0; height: 2px; background: var(--teal); transition: width .6s var(--ease); }
.ab-pr:hover::before { width: 100%; }
.ab-pr__n { display: block; font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(73,197,182,.7); margin-bottom: 26px; }
.ab-pr__i { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hair); color: var(--teal); display: grid; place-items: center; margin-bottom: 20px; }
.ab-pr h3 { font-size: 19px; margin-bottom: 10px; }
.ab-pr p { font-size: 14.5px; line-height: 1.75; color: #a9b9c7; margin: 0; }

/* ---------- Divisions ---------- */
.ab-divs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ab-div { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; border-radius: 22px; overflow: hidden; color: var(--white); isolation: isolate; box-shadow: var(--shadow); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.ab-div:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ab-div__img { position: absolute; inset: 0; z-index: -1; }
.ab-div__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ab-div:hover .ab-div__img img { transform: scale(1.06); }
.ab-div__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,44,.1) 0%, rgba(7,26,44,.55) 45%, rgba(7,26,44,.96) 100%); }
.ab-div__body { padding: 40px; display: grid; gap: 10px; }
.ab-div__n { position: absolute; top: 28px; inset-inline-end: 34px; font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 64px; color: rgba(255,255,255,.22); line-height: 1; }
.ab-div__eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.ab-div__eyebrow i { font-style: normal; letter-spacing: .08em; font-size: 10px; padding: 3px 8px; border-radius: 20px; background: var(--teal); color: var(--navy); }
.ab-div__title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 600; letter-spacing: -.015em; }
.ab-div__text { color: #c3d0db; font-size: 15px; line-height: 1.7; max-width: 480px; }
.ab-div__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 500; font-size: 14.5px; color: var(--white); padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.ab-div__go .i { width: 18px; height: 18px; color: var(--teal); transition: transform .3s var(--ease); }
.ab-div:hover .ab-div__go .i { transform: translateX(5px); }
[dir="rtl"] .ab-div:hover .ab-div__go .i { transform: translateX(-5px); }

.ab-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid #d6dee5; }
.ab-cap { padding: 36px 28px 0; border-inline-end: 1px solid #d6dee5; }
.ab-cap:first-child { padding-inline-start: 0; }
.ab-cap:last-child { border-inline-end: 0; }
.ab-cap span { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #c7d3dc; color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 20px; transition: background .3s, color .3s, border-color .3s; }
.ab-cap:hover span { background: var(--navy); color: var(--teal); border-color: var(--navy); }
.ab-cap h4 { font-size: 17px; margin-bottom: 8px; }
.ab-cap p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.7; }

/* ---------- Reach (image band) ---------- */
.ab-reach { color: #c3d0db; background: var(--navy); overflow: hidden; padding: 150px 0 130px; }
.ab-reach__bg { position: absolute; inset: 0; }
.ab-reach__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.ab-reach__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy) 0%, rgba(7,26,44,.55) 40%, rgba(7,26,44,.75) 70%, var(--navy) 100%); }
.ab-reach .container { position: relative; }
.ab-reach__head { text-align: center; max-width: 760px; margin: 0 auto 80px; }
.ab-reach__head .eyebrow { color: var(--teal); justify-content: center; }
.ab-reach__head .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.ab-reach h2 { color: var(--white); }
.ab-reach .lead { color: #a9b9c7; }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid rgba(255,255,255,.12); }
.ab-stat { text-align: center; padding: 48px 20px; border-inline-end: 1px solid rgba(255,255,255,.12); }
.ab-stat:last-child { border-inline-end: 0; }
.ab-stat b { display: block; font-family: "Noto Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(56px, 6vw, 84px); line-height: 1; color: var(--white); margin-bottom: 14px; }
.ab-stat b em { color: var(--teal); font-style: italic; }
.ab-stat > span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #8ea2b3; }

/* ---------- How we work ---------- */
.ab-how__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 96px; align-items: center; }
.ab-how__text h2 { margin-bottom: 24px; }
.ab-steps { list-style: none; margin: 44px 0 40px; padding: 0; position: relative; }
.ab-steps::before { content: ""; position: absolute; inset-block: 22px 22px; inset-inline-start: 22px; width: 1px; background: linear-gradient(var(--teal), #d6dee5); }
.ab-steps li { position: relative; display: flex; gap: 24px; padding: 0 0 30px; }
.ab-steps li:last-child { padding-bottom: 0; }
.ab-steps li > span { flex: none; width: 45px; height: 45px; border-radius: 50%; background: var(--white); border: 1px solid var(--teal); color: var(--teal-dark); display: grid; place-items: center; font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 16px; position: relative; transition: background .3s, color .3s; }
.ab-steps li:hover > span { background: var(--navy); color: var(--teal); border-color: var(--navy); }
.ab-steps h4 { font-size: 17px; margin: 9px 0 6px; }
.ab-steps p { font-size: 14.5px; color: var(--muted); margin: 0; }
.ab-how__media { position: relative; padding-top: 40px; padding-inline-end: 40px; }
.ab-how__media::before { content: ""; position: absolute; inset-block: 0 40px; inset-inline: 40px 0; border: 1px solid var(--hair); border-radius: 120px 4px 4px 4px; }
[dir="rtl"] .ab-how__media::before { border-radius: 4px 120px 4px 4px; }
.ab-how__media .ab-frame { position: relative; }
.ab-how__tag { position: absolute; inset-inline-start: -28px; bottom: 48px; display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 14px; background: var(--navy); color: var(--white); font-weight: 500; font-size: 14.5px; box-shadow: var(--shadow-lg); }
.ab-how__tag .i { color: var(--teal); }

/* ---------- Contact: address card ---------- */
.ab-address { display: flex; gap: 16px; margin-top: 32px; padding: 22px; border-radius: 16px; background: linear-gradient(160deg, rgba(73,197,182,.12), rgba(73,197,182,.03)); border: 1px solid rgba(73,197,182,.28); }
.ab-address > span { width: 42px; height: 42px; border-radius: 50%; background: rgba(73,197,182,.18); color: var(--teal); display: grid; place-items: center; flex: none; }
.ab-address small { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 6px; }
.ab-address address { font-style: normal; color: var(--white); font-size: 16px; line-height: 1.6; font-weight: 500; }
.ab-address a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; color: var(--teal); }
.ab-address a .i { width: 15px; height: 15px; }
.ab-address a:hover { color: var(--teal-2); }
.about-page #contact .contact-lines { margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .ab-story__grid, .ab-how__grid { gap: 64px; }
  .ab-principles { grid-template-columns: 1fr 1fr; }
  .ab-pr:nth-child(2) { border-inline-end: 0; }
  .ab-pr:nth-child(n+3) { border-top: 1px solid var(--line-dark); padding-top: 44px; }
  .ab-pr { padding-bottom: 40px; }
}
@media (max-width: 960px) {
  .ab-hero { min-height: 0; padding-bottom: 90px; }
  .ab-hero .container { grid-template-columns: 1fr; gap: 44px; }
  .ab-scroll { display: none; }
  .ab-story__grid, .ab-how__grid { grid-template-columns: 1fr; }
  .ab-story__media { max-width: 520px; }
  .ab-how__media { max-width: 520px; order: -1; }
  .ab-divs { grid-template-columns: 1fr; }
  .ab-div { min-height: 460px; }
  .ab-caps { grid-template-columns: 1fr 1fr; }
  .ab-cap:nth-child(2) { border-inline-end: 0; }
  .ab-cap:nth-child(3) { padding-inline-start: 0; }
  .ab-cap:nth-child(n+3) { border-top: 1px solid #d6dee5; margin-top: 36px; }
  .ab-stats { grid-template-columns: 1fr 1fr; }
  .ab-stat:nth-child(2) { border-inline-end: 0; }
  .ab-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .ab-phil { padding: 110px 0; }
  .ab-reach { padding: 110px 0 100px; }
}
@media (max-width: 600px) {
  .ab-hero__title { font-size: clamp(38px, 11vw, 52px); }
  .ab-facts > div:not(.ab-facts__title) { grid-template-columns: 1fr; gap: 4px; }
  .ab-story__media { padding-inline-start: 18px; padding-bottom: 18px; }
  .ab-story__media::before { inset-block: 18px 0; inset-inline: 0 18px; }
  .ab-seal { width: 112px; height: 112px; inset-inline-end: -6px; }
  .ab-seal img { width: 34px; height: 34px; }
  .ab-seal span { font-size: 9px; }
  .ab-frame, .ab-frame--alt, [dir="rtl"] .ab-frame, [dir="rtl"] .ab-frame--alt { border-radius: 4px 72px 4px 4px; }
  .ab-principles { grid-template-columns: 1fr; }
  .ab-pr { border-inline-end: 0; padding: 36px 0 32px; }
  .ab-pr + .ab-pr { border-top: 1px solid var(--line-dark); }
  .ab-pr__n { font-size: 44px; margin-bottom: 18px; }
  .ab-div { min-height: 480px; }
  .ab-div__body { padding: 28px 24px; }
  .ab-div__n { display: none; }
  .ab-caps { grid-template-columns: 1fr; }
  .ab-cap, .ab-cap:first-child, .ab-cap:nth-child(3) { padding: 30px 0 0; border-inline-end: 0; margin-top: 0; }
  .ab-cap + .ab-cap { border-top: 1px solid #d6dee5; margin-top: 30px; }
  .ab-stats { grid-template-columns: 1fr 1fr; }
  .ab-stat { padding: 36px 12px; }
  .ab-stat > span { font-size: 11.5px; letter-spacing: .08em; }
  .ab-how__media { padding-top: 18px; padding-inline-end: 18px; }
  .ab-how__media::before { inset-block: 0 18px; inset-inline: 18px 0; }
  .ab-how__tag { inset-inline-start: -6px; bottom: 30px; font-size: 13.5px; padding: 13px 16px; }
  .ab-orn i { width: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-hero__bg img { animation: none; transform: none; }
  .ab-scroll span { animation: none; }
  .js .reveal .ab-wipe { clip-path: none; }
}

/* ---------- Arabic tweaks ---------- */
[dir="rtl"] .ab-facts dd, [dir="rtl"] .ab-pull p, [dir="rtl"] .ab-pr__n, [dir="rtl"] .ab-div__n, [dir="rtl"] .ab-stat b, [dir="rtl"] .ab-steps li > span { font-family: "Noto Naskh Arabic", "Noto Serif", serif; font-style: normal; }
[dir="rtl"] .ab-pr__n, [dir="rtl"] .ab-div__n, [dir="rtl"] .ab-stat b, [dir="rtl"] .ab-steps li > span { font-family: "Noto Serif", Georgia, serif; font-style: italic; }
[dir="rtl"] .ab-dropcap::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-family: inherit; font-style: normal; }
[dir="rtl"] .ab-hero__title { line-height: 1.25; letter-spacing: 0; }
[dir="rtl"] .ab-pr__n { -webkit-text-stroke: 1px rgba(73,197,182,.7); }
.about-page #contact h2 .serif { white-space: nowrap; }
.ab-seal span { max-width: 78%; line-height: 1.45; }
@media (max-width: 600px) { .ab-seal span { letter-spacing: .1em; } }
