/* Abu Salah Al-Busaidi Ent. -- public workshop page
   Theme from the logo: gold/ochre, sand, charcoal, on white.
   NO new colour: every colour below is one of the tokens in :root (or the same
   token at a lower alpha / mixed with another token). Typeface is IBM Plex
   Sans Arabic + Plex Sans, the same family as techmate.om, self-hosted.
   No build step, no framework. Logical properties throughout so the Arabic
   (RTL) and English (LTR) pages share this one stylesheet. The only script on
   the site is contact.js (the lead form). */

/* ---- Fonts (self-hosted, OFL) -------------------------------------------- */

@font-face {
  font-family: "Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/plex-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/plex-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/assets/fonts/plex-sans-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Tokens ---------------------------------------------------------------- */

:root {
  --gold: #b8862b;
  --gold-deep: #8f6a1f;
  --sand: #f1e8d6;
  --sand-line: #e2d3ac;
  --charcoal: #241f1a;
  --grey: #6b6560;
  --white: #ffffff;
  --whatsapp: #1e9e56;
  --whatsapp-deep: #17803f;

  /* The same colours as channels, for alpha use only. */
  --gold-rgb: 184 134 43;
  --charcoal-rgb: 36 31 26;
  --sand-rgb: 241 232 214;
  --charcoal-fixed: 36 31 26; /* does not flip in dark mode, unlike --charcoal-rgb */
  --line-strong: rgb(36 31 26 / 0.28); /* outline-button edge: charcoal in light, sand-white in dark */

  /* Fixed "stone" surface: charcoal with sand type, in both colour schemes. */
  --stone: #241f1a;
  --on-stone: #f1e8d6;
  --on-stone-muted: rgb(241 232 214 / 0.74);

  /* A whisper of sand over the page white, for alternating bands. */
  --band: #f9f5ec;
  --band: color-mix(in srgb, var(--sand) 38%, var(--white));

  --max-w: 72rem;
  --r-sm: 0.75rem;
  --r-md: 1.25rem;
  --r-lg: 1.75rem;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(var(--charcoal-rgb) / 0.06), 0 4px 14px rgb(var(--charcoal-rgb) / 0.06);
  --shadow-md: 0 2px 4px rgb(var(--charcoal-rgb) / 0.05), 0 14px 34px -8px rgb(var(--charcoal-rgb) / 0.16);
  --shadow-lg: 0 30px 60px -22px rgb(var(--charcoal-rgb) / 0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Header: the page's OWN theme, not a separate bar. These tokens point at the
     page tokens (--sand, --charcoal, --gold) and follow them into dark mode. */
  --header-bg: var(--sand);
  --header-fg: var(--charcoal);
  --header-muted: var(--grey);
  --header-line: var(--sand-line);
  --header-hover: var(--sand-line);
  --header-accent: var(--gold-deep);
  --header-shadow: rgba(36, 31, 26, 0.12);

  --font: "Plex Sans Arabic", "Plex Sans", "Segoe UI", Tahoma, "Geeza Pro", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sand: #2a251f;
    --sand-line: #3a3226;
    --charcoal: #f1ece2;
    --grey: #b9b2a6;
    --white: #171310;
    --whatsapp: #29c56c;
    --whatsapp-deep: #34d67a;
    --header-accent: var(--gold);

    --charcoal-rgb: 0 0 0;
    --line-strong: rgb(241 236 226 / 0.34);
    --band: #1d1814;
    --band: color-mix(in srgb, var(--sand) 55%, var(--white));
  }
}

/* ---- Base ------------------------------------------------------------------- */

* { box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Anchors land clear of the sticky header instead of tucking underneath it. */
[id] { scroll-margin-block-start: 5.5rem; }

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Arabic letters join: any letter-spacing breaks the script. Only Latin gets it. */
html[lang="ar"] * { letter-spacing: 0 !important; }

a { color: var(--gold-deep); }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Standard "visually hidden" clip -- never an off-screen offset, which can
   widen the scrollable area in some browsers. */
.vh,
.field-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Header: sand surface, gold WhatsApp CTA, disclosure menu ---------------- */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: var(--header-bg);
  border-block-end: 1px solid var(--header-line);
}

.site-header .wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  padding-block: 0.7rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-mark {
  width: 2rem;
  height: auto;
  display: block;
  flex: none;
}

/* Below 46rem the business name is visually hidden (kept for assistive tech)
   so two full-size actions -- WhatsApp and Menu -- fit a 320px phone beside
   the mark. */
.brand {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--header-fg);
  text-decoration: none;
  min-width: 0;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* A header with no actions (the 404 and offline pages) has room: show it. */
.site-header .wrap > .brand {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.header-utility {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-block-start: 1px solid var(--header-line);
  margin-block-start: 0.5rem;
  padding-block-start: 0.5rem;
}

.lang-switch,
.icon-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-block-size: 3rem;
  padding-block: 0.625rem;
  padding-inline: 0.875rem;
  border-radius: 0.75rem;
  color: var(--header-fg);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  text-align: start;
}
.lang-switch:hover,
.icon-link:hover,
.lang-switch:focus-visible,
.icon-link:focus-visible { background: var(--header-hover); }
.lang-switch:focus-visible,
.icon-link:focus-visible { outline: 2px solid var(--charcoal); outline-offset: -2px; }
.icon-link svg { width: 1.05rem; height: 1.05rem; flex: none; }

.btn.btn-header-cta {
  flex: none;
  min-block-size: 3rem;
  padding-block: 0.625rem;
  padding-inline: 1rem;
  border-radius: var(--r-pill);
  font-size: 1rem;
  gap: 0.5rem;
  background: var(--header-accent);
  color: var(--white);
  box-shadow: none;
}
.btn.btn-header-cta:hover,
.btn.btn-header-cta:focus-visible {
  background: var(--charcoal);
  color: var(--white);
  transform: none;
}
.btn.btn-header-cta:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.btn.btn-header-cta svg { width: 1.15rem; height: 1.15rem; }

/* The disclosure IS the menu button -- native <details>/<summary>, no nested
   <button>, no JavaScript. Its panel (.site-nav) is absolutely positioned off
   the (positioned) .wrap. */
.header-menu {
  position: static;
  flex: none;
}

.header-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: 3rem;
  min-inline-size: 5.5rem;
  padding-block: 0.625rem;
  padding-inline: 1rem;
  border: 1px solid var(--header-accent);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--header-fg);
  font: 700 1rem/1.5 var(--font);
  cursor: pointer;
  list-style: none;
}
.header-menu-toggle::marker,
.header-menu-toggle::-webkit-details-marker { display: none; }
.header-menu-toggle:hover { background: var(--header-hover); }
.header-menu-toggle:focus-visible {
  background: var(--header-hover);
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
}
.header-menu[open] > .header-menu-toggle {
  background: var(--header-hover);
  border-color: var(--charcoal);
}
.header-menu-chevron {
  width: 0.75rem;
  height: 0.75rem;
  flex: none;
  transition: transform 0.15s ease;
}
.header-menu[open] > .header-menu-toggle .header-menu-chevron { transform: rotate(180deg); }

