/* ============================================================================
   EXCEED — lang.css
   Everything the localised pages add on top of site.css:
     1. the shared language selector (subtle white panel),
     2. right-to-left support for Arabic,
     3. small helpers (isolated phone numbers, draft bar, feedback form).
   site.css is never modified by the localisation build.
   ========================================================================== */

/* ---- Telephone and other Latin runs never reverse inside RTL text ---- */
.lang-tel, .lang-tel bdi, bdi[dir="ltr"] { unicode-bidi: isolate; }
.lang-tel { direction: ltr; }
[dir="rtl"] .lang-tel { direction: ltr; unicode-bidi: isolate; }

/* ============================ LANGUAGE SELECTOR ============================
   A near-white rounded strip sitting quietly at the foot of the page, with
   the ambience toggle at one end and this single language dropdown trigger
   at the other — rather than all 18 flags shown at once, which crowded the
   bar. Clicking/tapping it opens a flag grid upward (the bar sits at the
   bottom of the viewport, so the panel has nowhere to go but up). The
   trigger itself always shows the currently-selected language's own flag.
   ========================================================================= */
.lang-select{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 26px;
  width: fit-content;
  margin: 0 auto;
  z-index: 96;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(16,32,51,.10);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(7,26,45,.16), 0 1px 2px rgba(7,26,45,.06);
  backdrop-filter: blur(6px);
  direction: ltr;
}
.lang-select-current{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.lang-select-current:hover, .lang-select-current[aria-expanded="true"]{
  border-color: rgba(183,139,67,.35);
  background: rgba(183,139,67,.08);
}
.lang-select-current:focus-visible{ outline: 2px solid var(--gold); outline-offset: 2px; }
.lang-select-current .lang-select-label{
  font-family: var(--reading);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8b8577;
  white-space: nowrap;
}
.lang-caret{ color: #8b8577; flex-shrink: 0; }
.lang-select-panel{position:fixed;left:0;right:0;bottom:84px;width:fit-content;margin:0 auto;display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:232px;max-height:62vh;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(253,250,242,.99);border:1px solid rgba(183,139,67,.45);border-radius:14px;box-shadow:0 18px 50px rgba(7,26,45,.3);padding:8px 0;z-index:2000}
.lang-select-panel[hidden]{ display: none; }
.lang-select-panel a{display:flex;align-items:center;gap:10px;padding:9px 18px;text-decoration:none;color:#1d2a3a;white-space:nowrap;font-size:13px}
.lang-select-panel a:hover{ border-color: var(--gold); transform: translateY(-1px); }
.lang-select-panel a:focus-visible{ outline: 2px solid var(--gold); outline-offset: 2px; }
.lang-select-panel a.is-current{
  border-color: var(--gold);
  background: rgba(183,139,67,.10);
  box-shadow: inset 0 0 0 1px rgba(183,139,67,.30);
}
.lang-select-panel svg, .lang-select-current svg{ display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(16,32,51,.12); }
.lang-select-panel .lang-abbr, .lang-select-current .lang-abbr{
  display: block; width: 22px; height: 15px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(16,32,51,.12);
  font-family: var(--reading); font-size: 9px; font-weight: 700; letter-spacing: .04em;
  line-height: 15px; text-align: center; color: #8a692a; background: #f3efe4;
}
/* The hero strapline lifts clear of the selector rather than sitting under it. */
.hero-tagline{ bottom: 92px; }
@media (max-width: 900px){
  .lang-select{ padding: 5px 7px; gap: 5px; }
  .lang-select-current .lang-select-label{ display: none; }
}
@media (max-width: 700px){
  .lang-select{ bottom: 74px; }
}
@media (prefers-reduced-motion: reduce){
  .lang-select-panel a, .lang-select-current{ transition: none; }
}

/* ------------------------- mobile corner switch -------------------------
   A flag pinned top-left, phone-only — the bottom lang-select bar above
   stays for tablet and desktop, so the two never show at once. */
.m-lang-switch{ display: none; }
@media (max-width: 760px){
  .lang-select{ display: none; }
  .m-lang-switch{
    display: block;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 90;
  }
  .m-lang-current{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(16,32,51,.14);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(7,26,45,.22), 0 1px 2px rgba(7,26,45,.08);
    cursor: pointer;
  }
  .m-lang-current svg{ width: 20px; height: 14px; display: block; border-radius: 2px; }
  .m-lang-panel{position:fixed;left:0;right:0;bottom:84px;width:fit-content;margin:0 auto;display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:232px;max-height:62vh;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(253,250,242,.99);border:1px solid rgba(183,139,67,.45);border-radius:14px;box-shadow:0 18px 50px rgba(7,26,45,.3);padding:8px 0;z-index:2000}
  .m-lang-panel[hidden]{ display: none; }
  .m-lang-panel a{display:flex;align-items:center;gap:10px;padding:9px 18px;text-decoration:none;color:#1d2a3a;white-space:nowrap;font-size:13px}
  .m-lang-panel a.is-current{
    border-color: var(--gold);
    background: rgba(183,139,67,.10);
    box-shadow: inset 0 0 0 1px rgba(183,139,67,.30);
  }
  .m-lang-panel svg{ display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(16,32,51,.12); }
  body.is-home .m-lang-switch{ top: 16px; left: 16px; }
}
[dir="rtl"] .m-lang-switch{ direction: ltr; }

/* ==================== soft language-suggestion banner (12 Aug 2026) ====================
   A slim dismissible bar offered only on English pages when the visitor's
   BROWSER LANGUAGE setting (not location) maps to a language we have a
   local site for — the same pattern as a browser's own "translate this
   page?" prompt. It never appears on translated pages, never re-appears
   once dismissed or once any language choice is made, and never redirects
   on its own — see the comment above it in site.js for why. */
.lang-suggest{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 11px 20px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(16,32,51,.10);
  box-shadow: 0 8px 24px rgba(7,26,45,.14);
  backdrop-filter: blur(6px);
  font-family: var(--reading);
}
.lang-suggest-text{
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.lang-suggest-actions{ display: flex; gap: 10px; flex-shrink: 0; }
.lang-suggest-yes, .lang-suggest-no{
  font-family: var(--reading);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.lang-suggest-yes{ background: var(--gold); border: 1px solid var(--gold); color: #fdfaf2; }
.lang-suggest-yes:hover{ background: var(--gold-deep); border-color: var(--gold-deep); }
.lang-suggest-no{ background: transparent; border: 1px solid var(--line-gold); color: var(--gold-deep); }
.lang-suggest-no:hover{ background: rgba(183,139,67,.08); }
.lang-suggest-yes:focus-visible, .lang-suggest-no:focus-visible{ outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 700px){
  .lang-suggest{ flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 14px; }
  .lang-suggest-text{ text-align: center; }
  .lang-suggest-actions{ justify-content: center; }
}
@media (prefers-reduced-motion: reduce){
  .lang-suggest-yes, .lang-suggest-no{ transition: none; }
}

/* ------------------------------ USA state list --------------------------- */
.state-list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 24px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
  max-width: 980px;
}
.state-list li{ border-bottom: 1px solid var(--line); }
.state-list a{
  display: block;
  padding: 11px 2px;
  font-family: var(--reading);
  font-size: 14px;
  color: var(--ink-dim);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.state-list a:hover{ color: var(--gold-deep); border-color: var(--line-gold); }
@media (max-width: 900px){ .state-list{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .state-list{ grid-template-columns: 1fr; } }

/* ---------------------------- draft / resume bar ------------------------ */
.draft-bar{ margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.draft-note-lead{ font-size: 13px; line-height: 1.7; color: var(--ink-dim); max-width: 56ch; }
.draft-code{ display: none; margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--ink-dim); }
.draft-code.shown{ display: block; }
.draft-code strong{ font-family: var(--reading); font-weight: 600; letter-spacing: .16em; color: var(--gold-deep); }
.draft-link{ display: inline-block; margin-top: 12px; padding: 0; background: none; border: none; border-bottom: 1px solid var(--line-gold); cursor: pointer; font-family: var(--reading); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.draft-link:hover{ color: var(--gold); border-color: var(--gold); }
.draft-resume{ display: none; margin-top: 18px; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.draft-resume.shown{ display: flex; }
.draft-resume .field{ flex: 1 1 200px; margin-bottom: 0; }
.draft-resume input{ text-transform: uppercase; letter-spacing: .18em; }
.draft-restore{ background: transparent; border: 1px solid var(--line-gold); color: var(--gold-deep); font-family: var(--reading); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; padding: 12px 24px; cursor: pointer; }
.draft-restore:hover{ background: var(--gold); color: #fdfaf2; border-color: var(--gold); }
.draft-note{ margin-top: 10px; font-size: 12.5px; color: var(--ink-dim); }
.lang-form .form-status a{ color: var(--gold-deep); border-bottom: 1px solid var(--line-gold); }
.lang-form .direct-fallback{ display: block; margin-top: 6px; }

/* Ragged right everywhere — body copy is never justified. */
.body-copy, .lead, .closing-note, .sector-strip p, .draft-note-lead,
.exceed-disclaimer, .foot-photo-note, .service-card p, .industry p, .stat-tile .lbl{
  text-align: start;
  text-justify: none;
}

/* ================================== RTL =================================== */
[dir="rtl"] .site-header{ left: auto; right: 0; padding: 26px clamp(24px,4vw,58px) 0 0; }
[dir="rtl"] .explore-button{ right: auto; left: clamp(24px,4vw,58px); }
[dir="rtl"] .site-menu{ right: auto; left: 0; transform: translateX(-102%); }
[dir="rtl"] body.menu-open .site-menu{ transform: none; }
[dir="rtl"] .menu-title, [dir="rtl"] .brand-word, [dir="rtl"] .brand-sub{ text-indent: 0; }
[dir="rtl"] .label, [dir="rtl"] .foot-head, [dir="rtl"] .lang-title,
[dir="rtl"] .quiet-link, [dir="rtl"] .btn-gold, [dir="rtl"] .btn-ghost,
[dir="rtl"] .c-form label, [dir="rtl"] .chip, [dir="rtl"] .industry-credit,
[dir="rtl"] .hero-tagline, [dir="rtl"] .service-card .n{ letter-spacing: 0; }
[dir="rtl"] .hero-tagline{ right: auto; left: clamp(66px,6vw,96px); }
[dir="rtl"] .pagenav{ right: auto; left: clamp(14px,2.2vw,28px); }
[dir="rtl"] .ambience-toggle{ left: auto; right: clamp(18px,3vw,44px); }
[dir="rtl"] .checklist li, [dir="rtl"] .coverage-cols li, [dir="rtl"] .deliverables li{ padding: 9px 24px 9px 0; }
[dir="rtl"] .checklist li::before, [dir="rtl"] .coverage-cols li::before, [dir="rtl"] .deliverables li::before{ left: auto; right: 0; }
[dir="rtl"] .ms-list li{ padding: 10px 26px 10px 0; }
[dir="rtl"] .ms-list li::before{ left: auto; right: 2px; }
[dir="rtl"] .exp-chapter .pull{ border-left: none; border-right: 1px solid var(--line-gold); padding-left: 0; padding-right: 24px; }
[dir="rtl"] .c-form input, [dir="rtl"] .c-form select, [dir="rtl"] .c-form textarea{ text-align: right; }
[dir="rtl"] .c-form input[dir="ltr"], [dir="rtl"] .c-form input[type="email"], [dir="rtl"] .c-form input[type="tel"], [dir="rtl"] .c-form input[type="date"]{ text-align: left; direction: ltr; }
[dir="rtl"] .hc-thumb{ left: auto; right: 3px; }
[dir="rtl"] .hc-fill{ left: auto; right: 0; }
[dir="rtl"] .no-cv{ border-left: none; border-right: 2px solid var(--gold); }
[dir="rtl"] .stat-tile .val{ direction: ltr; text-align: right; }
[dir="rtl"] .lang-select{ direction: ltr; }
/* Arabic sits better with a naskh face for headings; Cormorant has no Arabic. */
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3,
[lang="ar"] .hero-single, [lang="ar"] .image-statement p{
  font-family: "Noto Naskh Arabic", "Amiri", "Geeza Pro", "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1.35;
}
[lang="ar"] .image-statement p, [lang="ar"] .video-interlude p{ line-height: 1.4; }
[lang="th"] h1, [lang="th"] h2, [lang="th"] h3, [lang="th"] .hero-single{ line-height: 1.35; }
[lang="zh"] h1, [lang="zh"] h2, [lang="zh"] h3, [lang="zh"] .hero-single{ letter-spacing: .02em; line-height: 1.3; }


/* ------------------- language bar: country names ------------------- */
.lang-select-panel .lang-name, .m-lang-panel .lang-name{
  font-family: var(--reading); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: #3c4757; white-space: nowrap;
}
.lang-select-panel a:hover{ transform: none; background: rgba(183,139,67,.10); }

/* 25 Aug: gold quick bar — gold background, white wording/volume/bars for visibility */
nav.lang-select{background:rgba(183,139,67,.97) !important;border:1px solid rgba(255,255,255,.9);box-shadow:0 12px 34px rgba(7,26,45,.4);}
nav.lang-select .amb-btn,nav.lang-select .amb-btn .txt,nav.lang-select .qb-call,nav.lang-select .qb-wa,nav.lang-select .lang-select-current,nav.lang-select .lang-select-current .lang-select-label{color:#fff !important;}
nav.lang-select .bars i{background:#fff !important;}
nav.lang-select .amb-vol{accent-color:#fff;background:rgba(255,255,255,.4) !important;}
nav.lang-select .amb-vol::-webkit-slider-thumb{background:#fff;}
nav.lang-select .amb-vol::-moz-range-thumb{background:#fff;}
nav.lang-select .lang-caret{color:#fff !important;border-top-color:#fff;}
nav.lang-select .lang-select-current:hover,nav.lang-select .lang-select-current[aria-expanded="true"]{background:rgba(255,255,255,.18);}
/* 25 Aug: explore gold — menu button gold background, white text */
button.explore-button{background:#b78b43 !important;color:#fff !important;border:1px solid rgba(255,255,255,.5) !important;}
button.explore-button:hover{background:#c99a52 !important;color:#fff !important;}
/* 25 Aug: bigger logo — larger, more visible header logo with soft contrast shadow */
a.brand img{width:auto !important;height:104px !important;max-width:none !important;filter:drop-shadow(0 2px 12px rgba(7,26,45,.65));}
a.brand{width:auto !important;height:auto !important;}
@media (max-width:600px){a.brand img{height:78px !important;}}
/* 25 Aug: obvious icons — quick-bar call / WhatsApp / email icons ringed and slightly larger, still subtle */
nav.lang-select .qb-call,nav.lang-select .qb-wa,nav.lang-select .qb-mail{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.7);border-radius:50%;color:#fff !important;transition:background .25s ease;}
nav.lang-select .qb-call svg,nav.lang-select .qb-wa svg,nav.lang-select .qb-mail svg{width:16px;height:16px;}
nav.lang-select .qb-call:hover,nav.lang-select .qb-wa:hover,nav.lang-select .qb-mail:hover{background:rgba(255,255,255,.22);}

/* ===== centre-all-text 25 Aug per Rodney: every text element centred site-wide ===== */
body, body *:not(input):not(textarea):not(select):not(p){text-align:center !important}
p{text-align:justify !important;text-justify:inter-word}
ul,ol{list-style-position:inside}
input,textarea,select{text-align:left !important}
/* industry tile click-throughs 25 Aug */
.industry{cursor:pointer}
a.industry-more{display:inline-block;margin-top:14px;background:#b78b43;color:#fff !important;padding:9px 18px;font-size:11px;letter-spacing:.25em;text-transform:uppercase;text-decoration:none;border-radius:0}
a.industry-more:hover{background:#a07836}
.m-steps li>a{color:inherit;text-decoration:none}

/* 1,000-point inspection strapline (hero) */
.hero-1000{margin:18px auto 0;max-width:960px;color:#c99a52;font-size:13px;letter-spacing:.22em;text-transform:uppercase;text-align:center !important;font-weight:600}
@media(max-width:720px){.hero-1000{font-size:11px;letter-spacing:.14em;padding:0 16px}}

/* exact-centre headings */
h1,h2,h3,h4,h5,h6{margin-left:auto !important;margin-right:auto !important}