@font-face {
  font-family: "SYQ Garamond";
  src: url("/fonts/garamond-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SYQ Source Sans";
  src: url("/fonts/source-sans-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SYQ Source Sans";
  src: url("/fonts/source-sans-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SYQ Plex Arabic";
  src: url("/fonts/plex-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SYQ Plex Arabic";
  src: url("/fonts/plex-arabic-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* SYQ palette, read from the red, blue and gold business card (close match, not official codes). */
  --blue: #11265D;
  --red: #9B1318;  /* star red from the supplied star image, 26 Nov 2026 */
  --gold: #C49432;  /* logo gold from the brand sample, 26 Nov 2026 */
  --ivory: #FDF8F4;
  --blue-deep: #0A1838;  /* photo overlays and dark bands */
  --gold-light: #E2B76F; /* gold on dark backgrounds */

  /* Logo colours: edit these to switch the look.
     Blue and gold card: --logo-word-2: var(--gold);
     Red star card:      --logo-star: var(--red); --logo-word-1: var(--gold); --logo-word-2: var(--gold); */
  /* In use: red star, both words solid gold (His Excellency's office, 20 Nov 2026). */
  --logo-star: var(--red);
  --logo-word-1: var(--gold);
  --logo-word-2: var(--gold);
  --logo-edge: var(--gold);
  /* Logo words on photographs and dark bands: both solid gold */
  --logo-word-1-reversed: var(--gold-light);
  --logo-word-2-reversed: var(--gold-light);

  /* Earlier token names, kept so existing rules use the new palette */
  --navy: var(--blue);
  --warm-white: var(--ivory);
  --content-width: 1180px;
  --reading-width: 70ch;
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { background: var(--warm-white); color: var(--navy); scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--navy);
  font-family: "SYQ Source Sans", "Source Sans 3", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.locale-ar body,
[dir="rtl"] body { font-family: "SYQ Plex Arabic", sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "SYQ Plex Arabic", sans-serif; letter-spacing: 0; }
[dir="rtl"] .hero-tagline, [dir="rtl"] .lead, [dir="rtl"] .wordmark-secondary { font-family: "SYQ Plex Arabic", sans-serif; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .wordmark, .hero-wordmark {
  font-family: "SYQ Garamond", Garamond, Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
p { max-width: var(--reading-width); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
main a:not(.button):not(.home-card):hover, .footer-nav a:hover { color: var(--red); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  background: var(--warm-white);
  color: var(--navy);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  min-height: var(--header-height);
  color: var(--navy);
  background: var(--warm-white);
}
.site-header--hero {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  color: var(--warm-white);
  background: transparent;
}
.site-header.is-scrolled,
.site-header--hero.is-scrolled {
  position: fixed;
  background: var(--warm-white);
  color: var(--navy);
}
.site-header:not(.site-header--hero),
.site-header.is-scrolled { box-shadow: inset 0 -1px 0 rgba(200, 145, 62, 0.6); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 3rem, var(--content-width));
  min-height: var(--header-height);
  margin: 0 auto;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  font-size: 1.45rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark-primary { letter-spacing: 0.08em; }
.wordmark-secondary { font-family: "SYQ Source Sans", sans-serif; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(0.85rem, 1.6vw, 2rem); margin-inline-start: auto; }
.site-nav a, .language-switch a, .language-switch span { text-decoration: none; font-size: clamp(0.86rem, 0.95vw, 0.95rem); }
.site-nav a[aria-current="page"], .language-switch span[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.5em; }
.site-nav a:not(.nav-cta):hover { color: var(--red); }
.site-header--hero:not(.is-scrolled) .site-nav a:not(.nav-cta):hover { color: var(--gold-light); }
.nav-cta { display: inline-block; border: 1px solid var(--navy); padding: 0.6rem 0.9rem; background: var(--warm-white); color: var(--navy); font-weight: 600; line-height: 1.2; white-space: nowrap; }
.nav-cta:hover { border-color: var(--red); background: var(--red); color: var(--ivory); text-decoration: none; }
.language-switch { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.language-divider { opacity: 0.7; }
.menu-toggle { display: none; margin-inline-start: auto; padding: 0.4rem 0; border: 0; background: transparent; color: inherit; cursor: pointer; }

.page { min-height: 40vh; }
.page-inner { padding-bottom: 3rem; }
.inner-heading {
  width: min(100% - 3rem, var(--content-width));
  margin: 0 auto;
  padding: 40px 0 clamp(2rem, 4vw, 3rem);
  border: 0;
}
.inner-heading::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-block-end: 23px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  background: var(--gold);
}
.eyebrow { margin-bottom: 0.85rem; color: var(--red); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
.text-section, .chairman-block, .privacy-copy, .contact-form-section, .contact-introduction, .sector-note, .service-list, .sector-list {
  width: min(100% - 3rem, var(--content-width));
  margin-inline: auto;
}
.text-section, .privacy-copy { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.page-inner .text-section { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.inner-heading + .text-section, .inner-heading + .privacy-copy, .inner-heading + .contact-introduction { padding-top: 0.5rem; }
.inner-heading + .service-list .service-item:first-child { padding-top: 1rem; }
.inner-heading + .sector-list { margin-top: 0.5rem; }
.lead { max-width: 55ch; font-family: "SYQ Garamond", Garamond, Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.25; }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--warm-white);
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { z-index: -3; background: var(--navy); }
.hero-overlay {
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 24, 56, 0.35) 0%, rgba(10, 24, 56, 0.55) 100%);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease; }
.hero-slide.is-current { opacity: 1; }
.hero-picture, .hero-picture img { display: block; width: 100%; height: 100%; }
.hero-picture img { object-fit: cover; transform-origin: center; }
.hero-slide.is-current .hero-picture img, .hero-slide.is-outgoing .hero-picture img { animation: hero-drift 8.5s linear both; }
.hero-content {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(90% - 2rem, 900px);
  padding-top: var(--header-height);
  text-align: center;
}
.hero-content::before { content: ""; position: absolute; inset: -12% -20%; z-index: -1; background: radial-gradient(ellipse at center, rgba(10, 24, 56, 0.42) 0%, rgba(10, 24, 56, 0.22) 45%, rgba(10, 24, 56, 0) 72%); pointer-events: none; }
.hero-wordmark, .hero-tagline { text-shadow: 0 1px 18px rgba(10, 24, 56, 0.45); }
.hero-wordmark { margin-bottom: 1.5rem; font-size: clamp(5rem, 16vw, 12rem); letter-spacing: 0.08em; }
.hero-tagline { margin: 0 auto 2rem; max-width: none; font-family: "SYQ Source Sans", sans-serif; font-size: clamp(1.15rem, 2vw, 1.625rem); line-height: 1.15; }
.button {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 0.75rem 1.25rem;
  color: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}
.button:hover { border-color: var(--gold); }
.button--light { color: var(--warm-white); }
.button--light:hover { border-color: var(--gold-light); color: var(--gold-light); }
.button--dark { color: var(--navy); }
.button--dark:hover { border-color: var(--red); background: var(--red); color: var(--ivory); }
.button--dark[disabled]:hover { border-color: currentColor; background: transparent; color: var(--navy); }
.hero-content > * { opacity: 0; animation: opening-reveal 0.4s ease-out forwards; }
.hero-wordmark { animation-delay: 0.6s; }
.hero-tagline { animation-delay: 1.2s; }
.hero-cta { animation-delay: 1.8s; }

.home-introduction { padding-top: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(4rem, 9vw, 8rem); }
.invitation-block { width: min(100% - 3rem, 900px); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 0; border-top: 1px solid var(--gold); text-align: center; }
.invitation-block h2 { margin-inline: auto; }
.invitation-block p { margin-inline: auto; }
.invitation-block .button { margin-top: 1.2rem; }

.still-band { height: 30vh; min-height: 14rem; max-height: 22rem; overflow: hidden; background: var(--navy); }
.still-picture, .still-picture img { display: block; width: 100%; height: 100%; }
.still-picture img { object-fit: cover; }
.about-copy { border-top: 1px solid var(--gold); }
.chairman-block { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--gold); }
.chairman-copy { max-width: 70ch; }
.chairman-copy p { margin-bottom: 1.4rem; }
.chairman-signature { display: flex; flex-direction: column; gap: 0.25rem; width: fit-content; max-width: 100%; margin: 2rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--gold); }
.chairman-name { font-family: "SYQ Garamond", Garamond, Georgia, serif; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; }
.chairman-role { color: var(--red); font-size: 0.92rem; letter-spacing: 0.06em; }
[dir="rtl"] .chairman-role { letter-spacing: 0; }
.service-list { border-top: 1px solid var(--gold); }
.service-item { display: grid; grid-template-columns: 5rem 1fr; gap: 2rem; padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--gold); }
.item-index { color: var(--red); font-size: 0.85rem; letter-spacing: 0.12em; }
.service-item h2 { margin-bottom: 0.75rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.service-item p { margin-bottom: 0; }
.sector-list { border-top: 1px solid var(--gold); }
.sector-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 25rem; border-bottom: 1px solid var(--gold); }
.sector-row--reverse .sector-image { order: 2; }
.sector-row--reverse .sector-copy { order: 1; }
.sector-image { min-height: 20rem; max-height: 28rem; background: var(--navy); }
.sector-picture, .sector-picture img { display: block; width: 100%; height: 100%; }
.sector-picture img { object-fit: cover; }
.sector-copy { align-self: center; padding: clamp(2rem, 5vw, 5rem); }
.sector-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.sector-copy > p:last-child { margin-bottom: 0; }
.sector-note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gold); }

.contact-introduction { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.contact-introduction p { max-width: 60ch; }
.contact-form-section { padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--gold); }
.form-pending { max-width: 60ch; }
.enquiry-form { max-width: 680px; margin-top: 2.5rem; }
.form-field { margin-bottom: 1.5rem; }
.form-field label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; font-weight: 600; }
.field-hint { color: var(--navy); font-size: 0.84rem; font-weight: 400; }
.form-field input, .form-field textarea { display: block; width: 100%; border: 1px solid var(--navy); border-radius: 0; padding: 0.7rem 0.8rem; background: var(--warm-white); color: var(--navy); }
.form-field textarea { resize: vertical; min-height: 8rem; }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: 0.35rem 0 0; color: var(--red); font-size: 0.9rem; }
.contribution-guidance { margin-top: -0.5rem; font-size: 0.9rem; }
.enquiry-form .button { margin-top: 0.8rem; }
.enquiry-form .button[disabled] { cursor: wait; opacity: 0.6; }
.form-status { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--gold); }
.privacy-copy { padding-top: 0; }
.privacy-copy h2 { margin-top: 3rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.privacy-details { margin: 2rem 0; border-top: 1px solid var(--gold); }
.privacy-details > div { display: grid; grid-template-columns: minmax(12rem, 0.8fr) 1.2fr; gap: 2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--gold); }
.privacy-details dt { font-weight: 600; }
.privacy-details dd { margin: 0; }
.page-not-found { width: min(100% - 3rem, var(--content-width)); margin: 0 auto; padding-bottom: 8rem; }
.page-not-found .lead { margin-bottom: 2rem; }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--gold); background: var(--warm-white); }
.footer-logo { flex: 0 0 100%; font-size: 1.3rem; text-decoration: none; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(100% - 3rem, var(--content-width)); margin: 0 auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.footer-nav a { font-size: 0.9rem; }
.footer-legal { max-width: 100%; }
.footer-copyright, .footer-credit { margin: 0; font-size: 0.9rem; color: rgba(17, 38, 93, 0.78); }
.footer-credit { margin-top: 0.4rem; }
.footer-credit a { color: inherit; font-size: inherit; font-weight: inherit; text-decoration: underline; }

.page-inner .about-copy,
.page-inner .chairman-block,
.page-inner .service-list,
.page-inner .service-item,
.page-inner .sector-list,
.page-inner .sector-row,
.page-inner .sector-note,
.page-inner .contact-form-section,
.page-inner .form-status,
.page-inner .privacy-details,
.page-inner .privacy-details > div { border: 0; }
.page-inner + .site-footer,
.page-not-found + .site-footer { border-top: 0; }

/* Focal points: keep each photograph's subject in view at every screen shape */
.hero-picture img, .still-picture img, .sector-picture img { object-position: 50% 50%; }
img[src*="hero-wide-a"], img[data-src*="hero-wide-a"], img[src*="hero-wide-b"], img[data-src*="hero-wide-b"], img[src*="hero-phone-a"], img[data-src*="hero-phone-a"], img[src*="hero-phone-b"], img[data-src*="hero-phone-b"] { object-position: 50% 62%; }
img[src*="sector-digital-a"], img[data-src*="sector-digital-a"] { object-position: 50% 58%; }
img[src*="sector-digital-b"], img[data-src*="sector-digital-b"] { object-position: 50% 68%; }
img[src*="sector-energy-a"], img[data-src*="sector-energy-a"], img[src*="sector-energy-b"], img[data-src*="sector-energy-b"] { object-position: 50% 60%; }
img[src*="sector-security-a"], img[data-src*="sector-security-a"] { object-position: 50% 100%; }
img[src*="sector-health-a"], img[data-src*="sector-health-a"] { object-position: 50% 50%; }
img[src*="sector-telecom-a"], img[data-src*="sector-telecom-a"] { object-position: 62% 45%; }

@keyframes opening-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.04); } }

