/* self-hosted fonts */
/* arabic */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/Alexandria-arabic-fb351b4f.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/Alexandria-latin-d09128cc.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;
}
/* arabic */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/Alexandria-arabic-fb351b4f.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/Alexandria-latin-d09128cc.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;
}
/* arabic */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Alexandria-arabic-fb351b4f.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Alexandria-latin-d09128cc.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;
}
/* arabic */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Alexandria-arabic-fb351b4f.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'Alexandria';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/Alexandria-latin-d09128cc.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;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSansArabic-arabic-404cbb38.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSansArabic-latin-72380389.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;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSansArabic-arabic-e5580826.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSansArabic-latin-5d052903.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;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSansArabic-arabic-215a0591.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSansArabic-latin-9b307238.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;
}
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSansArabic-arabic-035d74b2.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexSansArabic-latin-0e940890.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;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/Jost-latin-b58a5805.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;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/Jost-latin-b58a5805.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;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/Jost-latin-b58a5805.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;
}

/* ZA VALUO — base + home (RTL). Built on the RAW & CUBANA reference system, translated to a contractor's paperwork. */
/* Brand palette, sampled from the logo: navy #081122 · deep gold #815C30 · silver #ACA9A8 · gold #B58C51.
   Light theme: a warm off-white ground, navy ink, gold for accents. `.dark` scopes flip back to navy. */
:root {
  --navy: #081122;
  --brand-gold: #B58C51;
  --brand-gold-deep: #815C30;
  --brand-silver: #ACA9A8;

  --ground: #f7f4ef;
  --surface: #efe9e0;
  --surface-2: #e7e0d4;
  --ink: var(--navy);
  --muted: #5b5f68;
  --paper: #ffffff;
  --paper-2: #f2ede5;
  --paper-ink: var(--navy);
  --paper-muted: #5b5f68;
  --gold: var(--brand-gold);
  --gold-deep: var(--brand-gold-deep);
  --gold-text: var(--brand-gold-deep);
  --gold-ink: var(--navy);
  --silver: var(--brand-silver);
  --line: rgba(129, 92, 48, 0.12);
  --rule: rgba(8, 17, 34, 0.12);
  --shadow: 0 30px 60px -36px rgba(8, 17, 34, 0.35);

  --display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --text: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --latin: "Jost", "IBM Plex Sans Arabic", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.9rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.4vw, 4.75rem);
  --step-giant: clamp(4.5rem, 1rem + 14vw, 16rem);

  --m: clamp(16px, 2.2vw, 32px);
  --gap-section: clamp(120px, 14vw, 220px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--text); font-size: var(--step-body); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lat { font-family: var(--latin); letter-spacing: 0.18em; text-transform: uppercase; direction: ltr; unicode-bidi: isolate; }
.eyebrow { font-family: var(--latin); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text); direction: ltr; unicode-bidi: isolate; display: inline-block; text-align: right; }
.num { font-family: var(--latin); direction: ltr; unicode-bidi: isolate; }

/* Arabic is cursive: never letter-space it, never split it into characters. Motion splits by word. */
.split .w { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--text); font-size: var(--step-small); font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.96); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--paper); }
.btn-ink { background: var(--paper-ink); color: var(--paper); }
.btn-ink:hover { background: var(--gold); color: var(--gold-ink); }
.btn-paper { background: var(--paper); color: var(--paper-ink); }
.btn-paper:hover { background: var(--gold); color: var(--gold-ink); }
.link { text-decoration: none; position: relative; padding-bottom: 4px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0.25); transform-origin: right; transition: transform 320ms var(--ease-out); }
.link:hover::after { transform: scaleX(1); }

/* ---------- intro: the site board goes up, then lifts away ---------- */
.intro { display: none; }
.js .intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--ground); }
.intro.is-gone { display: none; }
.intro-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 70%); }
.intro-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.intro-box img { width: min(46vw, 220px); }
.intro-line { width: min(60vw, 260px); height: 2px; background: rgba(201,163,92,.2); position: relative; overflow: hidden; }
.intro-line i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: right; }
.intro-tag { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; opacity: 0;
  transition: width 260ms var(--ease-out), height 260ms var(--ease-out), margin 260ms var(--ease-out), opacity 200ms ease;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.cursor-label { font-size: 13px; font-weight: 600; color: var(--gold-ink); opacity: 0; transition: opacity 160ms ease; }
.cursor.is-big .cursor-label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }
.float-img { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; width: 280px; height: 200px; object-fit: cover; opacity: 0; transform: translate(-50%, -50%) scale(0.6); }

/* ---------- top bar ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--m); transition: background-color 300ms ease; }
.bar.is-solid { background: var(--ground); }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark img { width: 58px; height: auto; }
.mark span { font-family: var(--latin); font-size: 1.05rem; font-weight: 400; letter-spacing: 0.26em; direction: ltr; }
.mark span b { font-weight: 400; color: var(--gold-text); }
.bar-links { display: flex; gap: 30px; font-size: var(--step-small); }
.bar-links a { text-decoration: none; position: relative; padding: 6px 0; }
.bar-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease-out); }
.bar-links a:hover::after, .bar-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: right; }
@media (max-width: 860px) { .bar { padding: 10px 16px; } .bar-links { display: none; } .mark span { display: none; } .mark img { width: 50px; } }

/* ---------- hero: the site drawing ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate; background: var(--ground); }
.hero-grid { position: absolute; inset: -10%; z-index: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 45%, #000 10%, transparent 72%); }
.tower { position: absolute; left: 50%; bottom: 0; z-index: 2; height: 94svh; width: auto; aspect-ratio: 520 / 760; transform: translateX(-50%); pointer-events: none; overflow: visible; }
.tower .ln { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: square; }
.tower .ln-s { fill: none; stroke: var(--silver); stroke-width: 1.2; opacity: .7; }
.tower .ln-f { fill: none; stroke: rgba(201,163,92,.35); stroke-width: 1; }
.tower .dim { fill: none; stroke: rgba(8,17,34,.28); stroke-width: 1; }
.tower .dim-t { fill: rgba(8,17,34,.5); font-family: var(--latin); font-size: 11px; letter-spacing: .12em; }
.tower .fl { fill: var(--gold); opacity: 0; }
.tower .hook { transform-box: fill-box; transform-origin: 50% 0; animation: swing 4.5s ease-in-out infinite alternate; }
@keyframes swing { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.hero-title {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  font-family: var(--display); font-weight: 600; font-size: var(--step-giant); line-height: 1; color: var(--ink);
}
.ht { position: absolute; display: block; white-space: nowrap; }
.ht-1 { right: var(--m); top: 11vh; }
.ht-2 { left: var(--m); bottom: 17vh; color: var(--gold-text); }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 0 var(--m) 28px; }
.hero-lead { max-width: 32ch; font-size: var(--step-lead); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions .link { margin-right: 16px; }
/* icon buttons: WhatsApp (solid gold) and call (gold outline) */
.btn-icon { gap: 10px; padding: 0 30px; min-height: 54px; font-size: 1rem; }
.btn-icon svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--brand-gold); }
.btn-outline svg { stroke: var(--brand-gold-deep); }
.btn-outline:hover { background: var(--navy); color: #f3efe8; box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-outline:hover svg { stroke: var(--brand-gold); }
@media (max-width: 760px) { .hero-actions { width: 100%; } .hero-actions .btn-icon { flex: 1 1 40%; padding: 0 16px; } .hero-actions .link { flex: 0 0 auto; margin: 6px 0 0; } }
.hero-reveal { position: absolute; inset: 0; z-index: 6; clip-path: circle(0% at 50% 40%); pointer-events: none; background: var(--ground); }
.hero-reveal img { width: 100%; height: 100%; object-fit: cover; }
.hero-reveal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,16,33,.75), transparent 45%); }
.hero-reveal p { position: absolute; right: var(--m); bottom: 32px; z-index: 1; font-family: var(--display); font-size: var(--step-head); line-height: 1.15; max-width: 14ch; }
@media (max-width: 760px) {
  .hero-title { font-size: 25vw; }
  .ht-1 { top: 13vh; }
  .ht-2 { bottom: 34vh; }
  .tower { height: 62svh; bottom: 30svh; left: 54%; opacity: .9; }
  .hero-foot { flex-direction: column; align-items: start; gap: 18px; }
}

