/* gulfconstructs.com — redesign v2 (prototype, GC_DESIGN=v2). Loaded after style.css and only overrides it.
   Direction: warmer paper, hairline rules instead of boxes, more air, red kept for labels and accents,
   one heading scale, tabular figures, designed covers instead of empty tiles. No inline styles (CSP). */

:root:not([data-theme="dark"]) {
  --paper: #FBFAF7;
  --paper-alt: #F2F0EA;
  --rule: #E3DED4;
  --muted: #5a606b;
}
:root { --hair: 1px solid var(--rule); --v2-gap: 72px; --gold: #B08D57; }
[data-theme="dark"] { --gold: #CDAE7A; }
body { font-feature-settings: "tnum" 1, "lnum" 1; }

/* ---------- Header ---------- */
.mast { min-height: 104px; }
.main-nav { border-block: var(--hair); }
.main-nav-in > a, .cty-dd > summary { letter-spacing: .01em; }
.cty-menu { box-shadow: 0 24px 48px -24px rgba(7, 27, 57, .35); border: var(--hair); }

/* ---------- Shared section heading ---------- */
.v2-sec { padding-block: var(--v2-gap) 0; }
.v2-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 24px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: var(--hair); position: relative; }
.v2-h::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; width: 64px; height: 2px; background: var(--red); }
.v2-k { grid-column: 1; margin: 0; font-family: var(--serif); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); }
:lang(ar) .v2-k { letter-spacing: 0; font-size: .86rem; }
.v2-h h2 { grid-column: 1; margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -.01em; }
:lang(ar) .v2-h h2 { line-height: 1.5; letter-spacing: 0; }
.v2-more { grid-column: 2; grid-row: 1 / span 2; align-self: end; display: inline-flex; gap: 8px; align-items: center; font-family: var(--serif); font-weight: 700; font-size: .86rem; color: var(--ink); text-decoration: none; white-space: nowrap; padding-bottom: 4px; }
.v2-more .ico { width: 16px; height: 16px; color: var(--red); transition: transform .35s cubic-bezier(.2, .65, .25, 1); }
.v2-more:hover { color: var(--red-ink); }
[dir="rtl"] .v2-more:hover .ico { transform: scaleX(-1) translateX(4px); }
[dir="ltr"] .v2-more:hover .ico { transform: translateX(4px); }
.v2-side-h { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; padding-bottom: 10px; border-bottom: var(--hair); }
:lang(ar) .v2-side-h { letter-spacing: 0; font-size: .92rem; }

/* ---------- Designed covers ---------- */
.cover.cover-v2, .thumb-cover { position: relative; overflow: hidden; background: var(--navy); border-bottom: 0; }
.cv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover.cover-v2 span, .thumb-cover { z-index: 1; }
.cover.cover-v2 span { position: relative; font-size: 1.35rem; letter-spacing: .01em; }
.cover.cover-v2::after { content: ""; position: absolute; inset-inline: 16px auto; bottom: 0; width: 48px; height: 3px; background: var(--red); }

/* ---------- Home ---------- */
.v2-hero { margin-top: 28px; gap: 2px; }
.v2-hero .side { gap: 2px; }
.v2-hero .ov .tx { padding: 32px; }
.v2-hero .ov-lead { min-height: 540px; }
.v2-hero .side-ov { min-height: 269px; }

