/* =========================================================
   Sedad Mawthooq — English pages, batch 1
   index · about · services · methodology · sectors · clients
   Page-specific additions only. Uses the tokens from style.css.
   ========================================================= */

/* ---------- LTR: mirror the converging-lines motif so it leans toward the page centre ---------- */
html[dir="ltr"] .lines-motif svg { transform: scaleX(-1); }

/* ---------- LTR: English nav labels + tagline are wider than the Arabic ones; give the header room ---------- */
@media (min-width: 1181px) {
  html[lang="en"] .header-inner { max-width: 1400px; }
  html[lang="en"] .nav a.nav-link, html[lang="en"] .nav button.nav-link { padding-inline: 11px; font-size: .88rem; }
}
@media (min-width: 1181px) and (max-width: 1499px) { html[lang="en"] .site-header .brand-tag { display: none; } }
@media (min-width: 1181px) and (max-width: 1320px) {
  html[lang="en"] .nav a.nav-link { padding-inline: 8px; font-size: .84rem; }
  html[lang="en"] .header-inner { gap: 12px; }
  html[lang="en"] .site-header .brand-name { font-size: 1.08rem; }
  html[lang="en"] .header-cta { padding: 9px 15px; font-size: .85rem; }
  html[lang="en"] .header-actions { gap: 8px; }
}
@media (min-width: 1181px) and (max-width: 1259px) { html[lang="en"] .header-cta { display: none; } }

@media (min-width: 481px) { .site-footer .brand-tag { display: block; } }

/* Shared-CSS bug (both languages): the gold offset outline on .frame sits at z-index:-1 and is painted under the section background */
.frame { isolation: isolate; }

/* Contrast: the shared gold gradients end in pale #f2ddb0, which washes out on ivory/white. Use the deeper golds there. */
:root { --grad-gold-deep: linear-gradient(135deg, #d9b05a 0%, #c99a3d 45%, #8f6224 100%); --grad-gold-text-deep: linear-gradient(100deg, #b8862f 0%, #c99a3d 45%, #8f6224 75%, #b8862f 100%); }
.section--white .gold-text, .section--ivory .gold-text { background-image: var(--grad-gold-text-deep); background-size: 200% auto; }
.cta-band .gold-text { background-image: var(--grad-gold-text); background-size: 200% auto; }
.mstep .big-num { background-image: var(--grad-gold-deep); }

/* ---------- Home ---------- */
html[lang="en"] .hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.7rem); }
html[lang="en"] .hero-ctas { margin-bottom: 22px; }
.hero-slogan { font-family: var(--font-head); font-size: .95rem; letter-spacing: .02em; color: var(--gold-300); margin: 0 0 36px; }

.sector--detail { align-items: center; }
.sector--detail strong { display: block; line-height: 1.25; }
.sector--detail small { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.45; font-weight: 400; color: #a9b9cc; transition: color .45s var(--ease); }
.sector--detail:hover small { color: var(--navy-800); }

/* ---------- Services: jump bar ---------- */
.jump-bar { padding: 22px 0; border-bottom: 1px solid var(--line-light); position: relative; }
.jump-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.jump-label { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-inline-end: 6px; }
.jump-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(201, 154, 61, .1); color: var(--navy-900); font-family: var(--font-head); font-size: .88rem; font-weight: 500; transition: background .3s, color .3s; }
.jump-chip .ico { width: 16px; height: 16px; color: var(--gold-600); transition: color .3s; }
.jump-chip:hover { background: var(--navy-900); color: var(--gold-300); }
.jump-chip:hover .ico { color: var(--gold-300); }

