/* ===========================================================================
   AL-SAEED ECONOMIC GROUP  —  pages/p-global-presence.css
   ---------------------------------------------------------------------------
   Global Presence. The tenth distinct visual key:
     Home             teal filled eyebrow, expanding six-panel strip
     About            gold filled eyebrow, timeline on one rule
     Chairman         gold-on-dark eyebrow, letter on the dark ground
     Leadership       outlined eyebrow, portrait grid with no card boxes
     Sectors          rule-and-label eyebrow, alternating full-width rows
     Sector detail    dark filled eyebrow pill, one page as a tab set
     Companies        underlined eyebrow, filterable directory of crest cards
     Projects         vertical bar eyebrow, staggered grid, caption plates
     Project detail   bracketed eyebrow, long-form copy beside a sticky rail
     Global Presence  FLANKING rules - a short rule on each side of the label,
                      not one before it and not one under it - and the page's
                      spine is a TWO-COLUMN EVIDENCE COMPARISON: what the
                      design says about Iraq set against what it says about
                      Saudi Arabia, side by side across a hairline.

   That comparison is the page rather than a footnote to it, because the
   reference design genuinely says two different things about where this group
   is - "Est. 1984, Kingdom of Saudi Arabia" in the hero, "Iraq - Baghdad" in
   the footer, and 1954 in Baghdad in the sector copy. A Global Presence page
   that quietly picked one would be inventing the answer. Setting the evidence
   out in two columns asks the client the question instead, and no other page
   on the site uses that shape.
   =========================================================================== */

.page-global-presence{
  --eyebrow-fg:var(--teal-dp);
  --page-bg:var(--white);
}

/* The tenth eyebrow treatment: a short rule either side of the label. */
.page-global-presence .eyebrow{
  background:none;box-shadow:none;border:0;border-radius:0;
  padding:0;gap:.625rem;
  color:var(--eyebrow-fg);
}
.page-global-presence .eyebrow::before,
.page-global-presence .eyebrow::after{
  content:"";flex:0 0 auto;
  width:clamp(1rem,.75rem + 1vw,1.75rem);height:.125rem;
  background:currentColor;
}
.page-global-presence .eyebrow--onDark{color:var(--gold-lt)}

/* ---------------------------------------------------------------------------
   THE EVIDENCE, SIDE BY SIDE
   --------------------------------------------------------------------------- */
.where{background:var(--white)}
.where__intro{
  color:var(--ink-2);font-size:var(--fs-lg);
  max-width:min(48rem,100%);margin:var(--s-3) 0 0;
}

.where__grid{
  display:grid;gap:var(--s-4) 0;
  grid-template-columns:1fr;
  margin-top:clamp(2rem,1.5rem + 2.5vw,3.5rem);
}
@media (min-width:48rem){
  .where__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* the hairline that makes this read as one comparison rather than as two
     separate cards. Logical, so it lands between the columns either way. */
  .where__col + .where__col{
    border-inline-start:.0625rem solid var(--line);
    padding-inline-start:clamp(1.5rem,1rem + 2.5vw,3rem);
  }
  .where__col:first-child{padding-inline-end:clamp(1.5rem,1rem + 2.5vw,3rem)}
}

.where__place{
  margin:0;font-size:var(--fs-h3);color:var(--ink);
}
.where__role{
  display:inline-block;margin-top:.625rem;
  font-size:var(--fs-xs);font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;
  color:var(--teal-dp);
}
/* each column keys off its own colour so the two are told apart at a glance
   without either looking like the "right" answer */
.where__col--ksa .where__role{color:var(--gold-dk)}

/* The citations. Each is something the design actually says, so each is set as
   a quotation with a leading rule rather than as a bullet. */
.cites{margin:var(--s-3) 0 0;padding:0;list-style:none}
.cites li{
  padding-block:var(--s-2);
  border-top:.0625rem solid var(--line);
}
.cites li:last-child{border-bottom:.0625rem solid var(--line)}
.cites q{
  display:block;
  font-family:var(--ff-head, inherit);font-weight:600;
  font-size:var(--fs-body);color:var(--ink);
  quotes:"\201C" "\201D" "\2018" "\2019";
}
/* Arabic and Kurdish set quotations in guillemets, and the <q> element takes
   its marks from the quotes property rather than from the script - so they
   have to be named per direction. The same marks are used in the notice
   bands on the other pages, so the two agree. */
