/* Protein Resources site styles. Logical properties only, so the same rules serve LTR and RTL.
   Desert palette: dune browns and harvest gold on sand and beige; the markets map keeps a sea blue. */

/* ---------- Fonts: Plex Arabic for text, Readex Pro for headings; each split by script ---------- */
@font-face { font-family: 'Plex Arabic'; src: url('../fonts/ibm-plex-sans-arabic-400-arabic.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Plex Arabic'; src: url('../fonts/ibm-plex-sans-arabic-700-arabic.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Plex Arabic'; src: url('../fonts/ibm-plex-sans-arabic-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Plex Arabic'; src: url('../fonts/ibm-plex-sans-arabic-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Readex'; src: url('../fonts/readex-pro-arabic-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: 'Readex'; src: url('../fonts/readex-pro-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

/* ---------- Design tokens ---------- */
:root {
  /* Desert palette (owner 2026-11-17: «مشتقات الأصفر والبيج، صحراوي»): dune browns for the dark bands and
     headings, harvest gold for accents, sand and beige grounds. Sea blue is kept for the markets map only. */
  --dune-950: #fde0bc;
  --dune-900: #000000;
  --dune-700: #000000;
  --gold-700: #000000;
  --gold-500: #d4a017;
  --gold-300: #f88017;
  --gold-100: #fde0bc;
  --sea-900: #43b7ba;
  --sea-700: #3bb9ff;
  --ink: #000000;
  --muted: rgb(0 0 0 / 0.78);
  --surface: #ffffff;
  --paper: #ffffff;
  --cream: #fde0bc;
  --tint: #dddddc;
  --line: #dddddc;
  --field-border: rgb(0 0 0 / 0.55);
  --danger: #e18b6b;
  --focus: var(--gold-700);
  --font-text: 'Plex Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Readex', 'Plex Arabic', system-ui, sans-serif;
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.75rem;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06), 0 2px 8px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 30px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 30px 60px rgb(0 0 0 / 0.3);
  --space-section: clamp(3rem, 7vw, 5.5rem);
  --header-height: 4.75rem;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block-start: calc(var(--header-height) + 1rem); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.75; text-rendering: optimizeLegibility;
}
:lang(ar) body, body:lang(ar) { line-height: 1.9; }
::selection { background: var(--gold-300); color: #000; }

h1, h2, h3 { margin: 0 0 0.75rem; font-family: var(--font-display); font-weight: 700; line-height: 1.25; color: var(--dune-900); text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.2rem; }
:lang(en) h1, :lang(en) h2 { letter-spacing: -0.02em; }
p { margin: 0 0 1rem; text-wrap: pretty; }
img, svg { max-inline-size: 100%; }

a { color: var(--dune-700); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--dune-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
/* Sections below the first screen are laid out and painted only as they near the viewport, which keeps
   the first paint fast on slow phones. The size hint avoids a jumping scrollbar before they render. */
main > :not(:first-child), .site-footer { content-visibility: auto; contain-intrinsic-size: auto 40rem; }

.container { inline-size: 100%; max-inline-size: 75rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 40rem) { .container { padding-inline: 1.5rem; } }

.visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 1rem; inset-block-start: -4rem; z-index: 50; padding: 0.6rem 1rem; background: var(--surface); border: 2px solid var(--dune-700); border-radius: var(--radius-sm); }
.skip-link:focus { inset-block-start: 1rem; }

/* ---------- Header: one dark bar on every page, always in reach while scrolling ---------- */
/* Sticky on every screen size. On large screens the top bar scrolls away and the main row stays
   (negative sticky offset = top bar height), so nothing jumps and no script is needed. */
.site-header { --focus: var(--gold-300); --topbar-height: 2.4rem; position: sticky; inset-block-start: 0; z-index: 30; background: rgb(255 255 255 / 0.94); color: #000; border-block-end: 1px solid rgb(0 0 0 / 0.1); backdrop-filter: saturate(1.4) blur(12px); transition: background-color 0.3s, box-shadow 0.3s, translate 0.3s; }
@media (min-width: 60rem) { .site-header { inset-block-start: calc(-1 * var(--topbar-height)); } }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgb(0 0 0 / 0.28); }
.header-inner { position: relative; display: flex; align-items: center; gap: 0.5rem 1.25rem; min-block-size: var(--header-height); padding-block: 0.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-inline-size: 0; color: #000; text-decoration: none; }
.brand img { flex: none; block-size: 3.1rem; inline-size: auto; padding: 0.25rem; background: #fff; border-radius: 0.75rem; box-shadow: 0 0 0 1px rgb(248 128 23 / 0.6), 0 6px 16px rgb(0 0 0 / 0.25); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; display: block; padding: 0.55rem 0.85rem; border-radius: var(--radius-sm); color: rgb(0 0 0 / 0.9); font-weight: 700; font-size: 0.975rem; text-decoration: none; }
.site-nav a:hover { background: rgb(0 0 0 / 0.08); color: #000; }
.site-nav a[aria-current="page"] { color: #000; }
.site-nav a[aria-current="page"]::after { content: ''; position: absolute; inset-inline: 0.85rem; inset-block-end: 0.2rem; block-size: 2px; border-radius: 2px; background: var(--gold-500); }
.lang-short { display: none; }
.lang-switch { padding: 0.45rem 1rem; border: 1px solid rgb(0 0 0 / 0.35); border-radius: 999px; color: #000; font-weight: 700; font-size: 0.95rem; text-decoration: none; }
/* Header links keep their own colours on hover: the general link rule would turn them dark brown on the dark bar. */
.lang-switch:hover { border-color: #000; background: rgb(0 0 0 / 0.1); color: #000; }
.brand:hover { color: #000; }
.site-header .header-cta { min-block-size: 2.6rem; padding: 0.55rem 1.15rem; background: var(--gold-500); color: #000; font-size: 0.925rem; white-space: nowrap; }
.site-header .header-cta:hover { background: var(--gold-300); color: #000; }


@media (max-width: 56rem) {
  .header-inner { flex-wrap: wrap; }
  .site-nav { order: 5; flex-basis: 100%; margin-inline-start: 0; border-block-start: 1px solid rgb(0 0 0 / 0.12); padding-block-start: 0.35rem; }
  .site-nav ul { flex-wrap: wrap; justify-content: space-between; }
  .site-nav a { padding-inline: 0.6rem; }
  .site-nav a[aria-current="page"]::after { inset-inline: 0.6rem; }
  .lang-switch { margin-inline-start: auto; }
}
/* Phones: brand, language letters and quote button on the first row; the four links, always visible, in an
   even row under them. */
@media (max-width: 40rem) {
  /* A fixed grid, not a wrapping row: while the web font loads, a wider fallback word could otherwise push
     the quote button onto a new line for a moment and shift the whole page. Only the name may wrap. */
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.5rem; padding-block-end: 0; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; }
  .brand { gap: 0.5rem; }
  .brand img { block-size: 2.5rem; }
  .brand-name { font-size: 0.875rem; line-height: 1.3; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang-switch { display: inline-grid; place-items: center; flex: none; inline-size: 2.75rem; block-size: 2.75rem; padding: 0; border-radius: 50%; font-family: var(--font-display); font-size: 0.95rem; }
  .site-header .header-cta { flex: none; min-block-size: 2.75rem; padding-inline: 0.85rem; font-size: 0.82rem; }
  .site-nav { padding-block: 0.15rem; }
  .site-nav ul { flex-wrap: nowrap; justify-content: space-between; gap: 0; }
  .site-nav a { display: grid; place-items: center; min-block-size: 2.75rem; padding-inline: 0.45rem; font-size: 0.9rem; white-space: nowrap; }
  .site-nav a[aria-current="page"]::after { inset-inline: 0.45rem; inset-block-end: 0.3rem; }
}

/* Top bar: location, email and phone above the main row (large screens). */
.topbar { display: none; block-size: var(--topbar-height); border-block-end: 1px solid rgb(0 0 0 / 0.1); color: rgb(0 0 0 / 0.78); font-size: 0.85rem; }
@media (min-width: 60rem) { .topbar { display: block; } }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; block-size: 100%; }
.topbar-place { margin: 0; }
.topbar-contact { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.topbar a { color: #000; text-decoration: none; }
.topbar a:hover { color: #000; }

/* Home: the header floats over the dark hero, clear at first, then takes its solid ground once the page
   scrolls. It is fixed (the hero starts under it), so the top bar slides away with a transform.
   It is clear only while the script that watches the scroll is expected (html.motion, not yet
   motion-done): if that script never loads, the bar turns solid and stays readable over light sections. */
.site-header--overlay { position: fixed; inset-block-start: 0; inset-inline: 0; }
.motion:not(.motion-done) .site-header--overlay:not(.is-scrolled) { background: transparent; border-block-end-color: transparent; backdrop-filter: none; }
@media (min-width: 60rem) { .site-header--overlay { inset-block-start: 0; } .site-header--overlay.is-scrolled { translate: 0 calc(-1 * var(--topbar-height)); } }

/* ---------- Buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-block-size: 3rem;
  padding: 0.75rem 1.5rem; border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.button:hover { text-decoration: none; }
.button-gold { background: var(--gold-500); color: #000; box-shadow: 0 6px 18px rgb(212 160 23 / 0.28); }
.button-gold:hover { background: var(--gold-300); color: #000; }
.button-dune { background: var(--gold-500); color: #000; }
.button-dune:hover { background: var(--gold-300); color: #000; }
.button-outline { border-color: rgb(0 0 0 / 0.7); color: #000; }
.button-outline:hover { border-color: #000; background: rgb(0 0 0 / 0.1); color: #000; }

/* Direction-aware arrow: drawn with a mask so it takes the text colour, and mirrored in RTL. */
.button-arrow::after, .link-arrow::after {
  content: ''; flex: none; inline-size: 1.1em; block-size: 1.1em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
[dir="rtl"] .button-arrow::after, [dir="rtl"] .link-arrow::after { transform: scaleX(-1); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--space-section); }
.section-tinted { background: var(--tint); }
.section-cream { background: var(--cream); }
.section-heading { max-inline-size: 44rem; margin-block-end: 2.25rem; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.5rem 2rem; }
.section-head .section-heading { margin-block-end: 2.25rem; }
.section-head .link-arrow { margin-block-end: 2.4rem; }

/* Section label: plain gold text above the heading. Never a capsule or a dot before it (owner rule 2026-11-17). */
.kicker { margin-block-end: 0.6rem; color: var(--gold-700); font-weight: 700; font-size: 0.95rem; }
:lang(en) .kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.kicker a { color: inherit; }
/* On the dark bands the label is light gold. */
.kicker-light, .page-intro .kicker, .hero-panel .kicker { color: #000; }
.lead { max-inline-size: 46rem; color: var(--muted); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); }

/* ---------- Dark bands: the statement band and the call to action share the deep dune ground ---------- */
.statement-band, .cta-band {
  --focus: var(--gold-300);
  background:
    radial-gradient(circle at 88% 12%, rgb(212 160 23 / 0.22), transparent 38%),
    radial-gradient(circle at 5% 95%, rgb(173 169 110 / 0.35), transparent 45%),
    linear-gradient(160deg, var(--dune-950), var(--gold-500));
  color: #000;
}
.statement-band h2, .cta-band h2 { color: #000; }

/* Statement band: the founding year in large outlined numerals beside the company's short story. */
.statement-band { position: relative; overflow: hidden; padding-block: var(--space-section); }
.statement-grid { display: grid; gap: 1.5rem 4rem; align-items: center; }
@media (min-width: 60rem) { .statement-grid { grid-template-columns: auto 1fr; } }
.statement-year {
  margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(5.5rem, 3rem + 11vw, 13rem); line-height: 0.9;
  font-variant-numeric: tabular-nums; color: #000;
  background: none;
}
.statement-copy { max-inline-size: 38rem; padding-inline-start: clamp(1.5rem, 3vw, 2.5rem); border-inline-start: 1px solid rgb(248 128 23 / 0.35); }
@media (max-width: 60rem) { .statement-copy { padding-inline-start: 0; border-inline-start: 0; } }
.statement-text { margin-block: 0 2rem; color: rgb(0 0 0 / 0.86); font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem); }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
}
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column-reverse; gap: 0.15rem; padding: 1.35rem 1.5rem; border-block-start: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.stat:nth-child(-n + 2) { border-block-start: 0; }
.stat:nth-child(odd) { border-inline-start: 0; }
@media (min-width: 48rem) { .stat { border-block-start: 0; } .stat:nth-child(odd) { border-inline-start: 1px solid var(--line); } .stat:first-child { border-inline-start: 0; } }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 700; color: var(--dune-700); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat dt { color: var(--muted); font-size: 0.925rem; }

/* ---------- Sectors ---------- */
.sector-grid, .card-grid, .highlight-grid, .value-grid { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.sector-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.sector { padding: 1.75rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sector h3 { margin-block: 1rem 0.4rem; }
.sector p { margin: 0; color: var(--muted); font-size: 1rem; }
.sector-icon { inline-size: 4rem; block-size: 4rem; padding: 0.7rem; border-radius: 0.95rem; background: linear-gradient(150deg, var(--dune-950), var(--gold-500)); box-shadow: 0 8px 18px rgb(0 0 0 / 0.22); fill: none; stroke: var(--gold-300); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Product cards ---------- */
.card-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.product-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.product-art { display: block; inline-size: 100%; block-size: auto; }
/* Spec tile: the head of every product card, set like a page of a trade catalogue. */
.spec-tile {
  position: relative; display: grid; align-content: end; justify-items: start; gap: 0.2rem; aspect-ratio: 4 / 3; padding: 1.4rem 1.5rem; overflow: hidden; color: #000;
  background:
    radial-gradient(circle at 88% 12%, rgb(248 128 23 / 0.2), transparent 45%),
    repeating-linear-gradient(135deg, rgb(0 0 0 / 0.035) 0 1px, transparent 1px 12px),
    linear-gradient(150deg, var(--dune-950), var(--gold-500));
}
.spec-tile::after { content: ''; position: absolute; inset: 0.6rem; border: 1px solid rgb(248 128 23 / 0.3); border-radius: calc(var(--radius) - 0.4rem); pointer-events: none; }
.spec-tile-number { position: absolute; inset-block-start: 1.15rem; inset-inline-start: 1.35rem; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; color: #000; font-variant-numeric: tabular-nums; }
.spec-tile-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 1.9rem + 1.4vw, 3.1rem); line-height: 1; color: #000; font-variant-numeric: tabular-nums; }
.spec-tile-value--long { max-inline-size: 52%; font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.05rem); }
.spec-tile-label { position: relative; z-index: 1; max-inline-size: 52%; font-weight: 700; font-size: 0.95rem; color: rgb(0 0 0 / 0.88); }
.spec-tile-label--lead { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; color: #000; }
.spec-tile-art { position: absolute; inset-inline-end: 1.25rem; inset-block-start: 50%; translate: 0 -50%; inline-size: 38%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 5px rgb(248 128 23 / 0.22), 0 12px 28px rgb(0 0 0 / 0.3); }
.spec-tile-art .product-art { block-size: 100%; }
/* Optional product photo and price (WordPress dashboard, owner 2026-11-11): the photo fills the medallion and
   heads the product description; the price is a quiet line on the card and a gold-edged chip on the page. */
.spec-tile-art .product-photo { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
/* The frame hugs the photo and never enlarges it: a small upload stays sharp at its own size. */
.product-figure { inline-size: fit-content; max-inline-size: 100%; margin: 0 0 2rem; overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.product-figure img { display: block; inline-size: auto; max-inline-size: 100%; block-size: auto; max-block-size: 32rem; object-fit: cover; }
.product-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin-block: 1.25rem 0; padding: 0.45rem 1.1rem; background: rgb(0 0 0 / 0.06); border: 1px solid rgb(248 128 23 / 0.45); border-radius: 999px; color: #000; font-weight: 700; font-size: 1.05rem; }
.product-price .price-label { color: #000; font-size: 0.9rem; }
.product-card .card-price { margin-block: 0.15rem 0.85rem; color: var(--dune-900); font-weight: 700; }
.card-price .price-label { color: var(--muted); font-weight: 400; }
.product-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.25rem 1.35rem 1.4rem; }
.product-card p { color: var(--muted); font-size: 0.975rem; }
.card-title { margin-block: 0.7rem 0.4rem; font-size: 1.15rem; }
.card-link { color: var(--dune-900); text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-more { display: inline-flex; align-items: center; gap: 0.35rem; margin-block-start: auto; color: var(--dune-700); font-weight: 700; font-size: 0.95rem; }
.product-card:hover { border-color: rgb(173 169 110 / 0.45); box-shadow: var(--shadow-md); }
.product-card:hover .card-link { text-decoration: underline; }
.product-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.product-card .card-link:focus-visible { outline: none; }

/* ---------- Highlights ---------- */
.highlight-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 2rem; }
.highlight { padding-block-start: 1.25rem; border-block-start: 3px solid var(--gold-500); }
.highlight-number { display: block; margin-block-end: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--gold-700); font-variant-numeric: tabular-nums; }
.highlight p { margin: 0; color: var(--muted); }

/* ---------- Page intro (inner pages): the same dark, engraved ground as the home hero ---------- */
.page-intro {
  --focus: var(--gold-300);
  position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 7vw, 5rem); color: #000;
  background:
    radial-gradient(ellipse at 85% -20%, rgb(173 169 110 / 0.4), transparent 60%),
    radial-gradient(circle at 0% 120%, rgb(212 160 23 / 0.16), transparent 45%),
    linear-gradient(170deg, #ffffff, var(--dune-950) 60%, #ffffff);
}
.page-intro::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(0 0 0 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(0 0 0 / 0.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent);
}
/* A gold rule closes the band. */
.page-intro::after { content: ''; position: absolute; inset-block-end: 0; inset-inline: 0; block-size: 2px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.page-intro h1 { color: #000; }
.page-intro .lead { margin: 0; color: rgb(0 0 0 / 0.84); }

/* ---------- About ---------- */
.value-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.value-card { flex: 0 0 100%; }
@media (min-width: 40rem) { .value-card { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (min-width: 64rem) { .value-card { flex-basis: calc((100% - 2.5rem) / 3); } }
.value-card { padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-block-start: 4px solid var(--gold-500); border-radius: var(--radius); }
.value-card h2 { font-size: 1.3rem; color: var(--dune-700); }
.value-card p { margin: 0; }
/* The map spans the whole container under the text: on the real geography, Arabia and the Gulf are a small
   corner of a frame that reaches Japan, and they need the width to stay readable. */
.markets-layout { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .markets-layout > :first-child { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; } .markets-layout .section-heading { margin-block-end: 0; } }
.markets-map { position: relative; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.markets-art { display: block; inline-size: 100%; block-size: auto; }
/* Place badges sit on their pins by physical left/top: a map keeps its compass directions in both languages. */
/* max-content: near the right edge an absolute box would otherwise shrink to the space left of it. */
.map-place { position: absolute; left: var(--x); top: var(--y); inline-size: max-content; translate: -50% calc(-100% - 0.9rem); padding: 0.3rem 0.75rem; background: #fff; color: var(--dune-900); border-radius: 999px; font-weight: 700; font-size: clamp(0.72rem, 0.62rem + 0.35vw, 0.9rem); line-height: 1.3; white-space: nowrap; box-shadow: 0 8px 20px rgb(0 0 0 / 0.28); }
.map-place::after { content: ''; position: absolute; left: 50%; inset-block-start: 100%; translate: -50% -50%; inline-size: 0.5rem; block-size: 0.5rem; background: inherit; rotate: 45deg; }
.map-place--below { translate: -50% 0.9rem; }
.map-place--below::after { inset-block: auto 100%; translate: -50% 50%; }
/* Al Qassim sits near the map's west edge: the badge hangs mostly east of its pin so it never leaves the map. */
.map-place--hub { display: grid; justify-items: center; padding: 0.4rem 0.9rem; background: var(--gold-500); color: #000; border-radius: var(--radius-sm); translate: -25% 1.35rem; }
.map-place--hub::after { left: 25%; }
.map-place-name { font-size: 1.1em; }
.map-place-note { font-weight: 400; font-size: 0.78em; }
@media (max-width: 30rem) { .map-place-note { display: none; } }
.market-list, .related-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.market-list li { padding: 0.6rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--dune-900); }

/* ---------- Product page ---------- */
.product-intro { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 48rem) { .product-intro { grid-template-columns: 1.3fr 1fr; } }
.product-intro .lead { margin-block-end: 0; }
/* On its own page the product's spec tile is larger and edged in gold, to stand off the dark band. */
.product-intro .spec-tile { inline-size: 100%; max-inline-size: 27rem; justify-self: end; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px rgb(248 128 23 / 0.4), 0 24px 50px rgb(0 0 0 / 0.35); }
.product-intro .spec-tile-value { font-size: clamp(3rem, 2.2rem + 2.6vw, 4.6rem); }
.product-intro .spec-tile-value--long { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.9rem); }
.product-intro .spec-tile-label { font-size: 1.1rem; }
.product-intro .spec-tile-label--lead { font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem); }
.prose { max-inline-size: 48rem; font-size: 1.125rem; line-height: 1.9; }
.prose .button { margin-block-start: 1rem; }
.related-list a { display: inline-block; padding: 0.55rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; text-decoration: none; }
.related-list a:hover { border-color: var(--dune-700); background: var(--gold-100); }

/* ---------- Call to action ---------- */
.cta-band { padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-inner h2 { margin-block-end: 0.5rem; }
.cta-inner p { margin: 0; color: rgb(0 0 0 / 0.85); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56rem) { .contact-layout { grid-template-columns: 1.5fr 1fr; } }
.quote-form { display: grid; gap: 1.15rem; max-inline-size: 40rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (min-width: 40rem) { .quote-form { grid-template-columns: 1fr 1fr; } .quote-form .field-wide, .quote-form > .button, .quote-form > .field-hint { grid-column: 1 / -1; } }
.field label { display: block; margin-block-end: 0.35rem; font-weight: 700; font-size: 0.975rem; }
.field-hint { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.9rem; }
.required { color: #000; }
.field input, .field select, .field textarea { inline-size: 100%; min-block-size: 3rem; padding: 0.65rem 0.9rem; border: 1px solid var(--field-border); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--dune-700); }
.field textarea { resize: vertical; }
.quote-form > .button { justify-self: start; }
.contact-card { padding: 1.75rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list { margin: 0; }
.contact-list dt { margin-block-start: 1.1rem; color: var(--gold-700); font-weight: 700; font-size: 0.9rem; }
.contact-list dt:first-child { margin-block-start: 0; }
.contact-list dd { margin: 0; font-weight: 700; }

.not-found { padding-block: 6rem; text-align: center; }
.not-found .lead { margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { --focus: var(--gold-300); background: var(--dune-950); color: rgb(0 0 0 / 0.78); font-size: 0.975rem; }
.site-footer a { color: #000; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner { display: grid; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
@media (min-width: 48rem) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-about .brand { margin-block-end: 1rem; color: #000; }
.footer-about p { max-inline-size: 26rem; }
.footer-title { margin-block-end: 0.75rem; color: #000; font-weight: 700; }
.footer-links, .footer-contact { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
/* Social media icons (WordPress: shown for the accounts the client fills in), in the footer and the contact card. */
.social-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.social-links a { display: grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; border: 1px solid rgb(0 0 0 / 0.28); border-radius: 50%; color: #000; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.social-links a:hover { background: var(--gold-500); border-color: var(--gold-500); color: #000; }
.contact-card .social-links a { border-color: rgb(173 169 110 / 0.35); color: var(--dune-900); }
.contact-card .social-links a:hover { background: var(--gold-500); border-color: var(--gold-500); color: #000; }
.footer-legal { margin-block: 0; padding-block: 1.25rem; text-align: center; border-block-start: 1px solid rgb(0 0 0 / 0.12); font-size: 0.875rem; }
.footer-legal p { margin: 0; }
/* Agency signature (standard «سطر التوقيع في مواقع العملاء»): the last line, centred under a thin rule, small
   and faint; the name in the footer's accent colour with a hairline under it that thickens on hover. */
.site-credit { margin: 0; padding-block: 1rem 1.25rem; border-block-start: 1px solid rgb(0 0 0 / 0.1); color: rgb(0 0 0 / 0.62); font-size: 0.8125rem; letter-spacing: 0.01em; text-align: center; }
.site-footer .site-credit a, .site-footer .site-credit a:hover { padding-block-end: 3px; color: #000; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) center bottom / 100% 1px no-repeat; transition: color 0.2s ease, background-size 0.25s ease; }
.site-footer .site-credit a:hover { color: #000; background-size: 100% 2px; }

/* ---------- Journey (about page timeline) ---------- */
.journey { position: relative; display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 56rem) { .journey { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.journey::before { content: ''; position: absolute; inset-block: 0.6rem 0; inset-inline-start: calc(0.575rem - 1px); inline-size: 2px; background: linear-gradient(var(--gold-500), rgb(212 160 23 / 0.15)); }
@media (min-width: 56rem) { .journey::before { inset-block: calc(0.575rem - 1px) auto; inset-inline: 0; inline-size: auto; block-size: 2px; background: linear-gradient(to var(--journey-end, right), var(--gold-500), rgb(212 160 23 / 0.15)); } [dir="rtl"] .journey { --journey-end: left; } }
/* z-index lifts each step, with its dot, above the line and the scroll-progress line. */
.journey-step { position: relative; z-index: 1; padding-inline-start: 2.25rem; }
@media (min-width: 56rem) { .journey-step { padding-inline-start: 0; padding-block-start: 2.25rem; } }
.journey-step::before { content: ''; position: absolute; inset-block-start: 0.15rem; inset-inline-start: 0; inline-size: 1.15rem; block-size: 1.15rem; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px var(--gold-100), 0 0 0 5px var(--gold-500); }
@media (min-width: 56rem) { .journey-step::before { inset-block-start: 0; } }
.journey-when { margin-block-end: 0.35rem; color: var(--gold-700); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.journey-step h3 { margin-block-end: 0.35rem; }
.journey-step p:last-child { margin: 0; color: var(--muted); }

.presence-link { margin-block-start: 1.5rem; }
.product-art { transform-origin: center bottom; }

/* ---------- Motion (on for every visitor, no pause button: owner decisions 2026-11-10 and 2026-11-11) ---------- */
/* All motion is scoped to html.motion (set by the head script before first paint). */
html.motion { scroll-behavior: smooth; }
.motion .product-card, .motion .button, .motion .related-list a, .motion .lang-switch, .motion .site-nav a, .motion .sector, .motion .value-card { transition: border-color 0.25s, background-color 0.25s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.25s; }
.motion .product-card:hover, .motion .sector:hover, .motion .value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.motion .product-art { transition: scale 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.motion .product-card:hover .spec-tile-art .product-art { scale: 1.08; }
.motion .button:active { transform: scale(0.97); }
.motion .button-arrow::after, .motion .link-arrow::after { transition: translate 0.25s; }
.motion .button-arrow:hover::after, .motion .link-arrow:hover::after { translate: 4px 0; }
[dir="rtl"].motion .button-arrow:hover::after, [dir="rtl"].motion .link-arrow:hover::after { translate: -4px 0; }

/* Page-load entrance: inner-page intros rise and headings arrive word by word (motion/reveal.js). */
.motion .stats { animation: rise 0.9s 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
/* First-screen text slides in without fading (lift): text at opacity 0 is not painted, and a fade would
   delay the largest contentful paint by its own length. */
.motion .page-intro .kicker, .motion .page-intro .lead, .motion .product-intro .spec-tile { animation: lift 0.8s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

.motion .word { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.12em; margin-block: -0.12em; }
.motion .word > span { display: inline-block; }
.motion .page-intro h1 .word > span { animation: word-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(0.15s + var(--word-index) * 0.07s); }
.motion [data-reveal] .word > span { translate: 0 110%; transition: translate 0.9s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--word-index) * 0.06s); }
.motion [data-reveal].is-visible .word > span { translate: 0 0; }

/* Scroll reveal: html.motion is set before first paint; motion.js adds .is-visible as items enter the view. */
.motion [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--reveal-index, 0) * 100ms); }
.motion [data-reveal].is-visible, .motion-done [data-reveal] { opacity: 1; transform: none; }
.motion-done [data-reveal] .word > span { translate: 0 0; }

/* Markets map: routes draw in, shipments travel them over and over (motion/routes.js), nodes ring, the hub pulses. */
.motion .route-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .is-playing .route-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(0.65, 0, 0.35, 1); transition-delay: calc(0.7s + var(--route-index) * 0.45s); }
.motion .shipment { opacity: 0; }
.motion .shipment.is-moving { opacity: 1; transition: opacity 0.2s; }
.motion .market-node { transform-box: fill-box; transform-origin: center; }
.motion .market-node { scale: 0.6; opacity: 0.5; }
.motion .market-node.has-arrived { scale: 1; opacity: 1; transition: scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s; }
.motion .map-place[data-market] { opacity: 0; scale: 0.85; }
.motion .map-place[data-market].has-arrived { opacity: 1; scale: 1; transition: opacity 0.4s, scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.motion .node-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.motion .has-arrived .node-ring { animation: ring 2.8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite; animation-delay: calc(var(--route-index) * 0.45s); }
.motion .hub-pulse { transform-box: fill-box; transform-origin: center; }
.motion .is-playing .hub-pulse { animation: hub 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite; }
/* Market regions glow softly, one after another, for as long as the page is open. */
.motion .map-region { animation: region-glow 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--route-index) * -1.2s); }
@keyframes region-glow { from { fill-opacity: 0.25; } to { fill-opacity: 0.6; } }

/* Sector icons draw their strokes in when the card is revealed. */
.motion .sector[data-reveal] .sector-icon path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .sector.is-visible .sector-icon path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(0.65, 0, 0.35, 1) calc(0.3s + var(--reveal-index) * 0.1s); }

/* Journey line fills with scroll (--progress from motion/scroll-progress.js). */
.motion .journey::after { content: ''; position: absolute; inset-block: 0.6rem 0; inset-inline-start: calc(0.575rem - 1px); inline-size: 2px; background: var(--gold-500); transform-origin: top; scale: 1 var(--progress, 0); }
@media (min-width: 56rem) { .motion .journey::after { inset-block: calc(0.575rem - 1px) auto; inset-inline: 0; inline-size: auto; block-size: 2px; transform-origin: left; scale: var(--progress, 0) 1; } .motion[dir="rtl"] .journey::after, [dir="rtl"] .motion .journey::after { transform-origin: right; } }

/* Product cards tilt toward the pointer with a moving glare (motion/pointer.js). */
.motion .product-card.is-tilting { transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px); transition: transform 0.12s linear, box-shadow 0.3s; }
.motion .product-card::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 0%), rgb(255 255 255 / 0.45), transparent 45%); opacity: 0; transition: opacity 0.3s; }
.motion .product-card.is-tilting::before { opacity: 1; }
.motion .button-gold { transition: translate 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.25s, box-shadow 0.25s; }

/* Call to action: wheat ears rise and lean as the band scrolls through (--progress). */
.motion .cta-wheat-field span { rotate: calc((var(--progress, 0.5) - 0.5) * 16deg * var(--wheat-lean, 1)); translate: 0 calc((0.5 - var(--progress, 0.5)) * 70px * (var(--wheat-index) + 1)); }

/* Reading progress bar, driven by motion/scroll-progress.js. */
.page-progress { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 60; block-size: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); transform-origin: left; scale: var(--page-progress, 0) 1; pointer-events: none; }
[dir="rtl"] .page-progress { transform-origin: right; }

.shipment { opacity: 0; }

/* Call-to-action wheat, decorative. */
.cta-band { position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 1; }
.cta-wheat-field { position: absolute; inset-block-end: -1.5rem; inset-inline-end: 4%; display: flex; align-items: flex-end; gap: 0.25rem; opacity: 0.22; pointer-events: none; }
.cta-wheat-field span { display: block; --wheat-lean: 1; }
.cta-wheat-field span:nth-child(2) { --wheat-lean: -1; margin-block-end: 1.5rem; }
.cta-wheat-field span:nth-child(3) { --wheat-lean: 0.6; }
.cta-wheat { display: block; inline-size: 4.5rem; block-size: auto; }
@media (max-width: 48rem) { .cta-wheat-field { opacity: 0.12; } }

/* ---------- Ambient motion: keeps moving for as long as the page is open (owner 2026-11-11) ---------- */
/* Each loop animates its own property (translate, scale, rotate, opacity), so it adds to the scroll and
   pointer transforms above instead of replacing them. Browsers pause these loops in hidden tabs. */

/* First screen: gold routes flow across the map from Al Qassim, pins and the hub breathe, the map drifts
   slowly; the copy rises in. */
.motion .hero-route { stroke-dasharray: 4 7; animation: route-flow 1.8s linear infinite; }
.motion .hero-pin { transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.6s ease-in-out infinite; animation-delay: calc(var(--route-index) * -0.8s); }
.motion .hero-hub-glow { transform-box: fill-box; transform-origin: center; animation: halo 4s ease-in-out infinite alternate; }
.motion .hero-map-art { animation: map-drift 40s ease-in-out infinite alternate; }
.motion .hero-copy > * { animation: lift 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.motion .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
.motion .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
.motion .hero-panel { animation: rise 1s 0.45s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.motion .hero-copy .button-gold { background-image: linear-gradient(110deg, transparent 38%, rgb(255 255 255 / 0.5) 50%, transparent 62%); background-size: 300% 100%; background-repeat: no-repeat; animation: shine 4s 1.5s ease-in-out infinite; }

/* Call to action: the wheat keeps swaying on top of its scroll lean. */
.motion .cta-wheat { transform-origin: center bottom; animation: sway 3.2s ease-in-out infinite alternate; }
.motion .cta-wheat-field span:nth-child(2) .cta-wheat { animation-delay: -1.2s; }
.motion .cta-wheat-field span:nth-child(3) .cta-wheat { animation-delay: -2.1s; }

@keyframes shine { 0%, 55% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
@keyframes sway { from { rotate: -3.5deg; } to { rotate: 3.5deg; } }
@keyframes route-flow { to { stroke-dashoffset: -22; } }
@keyframes pin-pulse { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.6; opacity: 0.55; } }
@keyframes map-drift { from { scale: 1; } to { scale: 1.05; } }
@keyframes year-shine { 0%, 45% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
@keyframes halo { from { scale: 0.92; opacity: 0.7; } to { scale: 1.12; opacity: 1; } }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes lift { from { transform: translateY(24px); } }
@keyframes word-rise { from { translate: 0 110%; } }
@keyframes ring { from { opacity: 0.8; scale: 1; } to { opacity: 0; scale: 2.6; } }
@keyframes hub { 0% { scale: 1; } 50% { scale: 1.35; } 100% { scale: 1; } }

/* ---------- Home hero: dark and formal, the real market map (blue sea) behind centred copy, glass panel below ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; min-block-size: 100svh; overflow: hidden; color: #000;
  background:
    radial-gradient(ellipse at 50% -10%, rgb(173 169 110 / 0.4), transparent 60%),
    radial-gradient(circle at 10% 110%, rgb(212 160 23 / 0.16), transparent 45%),
    linear-gradient(170deg, #ffffff, var(--dune-950) 55%, #ffffff);
}
/* A fine engraved grid, faded towards the edges, under the map. */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgb(0 0 0 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(0 0 0 / 0.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 75%);
}
.hero-map { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* The map keeps its compass directions in both languages, so it is placed by physical left/top. */
/* An even blue band: its top and bottom edges soften into the dune ground; dark enough for the white copy over it. */
.hero-map-art { position: absolute; top: 50%; left: 50%; inline-size: 100%; block-size: auto; translate: -50% -46%; opacity: 1; mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 55%, transparent 100%); }
/* Phones: the map is shown larger from its west edge, so Arabia and the Gulf stay in view behind the copy. */
@media (max-width: 48rem) { .hero-map-art { inline-size: 250%; max-inline-size: none; left: 0; translate: -6% -38%; } }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.hero-media video.is-playing { opacity: 0.35; }

.hero-copy { max-inline-size: 58rem; padding: calc(var(--header-height) + 2.4rem + clamp(2rem, 6vw, 4rem)) 1rem 2rem; text-align: center; }
/* Formal opening: a two-line heading, the lead, then the two actions side by side. No capsule label above it (owner rule 2026-11-17). */
.hero-copy h1 { max-inline-size: 15em; margin: 0 auto; font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.1rem); line-height: 1.15; color: #000; text-shadow: none; }
.hero-lead { max-inline-size: 36rem; margin: clamp(1rem, 2vw, 1.5rem) auto 0; color: rgb(0 0 0 / 0.84); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-block-start: clamp(1.5rem, 3vw, 2.25rem); }

/* Glass panel on the bottom edge, with a gold rule along its top. */
.hero-panel-wrap { inline-size: 100%; max-inline-size: 64rem; margin-block-start: auto; padding-inline: 1rem; }
.hero-panel { position: relative; padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3.5vw, 3rem) 0; background: rgb(0 0 0 / 0.06); border: 1px solid rgb(0 0 0 / 0.14); border-block-end: 0; border-start-start-radius: var(--radius); border-start-end-radius: var(--radius); backdrop-filter: blur(12px); }
.hero-panel::before { content: ''; position: absolute; inset-block-start: -1px; inset-inline: 2rem; block-size: 2px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.hero-panel-head { display: grid; gap: 1.25rem 4rem; }
@media (min-width: 48rem) { .hero-panel-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.hero-panel .kicker { margin: 0; }
.hero-panel-head h2 { margin: 0.75rem 0 0; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); color: #000; }
.hero-panel-head p:last-child { margin: 0; color: rgb(0 0 0 / 0.78); }
.hero-divider { block-size: 1px; margin-block: clamp(1.5rem, 3vw, 2.5rem) 0; background: rgb(0 0 0 / 0.14); }
.hero-rows { display: grid; gap: 0.5rem; margin: clamp(1rem, 2vw, 1.5rem) 0 0; padding: 0 0 clamp(1rem, 2vw, 1.5rem); list-style: none; }
@media (min-width: 40rem) { .hero-rows { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }
.hero-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.25rem; background: rgb(0 0 0 / 0.06); border: 1px solid rgb(0 0 0 / 0.08); color: #000; font-weight: 700; text-decoration: none; transition: background-color 0.2s, border-color 0.2s; }
.hero-row:hover { background: rgb(0 0 0 / 0.12); border-color: rgb(248 128 23 / 0.45); color: #000; text-decoration: none; }
.hero-row-number { color: #000; font-weight: 400; font-variant-numeric: tabular-nums; }
.hero-row-slash { margin-inline: 0.5rem; color: rgb(0 0 0 / 0.4); font-weight: 400; }
.hero-row.link-arrow::after { color: #000; transition: translate 0.2s; }
.hero-row.link-arrow:hover::after { translate: 2px 0; }
[dir="rtl"] .hero-row.link-arrow:hover::after { translate: -2px 0; }
.home-stats { padding-block-start: var(--space-section); }
/* ---------- Compact phone layout (owner 2026-11-11: boxes were too tall on phones; desktop unchanged) ----------
   Below 40rem every card turns into a short row or loses padding, so a visitor scrolls far less to see
   the same content. Touch targets stay at least 44px tall. */
@media (max-width: 40rem) {
  .section-heading, .section-head .section-heading { margin-block-end: 1.4rem; }
  .section-head .link-arrow { margin-block-end: 1.4rem; }

  /* Product cards: picture beside the text, two-line summary; the whole card stays one link. */
  .card-grid { gap: 0.75rem; }
  .product-card { flex-direction: row; align-items: center; }
  .spec-tile { flex: none; inline-size: 6.75rem; aspect-ratio: auto; align-self: stretch; align-content: center; justify-items: center; padding: 0.75rem 0.5rem; text-align: center; }
  .spec-tile::after { inset: 0.35rem; }
  .spec-tile-number, .spec-tile-art { display: none; }
  .spec-tile-value { font-size: 1.7rem; }
  .spec-tile-value--long { max-inline-size: none; font-size: 1.15rem; }
  .spec-tile-label { max-inline-size: none; font-size: 0.75rem; }
  .spec-tile-label--lead { font-size: 0.85rem; }
  .product-card-body { padding: 0.75rem 0.9rem; }
  .card-title { margin-block: 0.4rem 0.2rem; font-size: 1.02rem; }
  .product-card p { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; font-size: 0.875rem; line-height: 1.6; }
  .product-card .card-more { display: none; }
  .product-card .card-price { margin-block: 0.25rem 0; font-size: 0.85rem; -webkit-line-clamp: 1; line-clamp: 1; }

  /* Sectors: small icon beside the title and text. */
  .sector-grid { gap: 0.75rem; }
  .sector { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; align-items: start; padding: 1rem; }
  .sector-icon { grid-row: span 2; inline-size: 2.9rem; block-size: 2.9rem; padding: 0.4rem; }
  .sector h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
  .sector p { font-size: 0.9rem; }

  .highlight-grid { gap: 1.25rem; }
  .highlight { padding-block-start: 0.85rem; }
  .highlight h3 { margin-block-end: 0.35rem; font-size: 1.05rem; }
  .highlight p { font-size: 0.925rem; }

  .value-grid { gap: 0.75rem; }
  .value-card { padding: 1.1rem 1.15rem; }
  .value-card h2 { margin-block-end: 0.4rem; font-size: 1.1rem; }
  .value-card p { font-size: 0.95rem; }

  .stat { padding: 0.9rem 1rem; }
  .stat dd { font-size: 1.45rem; }
  .stat dt { font-size: 0.85rem; }

  /* First screen: tighter panel and rows so the hero fits the phone screen. */
  .hero-copy { padding-block-end: 1.25rem; }
  .hero-panel { padding: 1.25rem 1rem 0; }
  .hero-panel-head { gap: 0.6rem; }
  .hero-panel-head h2 { margin-block-start: 0.4rem; font-size: 1.35rem; }
  .hero-panel-head p:last-child { font-size: 0.925rem; }
  .hero-divider { margin-block-start: 1rem; }
  .hero-rows { gap: 0.35rem; margin-block-start: 0.75rem; padding-block-end: 0.75rem; }
  .hero-row { min-block-size: 2.75rem; padding: 0.55rem 1rem; font-size: 0.95rem; }

  .market-list { gap: 0.5rem; }
  .market-list li { padding: 0.45rem 1rem; font-size: 0.95rem; }
  .markets-layout { gap: 1.5rem; }
  /* Smaller place badges so they cover less of the small phone map. */
  .map-place { padding: 0.15rem 0.5rem; font-size: 0.68rem; box-shadow: 0 4px 10px rgb(0 0 0 / 0.3); }
  .map-place--hub { padding: 0.2rem 0.55rem; }

  .quote-form { gap: 0.85rem; }
  .contact-card { padding: 1.25rem; }

  /* Footer: links and contact side by side under the company blurb. */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; padding-block: 2.25rem 1.5rem; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about p { margin-block-end: 0; font-size: 0.925rem; }
  .footer-links a, .footer-contact a { display: inline-block; padding-block: 0.3rem; }
}