/* ---------- Services: rich blocks ---------- */
.svc-block { scroll-margin-top: 100px; }
.svc-block .split { align-items: start; grid-template-columns: 1.1fr .9fr; }
@media (max-width: 860px) { .svc-block .split { grid-template-columns: 1fr; } }
.svc-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(3.6rem, 7vw, 5.6rem); line-height: 1; margin-bottom: 8px; background: var(--grad-gold-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc-block h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); color: var(--navy-900); }
.svc-promise { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.5; color: var(--navy-800); margin: 18px 0 22px; padding-inline-start: 18px; border-inline-start: 3px solid var(--gold-500); }
.svc-sub { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin: 28px 0 14px; }
.svc-foot { display: grid; gap: 16px; margin-top: 28px; }
.ideal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: .95rem; color: var(--ink-soft); }
.outcome { padding: 20px 24px; border-radius: var(--radius); background: var(--navy-900); box-shadow: inset 0 0 0 1px rgba(201, 154, 61, .3); }
.outcome strong { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.outcome p { margin: 0; color: #dfe7f0; font-size: .96rem; }

/* Visual column: sticky console-like mock cards */
@media (min-width: 861px) { .sv-col { position: sticky; top: 110px; } }
.svc-visual { position: relative; padding: 26px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: #dfe7f0; background: linear-gradient(160deg, var(--navy-700), var(--navy-900) 60%, var(--navy-950)); box-shadow: var(--shadow-deep), inset 0 0 0 1px rgba(201, 154, 61, .3); }
.svc-visual::before { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; inset-inline-end: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 154, 61, .3), transparent 65%); }
.sv-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sv-top > div { flex: 1; min-width: 0; }
.sv-top b { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--white); }
.sv-top small { font-size: .78rem; color: #93a5ba; }
.sv-ico { width: 64px; height: 64px; }
.sv-ico .ico { width: 32px; height: 32px; }
.sv-note { display: flex; align-items: flex-start; gap: 8px; margin: 22px 0 0; font-size: .76rem; line-height: 1.5; color: #8397ad; }
.sv-note .ico { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--gold-400); }

.mock-rows { display: grid; gap: 10px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: .88rem; }
.mock-row .st { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: rgba(255, 255, 255, .06); color: #93a5ba; }
.mock-row .st .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.mock-row span { flex: 1; min-width: 0; }
.mock-row em { font-style: normal; font-size: .74rem; color: #93a5ba; text-align: end; }
.mock-row.done .st { background: var(--grad-gold); color: var(--navy-950); }
.mock-row.now { background: rgba(201, 154, 61, .08); box-shadow: inset 0 0 0 1px rgba(201, 154, 61, .45); }
.mock-row.now .st { background: transparent; box-shadow: inset 0 0 0 2px var(--gold-400); color: var(--gold-300); }
.mock-rows + .mock-cols, .mock-legend + .mock-rows { margin-top: 18px; }

.mock-bars { display: grid; gap: 16px; }
.mock-bar { font-size: .86rem; }
.mock-bar span { display: block; margin-bottom: 6px; color: #dfe7f0; }
.mock-bar i { display: block; position: relative; height: 10px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.mock-bar i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); border-radius: 6px; background: var(--grad-gold); transition: width 1.6s var(--ease) .3s; }
.mock-bar--warn i::after { background: linear-gradient(90deg, #e0a35f, #d0574b); }
.reveal:not(.in-view) .mock-bar i::after { width: 0; }
.mock-alert { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 14px; border-radius: 12px; font-size: .84rem; color: #f3c9a0; background: rgba(224, 163, 95, .1); box-shadow: inset 0 0 0 1px rgba(224, 163, 95, .35); }
.mock-alert .ico { width: 20px; height: 20px; flex-shrink: 0; }

.mock-cols { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding: 14px 14px 0; border-radius: 14px; background: rgba(2, 15, 31, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.mock-cols span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--gold-300), var(--gold-600)); transition: height 1.4s var(--ease) .3s; }
.mock-cols span:nth-child(even) { background: linear-gradient(180deg, rgba(231, 199, 127, .55), rgba(169, 119, 47, .55)); }
.reveal:not(.in-view) .mock-cols span { height: 0; }
.mock-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .78rem; color: #a9b9cc; }
.mock-legend span { display: inline-flex; align-items: center; gap: 8px; }
.mock-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--gold-400); }
.mock-legend i.alt { background: rgba(231, 199, 127, .5); }

/* Supporting capabilities (7 cards: 4 + 3, centred) */
.cap-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 2.2vw, 28px); }
.cap-grid > .card { flex: 0 1 calc(25% - 21px); min-width: 250px; padding: 26px; }
.cap-grid > .card h3 { font-size: 1.1rem; }
@media (max-width: 640px) { .cap-grid > .card { flex-basis: 100%; min-width: 0; } }
.engage-note { justify-content: center; margin-top: 32px; font-size: .92rem; text-align: center; }
.engage-note .ico { margin-top: 3px; }

/* ---------- About ---------- */
@media (min-width: 861px) { .about-sticky { position: sticky; top: 110px; } }
.big-quote { margin: 0 auto; max-width: 900px; text-align: center; }
.big-quote .eyebrow { justify-content: center; }
.big-quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 2.3vw, 1.8rem); line-height: 1.55; color: var(--white); }
.big-quote blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 6rem; line-height: .6; height: .5em; margin-bottom: 22px; color: var(--gold-500); }
.big-quote figcaption { margin-top: 30px; font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; color: var(--gold-300); }
.big-quote figcaption::before { content: ""; display: block; width: 60px; height: 2px; margin: 0 auto 16px; background: var(--grad-gold); }