.v2-strip { margin-top: 28px; border-block: var(--hair); }
.v2-strip-in { display: flex; align-items: stretch; gap: 0; min-height: 64px; }
.v2-strip-k { display: flex; align-items: center; padding-inline-end: 22px; margin-inline-end: 6px; border-inline-end: var(--hair); font-family: var(--serif); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); text-decoration: none; white-space: nowrap; }
:lang(ar) .v2-strip-k { letter-spacing: 0; font-size: .9rem; }
.v2-strip ul { display: flex; flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.v2-strip ul::-webkit-scrollbar { display: none; }
.v2-strip li { flex: 1 0 auto; }
.v2-strip li + li { border-inline-start: var(--hair); }
.v2-strip li a { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 8px 18px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.v2-strip li a > span { font-size: .78rem; color: var(--muted); }
.v2-strip li b { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; }
.v2-strip li a:hover b { color: var(--red-ink); }

.v2-latest { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
.v2-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 36px; }
.v2-card .v2-pic { display: block; overflow: hidden; margin-bottom: 16px; aspect-ratio: 16 / 10; background: var(--navy); }
.v2-card .v2-pic img, .v2-card .v2-pic .cover { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .6s ease; }
.v2-card:hover .v2-pic img { transform: scale(1.03); }
.v2-card h3 { font-size: 1.32rem; line-height: 1.3; margin: 0 0 .4em; text-wrap: balance; }
:lang(ar) .v2-card h3 { line-height: 1.55; }
.v2-card h3 a { color: var(--ink); text-decoration: none; }
.v2-card h3 a:hover { color: var(--red-ink); }
.v2-card .desc { color: var(--muted); font-size: .98rem; margin-bottom: .5em; }
.v2-card .date { font-size: .82rem; color: var(--muted); margin: 0; }
.v2-latest-side { display: flex; flex-direction: column; gap: 44px; padding-inline-start: 36px; border-inline-start: var(--hair); }
.v2-qn ol, .v2-picks ol { list-style: none; margin: 0; padding: 0; }
.v2-qn li { padding: 14px 0; border-bottom: var(--hair); }
.v2-qn li:first-child { padding-top: 0; }
.v2-qn-d { margin: 0 0 4px; font-size: .78rem; color: var(--red-ink); font-weight: 700; }
.v2-qn li a { color: var(--ink); text-decoration: none; font-size: .96rem; line-height: 1.55; }
.v2-qn li a:hover { color: var(--red-ink); }
.v2-qn .v2-more { margin-top: 14px; }
.v2-picks ol { counter-reset: pk; }
.v2-picks li { counter-increment: pk; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 12px 0; border-bottom: var(--hair); }
.v2-picks li::before { content: counter(pk, decimal-leading-zero); font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1.4; color: var(--gold); }
.v2-picks li a { color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: .98rem; line-height: 1.45; }
.v2-picks li a:hover { color: var(--red-ink); }

.v2-band { margin-top: var(--v2-gap); background: var(--navy); color: #fff; padding-bottom: 64px; }
.v2-band .v2-sec, .v2-band > .wrap { padding-top: 64px; }
.v2-band .v2-h { border-bottom-color: rgba(255, 255, 255, .18); }
.v2-band .v2-h h2, .v2-band .v2-more { color: #fff; }
.v2-band .v2-k { color: #ff8a90; }
.v2-counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 36px; padding: 0; list-style: none; }
.v2-counters li { padding: 4px 22px; border-inline-start: 1px solid rgba(255, 255, 255, .18); }
.v2-counters li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.v2-counters b { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; }
.v2-counters li:last-child b { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.9; }
.v2-counters li > span { font-size: .86rem; color: rgba(255, 255, 255, .72); }
.v2-proj { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.v2-proj li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.v2-proj a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "m v s" "t v s"; gap: 2px 28px; align-items: center; padding: 18px 0; color: #fff; text-decoration: none; }
.v2-proj-m { grid-area: m; font-size: .8rem; color: rgba(255, 255, 255, .68); }
.v2-proj strong { grid-area: t; font-family: var(--serif); font-size: 1.1rem; line-height: 1.4; }
.v2-proj a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.v2-proj-v { grid-area: v; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; text-align: end; white-space: nowrap; }
.v2-proj-v .muted { color: rgba(255, 255, 255, .6); font-weight: 400; font-size: .9rem; }
.v2-proj .stage { grid-area: s; }
.v2-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.v2-chips a { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; font-size: .86rem; }
.v2-chips a:hover { background: #fff; color: var(--navy); }

.v2-mk { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.v2-ind { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: var(--hair); border-inline-start: var(--hair); }
.v2-ind li { padding: 18px 20px; border-bottom: var(--hair); border-inline-end: var(--hair); display: flex; flex-direction: column; gap: 4px; }
.v2-ind-k { font-size: .8rem; color: var(--muted); }
.v2-ind b { font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; text-align: start; }
.v2-ind-p { font-size: .8rem; color: var(--muted); }
.v2-ipo ul { list-style: none; margin: 0 0 14px; padding: 0; }
.v2-ipo li { padding: 12px 0; border-bottom: var(--hair); display: flex; flex-direction: column; }
.v2-ipo li > span { font-weight: 700; }
.v2-ipo small { color: var(--muted); }
.v2-num { padding: 28px; background: var(--paper-alt); border-top: 3px solid var(--gold); }
.v2-num-k { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .v2-num-k { letter-spacing: 0; font-size: .9rem; }
.v2-num .v2-num-v { margin: 6px 0 10px; font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.15; color: var(--ink); }
.v2-num p { font-size: .96rem; }
.v2-num-src { font-size: .82rem; color: var(--muted); margin: 0; }

.v2-alt { margin-top: var(--v2-gap); background: var(--paper-alt); padding-bottom: var(--v2-gap); border-block: var(--hair); }
.v2-alt .v2-sec { padding-top: 64px; }
.v2-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: tl; border-top: var(--hair); border-inline-start: var(--hair); background: var(--paper); }
.v2-tools li { counter-increment: tl; border-bottom: var(--hair); border-inline-end: var(--hair); }
.v2-tools a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; padding: 24px; height: 100%; text-decoration: none; color: var(--ink); transition: background .2s ease; }
.v2-tools a::before { content: counter(tl, decimal-leading-zero); grid-row: span 2; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--gold); line-height: 1.4; }
.v2-tools strong { font-family: var(--serif); font-size: 1.08rem; }
.v2-tools a > span { color: var(--muted); font-size: .92rem; }
.v2-tools a:hover { background: var(--paper-alt); }
.v2-tools a:hover strong { color: var(--red-ink); }
.v2-start { margin: 22px 0 0; }
.v2-start a { font-family: var(--serif); font-weight: 700; color: var(--red-ink); }

.v2-cty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.v2-cty-card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; }
.v2-cty-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.v2-cty-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 15, 34, .92), rgba(5, 15, 34, .05) 60%); }
.v2-cty-card:hover img { transform: scale(1.04); }
.v2-cty-card .tx { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.v2-cty-card strong { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.v2-cty-card small { font-size: .84rem; color: rgba(255, 255, 255, .82); }
.v2-cty-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; }
.v2-cty-list li { border-bottom: var(--hair); }
.v2-cty-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n v" "r v"; padding: 14px 0; text-decoration: none; color: var(--ink); }
.v2-cty-list strong { grid-area: n; font-family: var(--serif); font-size: 1.05rem; }
.v2-cty-list a > span { grid-area: r; font-size: .8rem; color: var(--muted); }
.v2-cty-list b { grid-area: v; align-self: center; font-size: .92rem; text-align: end; max-width: 14em; }
.v2-cty-list a:hover strong { color: var(--red-ink); }

.v2-end { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2px; padding-bottom: var(--v2-gap); }
.v2-end .nl-box { height: 100%; margin: 0; }
.v2-issue:hover, .v2-cty-card:hover, .v2-proj a:hover, .ov:hover { color: #fff; }
.v2-issue { position: relative; display: block; min-height: 280px; overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; }
.v2-issue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.v2-issue .tx { position: absolute; inset: 0; z-index: 1; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.v2-issue .k { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff8a90; }
:lang(ar) .v2-issue .k { letter-spacing: 0; font-size: .9rem; }
.v2-issue strong { font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; }
.v2-issue .btn { align-self: flex-start; margin-top: 8px; padding: 9px 16px; background: var(--red); font-weight: 700; font-size: .88rem; }

/* ---------- Two columns with a sticky aside (country, project) ---------- */
.v2-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-top: 48px; padding-bottom: var(--v2-gap); }
.v2-main > .v2-s + .v2-s, .v2-main > .v2-s + .sources, .v2-main > .sources + .disclaimer { margin-top: 64px; }
.v2-main .block { padding: 0; margin: 0; }
.v2-main .wrap, .v2-main .wrap.narrow { max-width: none; padding-inline: 0; }
.v2-main .block-head { margin-bottom: 20px; }
.v2-aside-in { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 10px; padding: 24px; border: var(--hair); background: var(--paper); }
.v2-aside-h { margin: 0 0 4px; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; padding-bottom: 12px; border-bottom: var(--hair); }
.v2-aside .star-row { margin: 0; }
.v2-act { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border: var(--hair); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; }
.v2-act::after { content: ""; flex: none; width: 7px; height: 7px; border-top: 1.5px solid var(--red); border-inline-end: 1.5px solid var(--red); transform: rotate(45deg); transition: transform .35s cubic-bezier(.2, .65, .25, 1); }
[dir="rtl"] .v2-act::after { transform: rotate(-45deg); }
[dir="ltr"] .v2-act:hover::after { transform: translateX(3px) rotate(45deg); }
[dir="rtl"] .v2-act:hover::after { transform: translateX(-3px) rotate(-45deg); }
.v2-act:hover { border-color: var(--ink); }
.v2-act small { white-space: nowrap; font-weight: 400; color: inherit; opacity: .8; margin-inline-start: auto; }
.v2-act-p { background: var(--red); border-color: var(--red); color: #fff; }
.v2-act-p::after { border-color: #fff; }
.v2-act-p:hover { background: var(--red-ink); border-color: var(--red-ink); color: #fff; }

/* ---------- Country ---------- */
.v2-chero { position: relative; min-height: 560px; display: flex; align-items: flex-end; background: var(--navy); color: #fff; overflow: hidden; }
.v2-chero > img, .v2-chero > picture img, .v2-chero > .cv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v2-chero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 15, 34, .96) 8%, rgba(5, 15, 34, .55) 55%, rgba(5, 15, 34, .2)); }
.v2-chero-in { position: relative; z-index: 1; width: 100%; padding-block: 48px 40px; }
.v2-chero .crumbs, .v2-chero .crumbs a { color: rgba(255, 255, 255, .75); }
.v2-chero .guide-label { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: .8rem; padding: 3px 10px; margin: 0 0 14px; }
.v2-chero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .3em; }
:lang(ar) .v2-chero h1 { line-height: 1.35; letter-spacing: 0; }
.v2-chero-sum { max-width: 68ch; font-size: 1.1rem; color: rgba(255, 255, 255, .88); margin: 0 0 32px; }
.v2-hnums { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .25); }
.v2-hnums li { display: flex; flex-direction: column; gap: 2px; padding-inline: 22px; border-inline-start: 1px solid rgba(255, 255, 255, .25); }
.v2-hnums li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.v2-hnums li > span { font-size: .82rem; color: rgba(255, 255, 255, .72); }
.v2-hnums b { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; }
.v2-hnums b.is-t { font-size: 1.15rem; line-height: 1.5; }
.v2-hnums b.is-p { font-size: 1rem; font-weight: 700; color: rgba(255, 255, 255, .75); line-height: 2.2; }
.v2-anchors { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: var(--hair); box-shadow: 0 10px 20px -18px rgba(7, 27, 57, .4); }
.v2-anchors .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.v2-anchors .wrap::-webkit-scrollbar { display: none; }
.v2-anchors a { flex: none; padding: 16px 14px; font-family: var(--serif); font-weight: 700; font-size: .88rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.v2-anchors a:hover { color: var(--ink); border-bottom-color: var(--red); }
.v2-s { scroll-margin-top: 72px; }
.v2-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: var(--hair); }
.v2-facts > div { padding: 22px 0; border-bottom: var(--hair); }
.v2-facts > div:nth-child(odd) { padding-inline-end: 28px; }
.v2-facts > div:nth-child(even) { padding-inline-start: 28px; border-inline-start: var(--hair); }
.v2-facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
:lang(ar) .v2-facts dt { letter-spacing: 0; font-size: .9rem; }
.v2-facts dd { margin: 0; }
.v2-facts .v { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; line-height: 1.35; margin: 6px 0 8px; color: var(--ink); }
.v2-facts .n { font-size: .92rem; color: var(--muted); }
.v2-facts .is-pending .v { font-size: 1rem; }
.v2-faq details { border-bottom: var(--hair); }
.v2-faq details:first-child { border-top: var(--hair); }
.v2-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--serif); font-weight: 700; font-size: 1.06rem; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after { content: "+"; flex: none; color: var(--red); font-size: 1.4rem; line-height: 1; }
.v2-faq details[open] summary::after { content: "−"; }
.v2-faq details p { margin: 0 0 18px; color: var(--ink); max-width: 75ch; }
.v2-src .sources-list, .v2-src ol { columns: 2; column-gap: 36px; font-size: .9rem; }
.v2-src li { break-inside: avoid; }
.v2-main .bodies { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.v2-main .bodies li:nth-child(odd) a { padding-inline-end: 0; }
.v2-main .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-main .hub-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Article ---------- */
.v2-art-head { padding-top: 40px; }
.v2-art-w { max-width: 980px; }
.v2-art-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.15; letter-spacing: -.015em; margin: 6px 0 18px; text-wrap: balance; }
:lang(ar) .v2-art-head h1 { line-height: 1.45; letter-spacing: 0; }
.v2-stand { font-size: 1.3rem; line-height: 1.6; color: var(--muted); max-width: 62ch; margin: 0 0 8px; }
:lang(ar) .v2-stand { font-size: 1.22rem; line-height: 1.85; }
.v2-art-head .byl { margin-top: 24px; }
.v2-fig { max-width: 1200px; margin-top: 36px; overflow: hidden; }
.v2-fig img { max-height: 680px; }
.v2-art-grid { display: grid; grid-template-columns: 260px minmax(0, 720px); justify-content: center; gap: 72px; padding-top: 24px; padding-bottom: var(--v2-gap); }
.v2-art-grid.no-toc { grid-template-columns: 260px minmax(0, 720px); }
.v2-art-side { position: relative; }
.v2-art-side > * { position: sticky; top: 24px; }
.v2-art-side .toc { margin: 24px 0 24px; padding: 0 0 20px; background: none; border: 0; border-bottom: var(--hair); }
.v2-art-side .toc h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
:lang(ar) .v2-art-side .toc h2 { letter-spacing: 0; font-size: .92rem; }
.v2-art-side .toc ol { padding-inline-start: 1.2em; margin: 0; font-size: .92rem; }
.v2-art-side .toc li { margin-bottom: .55em; }
.v2-art-side .toc a { color: var(--ink); text-decoration: none; }
.v2-art-side .toc a:hover { color: var(--red-ink); }
.v2-art-side .share { top: auto; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .86rem; }
.v2-art-side .toc + .share { position: static; }
.v2-art-main .prose { font-size: 1.16rem; line-height: 1.8; padding-top: 24px; }
:lang(ar) .v2-art-main .prose { line-height: 1.95; }
.v2-art-main .prose > p:first-child::first-letter { font-family: var(--serif); font-weight: 700; }
.v2-art-main .prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.v2-sources { margin-top: 3em; padding: 28px 0 0; background: none; border: 0; border-top: 2px solid var(--ink); }
.v2-sources h2 { font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; }
:lang(ar) .v2-sources h2 { letter-spacing: 0; font-size: 1rem; }
.v2-sources ol { list-style: none; counter-reset: s; padding: 0; }
.v2-sources li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 10px 0; border-bottom: var(--hair); margin: 0; }
.v2-sources li::before { content: counter(s); grid-row: span 2; font-family: var(--serif); font-weight: 700; color: var(--red-ink); }
.v2-sources .src-date { display: block; font-size: .84rem; }
.v2-art-main .next-steps, .v2-art-main .nl-box { margin-top: 48px; }

