/* ==========================================================================
   IWOOD Industries — site styles
   Brand: walnut #443320 · gold #D6B44F · stone #E6E4E3
   Fonts: Cormorant Garamond (stand-in for Nigante) + Poppins · Arabic: Amiri + Cairo
   To swap in Nigante later: add @font-face below and change --font-display.
   ========================================================================== */

:root {
  --walnut: #443320;
  --walnut-900: #2a1f14;
  --walnut-700: #5a4430;
  --gold: #d6b44f;
  --gold-soft: #e8d39a;
  --gold-text: #7a5e17;          /* gold that passes 4.5:1 on light backgrounds */
  --stone: #e6e4e3;
  --paper: #f7f4ef;
  --paper-2: #efe9e0;
  --ink: #1e1711;
  --ink-muted: #5c5046;          /* 7:1 on paper */
  --line: rgba(68, 51, 32, 0.16);
  --white: #fff;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 4px;
  --radius-lg: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  --z-mosaic: 0;
  --z-content: 10;
  --z-header: 100;
  --z-menu: 200;
  --z-lightbox: 1000;
}

html[lang='ar'] {
  --font-display: 'Amiri', 'Traditional Arabic', serif;
  --font-body: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

/* Hide the page until Arabic strings are applied, to avoid a flash of English */
html.i18n-pending body { visibility: hidden; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .sheet :focus-visible { outline-color: var(--walnut); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0 0 0.4em; letter-spacing: -0.01em; text-wrap: balance; }
html[lang='ar'] h1, html[lang='ar'] h2, html[lang='ar'] h3, html[lang='ar'] h4 { font-weight: 700; line-height: 1.35; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
p { margin: 0 0 1em; max-width: 68ch; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 2000;
  background: var(--walnut); color: var(--white); padding: 12px 18px; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section--dark { background: var(--walnut); color: var(--stone); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--stone { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px;
}
html[lang='ar'] .eyebrow { letter-spacing: 0; font-size: 0.95rem; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-muted); line-height: 1.7; }
.section--dark .lead, .on-dark .lead { color: #d9d1c6; }
.stat__num, .process__num, .service-block__num, .value__num, .service-card__num { font-variant-numeric: lining-nums tabular-nums; }

/* Icons */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--duo { fill: currentColor; stroke: none; }
[dir='rtl'] .icon--dir { transform: scaleX(-1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn--gold { background: var(--gold); color: var(--walnut-900); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--dark { background: var(--walnut); color: var(--white); }
.btn--dark:hover { background: var(--walnut-900); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--walnut); color: var(--white); border-color: var(--walnut); }
.section--dark .btn--ghost:hover, .on-dark .btn--ghost:hover { background: var(--white); color: var(--walnut); border-color: var(--white); }
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon--dir { transform: translateX(4px); }
[dir='rtl'] .btn:hover .icon--dir { transform: scaleX(-1) translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 4px; min-height: 44px;
}
.link-arrow:hover .icon--dir { transform: translateX(4px); }
[dir='rtl'] .link-arrow:hover .icon--dir { transform: scaleX(-1) translateX(4px); }
.link-arrow .icon { transition: transform var(--dur) var(--ease-out); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: var(--z-header);
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand-chip, .header-actions {
  display: flex; align-items: center; gap: 6px;
  background: rgba(247, 244, 239, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 10px; box-shadow: 0 6px 24px rgba(30, 23, 17, 0.12); padding: 6px;
}
.brand-chip { padding: 4px 14px; min-height: 56px; text-decoration: none; }
.brand-chip img { height: 48px; width: auto; }
@media (min-width: 1040px) { .brand-chip img { height: 60px; } }
.nav-desktop { display: none; gap: 2px; }
.nav-desktop a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px;
  text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--ink);
  transition: background-color var(--dur-fast);
}
.nav-desktop a:hover { background: var(--paper-2); }
.nav-desktop a[aria-current='page'] { background: var(--walnut); color: var(--white); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent;
  cursor: pointer; font-size: 0.85rem; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: background-color var(--dur-fast);
}
.icon-btn:hover { background: var(--paper-2); }
.lang-btn { font-family: var(--font-body); }
html[lang='en'] .lang-btn { font-family: 'Cairo', sans-serif; }
@media (min-width: 1040px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none !important; }
}

/* Mobile menu */
.menu-panel {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--walnut); color: var(--stone);
  display: flex; flex-direction: column; padding: 20px var(--gutter) 32px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.menu-panel.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-panel__top { display: flex; justify-content: space-between; align-items: center; }
.menu-panel__top img { height: 44px; width: auto; }
.menu-panel .icon-btn { color: var(--white); }
.menu-panel .icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.menu-panel nav { margin-top: 6vh; display: grid; gap: 4px; }
.menu-panel nav a {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); color: var(--white); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.menu-panel nav a[aria-current='page'] { color: var(--gold); }
.menu-panel__foot { margin-top: auto; display: grid; gap: 8px; font-size: 0.95rem; }
.menu-panel__foot a { text-decoration: none; color: var(--stone); min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }

/* ==========================================================================
   Home opening — a wall of real wood samples
   ========================================================================== */
.hero {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; z-index: var(--z-mosaic);
  background: #120c08; color: var(--white); perspective: 1400px;
}
.hero__stage { position: absolute; inset: -4%; transform-origin: 50% 45%; will-change: transform; transform: scale(1.03); }
.mosaic {
  position: absolute; inset: 0; display: grid; gap: 3px; padding: 3px;
  grid-template-columns: repeat(var(--cols, 12), 1fr); grid-auto-rows: var(--tile, 100px);
}
.tile {
  position: relative; overflow: hidden; border-radius: 2px; background: var(--c, #6b5038);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 6px 14px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(14px) scale(0.96);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.mosaic.is-ready .tile { opacity: 1; transform: none; transition-delay: var(--d, 0ms); }
.tile__wood {
  position: absolute; inset: 0; background-size: 210%; background-repeat: no-repeat;
  transition: transform 700ms var(--ease-out), filter 400ms;
}
.tile--flip .tile__wood { transform: scaleX(-1); }
/* bevel: a soft highlight on the top edge and a shadow at the bottom, like a lacquered sample */
.tile::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 248, 235, 0.22) 0%, rgba(255, 248, 235, 0) 38%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.22) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.tile:hover .tile__wood { transform: scale(1.08); filter: brightness(1.1) saturate(1.05); }
.tile--flip:hover .tile__wood { transform: scaleX(-1) scale(1.08); }
.tile--brand { background: linear-gradient(145deg, #e9cc72, var(--gold) 45%, #b8943a); }
.tile__label {
  position: absolute; inset-inline-start: 8px; bottom: 8px; z-index: 1; padding: 5px 9px; border-radius: 4px;
  background: rgba(18, 12, 8, 0.82); color: var(--white); font-size: 0.72rem; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity var(--dur-fast), transform var(--dur-fast); pointer-events: none;
}
.tile:hover .tile__label { opacity: 1; transform: none; }

/* warm light from the top corner, deep shade under the headline */
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(255, 214, 150, 0.16), transparent 55%),
    linear-gradient(90deg, rgba(14, 9, 6, 0.72) 0%, rgba(14, 9, 6, 0.38) 42%, rgba(14, 9, 6, 0) 70%),
    linear-gradient(0deg, rgba(14, 9, 6, 0.96) 0%, rgba(14, 9, 6, 0.82) 30%, rgba(14, 9, 6, 0.35) 62%, rgba(14, 9, 6, 0.15) 100%),
    rgba(14, 9, 6, var(--shade, 0));
}
[dir='rtl'] .hero__shade {
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(255, 214, 150, 0.16), transparent 55%),
    linear-gradient(270deg, rgba(14, 9, 6, 0.72) 0%, rgba(14, 9, 6, 0.38) 42%, rgba(14, 9, 6, 0) 70%),
    linear-gradient(0deg, rgba(14, 9, 6, 0.96) 0%, rgba(14, 9, 6, 0.82) 30%, rgba(14, 9, 6, 0.35) 62%, rgba(14, 9, 6, 0.15) 100%),
    rgba(14, 9, 6, var(--shade, 0));
}
.hero__content { position: absolute; inset-inline: 0; bottom: 0; padding-bottom: clamp(20px, 4vh, 44px); will-change: transform, opacity; }
.hero__inner { display: grid; gap: clamp(16px, 2.6vh, 28px); }
.hero__title {
  /* sized by width AND height, so wide-but-short screens don't push the block under the menu */
  margin: 0; color: var(--white); font-size: clamp(2.6rem, min(9.2vw, 13.5vh), 9.4rem); line-height: 0.92; letter-spacing: -0.02em;
  max-width: 13ch; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.hero__title em { display: block; font-style: italic; font-weight: 500; color: var(--gold); }
/* Amiri's letters draw about as tall as Cormorant's at the same size; 94% keeps the two headlines visually equal */
html[lang='ar'] .hero__title { line-height: 1.25; letter-spacing: 0; font-size: clamp(2.45rem, min(8.65vw, 12.7vh), 8.8rem); }
html[lang='ar'] .hero__title em { font-style: normal; }
.hero__row { display: grid; gap: 20px; align-items: end; }
.hero__lead { margin: 0; color: #e9e0d2; font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--glass { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); color: var(--white); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: var(--white); color: var(--walnut); }
.hero__facts {
  list-style: none; margin: 4px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px;
}
.hero__facts li { display: grid; gap: 2px; }
.hero__facts strong { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; color: var(--white); line-height: 1.1; font-variant-numeric: lining-nums; }
/* numbers read smaller than words at the same size, so they get a larger size to look balanced */
.hero__facts .hero__num { font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 0.95; }
.hero__facts span { font-size: 0.82rem; color: #cfc4b4; }
.hero__scroll {
  position: absolute; inset-inline-end: var(--gutter); bottom: clamp(20px, 4vh, 44px); width: 44px; height: 88px;
  display: none; justify-content: center; text-decoration: none; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero__scroll-line { position: relative; width: 1px; height: 60%; margin-top: 18%; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: scrollcue 2.2s var(--ease-out) infinite; }
@keyframes scrollcue { to { top: 100%; } }
@media (min-width: 900px) {
  .hero__row { grid-template-columns: 1fr auto; gap: 48px; }
  .hero__facts { grid-template-columns: repeat(4, 1fr); padding-inline-end: 80px; }
  .hero__scroll { display: flex; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .hero__facts { display: none; }
}
@media (max-width: 599px) {
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__facts li:nth-child(n+3) { display: none; }
}

/* Sheet that slides over the sticky hero */
.sheet { position: relative; z-index: var(--z-content); background: var(--paper); box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.18); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden;
  color: var(--white); background: var(--walnut-900);
  padding: calc(var(--header-h) + 60px) 0 clamp(40px, 7vw, 80px);
}
.page-hero--short { min-height: 56vh; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 23, 17, 0.35) 0%, rgba(30, 23, 17, 0.25) 40%, rgba(30, 23, 17, 0.85) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); max-width: 16ch; }
.page-hero .lead { color: #eee6da; max-width: 56ch; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero--wood { background: var(--walnut); }
.page-hero--wood .page-hero__bg { opacity: 0.55; }

.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; margin-bottom: 20px; color: #e6dccd; }
.breadcrumb a { color: inherit; }
.breadcrumb span[aria-hidden] { opacity: 0.6; }

/* ==========================================================================
   Home — intro
   ========================================================================== */
.intro__statement { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.7rem); line-height: 1.12; color: var(--walnut); max-width: 20ch; margin: 0 0 24px; }
html[lang='ar'] .intro__statement { line-height: 1.55; }
.intro__statement em { color: var(--gold-text); font-style: italic; }
html[lang='ar'] .intro__statement em { font-style: normal; }
.intro2__grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
@media (min-width: 1000px) { .intro2__grid { grid-template-columns: 1.05fr 1fr; } }
.intro2__list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.intro2__list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.intro2__list strong { display: block; font-weight: 600; color: var(--walnut); }
.intro2__list span:not(.intro2__ico) { font-size: 0.95rem; color: var(--ink-muted); }
.intro2__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--walnut); border: 1px solid var(--line); }
.intro2__ico .icon { width: 22px; height: 22px; }
.intro2__media { position: relative; padding-bottom: 18%; padding-inline-end: 8%; }
.intro2__main { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px rgba(42, 31, 20, 0.22); }
.intro2__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro2__second {
  position: absolute; inset-inline-end: 0; bottom: 0; width: 58%; margin: 0;
  border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 30px 60px rgba(42, 31, 20, 0.28);
}
.intro2__second img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.intro2__badge {
  position: absolute; inset-inline-start: -4%; top: 10%; display: grid; gap: 4px; max-width: 180px;
  padding: 20px 22px; border-radius: 12px; background: var(--walnut); color: #e9e0d2; font-size: 0.85rem; line-height: 1.4;
  box-shadow: 0 24px 50px rgba(30, 23, 17, 0.35);
}
.intro2__badge-num { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
@media (max-width: 599px) { .intro2__badge { inset-inline-start: 4%; top: 4%; padding: 14px 16px; } .intro2__badge-num { font-size: 2.4rem; } }

.stats-band {
  margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--walnut); border-bottom: 1px solid var(--line);
}
.stats-band__item { padding: clamp(24px, 3vw, 40px) clamp(8px, 2vw, 28px); display: grid; gap: 10px; align-content: start; font-size: 0.92rem; color: var(--ink-muted); }
.stats-band__item + .stats-band__item { border-inline-start: 1px solid var(--line); }
.stats-band__num { direction: ltr; unicode-bidi: isolate; justify-self: start; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.95; color: var(--walnut); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 899px) { .stats-band__item:nth-child(3) { border-inline-start: 0; } .stats-band__item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (min-width: 900px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Home — All the shades of wood (3D board row)
   ========================================================================== */
.shades3d { position: relative; background: #ebe3d6; color: var(--ink); }
.shades3d.is-3d .shades3d__track { height: calc(100vh + var(--n, 25) * 16vh); }
.shades3d.is-3d .shades3d__sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.shades3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; opacity: 0; transition: opacity 900ms var(--ease-out); }
.shades3d.is-3d .shades3d__canvas { display: block; }
.shades3d.is-ready .shades3d__canvas { opacity: 1; }
/* soft fade so the heading and readout stay legible over the boards */
.shades3d.is-3d .shades3d__sticky::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(235, 227, 214, 0.92) 0%, rgba(235, 227, 214, 0.6) 28%, rgba(235, 227, 214, 0) 48%),
    linear-gradient(0deg, rgba(235, 227, 214, 0.85) 0%, rgba(235, 227, 214, 0) 22%);
}
[dir='rtl'] .shades3d.is-3d .shades3d__sticky::before {
  background:
    linear-gradient(270deg, rgba(235, 227, 214, 0.92) 0%, rgba(235, 227, 214, 0.6) 28%, rgba(235, 227, 214, 0) 48%),
    linear-gradient(0deg, rgba(235, 227, 214, 0.85) 0%, rgba(235, 227, 214, 0) 22%);
}
@media (max-width: 700px) {
  .shades3d.is-3d .shades3d__sticky::before { background: linear-gradient(180deg, rgba(235, 227, 214, 0.95) 0%, rgba(235, 227, 214, 0.7) 30%, rgba(235, 227, 214, 0) 48%), linear-gradient(0deg, rgba(235, 227, 214, 0.9) 0%, rgba(235, 227, 214, 0) 25%); }
}
.shades3d__head { position: relative; z-index: 1; padding-top: calc(var(--header-h) + clamp(24px, 4vh, 48px)); pointer-events: none; }
.shades3d__head h2 { color: var(--walnut); max-width: 12ch; margin-bottom: 14px; }
.shades3d__head .lead { max-width: 40ch; font-size: clamp(0.98rem, 1.2vw, 1.12rem); }
.shades3d__hud { display: none; }
.shades3d.is-3d .shades3d__hud {
  position: absolute; inset-inline: var(--gutter); bottom: clamp(20px, 5vh, 48px); z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none;
}
.shades3d__now { display: grid; gap: 4px; }
.shades3d__index { font-size: 0.8rem; letter-spacing: 0.2em; font-weight: 600; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.shades3d__name { font-family: var(--font-display); font-style: italic; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1; color: var(--walnut); }
html[lang='ar'] .shades3d__name { font-style: normal; line-height: 1.4; }
.shades3d__name.is-swap { animation: nameswap 520ms var(--ease-out); }
@keyframes nameswap { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.shades3d__pct { position: relative; width: 64px; height: 64px; display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; color: var(--walnut); font-variant-numeric: tabular-nums; }
.shades3d__pct svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.shades3d__pct circle { fill: none; stroke-width: 2; }
.shades3d__pct .track { stroke: rgba(68, 51, 32, 0.15); }
.shades3d__pct .bar { stroke: var(--walnut); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
/* list: visible grid when 3D is unavailable, screen-reader only when 3D runs */
.shades3d__list { list-style: none; margin: 0; padding: 32px var(--gutter) clamp(64px, 9vw, 120px); display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); max-width: var(--max); margin-inline: auto; }
.shades3d.is-3d .shades3d__list { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.board-card { display: grid; gap: 10px; }
.board-card img { width: 100%; aspect-ratio: 570 / 1024; object-fit: cover; border-radius: 4px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 18px 30px rgba(42, 31, 20, 0.22); }
.board-card span { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--walnut); }
html[lang='ar'] .board-card span { font-style: normal; }

/* Framed photo with a walnut panel behind it (timber panel system) */
.frame-stack { position: relative; margin: 0; padding: 0 0 7% 7%; }
[dir='rtl'] .frame-stack { padding: 0 7% 7% 0; }
.frame-stack__wood {
  position: absolute; inset: 9% 9% 0 0; border-radius: var(--radius-lg);
  background: url('../img/wood/american-walnut.webp') center / cover, var(--walnut);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 60px rgba(30, 23, 17, 0.25);
}
[dir='rtl'] .frame-stack__wood { inset: 9% 0 0 9%; }
.frame-stack img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 30px 70px rgba(30, 23, 17, 0.3); }
.frame-stack__chip {
  position: absolute; inset-inline-end: 6%; bottom: 3%; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; background: var(--paper); color: var(--walnut); font-weight: 600; font-size: 0.88rem;
  box-shadow: 0 16px 40px rgba(30, 23, 17, 0.25);
}
.frame-stack__chip .icon { color: var(--gold-text); }

/* ==========================================================================
   Services
   ========================================================================== */
.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; } .section-head p { justify-self: end; } }
.services-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(6, 1fr); } .services-grid > :nth-child(-n+2) { grid-column: span 3; } .services-grid > :nth-child(n+3) { grid-column: span 2; } }
.service-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px;
  border-radius: var(--radius-lg); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate;
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.service-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 23, 17, 0) 30%, rgba(30, 23, 17, 0.88) 100%); }
.service-card:hover img { transform: scale(1.05); }
.service-card__body { padding: 24px; display: grid; gap: 6px; }
.service-card__num { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.2em; font-weight: 600; }
.service-card h3 { color: var(--white); margin: 0; }
.service-card p { margin: 0; color: #e7dfd3; font-size: 0.92rem; }
.service-card__go { position: absolute; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; border-radius: 50%; background: rgba(247, 244, 239, 0.95); color: var(--walnut); display: grid; place-items: center; transition: background-color var(--dur), transform var(--dur) var(--ease-out); }
.service-card:hover .service-card__go { background: var(--gold); transform: rotate(-45deg); }
[dir='rtl'] .service-card:hover .service-card__go { transform: rotate(45deg); }

/* ==========================================================================
   Projects grid
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; font-size: 0.9rem; font-weight: 500; transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.chip:hover { border-color: var(--walnut); }
.chip[aria-pressed='true'] { background: var(--walnut); color: var(--white); border-color: var(--walnut); }
.projects-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card { text-decoration: none; display: grid; gap: 14px; }
.project-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--stone); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__tags { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: rgba(247, 244, 239, 0.94); color: var(--walnut); font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.project-card h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.6rem); transition: color var(--dur-fast); }
.project-card:hover h3 { color: var(--gold-text); }
.project-card__loc { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--ink-muted); }
.projects-empty { padding: 40px; text-align: center; color: var(--ink-muted); }
.projects-grid--featured .project-card:nth-child(1) .project-card__media { aspect-ratio: 4 / 5; }
@media (min-width: 1100px) {
  .projects-grid--featured { grid-template-columns: repeat(12, 1fr); }
  .projects-grid--featured .project-card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .projects-grid--featured .project-card:nth-child(1) .project-card__media { aspect-ratio: auto; height: 100%; min-height: 560px; }
  .projects-grid--featured .project-card:nth-child(2), .projects-grid--featured .project-card:nth-child(3) { grid-column: span 5; }
  .projects-grid--featured .project-card:nth-child(2) .project-card__media, .projects-grid--featured .project-card:nth-child(3) .project-card__media { aspect-ratio: 16 / 10; }
  .projects-grid--featured .project-card:nth-child(n+4) { grid-column: span 4; }
}
.projects-grid--featured .project-card:nth-child(1) { display: flex; flex-direction: column; }
.projects-grid--featured .project-card:nth-child(1) .project-card__media { flex: 1; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { display: grid; gap: 1px; background: rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(3, 1fr); } }
.process__step { background: var(--walnut); padding: clamp(28px, 4vw, 48px); display: grid; gap: 14px; align-content: start; }
.process__num { font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--gold); }
.process__step h3 { margin: 0; }
.process__step p { margin: 0; color: #d9d1c6; }

/* Feature list (timber panel system etc.) */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { border-top: 1px solid var(--walnut); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.feature__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--walnut); color: var(--gold); display: grid; place-items: center; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { margin: 0; font-size: 1.35rem; }
.feature p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }
.feature__fact { font-weight: 600; color: var(--walnut); font-size: 0.9rem; }