/* ---------- chapter: methodology, scrolled sideways ---------- */
.chapter { position: relative; background: var(--ground); overflow: hidden; }
.chapter-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 120px); height: 100svh; padding: 0 var(--m); width: max-content; will-change: transform; }
.chapter-intro { width: min(36vw, 520px); flex: none; }
.chapter-h { font-family: var(--display); font-weight: 600; font-size: var(--step-head); line-height: 1.15; margin-top: 14px; }
.chapter-intro p { margin-top: 24px; max-width: 32ch; }
.panel { position: relative; flex: none; width: min(56vw, 880px); display: grid; gap: 22px; }
.panel-tall { width: min(38vw, 600px); }
.panel-img { position: relative; overflow: hidden; height: 60svh; background: var(--surface); }
.panel-tall .panel-img { height: 70svh; }
.panel-img img { position: absolute; inset: 0; width: 124%; max-width: none; height: 100%; right: -12%; object-fit: cover; }
.panel-plan { display: grid; place-items: center; background: var(--surface); }
.panel-plan::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
.panel-plan svg { position: relative; width: 82%; height: auto; }
.panel-plan .pl { fill: none; stroke: var(--gold); stroke-width: 2; }
.panel-plan .pl-s { fill: none; stroke: var(--silver); stroke-width: 1; opacity: .6; }
.panel-plan text { fill: var(--silver); font-family: var(--text); font-size: 13px; }
.panel-text { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: end; }
.panel-no { font-family: var(--latin); font-weight: 300; color: var(--gold-text); font-size: 1rem; letter-spacing: .2em; display: block; margin-bottom: 6px; }
.panel-word { font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 1.5rem + 5vw, 7rem); line-height: 1.4; overflow: hidden; padding-bottom: 0.08em; }
.panel-text p { max-width: 34ch; padding-bottom: 10px; }
@media (max-width: 860px) {
  .chapter-track { flex-direction: column; align-items: stretch; height: auto; width: auto; gap: 72px; padding: 120px 16px 40px; }
  .chapter-intro, .panel, .panel-tall { width: auto; }
  .panel-img, .panel-tall .panel-img { height: 56vh; }
  .panel-text { grid-template-columns: 1fr; gap: 10px; }
  .panel-word { font-size: 3.5rem; }
}