/* ---------- Project ---------- */
.v2-ph { background: var(--navy); color: #fff; padding: 40px 0 0; }
.v2-ph .crumbs, .v2-ph .crumbs a { color: rgba(255, 255, 255, .72); }
.v2-ph .kicker, .v2-ph .kicker a { color: #ff8a90; }
.v2-ph h1 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.2; margin: 6px 0 14px; max-width: 24ch; text-wrap: balance; }
:lang(ar) .v2-ph h1 { line-height: 1.5; max-width: 30ch; }
.v2-ph .v2-stand { color: rgba(255, 255, 255, .82); }
.v2-ph-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr); margin: 32px 0 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.v2-ph-val { margin: 0; padding: 22px 22px 22px 0; display: flex; flex-direction: column; gap: 4px; }
[dir="rtl"] .v2-ph-val { padding: 22px 0 22px 22px; }
.v2-ph-val + .v2-ph-val { border-inline-start: 1px solid rgba(255, 255, 255, .22); padding-inline-start: 22px; }
.v2-ph-val > span { font-size: .82rem; color: rgba(255, 255, 255, .7); }
.v2-ph-val b { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; }
.v2-ph-val b.is-t { font-size: 1.1rem; line-height: 1.5; }
.v2-ph-val .muted { color: rgba(255, 255, 255, .65); font-size: 1.2rem; }
.v2-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .22); }
.v2-stages li { position: relative; padding: 18px 10px 22px 0; font-size: .86rem; color: rgba(255, 255, 255, .5); }
[dir="rtl"] .v2-stages li { padding: 18px 0 22px 10px; }
.v2-stages li::before { content: ""; position: absolute; top: -2px; inset-inline: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.v2-stages li.done { color: rgba(255, 255, 255, .85); }
.v2-stages li.done::before { background: rgba(255, 255, 255, .7); }
.v2-stages li.cur { color: #fff; font-weight: 700; }
.v2-stages li.cur::before { background: var(--red); }
.v2-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: var(--hair); }
.v2-dl > div { padding: 16px 0; border-bottom: var(--hair); }
.v2-dl > div:nth-child(odd) { padding-inline-end: 24px; }
.v2-dl > div:nth-child(even) { padding-inline-start: 24px; border-inline-start: var(--hair); }
.v2-dl dt { font-size: .82rem; color: var(--muted); }
.v2-dl dd { margin: 2px 0 0; font-weight: 700; }
.v2-orgs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.v2-orgs a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border: var(--hair); color: var(--ink); text-decoration: none; background: var(--paper); }
.v2-orgs small { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); }
:lang(ar) .v2-orgs small { letter-spacing: 0; font-size: .84rem; }
.v2-orgs strong { font-family: var(--serif); font-size: 1rem; line-height: 1.4; }
.v2-orgs a > span { font-size: .82rem; color: var(--muted); margin-top: auto; }
.v2-orgs a:hover { border-color: var(--ink); }
.v2-card-img { display: block; width: 100%; height: auto; border: var(--hair); }