/* Logical properties alone flip the panel correctly in RTL -- no [dir]
   override. Dismissal is manual (tap Menu again): the accepted zero-JS tradeoff. */
.site-nav {
  position: absolute;
  inset-block-start: calc(100% + 0.5rem);
  inset-inline-end: 1rem;
  inline-size: min(22rem, calc(100% - 2rem));
  max-block-size: min(30rem, calc(100vh - 7rem));
  max-block-size: min(30rem, calc(100svh - 7rem));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--header-line);
  border-radius: 1.25rem;
  box-shadow: 0 0.75rem 2rem var(--header-shadow);
}

.site-nav a {
  display: flex;
  align-items: center;
  min-block-size: 3rem;
  padding-block: 0.625rem;
  padding-inline: 0.875rem;
  color: var(--header-fg);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  text-align: start;
  border-radius: 0.75rem;
}
.site-nav a:hover,
.site-nav a:focus-visible { background: var(--header-hover); }
.site-nav a:focus-visible { outline: 2px solid var(--charcoal); outline-offset: -2px; }

@media (min-width: 46rem) {
  .site-header .wrap { flex-wrap: nowrap; padding-block: 0.85rem; }
  /* the brand takes the slack, so WhatsApp + Menu sit at the far edge */
  .brand-group { flex: 1 1 auto; }
  .brand-group .brand {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-size: 1.05rem;
  }
  .site-nav {
    inset-inline-end: clamp(1rem, 4vw, 2rem);
    inline-size: min(22rem, calc(100% - 2.5rem));
  }
}
@media (min-width: 46rem) and (max-width: 80rem) {
  /* wrap padding is clamp(1rem, 4vw, 2rem): keep the panel on the same edge */
  .site-nav { inset-inline-end: clamp(1rem, 4vw, 2rem); }
}

