/* SLAB Contracting — styles. Palette from the original concept; fonts are provisional pending brand approval. */

@font-face { font-family: 'Jost'; src: url('assets/fonts/jost-latin-var.woff2') format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('assets/fonts/plex-arabic-300.woff2') format('woff2'); font-weight: 300; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('assets/fonts/plex-arabic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('assets/fonts/plex-arabic-500.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --ink: #252728; --muted: #4f504c; --subtle: #77736c; --paper: #f6f5f2; --white: #fff; --cream: #eeeae4; --sand: #e6e0d7;
  --border: #dedcd7; --navy: #28343b; --warm: #8e7660; --accent: #546a78; --accent-soft: #adbfca; --sage: #c7d6ca; --sage-deep: #6d8576; --charcoal: #2a2927;
  --font: 'Jost', 'IBM Plex Sans Arabic', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 4.2vw, 80px); --header: 88px;
  --ease: cubic-bezier(.2, .65, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
}
html[dir="rtl"] { --font: 'IBM Plex Sans Arabic', 'Jost', Tahoma, Arial, sans-serif; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 400; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #ae967e; color: #fff; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.12em; }
html[dir="rtl"] .icon.flip { transform: scaleX(-1); }
.hide { display: none !important; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 10px; inset-inline-start: 10px; background: var(--ink); color: #fff; padding: 12px 18px; font-size: 13px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.site { overflow-x: clip; min-height: 100vh; }
.container { width: min(100%, 1640px); margin: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 8vw, 140px); }
.section-sm { padding-block: clamp(58px, 6vw, 96px); }
.tinted { background: #eceae4; }
.section-title { font-size: clamp(34px, 4.2vw, 64px); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; margin: 0; }
.section-title.small { font-size: clamp(28px, 3vw, 44px); }
.page-title { font-size: clamp(44px, 6vw, 92px); font-weight: 400; letter-spacing: -.05em; line-height: 1.02; margin: 22px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; }
.section-head .micro, .section-head .copy { margin: 12px 0 0; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--accent); margin: 0; }
.copy { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.8; color: #3d3e3a; }
.copy.narrow, .lead { max-width: 560px; }
.micro { font-size: 15px; color: var(--muted); line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; padding: 0 0 7px; border: 0; border-bottom: 1px solid currentColor; background: none; white-space: nowrap; }
.text-link .icon { transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translate(3px, -3px); }
html[dir="rtl"] .text-link:hover .icon { transform: scaleX(-1) translate(3px, -3px); }

/* buttons */
.outline-cta, .dark-cta { display: inline-flex; align-items: center; gap: 12px; background: transparent; color: inherit; border: 1px solid currentColor; padding: 13px 22px; font-size: 14px; letter-spacing: .02em; transition: background .25s, color .25s, border-color .25s; }
.outline-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.outline-cta.light { color: #fff; }
.outline-cta.light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.dark-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.dark-cta:hover { background: #4b4c4c; border-color: #4b4c4c; }
.dark-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 44px; border: 1px solid var(--charcoal); background: var(--charcoal); color: #fff; padding: 18px 22px; font-size: 15px; min-width: 220px; transition: background .25s; }
.dark-button:hover { background: #4c4a47; }
.dark-button:disabled { opacity: .65; cursor: progress; }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header); padding: 12px var(--gutter); background: rgba(246, 245, 242, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(33, 31, 29, .07); transition: background .35s, color .35s, box-shadow .35s, transform .45s var(--ease-out); }
.site-header.on-hero:not(.scrolled):not(.menu-open) { background: linear-gradient(180deg, rgba(20, 20, 20, .4), transparent); backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; border-bottom-color: transparent; }
.site-header.scrolled { box-shadow: 0 8px 25px rgba(30, 31, 31, .05); }
.site-header.hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; flex: none; color: #2b373e; }
/* Logo: official colours — slabs #adbfca / #c7d6ca, lettering navy #2b373e (white only over the home hero). Always LTR. */
.site-header.on-hero:not(.scrolled):not(.menu-open) .brand { color: #fff; }
.logo { display: block; height: 58px; width: auto; fill: currentColor; direction: ltr; unicode-bidi: isolate; overflow: visible; }
.logo .logo-slab-top { fill: #adbfca; }
.logo .logo-slab-bottom { fill: #c7d6ca; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 40px); }
.nav-link { position: relative; padding: 10px 0; font-size: 15px; letter-spacing: .01em; }
.nav-link::after { content: ''; position: absolute; inset-inline: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-toggle { background: none; border: 0; font-size: 15px; padding: 8px 2px; }
.lang-toggle:hover { opacity: .65; }
.menu-button { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 0; position: relative; }
.menu-lines, .menu-lines::before { position: absolute; inset-inline: 9px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-lines { top: 16px; }
.menu-lines::before { content: ''; inset-inline: 0; top: 7px; }
.menu-button[aria-expanded="true"] .menu-lines { top: 20px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(-90deg); }
.mobile-menu { position: fixed; z-index: 90; inset: var(--header) 0 0 0; background: var(--paper); color: var(--ink); padding: 30px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-link { display: flex; align-items: baseline; gap: 18px; border-bottom: 1px solid var(--border); padding: 16px 0; font-size: clamp(26px, 7vw, 36px); font-weight: 300; letter-spacing: -.02em; }
.mobile-link span { font-size: 13px; color: var(--subtle); letter-spacing: .1em; }
.mobile-link[aria-current="page"] { color: var(--accent); }
.mobile-menu.open .mobile-link { animation: menuIn .55s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes menuIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.mobile-menu-foot .dark-cta { justify-content: space-between; padding: 18px 20px; }
.mobile-phone { font-size: 15px; color: var(--muted); }
html[dir="rtl"] .mobile-phone { text-align: right; }

/* ---------- page transitions ---------- */
.page { min-height: 80vh; animation: pageIn .6s var(--ease-out) both; }
.page:not(.home-page) { padding-top: var(--header); }
.page:focus { outline: none; }
.page.page-leave { animation: none; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-title-anim { animation: titleIn 1s var(--ease-out) .1s both; }
@keyframes titleIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- home hero ---------- */
.hero { display: flex; min-height: clamp(600px, 100svh, 920px); position: relative; color: #fff; background: #4d4339; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: -3% 0 0 0; z-index: -2; will-change: transform; }
.hero-image { position: absolute; inset: 0; background-position: center 45%; background-size: cover; opacity: 0; transform: scale(1.03); transition: opacity 1.4s ease, transform 8s linear; filter: saturate(.85) contrast(1.05); }
.hero-image.is-active { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 20, 18, .72) 0%, rgba(30, 26, 23, .36) 48%, rgba(20, 20, 20, .14) 100%), linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 40%); }
html[dir="rtl"] .hero-shade { transform: scaleX(-1); }
.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header) + clamp(24px, 6vh, 64px)); padding-bottom: clamp(40px, 7vh, 100px); }
.hero-tagline { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 clamp(16px, 3.5vh, 32px); animation: fadeUp .9s var(--ease-out) .1s both; }
.hero-heading { font-size: clamp(56px, min(8.6vw, 14.5vh), 148px); font-weight: 300; letter-spacing: -.055em; line-height: .9; margin: 0 0 24px; }
.hero-heading > span { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.18em; }
.hero-heading > span > span { display: inline-block; animation: lineUp 1.1s var(--ease-out) both; }
.hero-heading > span:nth-child(2) > span { animation-delay: .12s; }
.hero-heading > span:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-sub { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 clamp(22px, 5vh, 46px); opacity: .9; animation: fadeUp .9s var(--ease-out) .45s both; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; animation: fadeUp .9s var(--ease-out) .6s both; }
.hero-link { display: inline-flex; align-items: center; gap: 18px; font-size: 15px; }
.round-arrow { height: 56px; width: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .75); display: inline-grid; place-items: center; font-size: 20px; transition: background .3s, color .3s, transform .3s var(--ease); }
.hero-link:hover .round-arrow { color: var(--ink); background: #fff; transform: scale(1.06); }
.hero-side { display: flex; align-items: end; gap: clamp(20px, 3vw, 48px); }
.hero-caption { display: flex; flex-direction: column; gap: 4px; text-align: end; font-size: 16px; }
.hero-caption small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.hero-caption:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hero-pagination { display: flex; flex-direction: column; gap: 6px; }
.hero-pagination button { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .6); border: 0; background: transparent; padding: 4px 0; font-size: 11px; letter-spacing: .1em; }
.hero-pagination .bar { position: relative; width: 34px; height: 1px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero-pagination .bar::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .hero-pagination .bar::after { transform-origin: right; }
.hero-pagination button.selected { color: #fff; }
.hero-pagination button.selected .bar::after { animation: heroProgress var(--hero-delay, 7000ms) linear forwards; }
@keyframes heroProgress { to { transform: scaleX(1); } }

/* ---------- cards & image layouts ---------- */
.photo { overflow: hidden; background: var(--sand); position: relative; }
.photo img, .feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.parallax-inner { position: absolute; inset: -4% 0; will-change: transform; }
.parallax-inner img { height: 100%; }
.reveal-img { clip-path: inset(0 0 0 0); }
[data-reveal] .reveal-img, .reveal-img[data-reveal] { clip-path: inset(12% 0 0 0); transition: clip-path 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].visible .reveal-img, .reveal-img[data-reveal].visible { clip-path: inset(0 0 0 0); }
.service-card:hover img, .project-card:hover img { transform: scale(1.05); }
.card-end { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.arrow-mini { font-size: 18px; margin-top: 14px; transition: transform .35s var(--ease); }
a:hover .arrow-mini { transform: translate(3px, -3px); }
.card-num { display: block; font-size: 13px; color: var(--subtle); margin-top: 16px; letter-spacing: .1em; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card .photo { aspect-ratio: 4 / 4.6; }
.service-card h3 { font-size: 20px; font-weight: 400; letter-spacing: -.01em; margin: 6px 0 4px; }
.service-card .micro { margin: 0; max-width: 240px; }

.split-editorial { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 110px); align-items: center; }
.feature-image { aspect-ratio: 1.23; overflow: hidden; position: relative; background: var(--sand); }
.editorial-copy { max-width: 500px; }
.editorial-copy .section-title { margin: 16px 0 28px; }
.editorial-copy .text-link { margin-top: 24px; }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.project-grid.three { grid-template-columns: repeat(3, 1fr); }
.project-grid.listing { grid-template-columns: repeat(3, 1fr); row-gap: 48px; column-gap: 20px; }
.project-card .photo { aspect-ratio: 1.25; }
.project-grid.listing .project-card:nth-child(6n+1) .photo, .project-grid.listing .project-card:nth-child(6n+5) .photo { aspect-ratio: 1.25; }
.project-card h3 { font-size: 19px; font-weight: 400; margin: 16px 0 3px; letter-spacing: -.01em; }
.project-card .micro { margin: 0; font-size: 14px; }

/* desktop cursor label */
.cursor-label { position: fixed; z-index: 150; top: 0; left: 0; pointer-events: none; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(37, 39, 40, .86); color: #fff; display: grid; place-items: center; font-size: 30px; opacity: 0; scale: .4; transition: opacity .25s, scale .35s var(--ease-out); backdrop-filter: blur(4px); }
.cursor-label.show { opacity: 1; scale: 1; }
.cursor-label .icon { width: 44px; height: 44px; stroke-width: 1.2; }
@media (hover: none), (pointer: coarse) { .cursor-label { display: none; } }

/* process teaser */
.teaser-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--border); }
.teaser-steps a { display: flex; flex-direction: column; gap: 14px; padding: 24px 12px 6px 0; font-size: 21px; font-weight: 400; transition: color .25s, padding .35s var(--ease); }
.teaser-steps span { font-size: 13px; color: var(--subtle); letter-spacing: .1em; }
.teaser-steps a:hover { color: var(--accent); padding-inline-start: 6px; }

/* CTA + stats */
.cta-wrap { padding-top: 80px; padding-bottom: 60px; }
.cta-banner { min-height: 360px; position: relative; display: flex; align-items: center; color: #fff; overflow: hidden; background: #6a5b51; }
.cta-banner .bg-image { position: absolute; inset: -6% 0; background-size: cover; background-position: center 52%; filter: brightness(.52) saturate(.75); }
.cta-banner .content { position: relative; z-index: 1; padding: 60px var(--gutter); width: 100%; }
.cta-banner h2 { font-size: clamp(36px, 4vw, 64px); font-weight: 400; letter-spacing: -.04em; line-height: 1.04; margin: 0 0 18px; }
.cta-banner p { font-size: 17px; color: #f1e8e0; margin: 0 0 30px; max-width: 460px; line-height: 1.7; }
.stats-band { background: var(--navy); color: #e9e9e5; display: grid; grid-template-columns: repeat(4, 1fr); padding: 54px var(--gutter); gap: 20px; }
.stat { border-inline-end: 1px solid #56646c; padding-inline: 24px; }
.stat:first-child { padding-inline-start: 0; }
.stat:last-child { border: 0; }
.stat b { display: block; font-size: clamp(34px, 4vw, 58px); font-weight: 300; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat > span { display: block; font-size: 14px; color: #dfe1e2; margin-top: 8px; line-height: 1.5; }

/* ---------- interior pages ---------- */
.interior-hero { position: relative; min-height: clamp(320px, 42vw, 460px); color: #fff; display: flex; align-items: end; overflow: hidden; background: #343a36; }
.interior-hero .bg { position: absolute; inset: -6% 0; background-size: cover; background-position: center; filter: saturate(.8); }
.interior-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 19, .7), rgba(35, 35, 35, .12)); }
html[dir="rtl"] .interior-hero::after { background: linear-gradient(-90deg, rgba(20, 20, 19, .7), rgba(35, 35, 35, .12)); }
.interior-hero .content { z-index: 1; position: relative; width: 100%; padding: 60px var(--gutter); }
.interior-hero h1 { font-size: clamp(46px, 6vw, 96px); font-weight: 400; letter-spacing: -.05em; line-height: 1.04; margin: 0 0 12px; }
.interior-hero p { font-size: 14px; letter-spacing: .14em; font-weight: 500; text-transform: uppercase; line-height: 1.6; max-width: 600px; margin: 0; animation: fadeUp .9s var(--ease-out) .3s both; }

.filters { display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--border); margin-bottom: 36px; flex-wrap: wrap; }
.filter { position: relative; background: transparent; border: 0; color: var(--muted); font-size: 16px; padding: 14px 0 18px; }
.filter sup { font-size: 11px; color: var(--subtle); margin-inline-start: 2px; }
.filter::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .35s var(--ease); }
.filter.active { color: var(--ink); }
.filter.active::after { transform: scaleX(1); }
.results-count { margin-inline-start: auto; font-size: 14px; color: var(--subtle); }

/* project detail */
.project-detail-head { padding-block: 56px 44px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.breadcrumb a { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a:hover { color: var(--ink); }
.project-detail-head h1 { font-size: clamp(42px, 5vw, 80px); font-weight: 400; letter-spacing: -.05em; line-height: 1.04; margin: 20px 0 18px; }
.project-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 0; }
.project-meta div { padding: 14px 0; border-top: 1px solid var(--border); }
.project-meta dt { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.project-meta dd { margin: 0; font-size: 17px; }
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab { background: transparent; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 16px 1px; font-size: 15px; color: var(--muted); }
.tab.active { border-color: var(--ink); color: var(--ink); }
.gallery-frame { position: relative; height: min(56vw, 680px); min-height: 280px; overflow: hidden; background: #2b2a28; }
.gallery-backdrop { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.55) saturate(.8); transform: scale(1.1); transition: background-image .4s; }
.gallery-open { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-open img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease, transform .5s var(--ease); }
.gallery-open img.swap { opacity: 0; transform: scale(.985); }
.gallery-control { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(246, 245, 242, .9); color: var(--ink); width: 48px; height: 48px; border-radius: 50%; border: 0; font-size: 20px; display: grid; place-items: center; transition: background .2s, transform .25s; }
.gallery-control:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gallery-control.prev { inset-inline-start: 18px; }
.gallery-control.next { inset-inline-end: 18px; }
.gallery-meta { position: absolute; bottom: 16px; inset-inline-end: 18px; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 12px; letter-spacing: .1em; }
.gallery-meta button { background: rgba(0, 0, 0, .35); color: #fff; border: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumb { padding: 0; background: var(--sand); border: 0; flex: 0 0 130px; height: 84px; overflow: hidden; opacity: .55; position: relative; transition: opacity .25s; }
.thumb::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .35s var(--ease); }
.thumb:hover { opacity: .85; }
.thumb.active { opacity: 1; }
.thumb.active::after { transform: scaleX(1); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.overview-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 6vw, 100px); padding: 36px 0 30px; }
.overview-panel:focus-visible { outline-offset: 8px; }
.scope-list { list-style: none; padding: 0; margin: 18px 0 30px; border-top: 1px solid var(--border); }
.scope-list li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 20px; font-weight: 400; }
.scope-list span { font-size: 13px; color: var(--subtle); padding-top: 6px; }
.project-pager { display: grid; grid-template-columns: 1fr 1fr; margin-top: 70px; border-block: 1px solid var(--border); }
.pager-link { display: flex; flex-direction: column; gap: 10px; padding: 34px 0; transition: color .25s; }
.pager-link.next { text-align: end; border-inline-start: 1px solid var(--border); }
.pager-link small { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager-link.next small { justify-content: flex-end; }
.pager-link span { font-size: clamp(22px, 2.6vw, 38px); font-weight: 400; letter-spacing: -.03em; }
.pager-link.prev span, .pager-link.prev small { padding-inline-end: 20px; }
.pager-link.next span, .pager-link.next small { padding-inline-start: 20px; }
.pager-link:hover { color: var(--accent); }
.more-projects { padding: 80px 0 90px; }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 18, 17, .96); color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; animation: fadeIn .3s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); font-size: 12px; letter-spacing: .12em; }
.lightbox button { background: none; border: 0; color: #fff; }
.lb-top button { font-size: 24px; width: 46px; height: 46px; display: grid; place-items: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 clamp(16px, 8vw, 120px) 30px; min-height: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox figcaption { font-size: 15px; color: #bdbab4; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; font-size: 30px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; }
.lb-nav:hover { background: rgba(255, 255, 255, .1); }
.lb-nav.prev { inset-inline-start: 12px; }
.lb-nav.next { inset-inline-end: 12px; }

/* services */
.service-rows { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 110px); }
.service-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 100px); align-items: center; scroll-margin-top: calc(var(--header) + 20px); }
.service-row:nth-child(even) .photo { order: 2; }
.service-row .photo { aspect-ratio: 1.45; }
.service-num { font-size: clamp(56px, 7vw, 110px); font-weight: 300; letter-spacing: -.05em; color: #b7ad9f; line-height: 1; }
.service-copy h2 { font-size: clamp(32px, 3.2vw, 50px); letter-spacing: -.03em; font-weight: 400; margin: 14px 0 16px; }
.service-copy p { max-width: 520px; font-size: 19px; line-height: 1.8; color: #3d3e3a; margin: 0 0 28px; }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sector-item { padding: 36px 26px; border: 1px solid #d6d2ca; min-height: 210px; background: var(--paper); transition: background .35s, color .35s, transform .45s var(--ease); }
.sector-item:hover { background: var(--navy); color: #fff; transform: translateY(-4px); }
.sector-item:hover p, .sector-item:hover span { color: #c9cbcc; }
.sector-item span { font-size: 13px; color: var(--muted); }
.sector-item h3 { font-size: 23px; font-weight: 400; margin: 22px 0 12px; }
.sector-item p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; }

/* about */
.subnav { position: sticky; top: 0; z-index: 20; background: rgba(246, 245, 242, .95); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header:not(.hide) ~ .page .subnav { top: var(--header); }
.subnav .container { display: flex; gap: 32px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { padding: 18px 0; font-size: 15px; color: var(--muted); white-space: nowrap; }
.subnav a:hover { color: var(--ink); }
#about-story, #about-principles, #about-why { scroll-margin-top: calc(var(--header) + 60px); }
#about-story:focus, #about-principles:focus, #about-why:focus { outline: none; }
.about-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.about-feature .section-title { margin: 18px 0 24px; }
.about-feature .photo { aspect-ratio: 1.15; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(60px, 7vw, 110px); }
.pillars article { border-top: 1px solid var(--ink); padding-top: 22px; }
.pillars h3, .principle h3 { font-size: 26px; font-weight: 400; margin: 16px 0 12px; }
.pillars p, .principle p { font-size: 16px; color: var(--muted); line-height: 1.8; margin: 0; max-width: 380px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.principle { padding: 36px 30px 10px; border-inline-end: 1px solid var(--border); }
.principle:first-child { padding-inline-start: 0; }
.principle:last-child { border: 0; }
.principle h3 { font-size: clamp(30px, 3vw, 44px); }
.why-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 7vw, 120px); align-items: start; }
.why-intro .section-title { margin-bottom: 20px; }
.why-intro .feature-image { margin-top: 36px; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 26px 0; border-bottom: 1px solid #d3cfc7; }
.why-list li:first-child { border-top: 1px solid #d3cfc7; }
.why-list li > span { font-size: 13px; color: var(--subtle); padding-top: 6px; }
.why-list h3 { font-size: 23px; font-weight: 400; margin: 0 0 8px; }
.why-list p { font-size: 16px; color: var(--muted); line-height: 1.75; margin: 0; }

/* process */
.process-top { padding-top: clamp(60px, 7vw, 100px); }
.process-top .copy { max-width: 640px; font-size: clamp(19px, 1.4vw, 21px); }
.process-track { position: relative; margin-top: 64px; }
.process-track::before, .process-progress { content: ''; position: absolute; height: 1px; inset-inline: 26px; top: 26px; background: var(--border); }
.process-progress { background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .6s var(--ease-out); z-index: 1; }
html[dir="rtl"] .process-progress { transform-origin: right; }
.process-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; position: relative; z-index: 2; }
/* Flex column so every step starts at the top (buttons otherwise centre their content vertically). */
.process-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; border: 0; text-align: start; background: transparent; padding: 0 10px 0 0; color: var(--subtle); }
.step-circle { height: 52px; width: 52px; border-radius: 50%; background: var(--paper); border: 1px solid #b9b7b2; display: grid; place-items: center; font-size: 15px; font-weight: 500; margin-bottom: 26px; color: inherit; transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.process-step:hover .step-circle { transform: scale(1.08); border-color: var(--ink); }
.process-step.done .step-circle { border-color: var(--ink); color: var(--ink); }
.process-step.active .step-circle { background: var(--ink); color: #fff; border-color: var(--ink); }
.process-step strong { display: block; color: #30302f; font-size: clamp(19px, 1.4vw, 22px); font-weight: 500; margin-bottom: 10px; }
.process-step small { display: block; color: var(--muted); font-size: clamp(15px, 1.05vw, 17px); line-height: 1.6; }
.process-feature { margin-top: 50px; display: grid; grid-template-columns: 1.25fr .75fr; min-height: 520px; }
.process-feature .photo { min-height: 500px; }
.process-feature.swap .photo img { animation: imgIn .8s var(--ease-out) both; }
.process-feature.swap .process-description > * { animation: fadeUp .6s var(--ease-out) both; }
.process-feature.swap .process-description > *:nth-child(2) { animation-delay: .06s; }
.process-feature.swap .process-description > *:nth-child(3) { animation-delay: .12s; }
@keyframes imgIn { from { opacity: .3; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.process-description { padding: clamp(30px, 4.5vw, 76px); background: #2a2927; color: #eee; display: flex; flex-direction: column; justify-content: center; }
.process-description .eyebrow { color: #c9b59f; font-size: 15px; }
.process-description h2 { font-size: clamp(40px, 4.2vw, 70px); font-weight: 400; margin: 20px 0 14px; letter-spacing: -.04em; }
.process-description p { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.75; color: #ece8e1; max-width: 460px; margin: 0; }
.process-navigation { display: flex; align-items: center; gap: 18px; margin-top: 40px; font-size: 16px; color: #c4bfb6; letter-spacing: .1em; }
.process-navigation button { border: 1px solid #77736d; background: transparent; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; transition: background .25s, color .25s; }
.process-navigation button:hover { background: #fff; color: var(--ink); }
.technology-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.technology-grid article { border-top: 1px solid #cfcbc3; padding: 26px 15px 10px 0; }
.technology-grid h3 { font-size: 22px; font-weight: 400; margin: 18px 0 10px; }
.technology-grid p { font-size: 17px; line-height: 1.8; color: var(--muted); margin: 0; }

/* contact */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 140px); padding-top: 80px; padding-bottom: 130px; }
.contact-details h2, .form-success h2 { font-size: clamp(34px, 3.6vw, 56px); font-weight: 400; letter-spacing: -.04em; margin: 0 0 20px; }
.contact-details .copy { max-width: 430px; }
.contact-points { list-style: none; padding: 0; margin: 40px 0 0; }
.contact-point { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
.contact-point .icon { font-size: 22px; color: var(--accent); }
.contact-point small { display: block; font-size: 13px; color: var(--muted); letter-spacing: .08em; margin-bottom: 4px; }
.contact-point strong { font-weight: 400; }
a.contact-point:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full, .form-alert, .submit-row, .form-message { grid-column: 1 / -1; }
.field label { font-size: 14px; color: #3d3e3a; }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid #cfccc5; background: transparent; padding: 14px 2px; color: var(--ink); font-size: 15px; border-radius: 0; transition: border-color .25s; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir="rtl"] .field select { background-position: 12px 22px, 17px 22px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field textarea { height: 140px; resize: vertical; border: 1px solid #cfccc5; padding: 14px; }
.field .hint { font-size: 14px; color: var(--subtle); }
.field .error, .consent-field .error { font-size: 14px; color: #a3412a; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #a3412a; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #3d3e3a; line-height: 1.6; cursor: pointer; }
.field .check input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; width: 18px; height: 18px; padding: 0; margin: 2px 0 0; border: 0; accent-color: var(--ink); flex: none; }
.field.invalid .check input[type="checkbox"] { outline: 1px solid #a3412a; outline-offset: 2px; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; max-width: 340px; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-alert { font-size: 15px; padding: 13px 15px; border-inline-start: 2px solid #a3412a; background: #f7ebe6; color: #7b2f1e; }
.form-message { font-size: 16px; line-height: 1.6; padding: 14px 16px; border-inline-start: 2px solid var(--accent); background: #eef1f2; }
.form-message.error { border-color: #a3412a; background: #f7ebe6; }
.form-success { padding: 50px 0; animation: fadeUp .6s var(--ease-out) both; }
.form-success:focus { outline: none; }
.success-mark { display: block; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--ink); margin-bottom: 26px; position: relative; }
.success-mark::after { content: ''; position: absolute; left: 19px; top: 15px; width: 12px; height: 20px; border: solid var(--ink); border-width: 0 1px 1px 0; transform: rotate(45deg); }

/* legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 22px; font-weight: 400; margin: 40px 0 10px; }
.draft-banner { font-size: 15px; padding: 13px 16px; background: #f3ecd9; border-inline-start: 2px solid #b48a2c; color: #6a5114; }
.legal .text-link { margin-top: 40px; }

/* footer */
.site-footer { background: #ecebe6; padding: 76px var(--gutter) 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr; gap: 40px; }
.footer-brand { display: inline-block; color: #2b373e; }
.footer-brand .logo { height: 84px; }
.footer-tag { font-size: 16px; margin: 14px 0 6px; }
.footer-col h2 { font-weight: 500; font-size: 15px; margin: 0 0 18px; }
.footer-col a, .footer-col span { display: block; color: #4a4945; font-size: 15px; line-height: 2.3; }
.footer-col a:hover { color: var(--ink); }
html[dir="rtl"] .footer-col a[href^="tel"] { text-align: right; }
.footer-bottom { border-top: 1px solid #d8d6d0; margin-top: 70px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #7d7b76; font-size: 13px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--ink); }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].visible { opacity: 1; transform: none; }

/* ---------- RTL refinements ---------- */
html[dir="rtl"] .eyebrow, html[dir="rtl"] .hero-tagline, html[dir="rtl"] .hero-sub, html[dir="rtl"] .interior-hero p, html[dir="rtl"] .project-meta dt, html[dir="rtl"] .pager-link small, html[dir="rtl"] .hero-caption small { letter-spacing: 0; }
html[dir="rtl"] .hero-heading { letter-spacing: 0; font-weight: 300; line-height: 1.12; font-size: clamp(48px, min(7vw, 11.5vh), 116px); }
html[dir="rtl"] .section-title, html[dir="rtl"] .interior-hero h1, html[dir="rtl"] .page-title, html[dir="rtl"] .project-detail-head h1, html[dir="rtl"] .cta-banner h2, html[dir="rtl"] .contact-details h2, html[dir="rtl"] .process-description h2, html[dir="rtl"] .service-copy h2, html[dir="rtl"] .pager-link span { letter-spacing: 0; line-height: 1.3; }
html[dir="rtl"] .copy { line-height: 2; }
/* Arabic glyphs read smaller than Latin at the same size: lift the small label styles. */
html[dir="rtl"] .eyebrow, html[dir="rtl"] .hero-tagline, html[dir="rtl"] .hero-sub, html[dir="rtl"] .interior-hero p { font-size: 16px; }
html[dir="rtl"] .micro, html[dir="rtl"] .project-meta dt, html[dir="rtl"] .pager-link small, html[dir="rtl"] .hero-caption small, html[dir="rtl"] .contact-point small { font-size: 15px; }
html[dir="rtl"] .nav-link, html[dir="rtl"] .text-link, html[dir="rtl"] .outline-cta, html[dir="rtl"] .dark-button { font-size: 16px; }
html[dir="rtl"] .process-step { padding: 0 0 0 6px; }
html[dir="rtl"] .teaser-steps a { padding: 24px 0 6px 12px; }
html[dir="rtl"] .technology-grid article { padding: 26px 0 10px 15px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .desktop-nav { gap: 16px; }
  .nav-link { font-size: 14px; }
  .service-grid, .project-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .project-grid.listing, .project-grid.three { grid-template-columns: repeat(2, 1fr); }
  .sector-grid, .technology-grid { grid-template-columns: repeat(2, 1fr); }
  .teaser-steps { grid-template-columns: repeat(4, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stat:nth-child(2) { border: 0; }
  .stat:nth-child(3) { padding-inline-start: 0; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand-wrap { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --header: 72px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  /* Mobile process: seven centred circles that always fit; names stay available to screen readers. */
  .process-steps { gap: 0; }
  .process-step, html[dir="rtl"] .process-step { padding: 0; display: flex; flex-direction: column; align-items: center; }
  .step-circle { width: 40px; height: 40px; margin-bottom: 0; font-size: 13px; }
  .process-step strong, .process-step small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .process-track::before, .process-progress { top: 20px; inset-inline: calc(100% / 14); }
  .project-detail-head, .overview-panel, .why-layout { grid-template-columns: 1fr; }
  .project-detail-head { gap: 26px; }
}
@media (max-width: 740px) {
  .hero { min-height: clamp(560px, 92svh, 900px); }
  .hero-content { padding-bottom: 48px; }
  .hero-tagline { font-size: 12px; letter-spacing: .16em; margin-bottom: 22px; }
  .hero-sub { margin-bottom: 32px; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .hero-side { justify-content: space-between; }
  .hero-caption { text-align: start; }
  .hero-pagination { flex-direction: row; gap: 14px; }
  .hero-pagination button { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-pagination .bar { width: 26px; }
  .section-head { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 30px; }
  .split-editorial, .about-feature, .process-feature, .contact-layout, .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .photo { order: 0; }
  .editorial-copy { max-width: 100%; }
  .pillars, .principles { grid-template-columns: 1fr; }
  .principle, .principle:first-child { padding: 24px 0; border: 0; border-bottom: 1px solid var(--border); }
  .process-feature .photo { min-height: 260px; }
  .teaser-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { padding-top: 56px; padding-bottom: 90px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-frame { height: 70vw; }
  .gallery-control { width: 40px; height: 40px; }
  .project-pager { grid-template-columns: 1fr; }
  .pager-link.next { border-inline-start: 0; border-top: 1px solid var(--border); }
  .pager-link.prev span, .pager-link.prev small, .pager-link.next span, .pager-link.next small { padding-inline: 0; }
  .cta-wrap { padding-top: 40px; padding-bottom: 40px; }
}
@media (max-width: 520px) {
  .site-header { padding-inline: 18px; }
  .header-cta { display: none; }
  .logo { height: 42px; }
  .hero-heading { font-size: clamp(54px, 17vw, 76px); }
  .round-arrow { width: 48px; height: 48px; }
  .service-grid, .project-grid, .project-grid.listing, .project-grid.three, .sector-grid, .technology-grid { grid-template-columns: 1fr; }
  .service-card .photo { aspect-ratio: 1.35; }
  .project-card .photo { aspect-ratio: 1.35; }
  .stats-band { padding: 34px 22px; }
  .stat { padding-inline: 12px; }
  .stat b { font-size: 36px; }
  .stat > span { font-size: 13px; }
  .contact-form { grid-template-columns: 1fr; }
  .dark-button { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .thumb { flex-basis: 92px; height: 62px; }
  .filters { gap: 22px; }
  .results-count { width: 100%; margin: 0 0 14px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal] .reveal-img, .reveal-img[data-reveal] { clip-path: none; }
  .hero-image { transform: none; }
  .hero-pagination button.selected .bar::after { animation: none; transform: scaleX(1); }
  .cursor-label { display: none; }
}

@media print {
  .site-header, .mobile-menu, .cta-banner, .site-footer, .cursor-label, .gallery-control { display: none !important; }
  .page { padding-top: 0 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Fine film grain over full-width photography: masks softness of the low-resolution source images. */
.hero-media::after, .interior-hero .bg::after, .cta-banner .bg-image::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Process stage visuals: drawings and illustrations are shown whole on a light ground, photos fill the frame. */
.process-feature .photo.is-drawing { background: #fff; }
.process-feature .photo.is-illustration { background: #efebe4; }
.process-feature .photo.is-drawing img, .process-feature .photo.is-illustration img { object-fit: contain; padding: clamp(16px, 3vw, 40px); }

/* Contact form: services multi-select as toggle chips */
.service-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.service-picker legend { font-size: 14px; color: #3d3e3a; padding: 0; margin-bottom: 4px; }
.service-picker .hint { margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid #cfccc5; border-radius: 999px; font-size: 15px; color: var(--ink); background: transparent; transition: background .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--ink); }
.chip .chip-tick { width: 0; opacity: 0; stroke-width: 2.2; transition: width .2s, opacity .2s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:checked + span .chip-tick { width: 1em; opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.service-picker.invalid .chip span { border-color: #a3412a; }
html[dir="rtl"] .chip span { font-size: 16px; }

/* Process: portrait team photos shown whole (no crop) on a blurred copy of themselves */
.process-feature:has(.is-full) { min-height: 680px; }
.process-feature .photo.is-full { position: relative; background: #1f1e1c; isolation: isolate; }
.process-feature .photo.is-full::before { content: ''; position: absolute; inset: -40px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(34px) brightness(.5) saturate(.85); }
.process-feature .photo.is-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 740px) {
  .process-feature:has(.is-full) { min-height: 0; }
  .process-feature .photo.is-full { min-height: 0; aspect-ratio: 4 / 5; }
}

/* Home hero background video */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: saturate(.9) contrast(1.03); }
.hero-video-toggle { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .15); color: #fff; display: grid; place-items: center; font-size: 16px; transition: background .25s, color .25s; }
.hero-video-toggle:hover { background: #fff; color: var(--ink); }
.hero-video-toggle .icon { fill: currentColor; stroke-width: 2; }

/* ---------- Header (client design): logo | divider | nav | CTA | divider | language · search ---------- */
.site-header { gap: clamp(16px, 2vw, 32px); }
.header-brand { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); flex: none; }
.header-divider { display: block; width: 1px; height: 44px; background: currentColor; opacity: .16; flex: none; }
.desktop-nav { flex: 1; justify-content: center; gap: clamp(20px, 2.6vw, 48px); }
.nav-link { font-size: 16px; padding: 12px 0; }
.nav-link::after { height: 2px; bottom: 2px; }
.header-actions { gap: clamp(14px, 1.6vw, 26px); }
.header-cta { display: inline-flex; align-items: center; gap: 18px; padding: 15px 26px; background: var(--navy); color: #fff; font-size: 15px; letter-spacing: .01em; white-space: nowrap; transition: background .25s; }
.header-cta:hover { background: #1c262c; }
.header-cta .icon { font-size: 20px; transition: transform .3s var(--ease); }
.header-cta:hover .icon { transform: translateX(4px); }
html[dir="rtl"] .header-cta:hover .icon { transform: scaleX(-1) translateX(4px); }
.site-header.on-hero:not(.scrolled):not(.menu-open) .header-cta { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.lang-toggle { font-size: 16px; }
.search-toggle { background: none; border: 0; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; font-size: 26px; color: inherit; }
.search-toggle .icon { stroke-width: 1.6; }
.search-toggle:hover { opacity: .65; }
@media (max-width: 1240px) { .nav-link { font-size: 15px; } .desktop-nav { gap: 18px; } .header-cta { padding: 13px 18px; gap: 12px; } }
@media (max-width: 1120px) { .desktop-nav { display: none; } .menu-button { display: block; } .site-header { justify-content: space-between; } }
@media (max-width: 600px) { .header-brand .header-divider, .header-actions .header-divider { display: none; } .header-cta { display: none; } .header-actions { gap: 8px; } }

/* Search dialog */
.search-dialog { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.search-dialog::backdrop { background: rgba(20, 22, 23, .55); backdrop-filter: blur(3px); }
.search-dialog[open] { display: block; animation: fadeIn .2s ease both; }
.search-panel { background: var(--paper); color: var(--ink); padding: 28px var(--gutter) 34px; max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.search-bar { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; font-size: 26px; }
.search-bar input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: clamp(20px, 2.4vw, 30px); font-weight: 300; color: var(--ink); padding: 6px 0; }
.search-bar input:focus { outline: none; }
.search-bar button { background: none; border: 0; width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; color: var(--ink); }
.search-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; margin-top: 26px; }
.search-group h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0 0 10px; }
html[dir="rtl"] .search-group h3 { letter-spacing: 0; font-size: 15px; }
.search-group ul { list-style: none; margin: 0; padding: 0; }
.search-group a { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
.search-group a span { display: block; font-size: 17px; }
.search-group a small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.search-group a:hover span, .search-group a:focus-visible span { color: var(--accent); }
.search-empty { color: var(--muted); font-size: 16px; }
@media (max-width: 1120px) { .logo { height: 50px; } }

/* About pillars with photos (client design) */
.pillars article { display: flex; flex-direction: column; }
.pillars .eyebrow { margin-bottom: 18px; }
.pillar-photo { aspect-ratio: 1.86; overflow: hidden; background: var(--sand); }
.pillar-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pillars article:hover .pillar-photo img { transform: scale(1.04); }
.pillars h3 { font-size: clamp(26px, 2.2vw, 34px); margin: 26px 0 12px; }
.pillars p { font-size: 17px; max-width: 460px; }
@media (max-width: 740px) { .pillars { gap: 44px; } }

/* Stats band: photo behind a navy overlay; .stats-full spans the page width */
.stats-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.stats-band::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--stats-bg) center / cover no-repeat; }
.stats-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(31, 42, 49, .94) 0%, rgba(31, 42, 49, .86) 60%, rgba(31, 42, 49, .6) 100%); }
html[dir="rtl"] .stats-band::after { background: linear-gradient(-90deg, rgba(31, 42, 49, .94) 0%, rgba(31, 42, 49, .86) 60%, rgba(31, 42, 49, .6) 100%); }
.stats-band.stats-full { padding: clamp(56px, 6vw, 90px) max(var(--gutter), calc((100vw - 1640px) / 2 + var(--gutter))); }
.stats-full .stat { border-color: rgba(255, 255, 255, .35); padding-inline: clamp(24px, 4vw, 70px); }
.stats-full .stat:first-child { padding-inline-start: 0; }
.stats-full .stat b { font-size: clamp(44px, 5vw, 76px); }
.stats-full .stat > span { font-size: 17px; color: #fff; margin-top: 12px; }

/* Delivery principles (client design v2): eyebrow with trailing rule, soft wall photo top-end, bordered cards with a round arrow */
.principles-section { position: relative; isolation: isolate; overflow: hidden; }
.principles-wall { position: absolute; z-index: -1; top: 0; inset-inline-end: 0; width: 48%; height: clamp(300px, 26vw, 460px); background: url('assets/about/principles-wall.webp') right top / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%); mask-composite: intersect; opacity: .9; }
html[dir="rtl"] .principles-wall { transform: scaleX(-1); }
.principles-head { max-width: 820px; margin-bottom: clamp(36px, 3.4vw, 56px); }
.eyebrow-trail { display: inline-flex; align-items: center; gap: 18px; letter-spacing: .26em; margin-bottom: 22px; }
.eyebrow-trail::after { content: ''; width: 78px; height: 1px; background: currentColor; opacity: .7; }
html[dir="rtl"] .eyebrow-trail { letter-spacing: 0; font-size: 15px; }
.principles-head .section-title { font-size: clamp(40px, 4.8vw, 80px); }
.principles-head .copy { max-width: 760px; margin: 18px 0 0; }
.principles { grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1vw, 16px); border-top: 0; }
.principle, .principle:first-child, .principle:last-child { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.2vw, 36px) clamp(22px, 2.2vw, 36px) clamp(76px, 5.6vw, 92px); background: rgba(255, 255, 255, .55); border: 1px solid var(--border); color: var(--ink); transition: border-color .3s, background .3s; }
.principle:hover { border-color: var(--accent-soft); background: rgba(255, 255, 255, .8); }
.principle-num { display: flex; align-items: center; gap: 18px; }
.principle-num i { flex: 1; height: 1px; background: var(--accent-soft); }
.principle h3 { font-size: clamp(32px, 2.8vw, 46px); margin: 18px 0 10px; }
.principle p { font-size: 17px; max-width: 440px; }
.principle-photo { margin-top: auto; padding-top: 26px; overflow: hidden; }
.principle-photo img { display: block; width: 100%; height: clamp(190px, 15vw, 290px); object-fit: cover; transition: transform .9s var(--ease); }
.principle:hover .principle-photo img { transform: scale(1.03); }
.principle-arrow { position: absolute; inset-inline-end: clamp(22px, 2.2vw, 36px); bottom: clamp(22px, 1.8vw, 30px); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--charcoal); color: var(--charcoal); display: grid; place-items: center; font-size: 17px; transition: background .3s, color .3s; }
.principle:hover .principle-arrow, .principle:focus-visible .principle-arrow { background: var(--charcoal); color: #fff; }
@media (max-width: 1180px) { .principles-wall { width: 60%; opacity: .6; } }
@media (max-width: 740px) {
  .principles { grid-template-columns: 1fr; }
  .principles-wall { display: none; }
}

/* Why Clients Choose SLAB (client design): rule above title, large image, list rows with thumbnails */
.why-layout { grid-template-columns: .85fr 1.15fr; align-items: stretch; }
.why-rule { display: block; width: 70px; height: 1px; background: var(--ink); opacity: .6; margin-bottom: 34px; }
.why-intro { display: flex; flex-direction: column; }
.why-intro .section-title { font-size: clamp(38px, 4vw, 66px); }
.why-intro .copy { max-width: 560px; }
.why-intro .feature-image { margin-top: auto; padding-top: 36px; aspect-ratio: auto; overflow: hidden; background: transparent; }
.why-intro .feature-image img { display: block; width: 100%; aspect-ratio: 1.48; object-fit: cover; }
.why-list li { grid-template-columns: 52px 1fr clamp(150px, 15vw, 280px); gap: 16px; align-items: center; padding: 10px 0; }
.why-list li > span { align-self: start; padding-top: 22px; }
.why-list li > div { padding: 14px 0; }
.why-list h3 { font-size: clamp(20px, 1.6vw, 25px); }
.why-list p { font-size: 15px; }
.why-thumb { width: 100%; height: clamp(96px, 7.6vw, 128px); object-fit: cover; display: block; }
@media (max-width: 960px) { .why-layout { grid-template-columns: 1fr; } .why-intro .feature-image { margin-top: 0; padding-top: 28px; } .why-list { margin-top: 12px; } }
@media (max-width: 520px) { .why-list li { grid-template-columns: 34px 1fr 96px; gap: 12px; } .why-thumb { height: 72px; } .why-list p { font-size: 14px; } }

/* CTA banner (client design): warm photo, short rule, outline button; full width */
.cta-banner { min-height: clamp(380px, 30vw, 470px); background: #8a7560; }
.cta-banner .bg-image { background-position: right center; filter: saturate(.92); }
.cta-banner::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(92, 72, 52, .82) 0%, rgba(92, 72, 52, .55) 38%, rgba(60, 48, 36, .08) 70%); }
html[dir="rtl"] .cta-banner::before { background: linear-gradient(-90deg, rgba(92, 72, 52, .82) 0%, rgba(92, 72, 52, .55) 38%, rgba(60, 48, 36, .08) 70%); }
.cta-banner .content { z-index: 2; padding-inline: max(var(--gutter), calc((100vw - 1640px) / 2 + var(--gutter))); }
.cta-rule { display: block; width: 62px; height: 1px; background: #fff; opacity: .8; margin-bottom: 30px; }
.cta-banner h2 { font-size: clamp(40px, 4.4vw, 72px); line-height: 1.08; }
.cta-banner p { font-size: clamp(17px, 1.3vw, 21px); color: #fff; max-width: 520px; }
.cta-banner .outline-cta { padding: 16px 30px; font-size: 16px; gap: 16px; }

/* Footer (client design): five columns with vertical dividers */
.site-footer { padding-top: clamp(56px, 5vw, 80px); }
.footer-top { grid-template-columns: 1.1fr 1fr 1.25fr 1.15fr 1.25fr; gap: 0; }
.footer-top > * { padding-inline: clamp(18px, 2.6vw, 48px); border-inline-start: 1px solid #d6d3cc; }
.footer-top > :first-child { padding-inline-start: 0; border: 0; }
.footer-top > :last-child { padding-inline-end: 0; }
.footer-brand .logo { height: 96px; }
.footer-tag { font-size: 17px; margin: 18px 0 6px; color: #3d3e3a; }
.footer-part { font-size: 16px; color: #4a4945; margin: 0; }
.footer-col h2 { font-size: 17px; margin-bottom: 22px; }
.footer-col a, .footer-col span { font-size: 16px; line-height: 2.2; }
.footer-contact > a, .footer-contact > span { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--ink); line-height: 2.5; }
.footer-contact .icon { font-size: 18px; flex: none; }
.footer-contact > a .icon:last-child { margin-inline-start: 6px; }
.footer-contact > a span, .footer-contact > span span { display: inline; line-height: inherit; font-size: inherit; color: inherit; }
.footer-visual { margin: 0; }
.footer-visual img { display: block; width: 100%; aspect-ratio: 1.82; object-fit: cover; }
.footer-visual figcaption { display: flex; align-items: center; gap: 18px; justify-content: flex-end; margin-top: 22px; font-size: 14px; color: #3d3e3a; }
.footer-visual figcaption::before { content: ''; width: 56px; height: 1px; background: currentColor; opacity: .5; }
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; row-gap: 40px; }
  .footer-top > * { border: 0; padding-inline: 0 24px; }
  .footer-brand-wrap, .footer-visual { grid-column: span 3; }
  .footer-visual { max-width: 420px; }
  .footer-visual figcaption { justify-content: flex-start; }
}
@media (max-width: 740px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-wrap, .footer-visual, .footer-contact { grid-column: span 2; }
}

/* "Our Impact" section (client design) */
.impact { display: grid; grid-template-columns: .6fr 1fr; background: var(--paper); }
.impact-intro { position: relative; background-size: cover; background-position: center; color: #fff; display: flex; align-items: center; min-height: clamp(600px, 46vw, 860px); isolation: isolate; }
.impact-intro::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(28, 33, 37, .6) 0%, rgba(28, 33, 37, .32) 55%, rgba(28, 33, 37, .08) 100%); }
html[dir="rtl"] .impact-intro::before { background: linear-gradient(-90deg, rgba(28, 33, 37, .6) 0%, rgba(28, 33, 37, .32) 55%, rgba(28, 33, 37, .08) 100%); }
.impact-intro-copy { padding: 60px clamp(24px, 4vw, 80px); max-width: 600px; }
.eyebrow-rule { display: flex; align-items: center; gap: 18px; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 34px; }
.eyebrow-rule::before { content: ''; width: 54px; height: 1px; background: currentColor; opacity: .8; }
html[dir="rtl"] .eyebrow-rule { letter-spacing: 0; font-size: 16px; }
.impact-intro h2 { font-size: clamp(48px, 5vw, 92px); font-weight: 400; line-height: 1.04; letter-spacing: -.03em; margin: 0 0 28px; }
html[dir="rtl"] .impact-intro h2 { letter-spacing: 0; line-height: 1.3; }
.impact-intro p { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.6; margin: 0 0 36px; max-width: 420px; color: #f3eee8; }
.impact-intro .outline-cta { padding: 16px 26px; font-size: 16px; gap: 16px; border-width: 1.5px; }
.impact-main { display: grid; grid-template-rows: auto 1fr; }
.impact-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: clamp(36px, 3.6vw, 60px) clamp(16px, 2vw, 32px); }
.impact-stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 clamp(10px, 1.4vw, 24px); }
.impact-stat + .impact-stat { border-inline-start: 1px solid var(--border); }
.impact-icon { width: 68px; height: 68px; border-radius: 50%; background: #e9e1d6; color: var(--accent); display: grid; place-items: center; font-size: 30px; margin-bottom: 20px; }
.impact-icon .icon { stroke-width: 1.4; }
.impact-stat b { font-size: clamp(46px, 3.8vw, 70px); font-weight: 400; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.impact-stat > i { display: block; width: 34px; height: 2px; background: var(--accent); margin: 16px 0 18px; }
.impact-label { font-size: 18px; color: var(--ink); line-height: 1.4; margin-bottom: 12px; }
.impact-stat ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--muted); line-height: 1.9; }
.impact-stat li + li::before { content: '|'; margin: 0 9px; color: var(--subtle); }
/* City panorama: the three photos melt into one continuous skyline (overlapping soft edges, no dividers);
   names sit straight on the image over a light gradient, with a round arrow */
.impact-cities { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; overflow: hidden; background: #c9b7a6; isolation: isolate; }
.city-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(360px, 26vw, 500px); color: #fff; }
.city-photo { position: absolute; z-index: -2; top: 0; bottom: 0; inset-inline-start: -60px; width: calc(100% + 120px); max-width: none; height: 100%; object-fit: cover; object-position: center 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%); }
.city-card:first-child .city-photo { inset-inline-start: 0; width: calc(100% + 60px); }
.city-card:last-child .city-photo { width: calc(100% + 60px); }
html:not([dir="rtl"]) .city-card:first-child .city-photo, html[dir="rtl"] .city-card:last-child .city-photo { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 120px), transparent 100%); mask-image: linear-gradient(90deg, #000 calc(100% - 120px), transparent 100%); }
html:not([dir="rtl"]) .city-card:last-child .city-photo, html[dir="rtl"] .city-card:first-child .city-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 120px); mask-image: linear-gradient(90deg, transparent 0, #000 120px); }
html[dir="rtl"] .city-card:last-child .city-photo { inset-inline-start: -60px; }
html[dir="rtl"] .city-card:first-child .city-photo { inset-inline-start: 0; }
.impact-cities::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 24, 27, 0) 45%, rgba(20, 24, 27, .28) 70%, rgba(20, 24, 27, .62) 100%); }
.city-copy { padding: 0 clamp(80px, 6vw, 100px) clamp(30px, 2.6vw, 44px) clamp(22px, 2.2vw, 40px); text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
html[dir="rtl"] .city-copy { padding-inline: clamp(22px, 2.2vw, 40px) clamp(80px, 6vw, 100px); }
.city-copy h3 { font-size: clamp(28px, 2.2vw, 38px); font-weight: 400; margin: 0; }
.city-copy > i { display: block; width: 32px; height: 2px; background: var(--accent-soft); margin: 16px 0; }
.city-copy p { font-size: 16px; line-height: 1.6; color: #f1f1ef; margin: 0; }
.city-arrow { position: absolute; inset-inline-end: clamp(22px, 2.2vw, 36px); bottom: clamp(32px, 2.8vw, 46px); width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); display: grid; place-items: center; font-size: 20px; transition: background .3s, color .3s, transform .3s var(--ease); }
html[dir="rtl"] .city-arrow .icon { transform: scaleX(-1); }
.city-card:hover .city-arrow, .city-card:focus-visible .city-arrow { background: #fff; color: var(--ink); transform: translateX(4px); }
html[dir="rtl"] .city-card:hover .city-arrow { transform: translateX(-4px); }
@media (max-width: 1180px) {
  .impact { grid-template-columns: 1fr; }
  .impact-intro { min-height: 420px; }
  .impact-stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .impact-stat:nth-child(3) { border-inline-start: 0; }
}
@media (max-width: 640px) {
  .impact-cities { grid-template-columns: 1fr; }
  .city-photo, .city-card:first-child .city-photo, .city-card:last-child .city-photo { inset-inline-start: 0 !important; width: 100% !important; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%) !important; mask-image: linear-gradient(180deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%) !important; }
  .impact-cities::after { display: none; }
  .city-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 24, 27, 0) 40%, rgba(20, 24, 27, .6) 100%); }
  .impact-stat { padding: 0 8px; }
  .impact-stat b { font-size: 40px; }
  .impact-label { font-size: 16px; }
}
.impact-stat ul { font-size: 13px; }
.impact-stat li + li::before { margin: 0 7px; }
@media (max-width: 640px) {
  .impact-stat ul { flex-direction: column; align-items: center; white-space: normal; margin: 0; }
  .impact-stat li + li::before { content: none; }
}

/* Small uppercase link with a long rule before it (client design) */
.rule-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #5f5d58; padding-bottom: 8px; border-bottom: 1px solid currentColor; white-space: nowrap; position: relative; }
.rule-link::before { content: ''; position: absolute; inset-inline-end: calc(100% + 40px); top: 50%; width: clamp(80px, 22vw, 390px); height: 1px; background: #cfcbc3; }
html[dir="rtl"] .rule-link { letter-spacing: 0; font-size: 15px; }
.rule-link:hover { color: var(--ink); }

/* Sectors: four full-bleed photo cards with a dark caption band */
.sectors-band { padding-top: clamp(56px, 6vw, 96px); }
.sector-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.sector-card { position: relative; aspect-ratio: 1.46; overflow: hidden; color: #fff; background: #2a2927; }
.sector-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sector-card:hover > img { transform: scale(1.05); }
.sector-band { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); padding: 22px clamp(20px, 2.4vw, 40px) 26px; background: linear-gradient(180deg, rgba(30, 30, 30, .62), rgba(26, 26, 26, .86)); backdrop-filter: blur(2px); }
.sector-icon { flex: none; font-size: clamp(38px, 3vw, 50px); padding-inline-end: clamp(16px, 1.8vw, 28px); border-inline-end: 1px solid rgba(255, 255, 255, .45); align-self: stretch; display: flex; align-items: center; }
.sector-icon .icon { stroke-width: 1.2; }
.sector-num { font-size: 15px; opacity: .9; }
.sector-band h3 { font-size: clamp(22px, 1.8vw, 30px); font-weight: 400; margin: 4px 0 6px; }
.sector-band p { font-size: 15px; line-height: 1.55; margin: 0; color: #ece9e3; }
@media (max-width: 1180px) { .sector-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sector-cards { grid-template-columns: 1fr; } .sector-card { aspect-ratio: 1.15; } }

/* Seven-stage strip: numbered circles with icons on a connecting line */
.process-strip-section { padding-block: clamp(56px, 6vw, 96px); }
.process-strip { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; }
.process-strip li { position: relative; }
.process-strip li + li::before { content: ''; position: absolute; top: 65px; inset-inline-end: calc(50% + 40px); width: calc(100% - 80px); height: 1px; background: #c9b9a6; }
.process-strip a { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ps-num { font-size: 14px; color: var(--muted); letter-spacing: .08em; }
.ps-icon { width: 66px; height: 66px; border-radius: 50%; background: #e9e1d6; color: #4a4945; display: grid; place-items: center; font-size: 28px; transition: background .3s, color .3s, transform .35s var(--ease); }
.ps-icon .icon { stroke-width: 1.4; }
.ps-label { font-size: 17px; color: var(--ink); }
.process-strip a:hover .ps-icon { background: var(--navy); color: #fff; transform: translateY(-3px); }
@media (max-width: 900px) {
  .process-strip { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
  .process-strip li + li::before { display: none; }
  .rule-link::before { display: none; }
}
@media (max-width: 520px) { .process-strip { grid-template-columns: repeat(2, 1fr); } }

/* Technology Supporting Delivery (client design) */
.tech-section { position: relative; padding-block: clamp(60px, 6vw, 100px); background: #efece6; overflow: hidden; isolation: isolate; }
.eyebrow-line { display: flex; align-items: center; gap: 18px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #6a655d; }
.eyebrow-line::after { content: ''; width: 190px; height: 1px; background: #b9a58f; }
html[dir="rtl"] .eyebrow-line { letter-spacing: 0; font-size: 15px; }
.tech-head .section-title { margin: 18px 0 16px; }
.tech-head .copy { max-width: 760px; margin: 0; }
.tech-cards { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 4vw, 56px); }
.tech-card { display: flex; flex-direction: column; padding-inline: clamp(14px, 1.6vw, 28px); }
.tech-card:first-child { padding-inline-start: 0; }
.tech-card + .tech-card { border-inline-start: 1px solid #d6d1c8; }
.tech-top { display: flex; align-items: center; gap: 16px; }
.tech-num { font-size: 18px; color: #6a655d; }
.tech-icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid #6a655d; display: grid; place-items: center; font-size: 26px; flex: none; }
.tech-icon .icon { stroke-width: 1.4; }
.tech-top > i { flex: 1; height: 1px; background: #8f8a82; opacity: .6; }
.tech-card h3 { font-size: clamp(20px, 1.5vw, 24px); font-weight: 400; margin: 22px 0 10px; }
.tech-card p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 22px; }
.tech-photo { margin-top: auto; overflow: hidden; }
.tech-photo img { display: block; width: 100%; height: clamp(150px, 11vw, 210px); object-fit: cover; transition: transform .9s var(--ease); }
.tech-card:hover .tech-photo img { transform: scale(1.04); }
@media (max-width: 1180px) {
  .tech-cards { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .tech-card:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
}
@media (max-width: 600px) {
  .tech-cards { grid-template-columns: 1fr; }
  .tech-card, .tech-card + .tech-card { border: 0; padding-inline: 0; }
  .eyebrow-line::after { width: 60px; }
}

/* Footer v2 (client design): warm cream band in the site palette, four columns, bottom bar */
.site-footer { position: relative; background: var(--cream); border-top: 1px solid var(--border); padding-top: clamp(70px, 8vw, 150px); }
.footer-top { grid-template-columns: 1.25fr .95fr 1.15fr 1.2fr; max-width: none; }
.footer-top > :last-child { padding-inline-end: 0; }
.footer-brand .logo { height: 100px; }
.footer-rule { display: block; width: 64px; height: 1px; background: #b9b3a8; margin: 18px 0 14px; }
.footer-tag { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: #6a655d; margin: 0 0 14px; }
html[dir="rtl"] .footer-tag { letter-spacing: 0; font-size: 17px; }
.footer-about { font-size: 17px; line-height: 1.6; color: #6a655d; margin: 0; max-width: 300px; }
.footer-col h2 { font-size: 22px; font-weight: 400; margin-bottom: 26px; }
.footer-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; line-height: 1.4; padding: 10px 0; font-size: 17px; color: var(--ink); }
.footer-links a .icon { flex: none; color: var(--accent); transition: transform .3s var(--ease); }
.footer-links a:hover .icon { transform: translateX(4px); }
html[dir="rtl"] .footer-links a:hover .icon { transform: scaleX(-1) translateX(4px); }
.footer-contact > a, .footer-contact > span { line-height: 1.4; padding: 10px 0; }
.footer-contact > a .icon:last-child { margin-inline-start: 0; }
.footer-contact > .footer-cta { display: inline-flex; align-self: flex-start; gap: 18px; margin-top: 18px; padding: 16px 30px; background: var(--charcoal); color: #fff; transition: background .25s; }
.footer-contact > .footer-cta:hover { background: #000; }
.footer-contact { display: flex; flex-direction: column; }
.footer-bottom { margin-top: clamp(50px, 6vw, 90px); align-items: center; font-size: 15px; color: #5f5d58; }
.footer-legal { align-items: center; gap: 22px; }
.footer-legal a { color: var(--ink); }
.footer-social { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #8f8a82; display: grid; place-items: center; font-size: 20px; }
.footer-social:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.footer-sep { width: 1px; height: 34px; background: #cfcac1; }
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; row-gap: 44px; }
  .footer-brand-wrap { grid-column: 1 / -1; }
}
@media (max-width: 740px) {
  .footer-top { grid-template-columns: 1fr; row-gap: 36px; }
  .footer-top > * { border: 0; padding-inline: 0; }
  .footer-brand-wrap, .footer-contact { grid-column: auto; }
  .footer-about { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
}
.footer-legal .footer-social + .footer-social { margin-inline-start: -8px; }
.footer-social .social-fill { fill: currentColor; stroke: none; }

/* About sub-navigation: active section, hover underline, numbered items, reading progress */
.subnav { position: sticky; }
.subnav .container { gap: clamp(22px, 3vw, 48px); }
.subnav a { position: relative; display: inline-flex; align-items: baseline; gap: 10px; padding: 20px 0; font-size: 16px; color: var(--muted); transition: color .25s; }
.subnav a span { font-size: 12px; color: var(--subtle); letter-spacing: .08em; transition: color .25s; }
.subnav a::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
html[dir="rtl"] .subnav a::after { transform-origin: right; }
.subnav a:hover { color: var(--ink); }
.subnav a:hover::after { transform: scaleX(.4); }
.subnav a.active { color: var(--ink); }
.subnav a.active span { color: var(--accent); }
.subnav a.active::after { transform: scaleX(1); }
.subnav-progress { position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: var(--ink); opacity: .25; transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .15s linear; }
html[dir="rtl"] .subnav-progress { transform-origin: right; }

/* ---------- Icon system (client design): toned circle + partial arc accent ---------- */
.icon-ring { position: relative; background: var(--tone, #ece4dc); color: var(--tone-ink, #4a4038); border: 0; }
.icon-ring::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: color-mix(in srgb, var(--tone, #b8826a) 70%, #4a4038); border-right-color: color-mix(in srgb, var(--tone, #b8826a) 70%, #4a4038); transform: rotate(10deg); opacity: .75; transition: transform .6s var(--ease); pointer-events: none; }
.icon-ring .icon { stroke-width: 1.5; }
/* The arc orbits slowly around every icon circle; neighbours start at different angles so they never move in lockstep.
   Uses the individual `rotate` property so hover/active `transform` rotations still add on top. */
@keyframes ringOrbit { to { rotate: 360deg; } }
.icon-ring::after { animation: ringOrbit 9s linear infinite; }
:nth-child(2) > .icon-ring::after, :nth-child(2) > * > .icon-ring::after { animation-delay: -1.3s; }
:nth-child(3) > .icon-ring::after, :nth-child(3) > * > .icon-ring::after { animation-delay: -2.6s; }
:nth-child(4) > .icon-ring::after, :nth-child(4) > * > .icon-ring::after { animation-delay: -3.9s; }
:nth-child(5) > .icon-ring::after, :nth-child(5) > * > .icon-ring::after { animation-delay: -5.2s; }
:nth-child(6) > .icon-ring::after, :nth-child(6) > * > .icon-ring::after { animation-delay: -6.5s; }
:nth-child(7) > .icon-ring::after, :nth-child(7) > * > .icon-ring::after { animation-delay: -7.8s; }
@media (prefers-reduced-motion: reduce) { .icon-ring::after { animation: none; } }


/* Seven-stage strip */
.process-strip { margin-top: 26px; }
.ps-num { font-size: 22px; font-weight: 500; color: color-mix(in srgb, var(--tone) 55%, #4a4038); letter-spacing: 0; }
.ps-icon { width: 92px; height: 92px; font-size: 40px; background: var(--tone); color: var(--tone-ink); }
.process-strip li + li::before { top: 92px; inset-inline-end: calc(50% + 58px); width: calc(100% - 116px); background: color-mix(in srgb, var(--tone) 60%, #6a5f55); }
.process-strip li + li::after { content: ''; position: absolute; top: 88px; inset-inline-end: calc(50% + 54px); width: 9px; height: 9px; border-radius: 50%; background: #5a4f45; }
.ps-label { font-size: 20px; font-weight: 500; }
.ps-dash { display: block; width: 34px; height: 1.5px; background: color-mix(in srgb, var(--tone) 50%, #4a4038); margin-top: 6px; }
.process-strip a:hover .ps-icon { background: var(--tone); color: var(--tone-ink); transform: translateY(-4px); }
.process-strip a:hover .icon-ring::after { transform: rotate(130deg); }
@media (max-width: 900px) { .process-strip li + li::after { display: none; } .ps-icon { width: 76px; height: 76px; font-size: 32px; } }

/* Process page stepper: icon circles in stage tones */
.process-step { align-items: center; text-align: center; }
html[dir="rtl"] .process-step { padding: 0; }
.step-num { font-size: 18px; font-weight: 500; color: #8a7a6a; margin-bottom: 12px; }
.step-circle { width: 74px; height: 74px; font-size: 32px; margin-bottom: 22px; }
.process-step:hover .step-circle { transform: translateY(-3px); border: 0; }
.process-step .step-circle::after { opacity: .3; }
.process-step.active .step-circle { background: var(--tone); color: var(--tone-ink); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px #4a4038; }
.process-step.active .step-circle::after { opacity: 1; transform: rotate(130deg); }
.process-step.done .step-circle { border: 0; color: var(--tone-ink); }
.process-track::before, .process-progress { top: calc(18px * 1.5 + 12px + 37px); inset-inline: calc(100% / 14); }
@media (max-width: 960px) {
  .step-num { display: none; }
  .step-circle { width: 42px; height: 42px; font-size: 19px; margin-bottom: 0; }
  .step-circle::after { inset: -5px; }
  .process-track::before, .process-progress { top: 21px; }
}

/* Impact stats: larger beige circles, detailed icons */
.impact-icon { width: 84px; height: 84px; font-size: 44px; background: #ece4dc; color: #6a5244; }
.impact-icon .icon { stroke-width: 1.3; }

/* Technology cards */
.tech-icon { width: 70px; height: 70px; font-size: 30px; }

/* Project type tag on cards; optional-field marker */
.project-card .photo { position: relative; }
.card-tag { position: absolute; top: 14px; inset-inline-start: 14px; padding: 6px 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: rgba(246, 245, 242, .9); backdrop-filter: blur(4px); }
html[dir="rtl"] .card-tag { letter-spacing: 0; font-size: 14px; }
.field label .optional { font-weight: 400; color: var(--subtle); font-size: .9em; }

/* Footer: discreet admin sign-in link */
.footer-legal .admin-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.footer-legal .admin-link .icon { font-size: 15px; }
.footer-legal .admin-link:hover { color: var(--ink); }

/* Enquiry form: photo picker (native file input kept for keyboard and screen readers, visually replaced) */
.file-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 6px 0 12px; border-bottom: 1px solid var(--border); position: relative; }
.file-pick input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--ink); cursor: pointer; font-size: 15px; transition: background .2s, color .2s; }
.file-btn:hover { background: var(--ink); color: #fff; }
.file-pick input[type=file]:focus-visible + .file-btn { outline: 2px solid var(--accent); outline-offset: 3px; }
.file-names { color: var(--muted); font-size: 15px; }
.project-meta .meta-progress { display: block; height: 4px; margin-top: 10px; background: var(--sand); }
.project-meta .meta-progress i { display: block; height: 100%; background: var(--sage-deep); }