/* ---------- Shared components, restyled sitewide (hairlines instead of heavy boxes) ---------- */
.block-head { position: relative; padding-bottom: 14px; border-bottom: var(--hair); margin-bottom: 26px; }
.block-head::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; width: 64px; height: 2px; background: var(--red); }
.block-head h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.block-head h2::before { display: none; }
.block-head .more-link { color: var(--ink); }
.ind-grid { gap: 0; border-top: var(--hair); border-inline-start: var(--hair); }
.ind-grid li { border: 0; border-bottom: var(--hair); border-inline-end: var(--hair); background: none; padding: 1.1rem 1.2rem; }
.tools { gap: 0; border-top: var(--hair); border-inline-start: var(--hair); }
.tools a { border: 0; border-bottom: var(--hair); border-inline-end: var(--hair); background: none; }
.tools a:hover { background: var(--paper-alt); }
.tools strong { color: var(--ink); }
.bodies { gap: 0; border-top: var(--hair); }
.bodies a { border: 0; border-bottom: var(--hair); background: none; padding: 16px 0; }
.bodies li:nth-child(odd) a { padding-inline-end: 20px; }
.bodies a:hover strong { color: var(--red-ink); }
.nl-box { border-top: 0; padding: 32px; }
.proj-nav .chip, .chips a { border-color: var(--rule); }
.sources { background: none; border-inline-start: 0; border-top: 2px solid var(--ink); padding: 24px 0 0; }
.card + .card { border-inline-start: 0; padding-inline-start: 0; }
.grid { gap: 40px 28px; }
.card .pic { display: block; margin-bottom: 14px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card .pic img, .card .pic .cover { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }


@media (min-width: 1101px) {
  .v2-art-w, .v2-art-grid, .v2-art-grid.no-toc { max-width: 1148px; }
  .v2-art-grid, .v2-art-grid.no-toc { grid-template-columns: 260px minmax(0, 1fr); justify-content: stretch; }
  .v2-art-w > * { margin-inline-start: 332px; max-width: 768px; }
  .v2-art-main > * { max-width: 768px; }
}
.next-steps { border-top: 2px solid var(--ink); }
.next-steps h2 { font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; }
:lang(ar) .next-steps h2 { letter-spacing: 0; font-size: 1rem; }

[dir="rtl"] .v2-chero > .cv-img { transform: scaleX(-1); }
@media (max-width: 760px) {
  .v2-card .v2-pic { aspect-ratio: 16 / 7; }
  .v2-card .desc { display: none; }
}

/* ---------- Dark mode touches ---------- */
[data-theme="dark"] .v2-anchors { box-shadow: none; }
[data-theme="dark"] .v2-band { background: #071226; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --v2-gap: 56px; }
  .v2-latest { grid-template-columns: minmax(0, 1fr); }
  .v2-latest-side { padding-inline-start: 0; border-inline-start: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .v2-mk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-ind { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v2-cols { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .v2-aside { order: -1; }
  .v2-aside-in { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 16px; }
  .v2-aside-h, .v2-card-img { display: none; }
  .v2-act { flex: 1 1 220px; }
  .v2-art-grid, .v2-art-grid.no-toc { grid-template-columns: minmax(0, 720px); gap: 0; }
  .v2-art-side > * { position: static; }
  .v2-cty-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-main .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --v2-gap: 44px; }
  .mast { min-height: 0; }
  .v2-hero { margin-top: 0; }
  .v2-hero .ov .tx { padding: 20px 16px; }
  .v2-hero .ov-lead { min-height: 420px; }
  .v2-hero .side-ov { min-height: 200px; }
  .v2-strip { margin-top: 0; }
  .v2-strip-in { padding-inline-end: 0; }
  .v2-strip-k { padding-inline-end: 14px; }
  .v2-h { grid-template-columns: minmax(0, 1fr); }
  .v2-more { grid-column: 1; grid-row: auto; justify-self: start; }
  .v2-cards { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .v2-card h3 { font-size: 1.2rem; }
  .v2-latest-side { grid-template-columns: minmax(0, 1fr); }
  .v2-counters { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .v2-counters li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .v2-proj a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "m m" "t t" "v s"; gap: 4px 12px; }
  .v2-proj-v { text-align: start; }
  .v2-mk { grid-template-columns: minmax(0, 1fr); }
  .v2-ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-ind b { font-size: 1.5rem; }
  .v2-tools { grid-template-columns: minmax(0, 1fr); }
  .v2-tools a { padding: 18px 16px; }
  .v2-cty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-cty-card { aspect-ratio: 3 / 4; }
  .v2-cty-card .tx { padding: 14px; }
  .v2-cty-card strong { font-size: 1.1rem; }
  .v2-cty-list { grid-template-columns: minmax(0, 1fr); }
  .v2-end { grid-template-columns: minmax(0, 1fr); }
  .v2-chero { min-height: 0; }
  .v2-chero-in { padding-block: 120px 28px; }
  .v2-hnums { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .v2-hnums li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .v2-facts, .v2-dl { grid-template-columns: minmax(0, 1fr); }
  .v2-facts > div:nth-child(n), .v2-dl > div:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
  .v2-src .sources-list, .v2-src ol { columns: 1; }
  .v2-main .bodies, .v2-main .grid, .v2-main .hub-cols { grid-template-columns: minmax(0, 1fr); }
  .v2-stand { font-size: 1.12rem; }
  .v2-ph-row { grid-template-columns: minmax(0, 1fr); }
  .v2-ph-val, [dir="rtl"] .v2-ph-val { padding: 14px 0; }
  .v2-ph-val + .v2-ph-val { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .v2-stages { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .v2-stages li { font-size: .7rem; line-height: 1.35; }
  .v2-art-main .prose { font-size: 1.08rem; }
}
@media print {
  .v2-anchors, .v2-aside, .v2-art-side { display: none; }
  .v2-cols, .v2-art-grid { display: block; }
}
.v2-src .sources { margin: 0; padding: 0; background: none; border: 0; }
.v2-src .sources h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Finishing touches ---------- */
::selection { background: rgba(176, 141, 87, .28); }
.util-bar { box-shadow: inset 0 -1px 0 rgba(201, 164, 101, .35); }
.star-btn .ico { width: 16px; height: 16px; margin-inline-end: 6px; vertical-align: -3px; }
.star-btn .star-on .ico { color: var(--gold); }
.v2-card h3 a, .v2-picks li a, .v2-qn li a, .v2-proj strong, .card h3 a, .proj-row h3 a {
  background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1px; transition: background-size .5s cubic-bezier(.2, .65, .25, 1), color .3s ease; }
[dir="ltr"] .v2-card h3 a, [dir="ltr"] .v2-picks li a, [dir="ltr"] .v2-qn li a, [dir="ltr"] .v2-proj strong, [dir="ltr"] .card h3 a, [dir="ltr"] .proj-row h3 a { background-position: 0 100%; }
.v2-card h3 a:hover, .v2-picks li a:hover, .v2-qn li a:hover, .v2-proj a:hover strong, .card h3 a:hover, .proj-row h3 a:hover { background-size: 100% 1px; text-decoration: none; }
.ov img, .v2-card .v2-pic img, .v2-cty-card img, .card .pic img { transition: transform 1.4s cubic-bezier(.2, .65, .25, 1); }
.ov:hover img, .card:hover .pic img { transform: scale(1.035); }
.v2-tools a::before { transition: color .3s ease; }
.v2-tools a:hover::before { color: var(--red); }
.v2-act-p, .v2-issue .btn, .nl-box button { position: relative; overflow: hidden; }
.v2-act-p::before, .v2-issue .btn::before, .nl-box button::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; inset-inline-start: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); transition: inset-inline-start .8s cubic-bezier(.2, .65, .25, 1); pointer-events: none; }
.v2-act-p:hover::before, .v2-issue:hover .btn::before, .nl-box button:hover::before { inset-inline-start: 120%; }
.v2-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
[dir="rtl"] .v2-progress { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--red), var(--gold)); }

/* ---------- Motion (skipped entirely when the reader prefers reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
  .motion .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .65, .25, 1) var(--d, 0ms), transform .9s cubic-bezier(.2, .65, .25, 1) var(--d, 0ms); }
  .motion .rv.in { opacity: 1; transform: none; }
  .motion .v2-h.rv::after, .motion .block-head.rv::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s cubic-bezier(.2, .65, .25, 1) .25s; }
  [dir="rtl"].motion .v2-h.rv::after, [dir="rtl"].motion .block-head.rv::after { transform-origin: 100% 50%; }
  .motion .v2-h.rv.in::after, .motion .block-head.rv.in::after { transform: scaleX(1); }
  .v2-hero .ov-lead img, .v2-chero > img:not(.cv-img), .v2-chero > picture img, .v2-fig img { animation: gc-kb 2.8s cubic-bezier(.2, .65, .25, 1) backwards; }
  .v2-hero .tx, .v2-chero-in > *, .v2-ph .wrap > *, .v2-art-w > * { animation: gc-up .9s cubic-bezier(.2, .65, .25, 1) backwards; }
  .v2-hero .side-ov:first-child .tx { animation-delay: .15s; }
  .v2-hero .side-ov:last-child .tx { animation-delay: .25s; }
  .v2-chero-in > :nth-child(2), .v2-ph .wrap > :nth-child(2), .v2-art-w > :nth-child(2) { animation-delay: .06s; }
  .v2-chero-in > :nth-child(3), .v2-ph .wrap > :nth-child(3), .v2-art-w > :nth-child(3) { animation-delay: .12s; }
  .v2-chero-in > :nth-child(4), .v2-ph .wrap > :nth-child(4), .v2-art-w > :nth-child(4) { animation-delay: .18s; }
  .v2-chero-in > :nth-child(n+5), .v2-ph .wrap > :nth-child(n+5), .v2-art-w > :nth-child(n+5) { animation-delay: .26s; }
  .v2-stages li.done::before, .v2-stages li.cur::before { transform-origin: 0 50%; animation: gc-grow .7s cubic-bezier(.2, .65, .25, 1) backwards; }
  [dir="rtl"] .v2-stages li.done::before, [dir="rtl"] .v2-stages li.cur::before { transform-origin: 100% 50%; }
  .v2-stages li:nth-child(2)::before { animation-delay: .35s; } .v2-stages li:nth-child(3)::before { animation-delay: .5s; }
  .v2-stages li:nth-child(4)::before { animation-delay: .65s; } .v2-stages li:nth-child(5)::before { animation-delay: .8s; }
  .v2-faq details[open] p { animation: gc-up .45s cubic-bezier(.2, .65, .25, 1) backwards; }
}
@keyframes gc-kb { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes gc-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes gc-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Mega menus: a featured column with one-line descriptions ---------- */
.dd-projects { grid-template-columns: 270px repeat(2, max-content); }
.dd-data { grid-template-columns: 270px repeat(3, max-content); }
.dd-feat { grid-row: 1 / span 2; margin-block: -18px -14px; margin-inline-start: -22px; padding: 20px 22px; background: var(--navy); }
.dd-feat .cty-region { color: #ff8a90; }
.dd-feat ul { margin: 0; }
.dd-feat li a { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; font-weight: 400; }
.dd-feat li:last-child a { border-bottom: 0; }
.dd-feat li a strong { font-family: var(--serif); font-size: 1rem; }
.dd-feat li a span { font-size: .84rem; color: rgba(255, 255, 255, .72); line-height: 1.5; }
.dd-feat li a:hover strong { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.cty-menu .dd-feat ~ .cty-all { grid-column: 2 / -1; }
.cty-menu { border: var(--hair); border-top: 2px solid var(--red); box-shadow: 0 28px 56px -28px rgba(7, 27, 57, .45); }
@media (prefers-reduced-motion: no-preference) {
  .cty-dd[open] > .cty-menu { animation: gc-drop .28s cubic-bezier(.2, .65, .25, 1) backwards; }
  .mgrp[open] > :not(summary) { animation: gc-up .35s cubic-bezier(.2, .65, .25, 1) backwards; }
}
@keyframes gc-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .dd-feat { display: none; }
  .dd-projects, .dd-data { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .cty-menu .dd-feat ~ .cty-all { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.v2-foot { margin-top: 0; border-top: 2px solid var(--red); }
.v2-foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-block: 52px 34px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.v2-foot-top .foot-brand p { max-width: 46ch; color: #c9d0de; margin: 0; }
.v2-foot-cta p { margin: 0 0 12px; color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.v2-foot-cta .v2-act { display: inline-flex; gap: 16px; }
.v2-foot-cta .foot-social { margin: 14px 0 0; font-family: var(--font); font-size: .88rem; font-weight: 400; color: #c9d0de; }
.v2-foot-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-block: 36px 28px; }
.v2-foot-grid h2 { padding-bottom: 10px; border-bottom: 1px solid rgba(201, 164, 101, .35); }
.v2-foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.v2-foot-legal span { opacity: .8; }
@media (max-width: 1100px) { .v2-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .v2-foot-top { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 36px 26px; }
  .v2-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-foot-cty { grid-column: 1 / -1; }
}

/* ---------- Tables become labelled cards on phones (labels written at build time) ---------- */
@media (max-width: 640px) {
  table.tcards, .tcards > thead, .tcards > tbody, .tcards > tbody > tr, .tcards > tbody > tr > td, .tcards > tbody > tr > th { display: block; width: auto; }
  table.tcards { min-width: 0 !important; border: 0; }
  .tcards > thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tcards > tbody > tr { margin: 0 0 12px; padding: 12px 14px; border: var(--hair); background: var(--paper); }
  .tcards > tbody > tr[hidden] { display: none; }
  .tcards > tbody > tr > td, .tcards > tbody > tr > th { padding: 8px 0; border: 0; border-bottom: 1px dashed var(--rule); text-align: start; white-space: normal; }
  .tcards > tbody > tr > :last-child { border-bottom: 0; }
  .tcards > tbody > tr > [data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--font); font-size: .78rem; font-weight: 700; color: var(--muted); }
  .tcards > tbody > tr > th[scope="row"] { display: block; padding: 0 0 8px; margin-bottom: 4px; border-bottom: var(--hair); font-size: 1.02rem; }
  .tcards > tbody > tr > th[scope="row"]::before { content: none; }
  .table-scroll:has(> .tcards) { overflow: visible; }
}
