/* AUJ — site.css
   Visual language follows the AUJ Master Pack site: paper / ink / graphite,
   serif display type, sans body, hairline grids, generous whitespace.
   Logical properties are used so an Arabic (RTL) version can be added later. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 650;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --paper: #F6F3EE;
  --stone: #EDE8E0;
  --line: #D8D2C8;
  --ink: #171717;
  --ink-2: #45413C;
  --muted: #6B6862;
  --graphite: #20221F;
  --graphite-2: #2A2C29;
  --sand: #CBC5BB;
  --sand-2: #9C968C;

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1420px;
  --gut: clamp(22px, 3.5vw, 48px);
  --sec: clamp(64px, 7.5vw, 108px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark :focus-visible, .site-footer :focus-visible, .cta-final :focus-visible { outline-color: var(--paper); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- type ---------- */
.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.dark .eyebrow, .cta-final .eyebrow { color: var(--sand-2); }
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.h1 { font-size: clamp(3.3rem, 7vw, 7rem); letter-spacing: -0.045em; line-height: 1; }
.h2 { font-size: clamp(2.5rem, 4.6vw, 4.6rem); }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.8vw, 1.9rem); line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.0625rem, 0.4vw + 0.95rem, 1.2rem); color: var(--ink-2); max-width: 34em; }
.dark .lead, .cta-final .lead { color: var(--sand); }
.copy { color: var(--ink-2); max-width: 40em; }
.dark .copy { color: var(--sand); }
.copy p + p, .lead + .lead { margin-top: 1em; }
.label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.small { font-size: 0.9rem; color: var(--muted); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 15px 22px;
  border: 1px solid currentColor;
  text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.6875rem; font-weight: 500;
  line-height: 1;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.dark .btn:hover, .cta-final .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dark .btn--solid, .cta-final .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dark .btn--solid:hover, .cta-final .btn--solid:hover { background: transparent; color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.link {
  display: inline-flex; align-items: center; gap: 0.5em;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.6875rem; font-weight: 500;
  padding-bottom: 6px; border-bottom: 1px solid var(--line);
  transition: border-color .25s var(--ease);
}
.link:hover { border-color: currentColor; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: rgba(246, 243, 238, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-block; text-decoration: none; line-height: 0; }
.brand__logo { height: 36px; width: auto; display: block; }
.brand__logo--footer { height: 108px; }
.footer-tag { margin-top: 18px; font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sand-2); }
.brand__mark { font-family: var(--serif); font-size: 2.7rem; letter-spacing: 0.18em; }
.brand__tag { display: block; font-size: 0.48rem; letter-spacing: 0.26em; text-transform: uppercase; margin-top: 9px; color: var(--muted); font-weight: 500; }
.site-footer .brand__mark { font-size: 3rem; }
.site-footer .brand__tag { font-size: 0.5rem; margin-top: 12px; color: var(--sand-2); }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__wa { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: border-color .2s; }
.nav__wa:hover { border-color: var(--ink); }
.nav__wa svg { width: 20px; height: 20px; }
.nav__links a.nav__wa { padding: 0; border-bottom: 0; }
.nav__links a { text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.6875rem; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.nav__links .btn { margin-inline-start: 12px; padding: 15px 22px; border-bottom: 1px solid var(--ink); color: var(--paper); }
.nav__links .btn:hover { color: var(--ink); border-color: var(--ink); background: transparent; }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); padding: 12px 16px; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.6875rem; font-weight: 500; cursor: pointer; }
.mobile-menu { display: none; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 35;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--graphite); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; }
.wa-float svg { width: 24px; height: 24px; }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * 0.6); }
.sec--flush-top { padding-top: 0; }
.dark { background: var(--graphite); color: var(--paper); }
.stone { background: var(--stone); }
.hairline { border-top: 1px solid var(--line); }
.dark.hairline { border-top-color: rgba(255, 255, 255, 0.12); }

.head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.head .display { margin-top: 12px; }
.head--single { grid-template-columns: 1fr; }
.head .lead { justify-self: start; }