/* ---- Buttons: one pill system ----------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-block-size: 3rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  text-decoration: none;
  font: 700 1rem/1.4 var(--font);
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; }

/* Measured: white text on this gold is 3.24:1 and on this green 3.45:1 (both
   fail WCAG AA); charcoal on the same fills is 5.04:1 and 4.74:1 (both pass).
   --charcoal / --white swap in the dark scheme, so the rule holds in both. */
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 10px 22px -10px rgb(var(--gold-rgb) / 0.85);
}
.btn-primary:hover { background: var(--gold-deep); color: var(--white); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--charcoal);
  box-shadow: 0 10px 22px -10px rgb(30 158 86 / 0.7);
}
.btn-whatsapp:hover { background: var(--whatsapp-deep); }

.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--charcoal);
}
.btn-secondary:hover { background: var(--sand); border-color: var(--charcoal); }

@media (prefers-color-scheme: dark) {
  .btn-primary,
  .btn-whatsapp { color: #171310; }
  .btn-primary:hover { color: #171310; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn:not(.btn-header-cta) { transition-property: background-color, border-color, color, transform, box-shadow; transition-duration: 0.18s; }
  .btn:not(.btn-header-cta):hover { transform: translateY(-2px); }
  .btn:not(.btn-header-cta):active { transform: translateY(1px); }
}

/* ---- Hero ----------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(2.25rem, 6vw, 5rem) clamp(4.5rem, 9vw, 7.5rem);
  background:
    radial-gradient(52rem 26rem at 88% -8%, rgb(var(--gold-rgb) / 0.2), transparent 70%),
    linear-gradient(180deg, var(--sand) 0%, var(--band) 68%, var(--white) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/veins-light.svg") center / cover no-repeat;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--sand-line);
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.55);
  color: var(--gold-deep);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}
@media (prefers-color-scheme: dark) {
  .eyebrow { background: rgb(0 0 0 / 0.25); color: var(--gold); }
}
.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; }

h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.1rem);
  font-weight: 700;
  color: var(--charcoal);
}
/* Arabic runs wider per word than Latin: a lower ceiling keeps the headline to
   three lines at desktop instead of four. */
html[lang="ar"] h1 { line-height: 1.4; font-size: clamp(2rem, 1.2rem + 2.8vw, 3rem); }
html[lang="en"] h1 { line-height: 1.08; letter-spacing: -0.03em; font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.6rem); }
.nb { white-space: nowrap; }
h1, h2, h3, .tagline { text-wrap: balance; }
.tagline { text-wrap: pretty; }

.h1-name { display: block; }
.key-line {
  display: inline;
  color: var(--gold-deep);
  background: linear-gradient(transparent 76%, rgb(var(--gold-rgb) / 0.28) 76%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (prefers-color-scheme: dark) { .key-line { color: var(--gold); } }

.tagline {
  max-width: 34rem;
  margin: 0 0 2rem;
  color: var(--grey);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
}
html[lang="ar"] .tagline { line-height: 1.95; }
html[lang="en"] .tagline { line-height: 1.65; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 36rem) {
  .cta-row { display: grid; grid-template-columns: 1fr 1fr; }
  .cta-row .btn-whatsapp { grid-column: 1 / -1; }
  .cta-row .btn { padding-inline: 1rem; }
}

/* The stone panel: the one place the page is dark at the top. The logo is the
   centrepiece; the veins are texture only, never a picture of the product. */
.hero-visual { position: relative; }
.stone-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-block-size: clamp(19rem, 46vw, 33rem);
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 2.5vw, 1.5rem);
  border-radius: var(--r-lg);
  background:
    url("/assets/veins-dark.svg") center / cover no-repeat,
    var(--stone);
  border: 1px solid rgb(var(--gold-rgb) / 0.35);
  box-shadow: var(--shadow-lg);
}
.stone-panel::after {
  /* a soft top-edge sheen, the way light sits on a polished slab */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.07) 0%, transparent 38%);
}
.stone-panel picture {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  inline-size: 100%;
}
.stone-logo { width: min(100%, 22rem); height: auto; filter: drop-shadow(0 12px 28px rgb(0 0 0 / 0.45)); }