/* ---------- sectors showcase ---------- */
.tins { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 92svh; margin-top: var(--gap-section); background: var(--surface); }
.tins-plate { position: relative; padding: 40px; display: grid; place-items: center; min-width: 0; }
.plate-frame { position: relative; width: 100%; aspect-ratio: 5 / 4; overflow: hidden; touch-action: pan-y; }
.plate-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate-img:not(.is-on) { visibility: hidden; }
/* a strip of site tape sweeps across when the photo changes */
.plate-ring {
  position: absolute; left: 40px; right: 40px; top: 50%; height: 56px; transform: translateY(-50%); pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 26px, var(--paper-ink) 26px 52px);
}
.tins-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 56px clamp(24px, 4vw, 64px) 40px var(--m); min-width: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.tabs button { background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: 1.0625rem; color: var(--muted); position: relative; transition: color var(--t-hover) ease; }
.tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 420ms var(--ease-out); }
.tabs button:hover, .tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tin-text { max-width: 40ch; }
.tin-kind { color: var(--gold-text); }
.tin-name { font-family: var(--display); font-weight: 600; font-size: var(--step-head); line-height: 1.15; margin-top: 14px; }
.tin-desc { margin-top: 32px; max-width: 36ch; }
.tin-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell { min-height: 72px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; font-weight: 500; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cell:active { transform: scale(0.98); }
.cell-ink { background: var(--paper); color: var(--paper-ink); }
.cell-ink:hover { background: var(--gold); color: var(--gold-ink); }
.cell-tone { background: var(--surface-2); color: var(--ink); }
.cell-tone:hover { background: var(--paper); color: var(--paper-ink); }
.cell .arrow { font-family: var(--latin); font-size: 1.4rem; }
@media (max-width: 860px) {
  .tins { grid-template-columns: minmax(0, 1fr); margin-top: 96px; }
  .tins-plate { padding: 16px; }
  .plate-ring { left: 16px; right: 16px; }
  .tins-copy { padding: 24px 16px 32px; gap: 32px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs button { flex: none; }
  .tin-desc { margin-top: 20px; }
  .tin-actions { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }
}

/* ---------- the quotation sheet: built like the company letterhead ---------- */
.humidor { position: relative; margin-top: var(--gap-section); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--m); padding: 0 var(--m); align-items: start; }
.sheet { grid-column: 2 / span 5; position: relative; z-index: 2; background: var(--paper); color: var(--paper-ink); padding: 0 clamp(24px, 3.4vw, 56px) 48px; overflow: hidden; }
.sheet-wave { position: absolute; top: 0; left: 0; width: 62%; height: auto; pointer-events: none; }
.sheet-head { position: relative; display: flex; align-items: center; gap: 14px; padding-top: 34px; }
.sheet-head img { width: 64px; }
.sheet-head div { line-height: 1.3; }
.sheet-head b { display: block; font-family: var(--latin); font-weight: 400; letter-spacing: .14em; font-size: 1.05rem; direction: ltr; text-align: right; }
.sheet-head b span { color: var(--gold-deep); }
.sheet-head small { font-size: .82rem; color: var(--paper-muted); }
.sheet-h { font-family: var(--display); font-weight: 600; font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3rem); line-height: 1.2; text-align: center; margin-top: 40px; }
.sheet-h::after { content: ""; display: block; width: 110px; height: 3px; background: var(--gold); margin: 12px auto 0; }
.sheet-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--paper-muted); margin: 26px 0 8px; padding-bottom: 14px; border-bottom: 1px solid var(--gold); position: relative; }
.sheet-meta::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }
.group { margin-top: 36px; }
.group-h { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.group-h .num { font-size: .8rem; color: var(--gold-deep); letter-spacing: .2em; font-weight: 500; }
.row { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0 10px; text-decoration: none; padding: 8px 0; transition: color var(--t-hover) ease; }
.row-name { font-size: 1.125rem; font-weight: 500; }
.row-dots { height: 0; align-self: end; margin-bottom: 0.55em; border-bottom: 4px dotted var(--paper-ink); transform-origin: right; }
.row-val { font-family: var(--latin); font-size: .72rem; letter-spacing: .16em; font-weight: 500; color: var(--paper-muted); direction: ltr; }
.row-desc { grid-column: 1 / -1; font-size: 0.94rem; color: var(--paper-muted); max-width: 40ch; line-height: 1.6; }
.row:hover { color: var(--gold-deep); }
.row:hover .row-dots { border-bottom-color: var(--gold-text); }
.seal { margin: 44px 0 0 auto; width: min(240px, 70%); border: 1.5px solid var(--gold); border-radius: 12px; padding: 14px 18px 18px; text-align: center; font-size: .85rem; transform: rotate(-2deg); }
.seal b { display: block; font-family: var(--display); font-size: 1.2rem; margin: 6px 0 14px; }
.seal i { display: block; border-bottom: 2px dotted var(--paper-muted); }
.sheet-foot { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--paper-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .8rem; color: var(--paper-muted); }
.humidor-photo { grid-column: 7 / span 6; margin-top: 160px; position: sticky; top: 14vh; overflow: hidden; }
.humidor-photo.svc-photo { grid-column: 9 / span 4; margin-top: 0; top: 110px; }
.humidor-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* ---------- services index: a plain list on the dark ground, the photo follows the line you point at ---------- */
.svc { grid-column: 1 / span 7; }
.svc-h { font-family: var(--display); font-weight: 600; font-size: var(--step-head); line-height: 1.2; margin-top: 10px; }
.svc-sub { color: var(--muted); max-width: 46ch; margin-top: 14px; }
.svc .group { margin-top: 56px; }
.svc .group-h { font-family: var(--display); font-weight: 500; font-size: 1.35rem; justify-content: start; gap: 14px; padding-bottom: 14px; margin-bottom: 0; border-bottom: 1px solid var(--gold); }
.svc .group-h .num { order: -1; color: var(--gold-text); font-weight: 300; font-size: .9rem; letter-spacing: .2em; }
.svc .row { position: relative; grid-template-columns: 1fr auto; align-items: center; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); transition: padding var(--t-hover) var(--ease-out), color var(--t-hover) ease, background-color var(--t-hover) ease; }
.svc .row::before { content: ""; position: absolute; right: 0; top: 18px; bottom: 18px; width: 3px; background: var(--gold); transform: scaleY(0); transition: transform 320ms var(--ease-out); }
.svc .row-name { font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem); line-height: 1.35; }
.svc .row-val { color: var(--muted); font-size: .72rem; }
.svc .row-desc { color: var(--muted); font-size: .98rem; max-width: 52ch; }
.svc .row:hover, .svc .row.is-on { padding-right: 20px; color: var(--ink); background: linear-gradient(to left, rgba(201,163,92,.08), transparent 70%); }
.svc .row:hover::before, .svc .row.is-on::before { transform: scaleY(1); }
.svc .row:hover .row-name, .svc .row.is-on .row-name { color: var(--gold-text); }
.svc .row:focus-visible { outline-offset: -3px; }
.svc-photo { grid-column: 9 / span 4; margin-top: 0; top: 110px; background: var(--surface); aspect-ratio: 4 / 5; }
.svc-photo img { position: absolute; inset: 0; height: 100%; }
.svc-photo figcaption { position: absolute; right: 0; bottom: 0; z-index: 2; background: var(--ground); padding: 10px 16px 6px 0; font-family: var(--display); font-size: 1.1rem; }
.svc-photo figcaption:empty { display: none; }
@media (max-width: 960px) {
  .svc { grid-column: 1; padding: 0 8px; }
  .svc-photo { display: none; }
  .svc .row { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .humidor { grid-template-columns: 1fr; padding: 0 12px; }
  .sheet { grid-column: 1; padding: 0 20px 40px; }
  .humidor-photo { grid-column: 1; position: static; margin-top: 24px; }
}

/* ---------- statement: the quality line, on gold ---------- */
.statement { position: relative; margin-top: var(--gap-section); min-height: 100svh; display: grid; place-items: center; align-content: center; gap: 40px; overflow: hidden; isolation: isolate; padding: 0 var(--m); background: var(--gold); color: var(--gold-ink); }
.statement-grid { position: absolute; inset: -20%; z-index: -1; background-image: linear-gradient(rgba(11,21,38,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(11,21,38,.1) 1px, transparent 1px); background-size: 64px 64px; }
.statement .eyebrow { color: var(--gold-ink); }
.statement-h { font-family: var(--display); font-weight: 700; font-size: clamp(3.5rem, 1rem + 10vw, 12rem); line-height: 1.1; text-align: center; max-width: 12ch; }
.statement-p { max-width: 44ch; text-align: center; font-size: var(--step-lead); line-height: 1.6; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-weight: 600; }
.checks span::before { content: "✓"; margin-left: 8px; }
@media (max-width: 720px) { .statement { min-height: 90svh; } }

/* ---------- the letter from the general manager ---------- */
.letter-wrap { margin-top: var(--gap-section); padding: 0 12px; display: flex; flex-direction: column; align-items: center; }
.letter { position: relative; width: min(680px, 100%); padding: 64px clamp(24px, 5vw, 64px) 56px; background: var(--paper); color: var(--paper-ink); overflow: hidden; isolation: isolate; }
.letter .sheet-wave { width: 58%; }
.letter-water { position: absolute; left: 50%; top: 50%; width: 70%; transform: translate(-50%, -45%); opacity: .06; z-index: -1; }
.letter .eyebrow { color: var(--gold-deep); }
.letter h2 { font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1.25; margin: 8px 0 26px; }
.letter p { font-size: 1.0625rem; line-height: 1.95; }
.letter p + p { margin-top: 1.2em; }
.letter .sign { font-family: var(--display); font-size: 1.6rem; line-height: 1.2; margin-top: 2em; }
.letter .sign-role { margin-top: 4px !important; font-size: var(--step-small); color: var(--paper-muted); }
mark { background: var(--gold); color: var(--gold-ink); padding: 0 0.2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.stub { width: min(680px, 100%); min-height: 76px; padding: 14px clamp(24px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--paper-2); color: var(--paper-ink); position: relative; }
.stub::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 0; border-top: 6px dotted var(--ground); }

/* ---------- plates ---------- */
.plates { position: relative; margin-top: var(--gap-section); padding: 0 var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); align-items: start; }
.plate { overflow: hidden; position: relative; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate figcaption { position: absolute; right: 0; bottom: 0; background: var(--ground); padding: 8px 14px 4px 0; font-size: var(--step-small); }
.p1 { grid-column: 9 / span 4; aspect-ratio: 4 / 5; margin-top: 120px; }
.p2 { grid-column: 5 / span 4; aspect-ratio: 1; }
.p3 { grid-column: 1 / span 4; aspect-ratio: 4 / 5; margin-top: 220px; }
.plates-line { grid-column: 4 / span 8; font-family: var(--display); font-weight: 600; font-size: var(--step-head); line-height: 1.2; margin-top: 40px; }
@media (max-width: 720px) {
  .plates { grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
  .p1 { grid-column: 1; margin-top: 48px; }
  .p2 { grid-column: 2; }
  .p3 { grid-column: 1 / -1; margin-top: 0; aspect-ratio: 16 / 10; }
  .plates-line { grid-column: 1 / -1; font-size: 2rem; margin-top: 24px; }
}

/* ---------- why us ---------- */
.answers { margin-top: var(--gap-section); padding: 0 var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); }
.answers-h { grid-column: 1 / span 3; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.9rem); line-height: 1.2; }
.answers-h .eyebrow { display: block; margin-bottom: 14px; }
.answers-h > .num { white-space: nowrap; font-weight: 400; letter-spacing: .06em; }
.answers-text { grid-column: 5 / span 8; columns: 2; column-gap: 56px; }
.answers-text p { break-inside: avoid; margin-bottom: 26px; line-height: 1.85; }
.answers-text b { font-weight: 600; display: block; font-family: var(--display); font-size: 1.3rem; }
.answers-text b .num { color: var(--gold-text); font-weight: 300; font-size: .95rem; letter-spacing: .15em; margin-left: 10px; }
@media (max-width: 860px) { .answers { grid-template-columns: 1fr; padding: 0 20px; } .answers-h, .answers-text { grid-column: 1; } .answers-text { columns: 1; } }

/* ---------- clients + brands ---------- */
.clients { margin-top: var(--gap-section); padding: 0 var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); }
.clients-h { grid-column: 1 / span 4; font-family: var(--display); font-weight: 600; font-size: var(--step-head); line-height: 1.15; }
.clients-h .eyebrow { display: block; margin-bottom: 14px; }
.clients-h p { font-family: var(--text); font-weight: 400; font-size: 1rem; color: var(--muted); margin-top: 18px; max-width: 30ch; line-height: 1.7; }
.clients-list { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.clients-list li { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: clamp(1.3rem, 1rem + 0.8vw, 1.75rem); line-height: 1.3; }
.clients-list li .num { font-size: .8rem; color: var(--gold-text); letter-spacing: .15em; font-weight: 400; }
@media (max-width: 860px) { .clients { grid-template-columns: 1fr; padding: 0 20px; } .clients-h, .clients-list { grid-column: 1; } }
@media (max-width: 520px) { .clients-list { grid-template-columns: 1fr; } }
.brands { margin-top: clamp(80px, 9vw, 140px); background: var(--paper); color: var(--paper-ink); overflow: hidden; padding: 22px 0; direction: ltr; }
.brands-track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 38s linear infinite; }
.brands-track span { font-family: var(--latin); font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); font-weight: 400; letter-spacing: .08em; white-space: nowrap; }
.brands-track i { width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brands-cap { text-align: center; color: var(--muted); font-size: var(--step-small); margin-top: 14px; padding: 0 20px; }

/* ---------- reply card ---------- */
.reply { margin-top: var(--gap-section); position: relative; min-height: 80svh; overflow: hidden; isolation: isolate; background: var(--gold); color: var(--gold-ink); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--m); padding: 0 var(--m); }
.reply-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: 0.32; filter: grayscale(1) contrast(1.1); z-index: -1; }
.reply-side { grid-column: 1 / span 4; align-self: end; margin-bottom: 64px; font-family: var(--display); font-size: clamp(1.35rem, 1rem + 0.9vw, 1.75rem); line-height: 1.45; max-width: 22ch; }
.reply-card { grid-column: 6 / span 7; align-self: end; margin-bottom: -60px; aspect-ratio: 7 / 5; max-height: 74svh; background: var(--paper); color: var(--paper-ink); padding: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; transform: rotate(-2deg); transform-origin: 50% 100%; position: relative; overflow: hidden; }
.reply-card .sheet-wave { width: 46%; }
.reply-h { font-family: var(--display); font-weight: 600; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); line-height: 1.2; }
.reply-card p { max-width: 36ch; }
.bar-btn { margin-top: 10px; width: 100%; min-height: 58px; display: grid; place-items: center; background: var(--paper-ink); color: var(--paper); text-decoration: none; font-weight: 500; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.bar-btn:hover { background: var(--gold); color: var(--gold-ink); }
.bar-btn:active { transform: scale(0.98); }
.reply-alt { font-size: .9rem; color: var(--paper-muted); }
.reply-alt a { color: var(--paper-ink); font-weight: 500; }
@media (max-width: 860px) {
  .reply { grid-template-columns: 1fr; padding: 72px 16px 56px; min-height: auto; }
  .reply-side { grid-column: 1; margin: 0 0 32px; }
  .reply-card { grid-column: 1; width: 94%; justify-self: center; aspect-ratio: auto; padding: 56px 22px 36px; margin-bottom: 0; transform: rotate(-1deg); }
}

/* ---------- curtain footer: the site board, roofline on top ---------- */
main { position: relative; z-index: 2; background: var(--ground); }
.back { position: sticky; bottom: 0; z-index: 1; padding: 80px var(--m) var(--m); background: var(--ground); }
.back-card {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; background: var(--paper); color: var(--paper-ink);
  padding: 80px clamp(24px, 5vw, 72px) 28px; --pk: 44px;
  /* roofline peaks along the top edge, solid below */
  -webkit-mask: conic-gradient(from 135deg at 50% 0, #000 0 90deg, #0000 0) 50% 0 / calc(var(--pk) * 2) calc(var(--pk) + 1px) repeat-x, linear-gradient(#000, #000) 0 100% / 100% calc(100% - var(--pk)) no-repeat;
          mask: conic-gradient(from 135deg at 50% 0, #000 0 90deg, #0000 0) 50% 0 / calc(var(--pk) * 2) calc(var(--pk) + 1px) repeat-x, linear-gradient(#000, #000) 0 100% / 100% calc(100% - var(--pk)) no-repeat;
}
.back-sign { font-family: var(--display); font-weight: 600; font-size: 2.25rem; line-height: 1.2; margin-bottom: 14px; }
.back-msg p + p { margin-top: 10px; max-width: 42ch; }
.back-note { color: var(--paper-muted); font-size: var(--step-small); }
.back-cols { position: relative; display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 24px; }
.back-col { display: flex; flex-direction: column; gap: 8px; font-size: 1rem; }
.back-col a { text-decoration: none; width: fit-content; transition: color var(--t-hover) ease; }
.back-col a:hover { color: var(--gold-deep); }
.back-col-h { font-weight: 500; margin-bottom: 4px; color: var(--paper-muted); font-size: var(--step-small); }
.stamp { width: 96px; height: 96px; object-fit: cover; outline: 6px solid var(--paper); transform: rotate(-4deg); }
.back-word { grid-column: 1 / -1; font-family: var(--latin); font-weight: 300; font-size: clamp(3rem, 1rem + 11vw, 13rem); line-height: 0.95; letter-spacing: .08em; white-space: nowrap; overflow: hidden; direction: ltr; text-align: center; }
.back-word span { color: var(--gold-deep); }
.imprint { grid-column: 1 / -1; text-align: center; font-size: var(--step-small); color: var(--paper-muted); max-width: 90ch; justify-self: center; }
@media (max-width: 860px) {
  .back { position: relative; padding: 48px 12px 12px; }
  .back-card { grid-template-columns: 1fr; --pk: 24px; padding: 56px 20px 20px; }
  .back-cols { grid-template-columns: 1fr 1fr; }
  .stamp { position: absolute; left: 0; top: -12px; width: 64px; height: 64px; }
  .back-word { font-size: 14vw; }
}

/* ---------- menu (mobile) ---------- */
.bar-end { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; min-height: 50px; padding: 0 18px; border: 0; background: var(--surface-2); color: var(--ink); font-weight: 500; font-size: var(--step-small); cursor: pointer; transition: background-color var(--t-hover) ease; }
.menu-btn:hover { background: var(--paper); color: var(--paper-ink); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); color: var(--paper-ink); padding: 110px 20px 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu-links { display: flex; flex-direction: column; gap: 2px; }
.menu-links a { display: block; overflow: hidden; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 11vw, 4.25rem); line-height: 1.3; }
.menu-links a span { display: inline-block; }
.menu-links a[aria-current="page"] { color: var(--gold-deep); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; font-size: 1rem; }
.menu-foot p { width: 100%; color: var(--paper-muted); font-size: var(--step-small); }
body.menu-open .bar { background: var(--paper); color: var(--paper-ink); }
body.menu-open .menu-btn { background: var(--paper-ink); color: var(--paper); }
@media (max-width: 860px) { .menu-btn { display: inline-flex; align-items: center; } .bar .btn-gold { padding: 0 16px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .cursor, .float-img { display: none; }
  .brands-track { animation: none; }
}

/* ================= light theme layer =================
   Navy scopes keep the profile's rhythm of cream and navy pages. */
.dark, .tins, .vmv-card:not(.paper), .brands {
  --ground: var(--navy);
  --surface: #0d1a30;
  --surface-2: #14233d;
  --ink: #f3efe8;
  --muted: #a9adb6;
  --gold-text: var(--brand-gold);
  --rule: rgba(243, 239, 232, 0.14);
  --line: rgba(181, 140, 81, 0.18);
  color: var(--ink);
}
.tins { background: var(--navy); }
.brands { background: var(--navy); color: #f3efe8; }
.brands-track i { background: var(--brand-gold); }

/* buttons that sat on navy now sit on off-white */
.btn-paper { background: var(--navy); color: #f3efe8; }
.btn-paper:hover { background: var(--brand-gold); color: var(--navy); }
.btn-gold:hover { background: var(--navy); color: #f3efe8; }
.tins .cell-ink { background: #f3efe8; color: var(--navy); }

/* white sheets get an edge and a soft shadow so they read on the off-white ground */
.letter, .stub, .back-card, .menu { box-shadow: var(--shadow); }
.letter { border: 1px solid var(--rule); }
.stub::before { border-top-color: var(--ground); }

/* hero drawing in navy and deep gold */
.tower .ln { stroke: var(--brand-gold-deep); }
.tower .ln-s { stroke: var(--navy); opacity: .55; }
.tower .ln-f { stroke: rgba(129, 92, 48, .3); }
.tower .fl { fill: var(--brand-gold); }
.hero-reveal { background: var(--navy); }
.hero-reveal p { color: #fff; }
.hero-reveal::after { background: linear-gradient(to top, rgba(8,17,34,.78), transparent 50%); }
.ht-2 { color: var(--brand-gold-deep); }
.panel-plan .pl { stroke: var(--brand-gold-deep); }
.panel-plan .pl-s { stroke: var(--navy); opacity: .45; }
.panel-plan text { fill: var(--muted); }

/* intro and header */
.intro-line { background: rgba(129, 92, 48, .18); }
.cursor { background: var(--navy); }
.cursor-label { color: #f3efe8; }
.mark span b { color: var(--brand-gold-deep); }
.menu-btn { background: var(--surface-2); color: var(--ink); }

/* services index on light */
.svc .row:hover, .svc .row.is-on { background: linear-gradient(to left, rgba(181,140,81,.12), transparent 70%); }
.svc .row::before { background: var(--brand-gold); }
.svc .group-h { border-bottom-color: var(--brand-gold); }

/* gold blocks keep navy ink */
.statement, .reply { color: var(--navy); }
.statement { background: var(--brand-gold); }
.reply { background: var(--brand-gold); }
.statement-grid { background-image: linear-gradient(rgba(8,17,34,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(8,17,34,.08) 1px, transparent 1px); }

/* ---------- brands: a grid of supplier logos on navy, quiet until pointed at ---------- */
.logos { --ink: #f3efe8; --muted: #a9adb6; --gold-text: var(--brand-gold); margin-top: clamp(80px, 9vw, 140px); padding: clamp(64px, 7vw, 110px) var(--m); background: var(--navy); color: var(--ink); }
.logos-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 44px; }
.logos-head h2 { font-family: var(--display); font-weight: 600; font-size: var(--step-head); line-height: 1.2; }
.logos-head p { color: var(--muted); max-width: 60ch; }
.logos-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.logos-grid li { min-width: 0; background: #fff; border-radius: 10px; aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover) ease; }
.logos-grid img { width: 70%; height: 46%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .62; transition: filter 260ms ease, opacity 260ms ease; }
.logos-grid li:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .6); }
.logos-grid li:hover img { filter: none; opacity: 1; }
@media (hover: none) { .logos-grid img { filter: none; opacity: 1; } }
@media (max-width: 900px) { .logos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 480px) { .logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- floating contact buttons: fixed bottom-left on every page ---------- */
.fab { position: fixed; left: 24px; bottom: 24px; z-index: 44; display: flex; flex-direction: column; gap: 12px; transition: opacity 240ms ease, transform 240ms var(--ease-out); }
.fab a { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; transition: transform var(--t-hover) var(--ease-out), background-color var(--t-hover) ease, box-shadow var(--t-hover) ease; }
.fab svg { width: 24px; height: 24px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fab-wa { background: var(--brand-gold); box-shadow: 0 12px 28px -10px rgba(8, 17, 34, .5); }
.fab-wa svg { stroke: var(--navy); }
.fab-call { background: var(--navy); box-shadow: inset 0 0 0 1.5px var(--brand-gold), 0 12px 28px -10px rgba(8, 17, 34, .5); }
.fab-call svg { stroke: var(--brand-gold); }
.fab a:hover { transform: translateY(-3px) scale(1.04); }
.fab-wa:hover { background: #c49b5e; }
.fab-call:hover { background: #12203a; }
.fab a:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 3px; }
body.menu-open .fab { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 760px) { .fab { left: 14px; bottom: 14px; gap: 10px; } .fab a { width: 52px; height: 52px; } .fab svg { width: 22px; height: 22px; } }
@media print { .fab { display: none; } }
/* keep the hero's own buttons clear of the floating ones */
.hero-foot { padding-left: calc(24px + 60px + 28px); }
@media (max-width: 760px) { .hero-foot { padding-left: var(--m); } .hero-actions { padding-left: calc(52px + 12px); } }

/* ---------- home services: six cards on navy, support services in a compact row ---------- */
.svcx { --ink: #f3efe8; --muted: #a9adb6; --gold-text: var(--brand-gold); position: relative; isolation: isolate; overflow: hidden; margin-top: var(--gap-section); padding: clamp(80px, 9vw, 140px) var(--m); background: var(--navy); color: var(--ink); }
.svcx::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(181,140,81,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(181,140,81,.07) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); }
.svcx-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.svcx-head h2 { font-family: var(--display); font-weight: 600; font-size: var(--step-head); line-height: 1.2; margin-top: 10px; }
.svcx-head p { color: var(--muted); max-width: 38ch; font-size: var(--step-lead); line-height: 1.6; }
.svcx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: #0e1b31; border: 1px solid rgba(181, 140, 81, .22); border-radius: 6px; overflow: hidden; transition: transform 320ms var(--ease-out), border-color 240ms ease, box-shadow 320ms ease; }
.svc-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand-gold); transform: scaleX(0); transform-origin: right; transition: transform 420ms var(--ease-out); }
.svc-card figure { aspect-ratio: 16 / 10; overflow: hidden; background: #14233d; }
.svc-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.svc-body { display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 28px; flex: 1; }
.svc-top { display: flex; justify-content: space-between; align-items: center; margin-top: -54px; margin-bottom: 8px; }
.svc-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); box-shadow: inset 0 0 0 1.5px var(--brand-gold); transition: background-color 240ms ease; }
.svc-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 240ms ease; }
.svc-top .num { font-family: var(--latin); font-weight: 300; font-size: .95rem; letter-spacing: .2em; color: var(--brand-gold); align-self: end; }
.svc-card h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + .7vw, 1.75rem); line-height: 1.3; }
.svc-lat { font-size: .7rem; font-weight: 500; color: var(--muted); }
.svc-card p { color: var(--muted); line-height: 1.75; margin-top: 4px; }
.svc-link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; font-weight: 600; color: var(--brand-gold); }
.svc-link span { font-family: var(--latin); transition: transform 260ms var(--ease-out); }
.svc-card:hover { transform: translateY(-6px); border-color: rgba(181, 140, 81, .6); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover figure img { transform: scale(1.06); }
.svc-card:hover .svc-ico { background: var(--brand-gold); }
.svc-card:hover .svc-ico svg { stroke: var(--navy); }
.svc-card:hover .svc-link span { transform: translateX(-6px); }
.svcx-support { margin-top: 56px; }
.svcx-support h3 { font-family: var(--display); font-weight: 500; font-size: 1.35rem; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid rgba(181, 140, 81, .4); }
.svcx-support ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.svcx-support a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 18px; border: 1px solid rgba(181, 140, 81, .3); border-radius: 6px; text-decoration: none; font-weight: 500; transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease; }
.svcx-support svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brand-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 220ms ease; }
.svcx-support a:hover { background: var(--brand-gold); border-color: var(--brand-gold); color: var(--navy); }
.svcx-support a:hover svg { stroke: var(--navy); }
.svcx-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 56px; }
.svcx-cta .btn { min-height: 56px; padding: 0 34px; font-size: 1rem; }
.btn-ghost { background: transparent; color: #f3efe8; box-shadow: inset 0 0 0 1.5px var(--brand-gold); }
.btn-ghost:hover { background: #f3efe8; color: var(--navy); box-shadow: inset 0 0 0 1.5px #f3efe8; }
.svcx .btn-gold:hover { background: #f3efe8; color: var(--navy); }
@media (max-width: 1080px) { .svcx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svcx-support ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .svcx-head { flex-direction: column; align-items: start; gap: 14px; margin-bottom: 32px; }
  .svcx-grid { grid-template-columns: 1fr; gap: 14px; }
  .svcx-support ul { grid-template-columns: 1fr 1fr; gap: 8px; }
  .svcx-support a { padding: 12px 14px; min-height: 58px; font-size: .95rem; }
  .svcx-cta .btn { flex: 1 1 100%; }
}

/* ================= hero in colour =================
   Navy like the logo's ground, a warm gold glow rising behind the drawing,
   and the two words in the logo's own metals: silver for نبني, gold for القيمة. */
.hero {
  --ink: #f3efe8; --muted: #b9bcc4;
  color: var(--ink);
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(181, 140, 81, .42) 0%, rgba(129, 92, 48, .16) 38%, transparent 68%),
    radial-gradient(45% 45% at 88% 8%, rgba(46, 72, 128, .45) 0%, transparent 70%),
    radial-gradient(40% 40% at 6% 92%, rgba(129, 92, 48, .22) 0%, transparent 70%),
    linear-gradient(180deg, #060d1b 0%, #0a1528 55%, #0f1c33 100%);
}
.hero .hero-grid { background-image: linear-gradient(rgba(181, 140, 81, .11) 1px, transparent 1px), linear-gradient(90deg, rgba(181, 140, 81, .11) 1px, transparent 1px); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(212, 173, 106, .7), transparent); }

.ht-1 { color: #e9e7e4; }
.ht-2 { color: var(--brand-gold); }
.ht-1 .w { background: linear-gradient(175deg, #ffffff 0%, #e4e2df 40%, #aca9a8 72%, #d8d6d3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .45)); }
.ht-2 .w { background: linear-gradient(175deg, #f6e2ad 0%, #d8ad66 32%, #b58c51 58%, #815c30 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 30px rgba(181, 140, 81, .35)); }

.tower { filter: drop-shadow(0 0 22px rgba(212, 173, 106, .22)); }
.tower .ln { stroke: #d9b475; stroke-width: 1.8; }
.tower .ln-s { stroke: #cfccc9; opacity: .6; }
.tower .ln-f { stroke: rgba(217, 180, 117, .3); }
.tower .fl { fill: #d4a95f; }
.tower .dim { stroke: rgba(243, 239, 232, .32); }
.tower .dim-t { fill: rgba(243, 239, 232, .62); }

.hero-lead { color: #e6e3de; }
.hero .btn-outline { color: #f3efe8; box-shadow: inset 0 0 0 1.5px var(--brand-gold); }
.hero .btn-outline svg { stroke: #d9b475; }
.hero .btn-outline:hover { background: #f3efe8; color: var(--navy); box-shadow: inset 0 0 0 1.5px #f3efe8; }
.hero .btn-outline:hover svg { stroke: var(--brand-gold-deep); }
.hero .btn-gold:hover { background: #f3efe8; color: var(--navy); }
.hero .link { color: #f3efe8; }

/* header over the navy hero: light links and the silver-and-gold logo; back to navy once solid */
.mark .m-light { display: none; }
body[data-bar="clear"]:not(.menu-open) .bar:not(.is-solid) { color: #f3efe8; }
body[data-bar="clear"]:not(.menu-open) .bar:not(.is-solid) .m-dark { display: none; }
body[data-bar="clear"]:not(.menu-open) .bar:not(.is-solid) .m-light { display: block; }
body[data-bar="clear"]:not(.menu-open) .bar:not(.is-solid) .mark span b { color: var(--brand-gold); }
body[data-bar="clear"]:not(.menu-open) .bar:not(.is-solid) .menu-btn { background: rgba(243, 239, 232, .12); color: #f3efe8; }

/* the cursor must read on both navy and off-white */
.cursor { background: var(--brand-gold); }
.cursor-label { color: var(--navy); }
/* give the metallic fill room for the dots above and below the letters */
.ht-1 .w, .ht-2 .w { padding: .12em .04em .32em; margin: -.12em -.04em -.32em; }
/* floors glow faintly gold on navy instead of turning grey */
.tower .fl { mix-blend-mode: screen; }
/* Alexandria sits its lower dots deeper: give the metallic fill more room below */
.ht-1 .w, .ht-2 .w { padding: .2em .06em .55em; margin: -.2em -.06em -.55em; }

/* quality statement: sized for Alexandria (wider and heavier than the old face) */
.statement { min-height: 80svh; gap: 32px; }
.statement-h { font-weight: 600; font-size: clamp(2.1rem, 1rem + 4.2vw, 5.25rem); line-height: 1.35; max-width: 16ch; }
@media (max-width: 720px) { .statement { min-height: 70svh; } .statement-h { font-size: clamp(2rem, 8.5vw, 2.6rem); max-width: 14ch; } }
/* keep the gold WhatsApp button readable when it floats over the gold section */
.fab-wa { box-shadow: 0 0 0 2px rgba(8, 17, 34, .18), 0 12px 28px -10px rgba(8, 17, 34, .5); }

/* ---------- clients: companies as cards, a featured restoration, individual clients as chips ---------- */
.clients { display: block; }
.clients-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.clients-head h2 { font-family: var(--display); font-weight: 600; font-size: var(--step-head); line-height: 1.2; margin-top: 10px; }
.clients-head p { color: var(--muted); max-width: 42ch; line-height: 1.75; }
.clients-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--display); font-weight: 500; font-size: 1.2rem; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--brand-gold); }
.clients-sub .num { color: var(--gold-text); font-family: var(--latin); font-weight: 400; font-size: .85rem; letter-spacing: .2em; }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.client { position: relative; display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 18px 22px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; transition: transform 260ms var(--ease-out), border-color 220ms ease, box-shadow 260ms ease; }
.client::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 3px; background: var(--brand-gold); transform: scaleY(0); transition: transform 320ms var(--ease-out); }
.client .num { flex: none; color: var(--gold-text); font-size: .85rem; letter-spacing: .15em; }
.client b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; line-height: 1.45; }
.client:hover { transform: translateY(-3px); border-color: rgba(181, 140, 81, .55); box-shadow: 0 18px 30px -22px rgba(8, 17, 34, .4); }
.client:hover::before { transform: scaleY(1); }
.clients-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; margin-top: 40px; align-items: stretch; }
.client-feature { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 30px 30px 32px; border-radius: 6px; background: var(--navy); color: #f3efe8; }
.client-feature::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand-gold); }
.client-feature svg { width: 46px; height: 46px; fill: none; stroke: var(--brand-gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.client-feature .eyebrow { color: var(--brand-gold); }
.client-feature h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); line-height: 1.3; }
.client-feature p { color: #b9bcc4; }
.client-people { padding: 26px 28px 30px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; }
.people-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.people-chips li { padding: 10px 20px; border: 1px solid rgba(181, 140, 81, .55); border-radius: 999px; font-family: var(--display); font-weight: 500; font-size: 1.05rem; background: var(--ground); }
@media (max-width: 1000px) { .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .clients-two { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .clients-head { flex-direction: column; align-items: start; gap: 12px; margin-bottom: 28px; } .client-grid { grid-template-columns: 1fr; gap: 8px; } .client { min-height: 68px; padding: 14px 18px; } }
.people-note { margin-top: 16px; color: var(--muted); font-size: .95rem; }

/* =====================================================================
   REFINEMENT PASS 1 — art direction
   ===================================================================== */
:root { --r: 4px; --gap-section: clamp(96px, 10vw, 168px); }

/* --- section labels: Arabic, with a gold rule that draws in (the site's motion signature) --- */
.eyebrow {
  font-family: var(--text); font-size: .95rem; font-weight: 600; letter-spacing: 0; text-transform: none;
  direction: rtl; text-align: right; unicode-bidi: normal;
  display: inline-flex; align-items: center; gap: 12px; color: var(--gold-text);
}
.eyebrow::before { content: ""; flex: none; width: 34px; height: 1.5px; background: currentColor; transform-origin: right; transition: transform 1s var(--ease-out); }
.js .eyebrow:not(.in)::before { transform: scaleX(0); }
.panel-no { font-family: var(--text); font-weight: 600; font-size: 1rem; letter-spacing: 0; }
.statement .eyebrow { color: var(--navy); }

/* --- the banner flows straight into the services; the title always sits above the drawing --- */
.hero + .svcx { margin-top: 0; }
.hero-title { z-index: 3; }
.tower text { direction: ltr; unicode-bidi: embed; }
@media (max-width: 760px) { .tower { opacity: .5; } }

/* --- one shape language: a single 4px radius for every card, tile and field --- */
.svc-card, .client, .client-feature, .client-people, .logos-grid li, .svcx-support a,
.field input, .field select, .field textarea, .vmv-card, .step, .ci { border-radius: var(--r); }

/* --- why: four pillars with outlined numerals --- */
.pillars { margin-top: var(--gap-section); padding: 0 var(--m); }
.pillars-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.pillars-head h2 { font-family: var(--display); font-weight: 600; font-size: var(--step-head); line-height: 1.2; margin-top: 10px; }
.pillars-head .nowrap { white-space: nowrap; font-family: var(--latin); font-weight: 300; letter-spacing: .06em; }
.pillars-head p { color: var(--muted); max-width: 40ch; line-height: 1.75; }
.pillars-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.pillar { position: relative; padding: 36px 28px 44px; border-left: 1px solid var(--rule); transition: background-color 300ms ease; }
.pillar:last-child { border-left: 0; }
.pillar::before { content: ""; position: absolute; top: -1px; right: 0; width: 56px; height: 3px; background: var(--brand-gold); transition: width 500ms var(--ease-out); }
.p-no { display: block; margin-bottom: 30px; font-family: var(--latin); font-weight: 200; font-size: clamp(3.5rem, 2rem + 3vw, 5.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--brand-gold); direction: ltr; text-align: right; }
.pillar svg { position: absolute; top: 44px; left: 28px; width: 30px; height: 30px; fill: none; stroke: var(--brand-gold-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; line-height: 1.35; margin-bottom: 10px; }
.pillar p { color: var(--muted); line-height: 1.85; }
.pillar:hover { background: #fff; }
.pillar:hover::before { width: 100%; }
@media (max-width: 1000px) {
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(2n) { border-left: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 600px) {
  .pillars-head { flex-direction: column; align-items: start; gap: 12px; margin-bottom: 28px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-bottom: 1px solid var(--rule); padding: 28px 4px 32px; }
  .pillar svg { left: 4px; top: 34px; }
  .p-no { margin-bottom: 18px; font-size: 3.4rem; }
}

/* --- the letter: the GM's sentence set large beside the letterhead --- */
.letter-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; padding: 0 var(--m); }
.letter-col { display: flex; flex-direction: column; }
.letter-col .letter, .letter-col .stub { width: 100%; }
.letter-quote { position: relative; }
.quote-mark { display: block; height: .55em; font-family: var(--display); font-weight: 600; font-size: clamp(6rem, 4rem + 6vw, 11rem); line-height: .8; color: var(--brand-gold); }
.letter-quote blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.7rem); line-height: 1.4; }
.letter-quote blockquote .w { padding-bottom: .1em; }
.q-sign { margin-top: 26px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 500; }
.q-sign::before { content: ""; width: 44px; height: 1.5px; background: var(--brand-gold); }
@media (max-width: 900px) { .letter-wrap { grid-template-columns: 1fr; padding: 0 16px; } }

/* --- the closing call: navy with a gold glow, bookending the banner --- */
.reply {
  color: #f3efe8;
  background: radial-gradient(55% 70% at 88% 100%, rgba(181, 140, 81, .38) 0%, rgba(129, 92, 48, .12) 45%, transparent 70%),
              linear-gradient(180deg, #081122 0%, #0d1a30 100%);
}
.reply::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(181,140,81,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(181,140,81,.08) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(to top, #000, transparent 75%); mask-image: linear-gradient(to top, #000, transparent 75%); }
.reply-side { color: #f3efe8; }

/* =====================================================================
   REFINEMENT PASS 2 — phone pacing and the quote mark
   ===================================================================== */
.quote-mark { height: auto; font-size: 0; line-height: 0; margin-bottom: 22px; }
.quote-mark svg { width: clamp(56px, 4vw + 32px, 92px); height: auto; fill: var(--brand-gold); transform: scaleX(-1); }

@media (max-width: 680px) {
  /* services: a swipeable row instead of six full-height cards */
  .svcx-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--m) * -1); padding: 4px var(--m) 14px; }
  .svcx-grid::-webkit-scrollbar { display: none; }
  .svc-card { scroll-snap-align: center; }
  .svc-card:hover { transform: none; }
  .svcx-swipe { display: flex; }
  /* logos: three to a row */
  .logos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .logos-grid img { width: 78%; height: 50%; }
  /* clients: two to a row, number above the name */
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .client { flex-direction: column; align-items: flex-start; gap: 4px; min-height: 0; padding: 14px 14px 16px; }
  .client b { font-size: 1rem; line-height: 1.45; }
}
/* a quiet swipe hint under the service cards, phones only */
.svcx-swipe { display: none; align-items: center; gap: 10px; margin-top: 6px; color: var(--muted); font-size: .9rem; }
.svcx-swipe i { width: 26px; height: 1.5px; background: var(--brand-gold); position: relative; }
.svcx-swipe i::after { content: ""; position: absolute; left: -2px; top: -3px; width: 7px; height: 7px; border-left: 1.5px solid var(--brand-gold); border-bottom: 1.5px solid var(--brand-gold); transform: rotate(45deg); }
@media (max-width: 680px) { .svcx .svcx-swipe { display: flex; } }

/* ---------- footer: four columns of crawlable links ---------- */
.back-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.back-cols-4 address { font-style: normal; }
.back-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); }
@media (max-width: 1000px) { .back-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .back-cols-4 { grid-template-columns: 1fr 1fr; } }

/* ---------- home: every service page, one tap away ---------- */
.svc-dir { margin-top: 40px; }
.svc-dir-h { font-family: var(--display); font-weight: 500; font-size: 1.2rem; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid rgba(181, 140, 81, .4); }
.svc-dir ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-dir a { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(181, 140, 81, .35); text-decoration: none; font-size: .95rem; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.svc-dir a:hover { background: var(--brand-gold); border-color: var(--brand-gold); color: var(--navy); }

/* real project photos carry a small tag so visitors can tell them from illustrative images */
figure:has(> .real-tag), .has-tag { position: relative; }
.real-tag { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(8, 17, 34, .78); color: #f3efe8; font-size: .8rem; font-weight: 500; backdrop-filter: blur(4px); }
.real-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-gold); }
.panel-img .real-tag { z-index: 3; }

/* social icons in the footer */
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(129, 92, 48, .35); color: var(--navy); transition: background var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease; }
.social a:hover, .social a:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.social svg { width: 19px; height: 19px; }

/* audit: skip link (visible on keyboard focus), quiet focus on in-page jump targets */
.skip { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 200; padding: 12px 18px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform .2s ease; }
.skip:focus { transform: none; }
[tabindex="-1"]:focus { outline: none; }

/* audit: no running text below 12px */
.row-val, .svc .row-val, .svc-lat { font-size: .78rem; }

/* mobile menu, refined: navigation rows with a clear tap area, contact as buttons */
.menu { padding: 96px max(20px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); justify-content: flex-start; gap: 28px; overflow-y: auto; }
.menu-label { font-size: .8rem; font-weight: 500; color: var(--paper-muted); margin: 0 0 6px; }
.menu-links { gap: 0; }
.menu-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 10px 2px; font-size: clamp(1.45rem, 6.4vw, 1.9rem); font-weight: 600; line-height: 1.4; border-bottom: 1px solid rgba(8, 17, 34, .1); transition: color .2s ease, padding .2s ease; }
.menu-links a:first-of-type { border-top: 1px solid rgba(8, 17, 34, .1); }
.menu-links a::after { content: "←"; font-family: var(--latin); font-weight: 400; font-size: 1.15rem; color: var(--brand-gold, #B58C51); transition: transform .2s ease; }
.menu-links a:hover::after, .menu-links a:focus-visible::after { transform: translateX(-4px); }
.menu-links a[aria-current="page"] { color: var(--gold-deep); }
.menu-links a[aria-current="page"] span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-inline-end: 12px; vertical-align: middle; }
.menu-foot { display: grid; gap: 18px; margin-top: auto; }
.menu-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-ctas .btn-icon { min-height: 52px; padding: 0 12px; justify-content: center; font-size: .95rem; }
.menu-info { display: grid; gap: 4px; width: 100%; color: var(--paper-muted); font-size: .9rem; line-height: 1.7; }
.menu-info a { color: inherit; text-decoration: none; width: fit-content; }
.menu-info a:hover { color: var(--gold-deep); }
@media (max-width: 360px) { .menu-ctas { grid-template-columns: 1fr; } }

/* asphalt & paving: a main service shown as one wide card closing the grid (7 cards, no orphan) */
@media (min-width: 861px) {
  .svcx-grid .svc-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .svcx-grid .svc-wide figure { height: 100%; min-height: 260px; aspect-ratio: auto; }
  .svcx-grid .svc-wide figure img { height: 100%; }
  .svcx-grid .svc-wide .svc-body { align-self: center; }
}
.svcx-support ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .svcx-support ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* card title linking to its landing page */
.svc-card h3 a { color: inherit; text-decoration: none; }
.svc-card h3 a:hover { color: var(--brand-gold); }

/* the press effect needs no transform transition: it fought GSAP's entrance tween and left the button 26px low over the text below */
.bar-btn { transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }

/* cookie consent bar */
.consent { position: fixed; z-index: 60; inset-inline: 16px; bottom: max(16px, env(safe-area-inset-bottom, 0px)); margin-inline: auto; max-width: 620px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 18px; background: var(--navy); color: #f3efe8; border: 1px solid rgba(181, 140, 81, .45); border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(8, 17, 34, .55); font-size: .92rem; line-height: 1.7; }
.consent p { flex: 1 1 260px; margin: 0; }
.consent a { color: var(--brand-gold, #B58C51); }
.consent-actions { display: flex; gap: 8px; }
.consent button { min-height: 44px; padding: 0 20px; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; }
.consent-yes { background: var(--brand-gold, #B58C51); color: var(--navy); border: 0; }
.consent-no { background: transparent; color: #f3efe8; border: 1px solid rgba(243, 239, 232, .45); }
.consent button:focus-visible { outline: 3px solid var(--brand-gold, #B58C51); outline-offset: 2px; }
body.has-consent .fab { bottom: 150px; }
@media (min-width: 761px) { body.has-consent .fab { bottom: 110px; } }
.imprint a, .consent-open { color: inherit; }
.consent-open { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
/* thank-you and privacy pages */
.ty .lp-ctas { margin-top: 8px; }
.ty-back { margin-top: 22px; color: var(--paper-muted); }
.ty-back a { color: inherit; }
.legal { max-width: 760px; margin: 0 auto; padding: 8px var(--m) 96px; }
.legal h2 { margin-top: 1.6em; }
.legal ul { padding-inline-start: 1.2em; display: grid; gap: 8px; }
.legal-date { color: var(--paper-muted); font-size: .9rem; }