/* ---------- picture helper ---------- */
.pic { position: relative; overflow: hidden; background: var(--stone); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic--3x2 { aspect-ratio: 3 / 2; }
.pic--4x3 { aspect-ratio: 4 / 3; }
.pic--3x4 { aspect-ratio: 3 / 4; }
.pic--1x1 { aspect-ratio: 1 / 1; }
.pic--wide { aspect-ratio: 21 / 9; }
.pic--tall { aspect-ratio: 4 / 5; }

/* ---------- hero (home) ---------- */
.hero { display: grid; grid-template-columns: 43fr 57fr; min-height: min(760px, calc(100vh - var(--header-h))); }
.hero__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(56px, 7vw, 96px) clamp(32px, 4.5vw, 72px) clamp(56px, 7vw, 96px) max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
}
.hero__copy .display { margin: 24px 0 32px; max-width: 8.5em; }
.hero__media { position: relative; min-height: 560px; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: heroIn 1.1s var(--ease) both; }
  .hero__copy > * { animation: fadeUp .8s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- service strip ---------- */
.strip { border-block: 1px solid var(--line); }
.strip__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.strip__grid a {
  display: block; padding: 28px 22px; text-decoration: none;
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  border-inline-start: 1px solid var(--line);
  transition: background-color .2s;
}
.strip__grid a:first-child { border-inline-start: 0; padding-inline-start: 0; }
.strip__grid a:hover { color: var(--muted); }

/* ---------- split (text / image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev > .split__media { order: -1; }
.split__copy .display { margin: 14px 0 26px; }
.split__copy .link { margin-top: 1.8rem; }

/* ---------- projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project { display: block; text-decoration: none; }
.project .pic { aspect-ratio: 4 / 5; }
.project img { transition: transform .8s var(--ease); }
.project:hover img { transform: scale(1.025); }
.project__meta { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 16px; }
.project__meta .h3 { font-size: 1.35rem; }
.project__meta .small { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.6875rem; }

/* ---------- construction proof ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.proof--6 { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.proof--6 .pic { aspect-ratio: 3 / 4; }
.proof--6 figcaption { gap: 10px; }
.proof--6 figcaption .label { font-size: 0.6875rem; letter-spacing: 0.12em; }
.proof figure { margin: 0; }
.proof .pic { aspect-ratio: 3 / 4; }
.proof figcaption { padding-top: 14px; display: flex; gap: 14px; align-items: baseline; }
.proof figcaption .num { font-family: var(--serif); color: var(--sand-2); font-size: 1rem; }
.proof__note { margin-top: clamp(32px, 4vw, 48px); max-width: 44em; color: var(--ink-2); font-size: 1.1rem; line-height: 1.55; }

/* ---------- complete delivery ---------- */
.delivery { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: clamp(40px, 5vw, 64px); }
.delivery > div { padding: 34px 28px 40px 0; border-inline-end: 1px solid rgba(255, 255, 255, 0.14); margin-inline-end: 28px; }
.delivery > div:last-child { border-inline-end: 0; margin-inline-end: 0; }
.delivery .label { color: var(--paper); display: block; margin-bottom: 36px; font-size: 0.8rem; letter-spacing: 0.16em; }
.delivery p { color: var(--sand); font-size: 1.05rem; }
.delivery__close { margin-top: clamp(36px, 5vw, 56px); font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.2; max-width: 22em; }

/* ---------- villa feature ---------- */
.feature .pic { aspect-ratio: 2 / 1; }
.feature__copy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: clamp(32px, 4vw, 48px); }
.feature__copy .display { margin-top: 12px; }
.feature__copy .lead { padding-top: 10px; }
.feature__copy .link { margin-top: 1.8rem; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.step { padding: 32px 26px 40px 0; border-inline-end: 1px solid var(--line); margin-inline-end: 26px; }
.step:last-child { border-inline-end: 0; margin-inline-end: 0; }
.step__num { font-family: var(--serif); font-size: 3.4rem; color: var(--sand-2); letter-spacing: -0.03em; line-height: 1; }
.step__title { padding-top: 56px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.step p { margin-top: 12px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; }

.process .steps { padding-top: 8px; }
.step__title { font-size: 0.8rem; }

/* ---------- full-width construction break ---------- */
.break { margin: 0; }
.break .pic { aspect-ratio: 3 / 1; }
.break img { object-position: 0 50%; }
.break figcaption { padding: 14px var(--gut) 0; }

/* ---------- during / after pair ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair figure { margin: 0; }
.pair .pic { aspect-ratio: 4 / 3; }
.pair figcaption { padding-top: 12px; }
img[src*="19-private-residence"] { object-position: 50% 62%; }
.feature img[src*="17-classical-villa-construction"] { object-position: 50% 42%; }

/* ---------- 50/50 split ---------- */
.split--even { grid-template-columns: 1fr 1fr; }

/* ---------- enquiry bar ---------- */
.enquiry { border-top: 1px solid var(--line); background: var(--stone); }
.enquiry__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 26px; flex-wrap: wrap; }
.enquiry .h3 { font-size: 1.35rem; }

/* ---------- image-free dark CTA ---------- */
.cta-dark { padding-block: clamp(88px, 11vw, 150px); }
.cta-dark__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.cta-dark .display { margin-top: 14px; font-size: clamp(2.8rem, 5.4vw, 5.4rem); }
.cta-dark .lead { max-width: 30em; }

/* ---------- craftsmanship ---------- */
.craft { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.craft figure { margin: 0; }
.craft .pic { aspect-ratio: 3 / 4; }
.craft figcaption { padding-top: 14px; }

/* ---------- why AUJ ---------- */
.why { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__list { border-top: 1px solid var(--line); }
.why__list li { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.why__list .label { padding-top: 3px; }
.why__list p { color: var(--ink-2); max-width: 34em; font-size: 1.05rem; }
.why__intro .display { margin-top: 12px; }

/* ---------- renovations ---------- */
.reno { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.reno .display { margin-top: 12px; }
.reno .link { margin-top: 1.8rem; }

/* ---------- final CTA ---------- */
.cta-final { position: relative; color: var(--paper); overflow: hidden; }
.cta-final .pic { position: absolute; inset: 0; }
.cta-final .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 23, 23, .78) 0%, rgba(23, 23, 23, .55) 60%, rgba(23, 23, 23, .35) 100%); }
.cta-final .pic img { width: 100%; height: 100%; object-fit: cover; }
.cta-final__inner { position: relative; padding-block: clamp(96px, 12vw, 176px); max-width: 640px; }
.cta-final__inner .display { margin: 14px 0 24px; }

/* ---------- footer ---------- */
.site-footer { background: #111; color: var(--sand); padding-block: clamp(56px, 7vw, 88px) 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand-2); font-weight: 500; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: 0.95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; color: var(--sand-2); }
.footer-brand p { margin-top: 22px; max-width: 30em; font-size: 0.95rem; }

/* ---------- sub-page hero ---------- */
.page-hero { padding-block: clamp(64px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.page-hero .display { margin: 16px 0 26px; max-width: none; }
.page-hero .h1 { font-size: clamp(2.8rem, 4.6vw, 4.15rem); line-height: 1.06; }
.page-hero--stack .lead { max-width: 44em; }
.page-hero--stack .copy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 8px; max-width: 72em; }
.page-hero--stack .copy .lead { margin-top: 0; }
.page-hero .lead { max-width: 38em; }
.page-hero--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.page-hero--split .lead { padding-bottom: 6px; }

/* ---------- services rows ---------- */
.svc { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 32px; padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); align-items: start; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__num { font-family: var(--serif); font-size: 1.4rem; color: var(--sand-2); }
.svc .h3 { font-size: clamp(1.7rem, 2.4vw, 2.4rem); }
.svc__body p { color: var(--ink-2); max-width: 40em; }
.svc__body .link { margin-top: 1.4rem; }

/* ---------- generic hairline grid (types, scope, control) ---------- */
.cols { display: grid; border-top: 1px solid var(--line); }
.cols--2 { grid-template-columns: repeat(2, 1fr); }
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols--4 { grid-template-columns: repeat(4, 1fr); }
.cols > * { padding: 30px 26px 36px 0; border-inline-end: 1px solid var(--line); margin-inline-end: 26px; }
.cols > *:last-child, .cols--2 > *:nth-child(2n), .cols--3 > *:nth-child(3n), .cols--4 > *:nth-child(4n) { border-inline-end: 0; margin-inline-end: 0; }
.cols--2 > *:nth-child(n+3), .cols--3 > *:nth-child(n+4), .cols--4 > *:nth-child(n+5) { border-top: 1px solid var(--line); }
.cols .h3 { margin-bottom: 14px; }
.cols .label { display: block; margin-bottom: 14px; }
.cols p { color: var(--ink-2); font-size: 0.98rem; }
.dark .cols { border-top-color: rgba(255, 255, 255, 0.14); }
.dark .cols > * { border-color: rgba(255, 255, 255, 0.14); }
.dark .cols p { color: var(--sand); }

/* ---------- process page rows ---------- */
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.stage--rev .stage__media { order: -1; }
.stage__num { font-family: var(--serif); font-size: 3rem; color: var(--sand-2); line-height: 1; letter-spacing: -0.03em; }
.stage .h3 { margin: 18px 0 16px; font-size: clamp(1.8rem, 2.6vw, 2.6rem); }
.stage p { color: var(--ink-2); max-width: 36em; }
.stage ul { margin-top: 20px; }
.stage ul li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-2); }
.stage ul li:last-child { border-bottom: 1px solid var(--line); }
.stage__media .pic { aspect-ratio: 4 / 3; }
.stage__media .pic--tall { aspect-ratio: 4 / 5; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--muted); font-size: 1.3rem; flex: 0 0 auto; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 26px; color: var(--ink-2); max-width: 44em; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__aside .direct { border-top: 1px solid var(--line); margin-top: 32px; }
.contact__aside .direct li { border-bottom: 1px solid var(--line); }
.contact__aside .direct a, .contact__aside .direct span { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.01em; }
.contact__aside .direct .label { font-family: var(--sans); color: var(--muted); }
.contact__aside .btn { margin-top: 28px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  padding: 12px 0; font-size: 1.05rem; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23171717' stroke-width='1.4'/></svg>"); background-repeat: no-repeat; background-position: right center; padding-inline-end: 24px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; }
.field [aria-invalid="true"] { border-bottom-color: #9B2C2C; }
.field .err { font-size: 0.85rem; color: #9B2C2C; min-height: 1em; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.upload { border: 1px dashed var(--line); padding: 22px; display: grid; gap: 8px; }
.upload input { border: 0; padding: 0; font-size: 0.95rem; }
.form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form__actions .small { max-width: 32em; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ---------- misc ---------- */
.statement { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.1; max-width: 16em; }
.photo-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.photo-pair .pic { aspect-ratio: 4 / 3; }
.photo-pair .pic--tall { aspect-ratio: 4 / 5; }
.photo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-trio .pic { aspect-ratio: 3 / 4; }
.mt-lg { margin-top: clamp(40px, 5vw, 64px); }
.mt-md { margin-top: clamp(24px, 3vw, 36px); }

/* ============================================================
   Responsive — tablet
   ============================================================ */
@media (max-width: 1100px) {
  .proof, .craft { grid-template-columns: repeat(2, 1fr); }
  .proof--6 { grid-template-columns: repeat(3, 1fr); }
  .delivery { grid-template-columns: repeat(2, 1fr); }
  .delivery > div:nth-child(2n) { border-inline-end: 0; margin-inline-end: 0; }
  .delivery > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { min-height: 0; }
  .step:nth-child(3n) { border-inline-end: 0; margin-inline-end: 0; }
  .step:nth-child(n+4) { border-top: 1px solid var(--line); }
  .cols--4 { grid-template-columns: repeat(2, 1fr); }
  .cols--4 > *:nth-child(2n) { border-inline-end: 0; margin-inline-end: 0; }
  .cols--4 > *:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why__list li { grid-template-columns: 190px 1fr; }
}

/* ============================================================
   Responsive — mobile
   ============================================================ */
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav__links { display: none; }
  .menu-btn { display: inline-flex; }
  .brand__logo { height: 30px; }
  .brand__tag { font-size: 0.36rem; margin-top: 7px; }

  .mobile-menu {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
    background: var(--paper); padding: 28px var(--gut) 40px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
    overflow-y: auto;
  }
  .mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .mobile-menu a.nav-item { display: block; font-family: var(--serif); font-size: 2rem; letter-spacing: -0.02em; text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu a.nav-item[aria-current="page"] { color: var(--muted); }
  .mobile-menu .btn-row { margin-top: 28px; }
  .mobile-menu .btn { padding: 16px 20px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { order: 2; padding: 44px var(--gut) 56px; }
  .hero__copy .display { max-width: none; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
  .h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
  .h2 { font-size: clamp(2.1rem, 8.5vw, 3rem); }

  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__grid a { padding: 18px 16px; border-inline-start: 0; border-top: 1px solid var(--line); }
  .strip__grid a:nth-child(-n+2) { border-top: 0; }
  .strip__grid a:nth-child(2n) { border-inline-start: 1px solid var(--line); }
  .strip__grid a:first-child { padding-inline-start: 0; }
  .strip__grid a:nth-child(odd) { padding-inline-start: 0; }
  .strip__grid a:nth-child(5) { grid-column: 1 / -1; }

  .head, .split, .split--even, .feature__copy, .why, .reno, .page-hero--split, .contact, .stage, .cta-dark__inner, .page-hero--stack .copy { grid-template-columns: 1fr; }
  .break .pic { aspect-ratio: 16 / 10; }
  .pair { grid-template-columns: 1fr; gap: 20px; }
  .enquiry__inner { padding-block: 22px; }
  .split { gap: 32px; }
  .split--rev > .split__media, .stage--rev .stage__media { order: 0; }
  .projects { grid-template-columns: 1fr; gap: 28px; }
  .project .pic { aspect-ratio: 4 / 3; }
  .proof { gap: 12px; }
  .proof .pic, .proof--6 .pic { aspect-ratio: 1 / 1; }
  .proof--6 { grid-template-columns: repeat(2, 1fr); }
  .delivery { grid-template-columns: 1fr; }
  .delivery > div { border-inline-end: 0; margin-inline-end: 0; padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .delivery > div:first-child { border-top: 0; }
  .delivery .label { margin-bottom: 14px; }
  .feature .pic { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .steps { border-top: 0; position: relative; padding-inline-start: 34px; }
  .steps::before { content: ""; position: absolute; top: 12px; bottom: 12px; inset-inline-start: 7px; width: 1px; background: var(--line); }
  .step { border-inline-end: 0; margin-inline-end: 0; border-top: 0; padding: 0 0 30px; display: block; position: relative; }
  .step::before { content: ""; position: absolute; inset-inline-start: -31px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
  .step:last-child { padding-bottom: 0; }
  .step__num { font-size: 1.6rem; }
  .step__title { padding-top: 0; }
  .step p { margin-top: 6px; }
  .craft { grid-template-columns: 1fr 1fr; gap: 12px; }
  .craft .pic { aspect-ratio: 3 / 4; }
  .craft figcaption { padding-top: 10px; font-size: 0.6875rem; }
  .why__list li { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .cta-final .pic::after { background: rgba(23, 23, 23, .68); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc { grid-template-columns: 1fr; gap: 12px; }
  .svc__num { font-size: 1.1rem; }
  .cols--2, .cols--3, .cols--4 { grid-template-columns: 1fr; }
  .cols > * { border-inline-end: 0; margin-inline-end: 0; padding: 22px 0 26px; border-top: 1px solid var(--line); }
  .cols > *:first-child { border-top: 0; }
  .form { grid-template-columns: 1fr; }
  .photo-pair, .photo-trio { grid-template-columns: 1fr 1fr; }
  .photo-pair .pic, .photo-pair .pic--tall { aspect-ratio: 3 / 4; }
  .photo-trio .pic { aspect-ratio: 3 / 4; }
  .photo-trio .pic:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .wa-float { inset-inline-end: 16px; bottom: 16px; width: 56px; height: 56px; }
  .page-hero .display { max-width: none; }
  .stage__media .pic, .stage__media .pic--tall { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* HOME-06 structure photo: anchor crop on the structure, not the sky */
img[src*="06-construction-structure"] { object-position: 50% 45%; }

img[src*="07-construction-waterproofing"] { object-position: 50% 70%; }

img[src*="12-kitchens-joinery"] { object-position: 62% 50%; }

img[src*="11-living-spaces"] { object-position: 50% 60%; }

img[src*="04-project-02"] { object-position: 50% 40%; }

/* ============================================================
   Arabic (RTL) version — /ar/
   ============================================================ */
@font-face { font-family: "Plex 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+FB50-FDFF, U+FE70-FEFC, U+200C-200E, U+2010-2011; }
@font-face { font-family: "Plex 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+FB50-FDFF, U+FE70-FEFC, U+200C-200E, U+2010-2011; }
@font-face { font-family: "Plex Arabic"; src: url("/assets/fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E, U+2010-2011; }

html[dir="rtl"] { --sans: "Plex Arabic", "Archivo", "Helvetica Neue", Arial, sans-serif; --serif: "Plex Arabic", "Archivo", Arial, sans-serif; }
html[dir="rtl"] body { line-height: 1.75; font-size: 1.125rem; }

/* Arabic display type: no letter-spacing (it breaks joined letters), more line-height, slightly smaller */
html[dir="rtl"] .display { font-weight: 500; letter-spacing: 0; line-height: 1.22; }
html[dir="rtl"] .h1 { font-size: clamp(3rem, 4.6vw, 4.6rem); letter-spacing: 0; line-height: 1.18; }
html[dir="rtl"] .h2 { font-size: clamp(2.5rem, 4.6vw, 4.6rem); }
html[dir="rtl"] .h3 { font-weight: 500; letter-spacing: 0; line-height: 1.35; font-size: clamp(1.6rem, 1.9vw, 2rem); }
html[dir="rtl"] .statement, html[dir="rtl"] .delivery__close { letter-spacing: 0; line-height: 1.45; font-weight: 500; }
html[dir="rtl"] .cta-dark .display { font-size: clamp(2.8rem, 5.4vw, 5.4rem); }
html[dir="rtl"] .lead { font-size: clamp(1.15rem, 0.4vw + 1rem, 1.3rem); }
html[dir="rtl"] .copy, html[dir="rtl"] .why__list p, html[dir="rtl"] .cols p, html[dir="rtl"] .delivery p, html[dir="rtl"] .svc__body p, html[dir="rtl"] .stage p, html[dir="rtl"] .faq details > div, html[dir="rtl"] .proof__note { font-size: 1.1rem; }
html[dir="rtl"] .step p { font-size: 1.08rem; }
html[dir="rtl"] .stage ul li { font-size: 1.02rem; }
html[dir="rtl"] .faq summary { font-size: 1.4rem; }
html[dir="rtl"] .enquiry .h3 { font-size: 1.45rem; }
html[dir="rtl"] .hero__copy .display { max-width: none; }
html[dir="rtl"] .page-hero .display { max-width: none; }
html[dir="rtl"] .page-hero .h1 { font-size: clamp(2.6rem, 4.2vw, 4rem); }

/* tracked uppercase labels -> plain Arabic */
html[dir="rtl"] .eyebrow, html[dir="rtl"] .label, html[dir="rtl"] .btn, html[dir="rtl"] .link,
html[dir="rtl"] .nav__links a, html[dir="rtl"] .menu-btn, html[dir="rtl"] .strip__grid a,
html[dir="rtl"] .step__title, html[dir="rtl"] .site-footer h2, html[dir="rtl"] .field label,
html[dir="rtl"] .project__meta .small, html[dir="rtl"] .footer-tag, html[dir="rtl"] .contact__aside .direct .label,
html[dir="rtl"] .proof figcaption .label, html[dir="rtl"] .craft figcaption, html[dir="rtl"] .pair figcaption {
  letter-spacing: 0; text-transform: none;
}
html[dir="rtl"] .eyebrow { font-size: 0.95rem; }
html[dir="rtl"] .label, html[dir="rtl"] .step__title, html[dir="rtl"] .field label, html[dir="rtl"] .site-footer h2 { font-size: 1.05rem; font-weight: 600; }
html[dir="rtl"] .btn, html[dir="rtl"] .link, html[dir="rtl"] .nav__links a, html[dir="rtl"] .menu-btn, html[dir="rtl"] .strip__grid a { font-size: 1rem; font-weight: 500; }
html[dir="rtl"] .project__meta .small, html[dir="rtl"] .craft figcaption, html[dir="rtl"] .proof figcaption .label { font-size: 0.95rem; }
html[dir="rtl"] .site-footer li { font-size: 1.05rem; }
html[dir="rtl"] .footer-bottom { font-size: 0.9rem; }
html[dir="rtl"] .mobile-menu a.nav-item { letter-spacing: 0; font-size: 1.6rem; font-weight: 500; }
html[dir="rtl"] .faq summary { letter-spacing: 0; font-weight: 500; }
html[dir="rtl"] .svc__num, html[dir="rtl"] .step__num, html[dir="rtl"] .stage__num, html[dir="rtl"] .proof figcaption .num { font-family: "Archivo", Georgia, serif; }

/* physical paddings that were written LTR-first */
html[dir="rtl"] .hero__copy { padding: clamp(56px, 7vw, 96px) max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) clamp(56px, 7vw, 96px) clamp(28px, 2.6vw, 40px); }
html[dir="rtl"] .step { padding: 32px 0 40px 26px; }
html[dir="rtl"] .cols > * { padding: 30px 0 36px 26px; }
html[dir="rtl"] .delivery > div { padding: 34px 0 40px 28px; }
html[dir="rtl"] .field select { background-position: left center; }
html[dir="rtl"] .break img { object-position: 100% 50%; }

/* keep numbers, phones, emails, handles and the wordmark LTR inside RTL text */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* language switcher */
.lang { display: inline-flex; align-items: center; gap: 8px; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; margin-inline-start: 12px; }
.lang a { text-decoration: none; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; }
.lang a[aria-current="true"] { color: var(--ink); border-color: var(--ink); }
.lang a:hover { color: var(--ink); }
.lang span { color: var(--line); }
.lang .ar { font-family: "Plex Arabic", Arial, sans-serif; letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.mobile-menu .lang { margin: 24px 0 0; font-size: 0.8rem; }
.mobile-menu .lang .ar { font-size: 1.05rem; }

@media (max-width: 960px) {
  html[dir="rtl"] .hero__copy { padding: 44px var(--gut) 56px; }
  html[dir="rtl"] .step { padding: 0 0 30px; }
  html[dir="rtl"] .cols > * { padding: 22px 0 26px; }
  html[dir="rtl"] .delivery > div { padding: 24px 0 28px; }
  html[dir="rtl"] .h1 { font-size: clamp(2.5rem, 10.5vw, 3.8rem); }
  html[dir="rtl"] .h2 { font-size: clamp(2rem, 8.2vw, 2.9rem); }
  html[dir="rtl"] .steps::before { inset-inline-start: 7px; }
}