[dir="rtl"] .cites q{quotes:"\00AB" "\00BB" "\2039" "\203A"}
/* One citation is entirely Latin - an address and a dialling code - so bidi
   reorders its two runs around the separator inside an Arabic or Kurdish
   paragraph and it reads back to front. The dir attribute on the <q> itself
   isolates it. It has to be the attribute and not a nested .ltr span: that
   span is an inline-block, which leaves the quotation marks outside it, and
   at this column width they broke onto lines of their own. Realigning is
   then a second line, because dir="ltr" also makes start mean left here. */
[dir="rtl"] .cites q[dir="ltr"]{text-align:right;quotes:"\00AB" "\00BB" "\2039" "\203A"}
.cites span{
  display:block;margin-top:.375rem;
  font-size:var(--fs-sm);color:var(--muted);
}

/* ---------------------------------------------------------------------------
   THE PLACES THE DESIGN NAMES
   --------------------------------------------------------------------------- */
.ledger{background:var(--cream)}
.ledger__list{margin:clamp(2rem,1.5rem + 2vw,3rem) 0 0;padding:0;list-style:none}
.ledger__row{
  display:grid;gap:.5rem var(--gutter);
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  padding-block:clamp(1.125rem,1rem + .6vw,1.5rem);
  border-top:.0625rem solid var(--line);
}
.ledger__row:last-child{border-bottom:.0625rem solid var(--line)}
@media (min-width:48rem){
  .ledger__row{grid-template-columns:auto minmax(0,14rem) minmax(0,1fr)}
}
.ledger__idx{
  font-family:var(--ff-head, inherit);font-weight:700;
  font-size:var(--fs-sm);color:var(--gold-dk);
  font-variant-numeric:tabular-nums;
  min-width:1.75rem;
}
.ledger__place{
  margin:0;font-family:var(--ff-head, inherit);font-weight:700;
  font-size:var(--fs-h4);line-height:1.25;color:var(--ink);
}
.ledger__country{
  display:block;margin-top:.25rem;
  font-size:var(--fs-xs);font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;color:var(--teal-dp);
}
.ledger__what{
  margin:0;color:var(--muted);font-size:var(--fs-sm);
  grid-column:2 / -1;
}
@media (min-width:48rem){
  .ledger__what{grid-column:3;padding-top:.25rem}
}

/* ---------------------------------------------------------------------------
   THE NAMES IN THE DESIGN'S RIBBON
   ---------------------------------------------------------------------------
   The home page runs these seven as a moving marquee. Here they are set out
   still, as a plain grid, because on this page they are evidence to be read
   rather than decoration to be scanned - and repeating the marquee would just
   be repeating the home page.
   --------------------------------------------------------------------------- */
.ribbon{background:var(--dark-2);color:var(--white)}
.ribbon__title{color:var(--white);margin:0;font-size:var(--fs-h2)}
.ribbon__note{
  margin:var(--s-2) 0 0;color:rgba(255,255,255,.72);max-width:60ch;
}
.ribbon__list{
  display:grid;gap:.75rem;
  grid-template-columns:1fr;
  margin:clamp(2rem,1.5rem + 2vw,3rem) 0 0;
  padding:0;list-style:none;
}
@media (min-width:36rem){ .ribbon__list{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (min-width:62rem){ .ribbon__list{grid-template-columns:repeat(4,minmax(0,1fr))} }
.ribbon__list li{
  display:flex;align-items:center;
  min-height:4.25rem;
  padding:var(--s-2) var(--s-3);
  font-family:var(--ff-head, inherit);font-weight:600;
  font-size:var(--fs-sm);color:var(--white);
  background:rgba(255,255,255,.05);
  border-radius:var(--r-md);
  box-shadow:inset 0 0 0 .0625rem rgba(255,255,255,.12);
  transition:background var(--dur-fast) var(--ease),
             box-shadow var(--dur-fast) var(--ease);
}
.ribbon__list li:hover{
  background:rgba(255,255,255,.09);
  box-shadow:inset 0 0 0 .0625rem var(--gold-lt);
}
/* These are Latin company names inside Arabic and Kurdish copy, so each keeps
   its own direction - otherwise "Larsen & Toubro" reorders around the
   ampersand. The .ltr utility in the per-language sheets does the isolating;
   this only has to make sure the plate itself still starts at the leading
   edge of its own box. */
[dir="rtl"] .ribbon__list li{text-align:start}

/* ---------------------------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  .ribbon__list li{transition:none}
}