.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.split__media--wide img { aspect-ratio: 4 / 3; }

/* ==========================================================================
   Certificates & partners
   ========================================================================== */
.certs { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .certs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .certs { grid-template-columns: repeat(5, 1fr); } }
.cert {
  display: grid; gap: 12px; text-align: start; padding: 14px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); cursor: zoom-in;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.cert:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30, 23, 17, 0.12); }
.cert img { border-radius: 6px; aspect-ratio: 557 / 788; object-fit: cover; background: var(--stone); }
.cert__code { font-weight: 600; font-size: 0.92rem; color: var(--walnut); }
.cert__name { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.45; }
.section--dark .cert { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.section--dark .cert__code { color: var(--gold); }
.section--dark .cert__name { color: #d9d1c6; }

.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; list-style: none; margin: 0; padding: 0; }
[dir='rtl'] .marquee__track { animation-name: marquee-rtl; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.logo-tile { width: 190px; height: 110px; background: var(--white); border-radius: 10px; display: grid; place-items: center; padding: 18px 22px; border: 1px solid var(--line); flex: none; }
.logo-tile img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.8; transition: filter var(--dur), opacity var(--dur); }
.logo-tile:hover img { filter: none; opacity: 1; }
.marquee-controls { display: flex; justify-content: flex-end; margin-top: 16px; }
.logo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logo-grid { grid-template-columns: repeat(6, 1fr); } }
.logo-grid .logo-tile { width: auto; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--walnut); color: var(--white); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 80px); display: grid; gap: 28px; isolation: isolate; }
.cta-band__wood {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(30, 23, 17, 0.55), rgba(30, 23, 17, 0.55)), url('../img/misc/cta-slats.webp') center 40% / cover no-repeat;
}
.cta-band h2 { color: var(--white); margin: 0; max-width: 16ch; }
.cta-band p { color: #e6dccd; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: end; } .cta-band__actions { justify-content: flex-end; } }

/* ==========================================================================
   About
   ========================================================================== */
/* Our objective */
.objective__grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
@media (min-width: 1000px) { .objective__grid { grid-template-columns: 0.9fr 1.1fr; } }
.objective__media { position: relative; margin: 0; padding: 0 0 6% 6%; }
[dir='rtl'] .objective__media { padding: 0 6% 6% 0; }
.objective__media::before {
  content: ''; position: absolute; inset: 8% 8% 0 0; border-radius: var(--radius-lg);
  background: url('../img/wood/black-walnut.webp') center / cover, var(--walnut);
  box-shadow: 0 30px 60px rgba(30, 23, 17, 0.25);
}
[dir='rtl'] .objective__media::before { inset: 8% 0 0 8%; }
.objective__media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius-lg); box-shadow: 0 40px 80px rgba(30, 23, 17, 0.3); }
.objective__chip {
  position: absolute; inset-inline-end: -4%; bottom: 12%; display: grid; grid-template-columns: 1fr auto; column-gap: 18px; align-items: center;
  padding: 16px 18px 16px 22px; border-radius: 14px; background: var(--paper); color: var(--walnut); text-decoration: none;
  box-shadow: 0 20px 50px rgba(30, 23, 17, 0.28); transition: transform var(--dur) var(--ease-out);
}
.objective__chip:hover { transform: translateY(-3px); }
.objective__chip-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
html[lang='ar'] .objective__chip-label { letter-spacing: 0; font-size: 0.85rem; }
.objective__chip-name { grid-row: 2; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.objective__chip-go { grid-row: 1 / 3; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--walnut); color: var(--gold); }
@media (max-width: 599px) { .objective__chip { inset-inline-end: 2%; bottom: 10%; } }
.promise-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .promise-list { grid-template-columns: repeat(3, 1fr); } }
.promise {
  display: grid; gap: 12px; align-content: start; padding: 22px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.promise:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(30, 23, 17, 0.1); border-color: var(--gold); }