/* In flow, below the logo -- never over it, however long the line wraps. */
.stone-chip {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgb(var(--sand-rgb) / 0.2);
  border-radius: 1.25rem;
  background: rgb(var(--sand-rgb) / 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--on-stone);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}
.stone-chip svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--gold); }

/* The logo's cut-stone facets, echoed as outline diamonds in the corners. */
.diamonds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.diamonds span {
  position: absolute;
  width: 3.1rem;
  height: 3.1rem;
  border: 1.5px solid rgb(var(--gold-rgb) / 0.55);
  transform: rotate(45deg);
}
.diamonds span:nth-child(1) { inset-block-start: 1.6rem; inset-inline-start: 1.6rem; }
.diamonds span:nth-child(2) { inset-block-start: 3.8rem; inset-inline-start: 3.8rem; width: 1.5rem; height: 1.5rem; background: rgb(var(--gold-rgb) / 0.35); border-color: transparent; }
.diamonds span:nth-child(3) { inset-block-start: 1.9rem; inset-inline-end: 1.7rem; width: 2rem; height: 2rem; }

/* ---- Quick facts: a ribbon that overlaps the hero ------------------------------ */

.facts-band {
  position: relative;
  z-index: 2;
  margin-block-start: calc(-1 * clamp(2.4rem, 5vw, 3.6rem));
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--sand-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--charcoal);
}
.facts li + li { border-inline-start: 1px solid var(--sand-line); }
.facts .fi {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgb(var(--gold-rgb) / 0.14);
  color: var(--gold-deep);
}
.facts .fi svg { width: 1.3rem; height: 1.3rem; }
@media (prefers-color-scheme: dark) { .facts .fi { color: var(--gold); } }
@media (max-width: 62rem) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-inline-start: 0; }
  .facts li:nth-child(n + 3) { border-block-start: 1px solid var(--sand-line); }
}
@media (max-width: 30rem) {
  .facts li { padding: 1rem 0.9rem; gap: 0.65rem; font-size: 0.875rem; }
  .facts .fi { width: 2.2rem; height: 2.2rem; }
  .facts .fi svg { width: 1.1rem; height: 1.1rem; }
}