[dir="rtl"] .hero-wordmark { font-family: "SYQ Garamond", Garamond, Georgia, serif; letter-spacing: 0.08em; }


[dir="rtl"] .hero-content, [dir="rtl"] .invitation-block { text-align: center; }
[dir="rtl"] .sector-row--reverse .sector-image { order: 1; }
[dir="rtl"] .sector-row--reverse .sector-copy { order: 2; }

@media (max-width: 880px) {
  :root { --header-height: 70px; }
  .header-inner, .inner-heading, .text-section, .chairman-block, .privacy-copy, .contact-form-section, .contact-introduction, .sector-note, .service-list, .sector-list, .page-not-found { width: min(100% - 2rem, var(--content-width)); }
  .header-inner { gap: 0.9rem; }
  .wordmark-secondary { display: none; }
  .site-nav { display: none; position: absolute; inset: var(--header-height) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; background: var(--warm-white); color: var(--navy); border: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.7rem 0; }
  .site-nav .nav-cta { margin-top: 0.5rem; padding: 0.75rem 1rem; text-align: center; }
  .menu-toggle { display: block; width: 24px; height: 26px; position: relative; margin-inline-start: 0; }
  .menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; inset-inline: 0; height: 1px; background: currentColor; top: 8px; }
  .menu-toggle::after { top: 16px; }
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .language-switch { margin-inline-start: auto; }
  .site-nav + .language-switch { margin-inline-start: auto; }
  .site-header--hero .site-nav { color: var(--navy); }
  .hero-wordmark { font-size: clamp(4.8rem, 25vw, 8rem); }
  .hero-tagline { font-size: clamp(1.35rem, 6vw, 2rem); }
  .service-item { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
  .sector-row, .sector-row--reverse { grid-template-columns: 1fr; }
  .sector-row--reverse .sector-image, .sector-row--reverse .sector-copy { order: initial; }
  .sector-image { min-height: 16rem; }
  .sector-copy { padding: 2.5rem 1rem; }
  .privacy-details > div { grid-template-columns: 1fr; gap: 0.35rem; }
  .footer-inner { width: min(100% - 2rem, var(--content-width)); align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .inner-heading { padding-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
  .hero-slide:not(:first-child) { opacity: 0; }
  .hero-slide.is-current { opacity: 1; }
  .hero-slide.is-current .hero-picture img,
  .hero-slide.is-outgoing .hero-picture img,
  .hero-picture img { animation: none; transform: none; }
  .hero-content > * { opacity: 1; animation: none; transform: none; }
}

/* ---------- Homepage: services and sector cards, Oman map, commitment ---------- */
.home-section, .home-commitment { width: min(100% - 3rem, var(--content-width)); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--gold); }
.home-section h2 { max-width: 22ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.home-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.home-cards li { display: flex; }
.home-card { display: flex; flex-direction: column; gap: 1.5rem; width: 100%; min-height: 13.5rem; padding: 1.6rem 1.4rem; border: 1px solid rgba(200, 145, 62, 0.55); color: inherit; text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.home-card h3 { margin: auto 0 0; font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.15; }
.home-card .item-index { color: var(--red); }
.home-card:hover, .home-card:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--warm-white); }
.home-card:hover .item-index, .home-card:focus-visible .item-index { color: var(--gold-light); }
.card-icon { width: 2.1rem; height: 2.1rem; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service-item, .sector-row { scroll-margin-top: calc(var(--header-height) + 1rem); }

.reach { background: var(--navy); color: var(--warm-white); padding: clamp(4rem, 9vw, 7rem) 0; overflow: hidden; }
.reach-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; width: min(100% - 3rem, var(--content-width)); margin: 0 auto; }
.reach .eyebrow { color: var(--gold-light); }
.reach-copy h2 { max-width: 16ch; }
.reach-copy p:last-child { max-width: 42ch; margin-bottom: 0; color: rgba(253, 248, 244, 0.85); }
.reach-map { justify-self: center; width: 100%; max-width: 430px; height: auto; overflow: visible; direction: ltr; }
.map-land { fill: rgba(200, 145, 62, 0.12); stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.map-link { stroke: rgba(226, 183, 111, 0.8); stroke-width: 1.3; stroke-dasharray: 4 6; animation: map-flow 1.6s linear infinite; }
.map-dot { fill: var(--gold-light); }
.map-pulse { fill: none; stroke: var(--gold-light); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: map-pulse 2.6s ease-out infinite; }
.map-city--sohar .map-pulse { animation-delay: 0.6s; }
.map-city--duqm .map-pulse { animation-delay: 1.2s; }
.map-city--salalah .map-pulse { animation-delay: 1.8s; }
.map-city text { fill: var(--warm-white); font-family: "SYQ Source Sans", sans-serif; font-size: 18px; font-weight: 600; }
[dir="rtl"] .map-city text { font-family: "SYQ Plex Arabic", sans-serif; font-weight: 500; }

.home-commitment { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.home-commitment h2 { margin-bottom: 0; }
.home-commitment p:not(.eyebrow) { max-width: 60ch; font-size: 1.12rem; }
.reach + .home-section { border-top: 0; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.pillars li { padding-top: 0.9rem; border-top: 2px solid var(--gold); font-weight: 600; line-height: 1.25; }

/* Scroll reveal: only switched on by site.js, so the page reads fine without it. */
.reveal-on [data-reveal], .reveal-on [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-on [data-reveal].is-visible, .reveal-on [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
.reveal-on [data-reveal-group] > :nth-child(2) { transition-delay: 0.08s; }
.reveal-on [data-reveal-group] > :nth-child(3) { transition-delay: 0.16s; }
.reveal-on [data-reveal-group] > :nth-child(4) { transition-delay: 0.24s; }
.reveal-on [data-reveal-group] > :nth-child(5) { transition-delay: 0.32s; }
.reveal-on .reach .map-land { stroke-dashoffset: 1; fill: rgba(200, 145, 62, 0); transition: stroke-dashoffset 2.6s ease, fill 1s ease 2s; }
.reveal-on .reach.is-visible .map-land { stroke-dashoffset: 0; fill: rgba(200, 145, 62, 0.12); }
.reveal-on .reach .map-link, .reveal-on .reach .map-city { opacity: 0; transition: opacity 0.7s ease; }
.reveal-on .reach.is-visible .map-link { opacity: 1; transition-delay: 2.2s; }
.reveal-on .reach.is-visible .map-city { opacity: 1; }
.reveal-on .reach.is-visible .map-city--muscat { transition-delay: 1.2s; }
.reveal-on .reach.is-visible .map-city--sohar { transition-delay: 1.5s; }
.reveal-on .reach.is-visible .map-city--duqm { transition-delay: 1.8s; }
.reveal-on .reach.is-visible .map-city--salalah { transition-delay: 2.1s; }

@keyframes map-pulse { 0% { transform: scale(1); opacity: 0.85; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes map-flow { to { stroke-dashoffset: -20; } }

@media (max-width: 1100px) {
  .home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .home-section, .home-commitment, .reach-inner { width: min(100% - 2rem, var(--content-width)); }
  .reach-inner, .home-commitment { grid-template-columns: 1fr; }
  .reach-map { max-width: 360px; }
  .home-cards, .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .home-cards { grid-template-columns: 1fr; }
  .home-card { flex-direction: row; align-items: center; gap: 1rem; min-height: 0; padding: 1.1rem 1.2rem; }
  .home-card h3 { margin: 0; }
  .home-card .item-index, .card-icon { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pulse, .map-link { animation: none; }
  .map-pulse { opacity: 0; }
}

/* ---------- Sectors page: typographic banner with drifting gold dots ---------- */
.sectors-banner { position: relative; display: grid; align-items: end; min-height: 60vh; padding: calc(var(--header-height) + 2.5rem) 0 clamp(2.5rem, 7vh, 4.5rem); overflow: hidden; isolation: isolate; color: var(--warm-white); background: radial-gradient(ellipse 55% 65% at 50% 42%, rgba(200, 145, 62, 0.16), rgba(200, 145, 62, 0) 72%), var(--blue-deep); }
.sectors-field { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; }
.sectors-banner-inner { width: min(100% - 3rem, var(--content-width)); margin: 0 auto; }
.sectors-banner-label { margin-bottom: 1rem; color: var(--gold-light); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
[dir="rtl"] .sectors-banner-label { font-size: 0.95rem; letter-spacing: 0; }
.sectors-banner h1 { margin-bottom: clamp(1.75rem, 5vh, 2.75rem); font-size: clamp(3rem, 8vw, 6.5rem); }
.sector-jump { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.sector-jump a { display: inline-flex; align-items: baseline; gap: 0.55rem; padding: 0.35rem 0; border-bottom: 1px solid rgba(200, 145, 62, 0.35); color: rgba(246, 244, 239, 0.88); font-size: 0.95rem; text-decoration: none; transition: color 0.25s ease, border-color 0.25s ease; }
.sector-jump a span { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.12em; }
.sector-jump a:hover, .sector-jump a:focus-visible { border-color: var(--gold-light); color: var(--ivory); }
.sectors-banner + .sector-list { margin-top: clamp(3rem, 7vw, 5rem); }
html:has(body.page-sectors) { scroll-behavior: smooth; }
@media (max-width: 880px) {
  .sectors-banner-inner { width: min(100% - 2rem, var(--content-width)); }
  .sector-jump { gap: 0.35rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.page-sectors) { scroll-behavior: auto; }
}

/* Sectors page band: Muscat palms and mountains, framed on the ridge and houses. */
img[src*="sectors-band-muscat"] { object-position: 50% 25%; }

img[src*="hero-mosque-a"], img[data-src*="hero-mosque-a"] { object-position: 50% 50%; }

/* ---------- SYQ INVESTMENT logo: star beside the name (header, footer) or star above it (hero) ---------- */
.logo { display: inline-flex; align-items: center; gap: 0.45em; font-family: "SYQ Garamond", Garamond, Georgia, serif; font-weight: 400; line-height: 1; letter-spacing: 0.04em; white-space: nowrap; }
.logo-star { display: block; flex: none; width: 1.5em; height: auto; overflow: visible; }
.star-hi { stop-color: #B8161F; }
.star-mid { stop-color: #9B1318; }
.star-lo { stop-color: #7A0C14; }
.gold-hi { stop-color: #EED980; }
.gold-mid { stop-color: #D0A040; }
.gold-lo { stop-color: #A87A24; }
.star-bevel { stroke: #CA1A23; stroke-width: 6; stroke-linejoin: miter; }
.star-edge { stroke-width: 3; stroke-linejoin: miter; }
/* Logo letters: metallic gold from the brand sample (light #D8AE48, mid #C49432, dark #A87A24), same on light and dark backgrounds */
.logo-word-1, .logo-word-2, .logo-s {
  color: #C49432;
  background: linear-gradient(180deg, #E2BC5C 0%, #D2A541 38%, #C09030 62%, #A87A24 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Star top-left of the S, as in the brand sample: small star, its right tip just over the S, its lower points level with the top of the S */
.logo { padding-top: 0.62em; padding-inline-start: 0.62em; }
.logo-s { position: relative; display: inline; }  /* inline, not inline-block: iPhone (WebKit) does not paint gold text inside an inline-block child */
.logo-s .logo-star { position: absolute; right: calc(100% - 0.14em); bottom: 100%; width: 0.8em; margin-bottom: -0.2em; }
.site-header--hero:not(.is-scrolled) .logo-star { filter: drop-shadow(0 1px 6px rgba(10, 24, 56, 0.55)); }

.logo--stacked { flex-direction: column; gap: 0.16em; letter-spacing: 0; padding-inline-start: 0; padding-top: 0.42em; }
/* Home page logo: smaller star, same top-left position, matching the header proportion */
.logo--stacked .logo-s .logo-star { width: 0.52em; right: calc(100% - 0.09em); margin-bottom: -0.13em; }
.logo--stacked .logo-words { display: flex; flex-direction: column; align-items: center; gap: 0.12em; }
.logo--stacked .logo-word-1 { letter-spacing: 0.08em; margin-inline-end: -0.08em; }
.logo--stacked .logo-word-2 { font-size: 0.29em; letter-spacing: 0.42em; margin-inline-end: -0.42em; }
.hero .logo-star { filter: drop-shadow(0 2px 14px rgba(10, 24, 56, 0.55)); }
.hero-wordmark { font-size: clamp(4.5rem, 12vw, 8.5rem); letter-spacing: 0; }
@media (max-width: 880px) {
  .wordmark { font-size: 1.22rem; }
  .hero-wordmark { font-size: clamp(4.2rem, 21vw, 7rem); }
}
@media (max-width: 380px) {
  .wordmark { font-size: 1.08rem; }
}

/* Thank-you screen shown after an enquiry is delivered */
.enquiry-thanks { width: min(100% - 4rem, var(--content-width)); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--gold); text-align: center; }
.enquiry-thanks[hidden] { display: none; }
.enquiry-thanks .thanks-star { display: block; width: clamp(3.5rem, 8vw, 5rem); height: auto; margin: 0 auto 1.5rem; overflow: visible; }
.enquiry-thanks h2 { margin: 0 0 1.25rem; color: var(--blue); font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 400; line-height: 1.05; }
.enquiry-thanks h2:focus { outline: none; }
.enquiry-thanks p { max-width: 46ch; margin: 0 auto 1rem; font-size: 1.08rem; line-height: 1.65; }
.enquiry-thanks .thanks-lead { color: var(--blue); font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
.enquiry-thanks .button { margin-top: 1.5rem; }
@media (max-width: 640px) { .enquiry-thanks { width: min(100% - 2rem, var(--content-width)); } }