.promise__num { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold-text); font-variant-numeric: lining-nums; }
.promise h3 { font-size: 1.25rem; margin: 0 0 6px; }
.promise p { margin: 0; font-size: 0.9rem; color: var(--ink-muted); }

/* Vision & mission — statement lights up word by word as you scroll */
.vm2 { position: relative; background: var(--walnut-900); color: var(--white); }
.vm2__track { height: 260vh; }
.vm2__sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: flex; align-items: center; }
.vm2__bg { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 900ms var(--ease-out), transform 1600ms var(--ease-out); }
.vm2__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 70% at 30% 40%, rgba(20, 14, 9, 0.55), rgba(20, 14, 9, 0.92)); }
.vm2__bg--vision { background: url('../img/wood/american-walnut.webp') center / cover; }
.vm2__bg--mission { background: url('../img/wood/rosewood.webp') center / cover; }
.vm2__bg.is-active { opacity: 1; transform: none; }
.vm2__inner { position: relative; z-index: 1; width: 100%; display: grid; gap: clamp(28px, 5vh, 56px); padding-block: calc(var(--header-h) + 20px) 40px; }
.vm2__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.vm2 .eyebrow { color: var(--gold); margin: 0; }
.vm2__tabs { margin-inline-start: auto; display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.vm2__tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: #e6dccd; font-weight: 500; transition: background-color var(--dur), color var(--dur);
}
.vm2__tab span:first-child { font-size: 0.75rem; opacity: 0.7; font-variant-numeric: tabular-nums; }
.vm2__tab:hover { background: rgba(255, 255, 255, 0.1); }
.vm2__tab[aria-pressed='true'] { background: var(--gold); color: var(--walnut-900); }
.vm2__panels { display: grid; }
.vm2__panel { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transform: translateY(30px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), visibility 0s linear 600ms; }
.vm2__panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.vm2__word {
  position: absolute; inset-inline-end: -0.04em; top: 50%; transform: translateY(-50%); margin: 0; z-index: -1; pointer-events: none;
  font-family: var(--font-display); font-size: clamp(6rem, 19vw, 18rem); line-height: 1; font-weight: 500; font-style: italic;
  color: transparent; -webkit-text-stroke: 1px rgba(214, 180, 79, 0.22); white-space: nowrap;
}
@media (max-width: 899px) { .vm2__word { top: 100%; transform: translateY(8px); font-size: 28vw; } }
html[lang='ar'] .vm2__word { font-style: normal; -webkit-text-stroke-width: 1.5px; }
.vm2__text { margin: 0; max-width: 20ch; font-family: var(--font-display); font-size: clamp(2.2rem, 5.4vw, 5rem); line-height: 1.12; font-weight: 500; }
html[lang='ar'] .vm2__text { line-height: 1.6; max-width: 22ch; }
.vm2__w { color: rgba(255, 255, 255, 0.16); transition: color 400ms var(--ease-out); }
.vm2__w.is-lit { color: var(--white); }
.vm2__w.is-lit.is-key { color: var(--gold); font-style: italic; }
html[lang='ar'] .vm2__w.is-lit.is-key { font-style: normal; }
.vm2__progress { height: 2px; background: rgba(255, 255, 255, 0.14); max-width: 420px; }
.vm2__progress span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--gold); }
/* static fallback: no pinning, both statements shown in full */
.vm2.is-static .vm2__track { height: auto; }
.vm2.is-static .vm2__sticky { position: relative; height: auto; padding-block: 96px; }
.vm2.is-static .vm2__panels { gap: 72px; }
.vm2.is-static .vm2__panel { grid-area: auto; opacity: 1; visibility: visible; transform: none; }
.vm2.is-static .vm2__w { color: var(--white); }
.vm2.is-static .vm2__tabs, .vm2.is-static .vm2__progress, .vm2.is-static .vm2__bg--mission { display: none; }
.values { display: grid; gap: 0; counter-reset: v; list-style: none; padding: 0; margin: 0; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
.value { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.value__num { font-family: var(--font-display); font-size: 2rem; color: var(--gold-text); line-height: 1; }
.value h3 { font-size: 1.3rem; margin: 0 0 6px; }
.value p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }
.pillars { display: grid; gap: 16px; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(5, 1fr); } }
.pillar { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 12px; align-content: start; }
.pillar .feature__icon { background: var(--gold); color: var(--walnut-900); }
.pillar h3 { margin: 0; font-size: 1.3rem; }
.pillar p { margin: 0; color: #d9d1c6; font-size: 0.92rem; }

/* ==========================================================================
   Services page
   ========================================================================== */
.service-nav { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.service-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.service-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; font-size: 0.9rem; font-weight: 500; }
.service-nav a:hover { background: var(--paper-2); }
.service-nav a.is-active { background: var(--walnut); color: var(--white); }
.service-block { padding-block: clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: 0; }
.service-block__num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); color: var(--gold-text); line-height: 1; margin-bottom: 8px; }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--gold-text); margin-top: 3px; }
.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.mini-gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 24px; }
.pill-list li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 500; }
.layers { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: l; }
.layers li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; background: var(--white); border-radius: 10px; border: 1px solid var(--line); }
.layers li::before { counter-increment: l; content: counter(l); width: 44px; height: 44px; border-radius: 50%; background: var(--walnut); color: var(--gold); display: grid; place-items: center; font-weight: 600; }
.layers strong { display: block; color: var(--walnut); }
.layers span { font-size: 0.92rem; color: var(--ink-muted); }