/* ---- Sections ---------------------------------------------------------------------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.section-head { margin-block-end: clamp(1.75rem, 4vw, 3rem); }
h2 {
  margin: 0;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal);
}
html[lang="ar"] h2 { line-height: 1.4; }
html[lang="en"] h2 { line-height: 1.12; letter-spacing: -0.025em; }
.section-head h2::after {
  content: "";
  display: block;
  inline-size: 3.5rem;
  block-size: 4px;
  margin-block-start: 0.9rem;
  border-radius: var(--r-pill);
  background: var(--gold);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  font-weight: 700;
  line-height: 1.4;
}

/* ---- Services: one feature card + two supporting cards -------------------------- */

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.service-grid li {
  position: relative;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--sand-line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.service-grid p { margin: 0; color: var(--grey); }
.service-grid .si {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgb(var(--gold-rgb) / 0.14);
  color: var(--gold-deep);
}
.service-grid .si svg { width: 1.6rem; height: 1.6rem; }
@media (prefers-color-scheme: dark) { .service-grid .si { color: var(--gold); } }

.service-grid li:first-child {
  grid-row: 1 / span 2;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-block-size: 22rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  overflow: hidden;
  isolation: isolate;
  border-color: rgb(var(--gold-rgb) / 0.4);
  background: url("/assets/veins-dark.svg") center / cover no-repeat, var(--stone);
  color: var(--on-stone);
  box-shadow: var(--shadow-lg);
}
.service-grid li:first-child .si {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgb(var(--gold-rgb) / 0.2);
  border: 1px solid rgb(var(--gold-rgb) / 0.5);
  color: var(--gold);
}
.service-grid li:first-child .si svg { width: 2rem; height: 2rem; }
.service-grid li:first-child h3 {
  margin-block-end: 0.6rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  color: var(--on-stone);
}
.service-grid li:first-child p {
  max-width: 26rem;
  color: var(--on-stone-muted);
  font-size: 1.05rem;
}

@media (max-width: 52rem) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-grid li:first-child { grid-row: auto; min-block-size: 16rem; gap: 1.75rem; }
}

/* ---- Steps ------------------------------------------------------------------------- */

.section--band { background: var(--band); }
.section--veins { position: relative; isolation: isolate; overflow: clip; }
.section--veins::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/veins-light.svg") center / cover no-repeat;
  opacity: 0.7;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--sand-line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  inline-size: 3rem;
  block-size: 3rem;
  margin-block-end: 1.1rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 1.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
@media (prefers-color-scheme: dark) { .steps li::before { color: #171310; } }
/* A short rule across the gap ties each number to the next. */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-block-start: calc(clamp(1.4rem, 3vw, 2rem) + 1.5rem);
  inset-inline-end: calc(-1 * clamp(1rem, 2.4vw, 1.75rem));
  inline-size: clamp(1rem, 2.4vw, 1.75rem);
  border-block-start: 2px dashed var(--gold);
}
.steps h3 { margin-block-end: 0.35rem; }
.steps p { margin: 0; color: var(--grey); font-size: 0.98rem; }

@media (max-width: 52rem) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; }
  .steps li h3, .steps li p { grid-column: 2; }
  .steps li:not(:last-child)::after {
    inset-block-start: auto;
    inset-block-end: calc(-1 * clamp(1rem, 2.4vw, 1.75rem));
    inset-inline-end: auto;
    inset-inline-start: calc(clamp(1.4rem, 3vw, 2rem) + 1.5rem);
    inline-size: 0;
    block-size: clamp(1rem, 2.4vw, 1.75rem);
    border-block-start: 0;
    border-inline-start: 2px dashed var(--gold);
  }
}

/* ---- About: a stone panel with the lead sentence --------------------------------- */