/* ---------- Methodology ---------- */
.mstep .mlabel { margin: 16px 0 8px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.mstep p { color: var(--ink-soft); }
.receive { display: flex; align-items: flex-start; gap: 16px; margin-top: 22px; padding: 18px 20px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line-light); }
.receive .ico-badge { width: 48px; height: 48px; border-radius: 14px; }
.receive .ico-badge .ico { width: 24px; height: 24px; }
.receive strong { display: block; margin-bottom: 2px; font-family: var(--font-head); color: var(--navy-900); }
.receive p { margin: 0; font-size: .95rem; }
.mstep .meta .chip { border-radius: 14px; line-height: 1.45; }

.life-bar { display: grid; grid-template-columns: 1fr 2fr 2fr; border-radius: 18px; overflow: hidden; margin-bottom: 36px; box-shadow: inset 0 0 0 1px rgba(201, 154, 61, .4); }
.lb { display: block; padding: 16px 22px; }
.lb b { display: block; font-family: var(--font-head); color: var(--white); }
.lb small { color: #c3d0de; font-size: .82rem; }
.lb--1 { background: rgba(201, 154, 61, .12); }
.lb--2 { background: rgba(201, 154, 61, .26); }
.lb--3 { background: var(--grad-gold); }
.lb--3 b { color: var(--navy-950); }
.lb--3 small { color: var(--navy-800); }
@media (max-width: 760px) { .life-bar { grid-template-columns: 1fr; } }
.card--dark .chip { border-radius: 14px; line-height: 1.4; color: var(--gold-300); background: rgba(201, 154, 61, .14); }
.card--dark .goal { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(201, 154, 61, .2); color: #dfe7f0; }
.card--dark .goal strong { color: var(--gold-300); }
.kpi-card .ico-badge { width: 52px; height: 52px; }
.kpi-card h3 { font-size: 1.08rem; margin-top: 16px; }

/* ---------- Sectors ---------- */
.sector-card { scroll-margin-top: 100px; }
@media (min-width: 1025px) { .sector-card h3 { min-height: 2.3em; display: flex; align-items: flex-end; } .sector-card .ico-badge + h3 { margin-top: 14px; } }
.sector-card:target { box-shadow: 0 0 0 2px var(--gold-500), var(--shadow-soft); }
.sector-card .challenge strong { font-family: var(--font-head); color: var(--navy-900); }
.sector-card .how { margin: 10px 0 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }

/* ---------- Clients ---------- */
.marquee { margin-top: 8px; }
.consent-note { justify-content: center; margin-top: 24px; color: #8397ad; text-align: center; }
.consent-note .ico { margin-top: 3px; }
.disclaimer { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 36px; padding: 18px 22px; border-radius: var(--radius); background: rgba(201, 154, 61, .1); box-shadow: inset 0 0 0 1px rgba(201, 154, 61, .35); }
.disclaimer .ico { flex-shrink: 0; margin-top: 3px; color: var(--gold-600); }
.disclaimer p { margin: 0; font-size: .96rem; color: var(--navy-900); }
.cases { display: grid; gap: 28px; }
.case-head .chip { background: rgba(201, 154, 61, .16); color: var(--gold-300); }
.case-body { grid-template-columns: 1fr 1.35fr 1fr; }
@media (max-width: 860px) { .case-body { grid-template-columns: 1fr; } }