/* ==========================================================================
   Project detail
   ========================================================================== */
.project-meta { display: grid; gap: 24px; padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .project-meta { grid-template-columns: 2fr 1fr 1fr; } }
.project-meta dt { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 6px; }
html[lang='ar'] .project-meta dt { letter-spacing: 0; font-size: 0.9rem; }
.project-meta dd { margin: 0; }
.project-meta .lead { color: var(--ink); }
.gallery { columns: 1; column-gap: 16px; padding-block: clamp(40px, 6vw, 72px); }
@media (min-width: 640px) { .gallery { columns: 2; } }
@media (min-width: 1100px) { .gallery { columns: 3; } }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: var(--stone); border-radius: 10px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: transform 700ms var(--ease-out); }
.gallery button:hover img { transform: scale(1.03); }
.next-project { display: grid; gap: 20px; align-items: center; text-decoration: none; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
@media (min-width: 800px) { .next-project { grid-template-columns: 1fr auto; } }
.next-project h2 { margin: 0; transition: color var(--dur-fast); }
.next-project:hover h2 { color: var(--gold-text); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); background: rgba(20, 14, 9, 0.96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur); }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); color: var(--stone); font-size: 0.9rem; }
.lightbox__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; padding: 16px; }
.lightbox .icon-btn { color: var(--white); background: rgba(255, 255, 255, 0.08); width: 52px; height: 52px; border-radius: 50%; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, 0.18); }