.about-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgb(var(--gold-rgb) / 0.35);
  border-radius: var(--r-lg);
  /* the stone tone laid over the veins keeps them as texture behind the text,
     never a gold line running through a word */
  background:
    linear-gradient(rgb(var(--charcoal-fixed) / 0.62), rgb(var(--charcoal-fixed) / 0.62)),
    url("/assets/veins-dark.svg") center / cover no-repeat,
    var(--stone);
  color: var(--on-stone);
  box-shadow: var(--shadow-lg);
}
.about-panel h2 { color: var(--on-stone); }
.about-panel .section-head { margin: 0; }
.about-panel p {
  margin: 0;
  max-width: 40rem;
  color: var(--on-stone-muted);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem);
}
html[lang="ar"] .about-panel p { line-height: 2; }
html[lang="en"] .about-panel p { line-height: 1.75; }
.about-panel p strong { color: var(--on-stone); font-weight: 700; }
@media (max-width: 52rem) {
  .about-panel { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Contact -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 52rem) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list > li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--sand-line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.contact-list .ci {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgb(var(--gold-rgb) / 0.14);
  color: var(--gold-deep);
}
.contact-list .ci svg { width: 1.4rem; height: 1.4rem; }
@media (prefers-color-scheme: dark) { .contact-list .ci { color: var(--gold); } }
.contact-list .ci-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--grey); line-height: 1.5; }
.contact-list .ci-value { display: block; font-size: 1.1rem; font-weight: 700; line-height: 1.55; }
.contact-list a {
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  unicode-bidi: isolate;
}
.contact-list a:hover { color: var(--gold-deep); }
.contact-list .ci-value.phones { display: flex; flex-wrap: wrap; column-gap: 1.25rem; }
/* Digits keep their own left-to-right order inside an RTL line. */
.contact-list a[dir="ltr"] {
  display: inline-block;
  /* 44px tap target without changing the card's height */
  padding-block: 0.65rem;
  margin-block: -0.65rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 1.25rem;
}
@media (max-width: 30rem) {
  .contact-actions .btn { flex: 1 1 100%; }
}

/* ---- Lead form -------------------------------------------------------------------------- */

.lead-form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  border: 1px solid var(--sand-line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.92rem; font-weight: 700; color: var(--charcoal); }
.field .hint { font-weight: 400; color: var(--grey); font-size: 0.85rem; }
.field input,
.field textarea {
  inline-size: 100%;
  min-block-size: 3.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--sand-line);
  border-radius: var(--r-sm);
  background: var(--band);
  color: var(--charcoal);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s var(--ease);
}
.field input::placeholder { color: var(--grey); opacity: 0.8; }
.field input:hover,
.field textarea:hover { border-color: var(--gold); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgb(var(--gold-rgb) / 0.2);
}
.field textarea { resize: vertical; min-block-size: 8rem; }
/* Phone digits read the same shape in either language; force LTR so a number
   typed on the Arabic page does not get its digit order mirrored. */
.field input[type="tel"] { direction: ltr; text-align: start; }

.lead-submit { inline-size: 100%; }
@media (min-width: 36rem) {
  .lead-submit { inline-size: auto; justify-self: start; min-inline-size: 11rem; }
}
.lead-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }

.form-status {
  min-block-size: 1.75em;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.75;
}
.form-status--success { color: var(--whatsapp-deep); }
.form-status--error { color: #a33; }
@media (prefers-color-scheme: dark) { .form-status--error { color: #ff8f8f; } }

.form-noscript {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  background: var(--sand);
  color: var(--grey);
  font-size: 0.9rem;
}

/* ---- Footer ------------------------------------------------------------------------------- */

footer {
  background: var(--stone);
  color: var(--on-stone-muted);
  padding-block: 2rem;
  font-size: 0.92rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.75rem; }
/* The mark's black facets disappear on charcoal: sit it on a sand chip. */
.footer-mark {
  width: 2.75rem;
  height: auto;
  flex: none;
  padding: 0.35rem 0.5rem;
  border-radius: 0.75rem;
  background: var(--on-stone);
}
footer a {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  color: var(--on-stone);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
footer a:hover { color: var(--gold); }
footer a:focus-visible { outline-color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 40rem) {
  footer .wrap { justify-content: flex-start; }
}

/* ---- Plain pages (404, workshop-PC-offline) ------------------------------------------- */

.block { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.block h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); line-height: 1.3; }
.block h2 { margin-block: 2rem 0.5rem; font-size: 1.5rem; }
.block h2::after { display: none; }
.block p, .block li { max-width: 42rem; }
.block hr { border: 0; border-block-start: 1px solid var(--sand-line); margin-block: 2rem; }

/* ---- Scroll reveal: progressive enhancement, never required to read the page ------------ */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: as-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
    @keyframes as-rise {
      from { opacity: 0; transform: translateY(1.75rem); }
      to { opacity: 1; transform: none; }
    }
  }
  @media (hover: hover) {
    .service-grid li:not(:first-child),
    .steps li,
    .contact-list > li {
      transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
    }
    .service-grid li:not(:first-child):hover,
    .steps li:hover,
    .contact-list > li:hover {
      transform: translateY(-3px);
      border-color: var(--gold);
      box-shadow: var(--shadow-md);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header-menu-chevron { transition: none; }
  .btn, .field input, .field textarea { transition: none; }
}

/* ---- Inner pages (service pages) and the FAQ -------------------------------------------
   Built only from the tokens above: same sand, gold, charcoal, same cards and pills. */

a.brand-group { color: inherit; text-decoration: none; }

.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* The page hero on inner pages: the same sand-and-vein field as the home hero, without the
   stone panel and without the room the facts ribbon needs. */
.hero--page { padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(2.5rem, 6vw, 4.25rem); }
.hero--page .hero-copy { max-width: 50rem; }
.hero--page .tagline { max-width: 46rem; margin-block-end: 1.75rem; }
html[lang="ar"] .hero--page h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.7rem); }
html[lang="en"] .hero--page h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.2rem); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.6rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--grey);
}
.crumbs li + li::before { content: "/"; margin-inline-end: 0.6rem; color: var(--grey); opacity: 0.6; }
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  text-underline-offset: 0.2em;
}