/* ==========================================================================
   Contact
   ========================================================================== */
[dir='rtl'] .ltr-value { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Opening: light split with a framed project photo */
.contact-hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(48px, 7vw, 96px); background: radial-gradient(80% 60% at 85% 20%, #f3ead9 0%, var(--paper) 60%); }
.contact-hero__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) { .contact-hero__grid { grid-template-columns: 1fr 1.05fr; } }
.contact-hero__title { color: var(--walnut); font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 0.98; max-width: 11ch; margin-bottom: 24px; }
.contact-hero__title em { display: block; color: var(--gold-text); font-style: italic; font-weight: 500; }
html[lang='ar'] .contact-hero__title { line-height: 1.3; }
html[lang='ar'] .contact-hero__title em { font-style: normal; }
.contact-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.contact-hero__actions .btn--ghost { color: var(--walnut); }
.open-status { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; }
.open-status__dot { width: 9px; height: 9px; border-radius: 50%; background: #b9ab99; }
.open-status.is-open .open-status__dot { background: #2f8a4a; box-shadow: 0 0 0 4px rgba(47, 138, 74, 0.18); animation: pulse 2s ease-in-out infinite; }
.open-status.is-closed .open-status__dot { background: #b0452f; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47, 138, 74, 0.06); } }
.contact-hero__media { position: relative; margin: 0; }
.contact-hero__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 45%; border-radius: 22px; box-shadow: 0 40px 80px rgba(30, 23, 17, 0.22); }
.contact-hero__caption {
  position: absolute; inset-inline-start: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); display: grid; gap: 2px;
  padding: 14px 18px; border-radius: 14px; background: rgba(247, 244, 239, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(30, 23, 17, 0.22);
}
.contact-hero__caption > span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
html[lang='ar'] .contact-hero__caption > span { letter-spacing: 0; font-size: 0.85rem; }
.contact-hero__caption a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--walnut); text-decoration: none; min-height: 32px; }
.contact-hero__caption a:hover { color: var(--gold-text); }

/* Ways to reach us */
.reach-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .reach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reach-grid { grid-template-columns: repeat(4, 1fr); } }
.reach-card {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 26px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.reach-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(30, 23, 17, 0.1); border-color: var(--gold); }
.reach-card__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--walnut); color: var(--gold); }
.reach-card__icon .icon { width: 22px; height: 22px; }
.reach-card h3 { margin: 6px 0 0; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
html[lang='ar'] .reach-card h3 { letter-spacing: 0; font-size: 0.92rem; }
.reach-card__value { margin: 0; font-size: 1.05rem; color: var(--ink); overflow-wrap: anywhere; }
.reach-card__action { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 0.92rem; color: var(--walnut); text-decoration: none; }
.reach-card__action .icon { transition: transform var(--dur) var(--ease-out); }
.reach-card__action:hover .icon--dir { transform: translateX(4px); }
[dir='rtl'] .reach-card__action:hover .icon--dir { transform: scaleX(-1) translateX(4px); }

/* How it works + form */
.enquiry { background: var(--paper-2); }
.enquiry__grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: start; }
@media (min-width: 1000px) { .enquiry__grid { grid-template-columns: 0.85fr 1.15fr; } .enquiry__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); position: relative; }
.step__num { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold-text); font-variant-numeric: lining-nums; }
.step h3 { font-size: 1.3rem; margin: 0 0 4px; }
.step p { margin: 0; font-size: 0.95rem; color: var(--ink-muted); }
.hours-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius-lg); background: var(--walnut); color: #e9e0d2; }
.hours-card h3 { margin: 0 0 2px; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
html[lang='ar'] .hours-card h3 { letter-spacing: 0; font-size: 0.92rem; }
.hours-card p { margin: 0; }
.hours-card .reach-card__icon { background: rgba(255, 255, 255, 0.08); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); display: grid; gap: 20px; box-shadow: 0 30px 70px rgba(30, 23, 17, 0.08); }
.form__title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 6px; }
.form__footer { display: grid; gap: 14px; }
.type-picker { border: 0; margin: 0; padding: 0; min-width: 0; }
.type-picker legend { font-weight: 500; font-size: 0.92rem; margin-bottom: 10px; padding: 0; }
.type-picker__grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .type-picker__grid { grid-template-columns: repeat(3, 1fr); } }
.type-chip {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid #cdbfac; background: var(--paper); font-size: 0.9rem; font-weight: 500; line-height: 1.3;
  transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast);
}
.type-chip input { position: absolute; opacity: 0; pointer-events: none; }
.type-chip .icon { color: var(--gold-text); flex: none; }
.type-chip:hover { border-color: var(--walnut); }
.type-chip:has(input:checked) { background: var(--walnut); border-color: var(--walnut); color: var(--white); }
.type-chip:has(input:checked) .icon { color: var(--gold); }
.type-chip:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Map — loads on request */
.map-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.map-head h2 { margin: 0; }
.map-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.map-tab { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 500; transition: background-color var(--dur-fast), color var(--dur-fast); }
.map-tab[aria-pressed='true'] { background: var(--walnut); color: var(--white); }
.map-frame { position: relative; height: clamp(320px, 50vh, 480px); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #efe6d6, #e3d7c3); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.map-frame__placeholder > p:first-of-type { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--walnut); margin: 0; max-width: 30ch; }
.map-frame__placeholder::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(68, 51, 32, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(68, 51, 32, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-frame.is-loaded .map-frame__placeholder { display: none; }

.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: 0.92rem; }
.field .req { color: #9b2c1f; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 8px; border: 1px solid #b9ab99; background: var(--paper);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--walnut); box-shadow: 0 0 0 3px rgba(214, 180, 79, 0.45); }
.field [aria-invalid='true'] { border-color: #9b2c1f; }
.field__error { color: #9b2c1f; font-size: 0.86rem; display: flex; gap: 6px; align-items: center; }
.field__error:empty { display: none; }
.field__hint { font-size: 0.84rem; color: var(--ink-muted); }
.form__note { font-size: 0.85rem; color: var(--ink-muted); margin: 0; }
.form__status { padding: 14px 16px; border-radius: 8px; background: #eef4ea; color: #24461b; display: none; gap: 10px; align-items: flex-start; }
.form__status.is-visible { display: flex; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--walnut-900); color: #d9d1c6; padding-top: clamp(64px, 8vw, 110px); position: relative; z-index: var(--z-content); }
.footer-top { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; font-size: 0.85rem; color: #b5a998; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 74px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; font-weight: 600; }
html[lang='ar'] .site-footer h2 { letter-spacing: 0; font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.site-footer a { color: #ece4d8; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; font-size: 0.95rem; display: grid; gap: 12px; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--rd, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .tile { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track [aria-hidden='true'] { display: none; }
  .marquee-controls { display: none; }
}

/* ==========================================================================
   Icon medallions — round icon badges as walnut veneer discs with a gold ring
   (sizes are set by each badge's own rule above; this only changes the look)
   ========================================================================== */
.feature__icon, .reach-card__icon, .intro2__ico, .pillar .feature__icon {
  border: 0; color: var(--gold);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 238, 205, 0.22), rgba(255, 238, 205, 0) 55%),
    linear-gradient(rgba(36, 26, 17, 0.38), rgba(36, 26, 17, 0.62)),
    url('../img/wood/american-walnut-tile.webp') center / 180% no-repeat,
    var(--walnut);
  box-shadow: inset 0 0 0 1.5px rgba(214, 180, 79, 0.6), inset 0 0 0 4px rgba(36, 26, 17, 0.35), inset 0 1px 1px 4px rgba(255, 238, 205, 0.12), 0 6px 14px rgba(42, 31, 20, 0.25);
}
.feature__icon .icon, .reach-card__icon .icon, .intro2__ico .icon { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)); transition: transform var(--dur) var(--ease-out); }
.feature:hover .feature__icon .icon, .pillar:hover .feature__icon .icon, .reach-card:hover .reach-card__icon .icon,
.intro2__list li:hover .intro2__ico .icon, .contact-item:hover .feature__icon .icon { transform: rotate(-8deg) scale(1.08); }