/* Running text on inner pages. */
.prose { max-width: 46rem; }
.prose p { margin: 0 0 1rem; font-size: 1.08rem; }
html[lang="ar"] .prose p { line-height: 2; }
.prose a, .faq-item a, .note a, .checklist a { text-underline-offset: 0.2em; }
@media (prefers-color-scheme: dark) {
  .crumbs a, .prose a, .faq-item a, .note a, .checklist a { color: var(--gold); }
}

/* Diamond bullets: the logo's cut-stone facet. */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-inline-start: 1.7rem; }
.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.2rem;
  inset-block-start: 0.7em;
  inline-size: 0.55rem;
  block-size: 0.55rem;
  background: var(--gold);
  transform: rotate(45deg);
}
.prose .checklist { max-width: 46rem; }
.prose .checklist li { font-size: 1.05rem; }

/* Two cards side by side (what we do / what to send; granite / marble). */
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.75rem);
}
.pair > div {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--sand-line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.pair h3 { margin-block-end: 0.9rem; }
.note { max-width: 46rem; margin: 1.25rem 0 0; color: var(--grey); font-size: 0.95rem; }
@media (max-width: 52rem) {
  .pair { grid-template-columns: minmax(0, 1fr); }
}

/* FAQ: plain question-and-answer cards, all text in the page (nothing hidden behind a click). */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.faq-item {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--sand-line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.faq-item h3 { margin-block-end: 0.5rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }
.faq-item p { margin: 0; color: var(--grey); }
html[lang="ar"] .faq-item p { line-height: 1.9; }
@media (max-width: 52rem) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Links to the service pages inside the dark feature card on the home page. */
.card-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block-start: 1.15rem; }
.card-links a {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding: 0.4rem 1.15rem;
  border: 1px solid rgb(var(--gold-rgb) / 0.55);
  border-radius: var(--r-pill);
  background: rgb(var(--sand-rgb) / 0.08);
  color: var(--on-stone);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.card-links a:hover,
.card-links a:focus-visible { background: var(--gold); border-color: var(--gold); color: #241f1a; }
.card-links a:focus-visible { outline-color: var(--on-stone); }

/* The closing "order now" panel is the About panel with buttons under the text. */
.order-panel .cta-row { margin-block-start: 1.5rem; }
.related { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 1.5rem; }

/* A phone number never breaks across lines, in either direction of text. */
a[href^="tel:"] { white-space: nowrap; unicode-bidi: isolate; }
/* Links inside the dark stone panels need the lighter gold to stay readable. */
.about-panel a:not(.btn) { color: var(--gold); }
