@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("assets/fonts/NotoSansArabic-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-english: "Manrope", Arial, sans-serif;
  --font-arabic: "Noto Sans Arabic", Tahoma, sans-serif;
  --font-content: var(--font-english);
  --ivory: #f6f4ef;
  --paper: #fcfbf8;
  --footer-background: #ebe7df;
  --charcoal: #1d1d1b;
  --stone: #d8d2c8;
  --bronze: #77624d;
  --muted: #696760;
  --line: #d6d2ca;
  --page-pad: clamp(24px, 5.4vw, 90px);
  --header-height: 82px;
  --underline-offset: 5px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
/* Section links jump directly; manual scrolling still drives the reveal animations. */
html { scroll-behavior: auto; scroll-padding-top: var(--header-height); }
html[dir="rtl"] { --font-content: var(--font-arabic); }
body { margin: 0; color: var(--charcoal); background: var(--paper); font-family: var(--font-content); -webkit-font-smoothing: antialiased; }
/* Preserve the supplied wordmark lettering while changing website typography. */
.brand-name { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
a, button, summary, .featured-project-caption :is(h2, h3) { text-underline-offset: var(--underline-offset); text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; }
::selection { background: #ccb99f; color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 1000; top: 12px; inset-inline-start: 12px; padding: 12px 18px; background: var(--charcoal); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-height); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding-inline: var(--page-pad); background: rgba(252,251,248,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; min-width: 0; }
.brand-mark { display: block; position: relative; overflow: hidden; width: 35px; height: 35px; border: 1px solid var(--charcoal); flex: 0 0 35px; background: white; }
.brand-mark img { position: absolute; width: 87px; max-width: none; height: auto; inset-block-start: -34px; inset-inline-start: -26px; }
.brand-name { display: flex; flex-direction: column; line-height: .9; gap: 6px; }
.brand-name strong { font-size: 20px; letter-spacing: .14em; font-weight: 700; }
.brand-name small { font-size: 8px; letter-spacing: .29em; font-weight: 600; color: var(--bronze); }
.site-nav { display: flex; justify-content: center; align-items: center; gap: clamp(17px, 2.2vw, 38px); white-space: nowrap; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; font-size: 15px; font-weight: 500; line-height: 1.4; transition: color .25s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--bronze); }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current] { text-decoration-line: underline; }
.language-toggle { justify-self: end; border: 1px solid var(--line); background: transparent; min-height: 38px; padding: 6px 12px; cursor: pointer; font-size: 14px; font-weight: 600; transition: background .25s ease, border-color .25s ease; }
.language-toggle:hover { background: var(--ivory); border-color: var(--bronze); }
.menu-toggle { display: none; }

.eyebrow, .section-kicker { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .17em; font-weight: 650; }
.section-kicker { display: flex; align-items: center; gap: 12px; font-size: clamp(17px, 1.5vw, 21px); text-transform: none; letter-spacing: -.015em; font-weight: 600; line-height: 1.4; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 50px; padding: 13px 20px; font-size: 13px; font-weight: 600; transition: background .25s ease, color .25s ease, transform .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--charcoal); }
.button-dark:hover { background: #484138; }
.button span:last-child { font-size: 19px; font-weight: 400; }
.button-compact { min-height: 44px; padding: 10px 14px; gap: 12px; font-size: 12px; justify-content: center; }
.button-compact span { font-size: inherit; font-weight: inherit; }
.button-icon { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-compact .file-badge { font-size: 10px; letter-spacing: .04em; padding-inline-start: 10px; border-inline-start: 1px solid #ffffff65; }
html[dir="rtl"] .button-compact span { transform: none; }
html[dir="rtl"] .button-icon-direction { transform: scaleX(-1); }
.text-link { font-size: 13px; text-decoration-line: underline; }
.text-link:hover { color: var(--bronze); }
/* Five project photographs: full-bleed, selected by five equal mouse regions across the hero. */
/* Bound unusually tall rendering viewports so the photo and headline stay together. */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: end; min-height: min(calc(100svh - var(--header-height)), max(960px, 100vw)); color: var(--paper); background: var(--charcoal); }
.hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, #1d1d1b08 0%, #1d1d1b15 25%, #1d1d1b9e 65%, #1d1d1bd9 100%); pointer-events: none; }
.hero-visual { position: absolute; inset: 0; z-index: 0; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focus, center); opacity: 0; transition: opacity .25s ease; }
.hero-image.is-active { opacity: 1; }
.hero-copy { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 24px; padding: 180px var(--page-pad) clamp(40px, 6vw, 90px); }
.hero .eyebrow { color: var(--ivory); font-size: 11px; letter-spacing: .15em; }
.hero h1 { max-width: 650px; margin: 18px 0 20px; font-weight: 400; line-height: .98; letter-spacing: -.055em; font-size: clamp(52px, 6.2vw, 92px); text-wrap: balance; }
.hero-description { max-width: 465px; margin: 0; font-size: 15px; line-height: 1.6; color: var(--ivory); }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 4px; }
.hero-button { min-height: 46px; padding: 12px 17px; gap: 22px; font-size: 13px; background: var(--ivory); color: var(--charcoal); }
.hero-actions .text-link { border-color: #fcfbf880; }
.hero-actions .text-link:hover { color: var(--stone); }
.hero-project-link:hover { text-decoration-line: underline; }
.hero :focus-visible { outline-color: var(--ivory); }
html[dir="rtl"] .hero h1 { max-width: 780px; line-height: 1.35; letter-spacing: 0; font-size: clamp(44px, 5.6vw, 78px); }
@media (max-width: 900px) {
  .hero-copy { grid-template-columns: 1fr; gap: 24px; padding-top: 150px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 24px; }
  .hero h1 { max-width: 660px; }
}
@media (max-width: 520px) {
  .hero-copy { padding-top: 150px; padding-bottom: 34px; gap: 22px; }
  .hero .eyebrow { font-size: 9px; }
  .hero h1 { font-size: clamp(40px, 10.8vw, 56px); margin-block: 15px 18px; line-height: 1.04; }
  html[dir="rtl"] .hero h1 { font-size: clamp(34px, 9vw, 46px); line-height: 1.4; }
  .hero-description { font-size: 15px; max-width: 350px; }
  .hero-actions { gap: 18px; }
  .hero-button { font-size: 12px; padding: 11px 13px; gap: 14px; }
  .hero-actions .text-link { font-size: 12px; }
}
.parallax-frame { position: relative; overflow: hidden; }
.parallax-frame > img { position: absolute; inset-inline: 0; top: -10%; width: 100%; max-width: none; height: 120%; object-fit: cover; transform: translate3d(0, var(--parallax-y, 0px), 0); will-change: transform; }
.section-pad { padding: clamp(90px, 10vw, 165px) var(--page-pad); }
.about { background: #ebe6dd; padding-block: clamp(100px, 10vw, 150px); }
.about-intro { display: block; }
.about-intro .section-kicker { padding-top: 0; margin-bottom: 24px; }
.about-statement { max-width: 760px; margin: 0; color: #484641; font-family: inherit; font-size: clamp(15px, 1.2vw, 18px); font-weight: 400; line-height: 1.75; letter-spacing: 0; white-space: pre-line; }
.about-statement strong { font-weight: inherit; }
.about-disclosure { margin-top: 24px; }
.about-disclosure summary { margin-inline-start: calc(45% + clamp(32px, 6vw, 88px) * .55); }
.about-disclosure summary { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px; color: white; background: var(--charcoal); cursor: pointer; list-style: none; font-size: 12px; font-weight: 600; }
.about-disclosure summary::-webkit-details-marker { display: none; }
.about-disclosure summary:focus-visible { outline: 2px solid var(--bronze); outline-offset: 5px; }
.about-disclosure-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.about-disclosure summary:hover { background: #484138; }
.about-close-label { display: none; }
.about-disclosure[open] .about-open-label { display: none; }
.about-disclosure[open] .about-close-label { display: inline; }
.about-disclosure[open] .about-disclosure-icon { transform: rotate(180deg); }
.about-expanded { padding-top: clamp(65px, 8vw, 120px); animation: about-expand .55s var(--ease) both; }
.about-principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.about-principle { min-height: 330px; padding: clamp(32px, 4vw, 65px); background: var(--ivory); }
.about-principle-mission { background: #ebe6dd; }
.about-principle h3 { max-width: 520px; margin: 0 0 30px; font-size: clamp(31px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -.045em; font-weight: 400; }
.about-principle > p:last-child { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; white-space: pre-line; }
.about-values { margin-top: clamp(75px, 9vw, 140px); }
.about-values-heading h3 { max-width: 420px; margin: 0; font-size: clamp(34px, 4vw, 62px); line-height: 1.08; letter-spacing: -.05em; font-weight: 400; }
.about-values-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 38px); margin-top: clamp(32px, 4vw, 58px); }
.approach-panel { min-width: 0; }
.approach-panel img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }
.about-values-list h4 { margin: 16px 0 10px; font-size: clamp(21px, 1.7vw, 26px); font-weight: 450; letter-spacing: -.025em; }
.about-values-list p { max-width: 38ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.js .approach-panel.reveal { --reveal-delay: 0ms; transform: translate3d(0, 20px, 0); transition-duration: 750ms; }
.js .approach-panel.reveal:nth-child(2) { --reveal-delay: 120ms; }
.js .approach-panel.reveal:nth-child(3) { --reveal-delay: 240ms; }
.js .approach-panel.reveal.is-visible { transform: none; }
@media (max-width: 760px) {
  .about-values-list { grid-template-columns: 1fr; gap: 48px; }
  .about-values-list p { max-width: none; }
  .js .about-values-list .approach-panel.reveal { --reveal-delay: 0ms; }
}
@media (prefers-reduced-motion: reduce) {
  .js .approach-panel.reveal { opacity: 1; transform: none; transition: none; }
}
@keyframes about-expand { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.projects { background: var(--paper); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: clamp(38px, 5vw, 78px); }
.section-top h2 { margin: 25px 0 0; font-weight: 400; font-size: clamp(42px, 5vw, 78px); letter-spacing: -.055em; line-height: 1.06; }
.section-intro { max-width: 325px; margin: 0 0 6px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.projects-all-action { display: flex; justify-content: center; margin-top: clamp(38px, 5vw, 64px); }
.projects-all-action .button { min-width: 0; }
.projects-all-action button { cursor: pointer; }

/* Service sheets remain ordinary content until scroll enhancement is ready. */
.services { --services-card-gap: clamp(20px, 2.5vw, 40px); position: relative; background: #292929; color: var(--ivory); }
.services-stage { position: relative; padding: 36px var(--page-pad) 52px; }
.services-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.services-toolbar .section-kicker { margin: 0; }
.services-mode { color: inherit; background: transparent; border: 1px solid var(--bronze); border-radius: 0; min-height: 44px; padding: 9px 15px; font-size: 12px; cursor: pointer; }
.services-mode:hover { background: #ffffff14; }
.services-mode:focus-visible { outline-color: var(--ivory); }
.services-heading { padding: 48px 0 41px; text-align: center; }
.services-heading h2 { margin: 0; font-family: var(--font-content); font-weight: 400; font-size: clamp(38px, 5.7vw, 82px); letter-spacing: -.045em; line-height: 1.1; }
.services-heading h2 span { display: block; }
.service-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--services-card-gap); }
.service-sheet { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding: clamp(24px, 3vw, 48px); color: var(--charcoal); background: var(--ivory); border-radius: 0; }
.service-sheet-beige { background: #eae5dc; color: var(--charcoal); }
.service-sheet-heading { display: flex; align-items: start; gap: 22px; }
.service-number { flex: 0 0 auto; margin-top: 7px; font-size: 11px; letter-spacing: .12em; white-space: nowrap; }
.service-sheet h3 { margin: 0; max-width: 540px; font-family: inherit; font-size: clamp(26px, 3.3vw, 49px); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
.service-sheet > img { width: 100%; height: 340px; object-fit: cover; object-position: center 57%; border-radius: 0; }
.service-sheet > .service-plan { object-fit: contain; background: #f0eee7; padding: 14px; }
.service-sheet > p { max-width: 470px; margin: 0; font-size: 15px; line-height: 1.6; }
.services-progress { display: none; }
.services.is-scroll-enabled { height: var(--services-track-height); }
.services.is-scroll-enabled .services-stage { position: sticky; top: var(--header-height); height: calc(100svh - var(--header-height)); min-height: 450px; padding: 0; overflow: clip; }
.services.is-scroll-enabled .services-toolbar { position: absolute; z-index: 10; top: 22px; inset-inline: var(--page-pad); }
.services.is-scroll-enabled .services-heading { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 80px var(--page-pad); }
.services.is-scroll-enabled .service-deck { position: absolute; inset: 88px 0 44px; display: block; }
.services.is-scroll-enabled .service-sheet { position: absolute; left: 0; top: 0; width: clamp(320px, 38vw, 480px); height: 100%; min-height: 0; padding: clamp(24px, 2.4vw, 32px); gap: 20px; border-radius: 0; box-shadow: 0 8px 18px #0000001a; will-change: transform; }
.services.is-scroll-enabled .service-sheet-heading { flex-direction: column; gap: 10px; }
.services.is-scroll-enabled .service-number { margin-top: 0; }
.services.is-scroll-enabled .service-sheet h3 { font-size: clamp(28px, 2.6vw, 38px); }
.services.is-scroll-enabled .service-sheet > img { flex: 1 1 0; min-height: 80px; height: 0; }
.services.is-scroll-enabled .service-sheet > p { flex: 0 0 auto; font-size: 15px; }
.services.is-scroll-enabled .services-progress { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 15px; align-items: center; font-size: 11px; letter-spacing: .08em; direction: ltr; }
.services-progress-track { width: 100px; height: 2px; background: #f6f4ef44; }
.services-progress-track > span { display: block; width: 100%; height: 100%; background: var(--ivory); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .services-heading h2, html[dir="rtl"] .service-sheet h3 { font-family: var(--font-arabic); letter-spacing: 0; line-height: 1.5; }
html[dir="rtl"] .services-heading h2 { font-size: clamp(30px, 4.4vw, 64px); }
html[dir="rtl"] .service-sheet h3 { font-size: clamp(23px, 2.5vw, 36px); }
html[dir="rtl"] .service-sheet > p { line-height: 1.85; }
html[dir="rtl"] .services.is-scroll-enabled .service-sheet h3 { font-size: clamp(23px, 2.2vw, 32px); }
@media (max-width: 760px) {
  .services-stage { padding: 26px 20px 40px; }
  .services-heading { padding: 40px 0 30px; }
  .services-heading h2 { font-size: clamp(30px, 7vw, 50px); }
  .service-deck { grid-template-columns: 1fr; }
  .services { --services-card-gap: 24px; }
  .service-sheet > img { height: 290px; }
  .services.is-scroll-enabled .services-toolbar { inset-inline: 20px; top: 15px; }
  .services-toolbar .section-kicker { font-size: 17px; }
  .services-mode { padding: 8px 11px; font-size: 11px; }
  .services.is-scroll-enabled .service-deck { inset-block: 80px 42px; }
  .services.is-scroll-enabled .service-sheet { width: calc(100% - var(--services-card-gap) * 2); padding: 26px; gap: 20px; }
  .service-sheet-heading { flex-direction: column; gap: 12px; }
  .service-number { margin-top: 0; }
  .service-sheet h3 { font-size: clamp(28px, 7vw, 38px); }
  .services.is-scroll-enabled .service-sheet > p { font-size: 15px; }
  html[dir="rtl"] .services-heading h2 { font-size: clamp(26px, 6.5vw, 42px); }
  html[dir="rtl"] .service-sheet h3 { font-size: 24px; }
}

.portfolio { display: grid; grid-template-columns: 40% minmax(0, 1fr); min-height: 420px; background: #eae5dc; }
.portfolio-image { min-height: 420px; background: #a99e8f; }
.portfolio-image img { object-position: center 58%; }
.portfolio-copy { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: clamp(40px, 5vw, 72px); }
.portfolio-copy h2 { max-width: 600px; margin: 24px 0; font-weight: 400; line-height: 1.08; letter-spacing: -.055em; font-size: clamp(36px, 3.8vw, 56px); }
.portfolio-copy > p:not(.section-kicker) { max-width: 465px; margin: 0 0 35px; font-size: 15px; line-height: 1.75; color: #484641; }

.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 8%; background: var(--paper); }
.contact-intro { display: flex; flex-direction: column; align-items: start; }
.contact h2 { max-width: 660px; margin: 40px 0 27px; font-weight: 400; line-height: 1.08; letter-spacing: -.05em; font-size: clamp(46px, 5vw, 76px); }
.contact-intro > p:not(.section-kicker) { max-width: 430px; margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 22px; margin-top: auto; padding: 0; }
.contact-details div { display: flex; flex-direction: column; gap: 21px; }
.contact-details strong { font-size: 21px; font-weight: 400; }
.contact-details span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.inquiry-form { display: flex; flex-direction: column; gap: 21px; padding: clamp(25px, 3vw, 45px); background: white; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; margin-bottom: 8px; color: #484641; font-size: 12px; line-height: 1.5; }
.required-mark { color: #9b3028; font-weight: 650; }
.field input, .field textarea { display: block; width: 100%; border: 1px solid #8c887f; border-radius: 0; background: transparent; color: var(--charcoal); padding: 21px 25px; font: inherit; font-size: 16px; outline-offset: 3px; }
.field input { min-height: 67px; }
.field textarea { min-height: 225px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--bronze); }
.appointment-option { display: inline-flex; align-items: start; gap: 11px; width: fit-content; font-size: 15px; line-height: 1.45; cursor: pointer; }
.appointment-option input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--charcoal); cursor: pointer; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 20px; }
.form-end .button { justify-content: center; min-width: 160px; }
.form-end .button:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.form-notice { max-width: 270px; margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.privacy-form-note { grid-column: 1 / -1; max-width: none; line-height: 1.7; }
.privacy-form-note a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom [data-privacy-link] { font-size: 14px; padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; }
.form-hint { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.field-error { margin: 6px 0 0; color: #9b3028; font-size: 15px; line-height: 1.6; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #9b3028; }
.form-status { margin: 0; padding: 12px 14px; border-inline-start: 3px solid var(--bronze); background: var(--ivory); font-size: 15px; line-height: 1.6; }
.form-status[data-state="error"] { border-color: #9b3028; color: #9b3028; }
.button-check { background: var(--ivory); color: var(--charcoal); border: 1px solid var(--line); }
.button-check:hover { background: #e8e2d7; }

.site-footer { position: relative; padding: 0 var(--page-pad) 30px; background: #101714; color: #f6f4ef; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 540px; background: linear-gradient(#1017148c, #101714), url("assets/project-01-b.jpg") center 52% / cover no-repeat; }
.footer-cta { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(90px, 8vw, 145px) 0 115px; }
.footer-cta h2 { max-width: 560px; margin: 0 0 28px; font-size: clamp(40px, 4.3vw, 68px); line-height: 1.05; letter-spacing: -.05em; font-weight: 400; }
.footer-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.footer-cta-actions .button { min-height: 47px; min-width: 155px; justify-content: center; padding: 12px 24px; font-size: 14px; }
.button-light { background: white; color: var(--charcoal); }
.button-light:hover { background: var(--ivory); }
.button-outline { color: white; border: 1px solid #ffffffb3; }
.button-outline:hover { background: #ffffff1c; }
.footer-content { display: grid; grid-template-columns: minmax(260px, 2.5fr) repeat(3, minmax(120px, 1fr)); gap: clamp(25px, 4vw, 75px); padding: 0 0 100px; }
.footer-brand { max-width: 470px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; width: max-content; min-height: 84px; }
.footer-brand p { max-width: 430px; margin: 23px 0 0; font-size: 15px; line-height: 1.55; }
.footer-column { display: flex; flex-direction: column; align-items: start; gap: 12px; padding-top: 5px; }
.footer-column h3 { margin: 0 0 21px; font-size: 24px; font-weight: 400; letter-spacing: -.035em; }
.footer-column a, .footer-column p { margin: 0; font-size: 14px; line-height: 1.5; }
.footer-column a { text-decoration-line: underline; transition: color .25s ease; }
.footer-column a:hover { color: #d4bd9d; }
.footer-contact p { color: #dad7cf; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid #777973; color: #d1cec7; font-size: 11px; }

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal[data-reveal-delay="1"] { --reveal-delay: 200ms; }
.js .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

html[dir="rtl"] main h1, html[dir="rtl"] main h2 { font-weight: 600; }
html[dir="rtl"] .brand-mark img { inset-inline-start: auto; left: -26px; }
html[dir="rtl"] .brand-name strong { letter-spacing: .07em; }
html[dir="rtl"] .section-top h2, html[dir="rtl"] .services-heading h2, html[dir="rtl"] .portfolio-copy h2, html[dir="rtl"] .contact h2, html[dir="rtl"] .footer-cta h2 { letter-spacing: -.025em; line-height: 1.28; }
html[dir="rtl"] .about-statement { letter-spacing: 0; line-height: 1.8; }
html[dir="rtl"] .about-principle h3, html[dir="rtl"] .about-values-heading h3, html[dir="rtl"] .about-values-list h4 { letter-spacing: 0; line-height: 1.55; }
html[dir="rtl"] .about-values-list h4 { font-size: clamp(18.375px, 1.4875vw, 22.75px); }
html[dir="rtl"] :is(.about-values-list p, .sustainability-copy, .studio-purpose) { color: #55534d; line-height: 1.85; }

@media (max-width: 1100px) {
  :root { --page-pad: 32px; }
  .site-header { grid-template-columns: auto 1fr auto; gap: 20px; }
  .site-nav { justify-content: end; gap: 19px; }
  .portfolio-copy { padding: 65px; }
  .footer-content { grid-template-columns: minmax(220px, 1.7fr) repeat(3, minmax(100px, 1fr)); gap: 22px; }
}

@media (max-width: 760px) {
  :root { --page-pad: 22px; --header-height: 68px; }
  /* Bring the building forward on phones without changing desktop framing. */
  .hero-image[data-project-id="05"] { transform: scale(1.32); transform-origin: center 78%; object-position: center 76%; }
  .site-header { grid-template-columns: 1fr auto auto; gap: 13px; }
  .brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .brand-mark img { width: 75px; top: -29px; left: -23px; }
  .brand-name strong { font-size: 17px; }
  .brand-name small { font-size: 7px; }
  .menu-toggle { display: flex; grid-column: 3; grid-row: 1; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 8px; border: 0; background: none; cursor: pointer; }
  .menu-toggle span { height: 1px; width: 100%; background: var(--charcoal); transition: transform .3s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .language-toggle { grid-column: 2; grid-row: 1; min-height: 34px; }
  .site-nav { position: fixed; inset: var(--header-height) 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--page-pad) 35px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px #1d1d1b16; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .site-nav .nav-contact:hover { background: none; color: var(--bronze); }
  .site-nav a::after { display: none; }
  .section-pad { padding-block: 90px; }
  .about-intro { grid-template-columns: 1fr; gap: 28px; }
  .about-copy { order: -1; }
  .about-intro .section-kicker { padding-top: 0; }
  .about-statement { font-size: 15px; }
  .about-disclosure { margin-top: 38px; }
  .about-disclosure summary { margin-inline-start: 0; }
  .about-principles { grid-template-columns: 1fr; }
  .about-principle { min-height: 290px; }
  .about-values { grid-template-columns: 1fr; gap: 42px; }
  .section-top { display: block; }
  .section-intro { max-width: 530px; margin-top: 22px; }
  .services-heading { grid-template-columns: 1fr; gap: 28px; }
  .services-heading .section-kicker { padding-top: 0; }
  .portfolio { grid-template-columns: 1fr; }
  .portfolio-image { min-height: 250px; height: 38svh; }
  .portfolio-copy { padding: 48px var(--page-pad); }
  .contact { grid-template-columns: 1fr; gap: 45px; }
  .contact-details { margin-top: 50px; }
  .footer-content { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 25px; }
}

@media (max-width: 520px) {
  .project-image { aspect-ratio: 4 / 3; }
  .project-approved-cover { aspect-ratio: 1672 / 941; }
  .project-dots { justify-content: flex-start; margin-top: 24px; }
  .portfolio-image { min-height: 250px; }
  .form-row, .contact-details { grid-template-columns: 1fr; }
  .inquiry-form { padding: 18px; gap: 14px; }
  .field input, .field textarea { padding: 16px; }
  .footer-cta { padding-bottom: 85px; }
  .footer-content { grid-template-columns: repeat(2, 1fr); padding-bottom: 65px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column h3 { font-size: 21px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .parallax-frame > img { transform: none; will-change: auto; }
}

/* Studio copy and the shared contact footer. */
.about-statement { font-size: clamp(20px, 2vw, 28px); line-height: 1.55; color: var(--charcoal); }
.footer-conversation { display: flex; flex-direction: column; min-height: calc(100vh - var(--header-height)); min-height: calc(100dvh - var(--header-height)); background: var(--footer-background); color: var(--charcoal); border-top: 1px solid var(--line); }
.footer-conversation::before { display: none; }
.footer-conversation .footer-cta { flex: 1; justify-content: center; padding: clamp(55px, 7vh, 110px) 0; }
.footer-conversation .eyebrow { color: var(--bronze); font-size: 10px; }
.footer-conversation .footer-cta h2 { max-width: 900px; margin: 24px 0 18px; font: 400 clamp(42px, 5.2vw, 76px)/1.12 var(--font-content); letter-spacing: -.045em; }
.footer-invitation { margin: 0 0 35px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.footer-conversation .footer-cta .button { border: 0; border-radius: 0; min-width: 164px; min-height: 46px; justify-content: center; cursor: pointer; }
.footer-studio-row { display: flex; gap: 28px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.footer-studio-row .footer-logo { flex: 0 0 auto; }
.footer-direct-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin-top: 16px; }
.footer-direct-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: underline; }
.footer-direct-links a:hover { color: var(--bronze); }
.footer-studio-row > p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-contact { min-width: 0; font-size: 13px; line-height: 1.6; }
.footer-contact p { margin: 0 0 8px; color: var(--muted); }
.footer-contact-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-contact-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-line: underline; overflow-wrap: anywhere; }
.footer-contact-links a:hover { color: var(--bronze); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 26px; margin-inline-start: auto; font-size: 13px; }
.footer-links a:hover { text-decoration-line: underline; }
.footer-conversation .footer-bottom { color: var(--muted); border-color: var(--line); justify-content: flex-end; }
body.inquiry-open { overflow: hidden; }
.inquiry-dialog { width: min(1120px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: 0; background: var(--ivory); color: var(--charcoal); overflow: auto; }
.inquiry-dialog::backdrop { background: #1d1d1bb3; }
/* The inactive SDK challenge has a default 300px width despite being invisible.
   Keep it out of layout until hCaptcha makes the challenge visible. */
.inquiry-dialog > iframe[title="hCaptcha challenge"][style*="visibility: hidden"] { display: none; }
.inquiry-dialog-layout { display: grid; grid-template-columns: .9fr 1fr; }
.inquiry-dialog-intro { position: relative; isolation: isolate; min-height: 660px; color: var(--paper); padding: 65px 40px; }
.inquiry-dialog-intro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #1d1d1b9e, #1d1d1b25); }
.inquiry-dialog-intro > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.inquiry-dialog-intro h2 { margin: 0 0 22px; font: 400 clamp(34px, 3.7vw, 52px)/1.15 var(--font-content); letter-spacing: -.035em; }
.inquiry-dialog-intro p { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.7; }
.inquiry-dialog-close { position: sticky; float: inline-end; margin-bottom: -40px; inset-block-start: 12px; inset-inline-end: 12px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; padding: 9px; border: 0; border-radius: 0; background: var(--ivory); color: var(--charcoal); cursor: pointer; }
.inquiry-dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.inquiry-dialog .inquiry-form { background: var(--ivory); padding: 60px 40px 35px; gap: 18px; }
.inquiry-dialog .field input { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid #8c887f; }
.inquiry-dialog .field textarea { min-height: 145px; padding: 12px; }
.inquiry-dialog .form-end { gap: 12px; }
.inquiry-dialog .form-end .button { min-width: 130px; min-height: 44px; border-radius: 0; }
.inquiry-dialog .form-notice { max-width: none; flex-basis: 100%; }
html[dir="rtl"] .footer-conversation .footer-cta h2, html[dir="rtl"] .inquiry-dialog-intro h2 { font-family: var(--font-arabic); line-height: 1.5; letter-spacing: 0; }
@media (max-width: 760px) {
  .footer-studio-row { flex-wrap: wrap; gap: 22px; }
  .footer-links { width: 100%; justify-content: flex-start; margin: 0; }
  .inquiry-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .inquiry-dialog-layout { grid-template-columns: 1fr; }
  .inquiry-dialog-intro { min-height: 150px; padding: 46px 24px 20px; }
  .inquiry-dialog-intro h2 { font-size: 28px; margin-bottom: 0; }
  .inquiry-dialog-intro p { display: none; }
  .inquiry-dialog .inquiry-form { padding: 28px 24px; gap: 16px; }
  .inquiry-dialog .form-row { grid-template-columns: 1fr; gap: 16px; }
}

/* Text controls: the label and its underline are one generous hit target. */
.button:not([data-open-inquiry]), .about-disclosure summary,
.language-toggle {
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  text-decoration-line: underline;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}
.button:not([data-open-inquiry]):hover, .about-disclosure summary:hover,
.language-toggle:hover {
  background: transparent;
  color: var(--bronze);
  transform: none;
}
.hero-actions .button:not([data-open-inquiry]) { color: #fff; font-size: 15px; font-weight: 650; text-decoration-thickness: 2px; text-shadow: 0 1px 6px #0008; }
.hero-actions .button:hover { color: #e2d5c1; }
.button:not([data-open-inquiry]) { gap: 14px; }
.button:not([data-open-inquiry]) span { font-size: inherit; font-weight: inherit; }
.button.project-contact { min-height: 50px; padding: 13px 20px; background: var(--charcoal); color: #fff; text-decoration: none; }
.button.project-contact:hover { background: #484138; color: #fff; }
.inquiry-dialog .form-end .button { min-width: 0; }
.inquiry-dialog .form-end { column-gap: 26px; }
.inquiry-dialog .form-end .button[type="submit"] { font-size: 16px; font-weight: 650; text-decoration-thickness: 2px; margin-inline-start: auto; }
.inquiry-dialog .form-end .button-check { font-weight: 400; color: var(--muted); }
.language-toggle { padding-inline: 3px; }
.language-toggle[lang="ar"] { font-family: var(--font-arabic); font-size: 16px; font-weight: 500; }

/* Text-only studio introduction; keep a short, comfortable reading measure. */
.about-copy { display: grid; grid-template-columns: minmax(140px, .38fr) minmax(0, 1fr); column-gap: clamp(30px, 6vw, 90px); }
.about-copy .section-kicker { grid-column: 1; grid-row: 1 / 3; }
.about-copy .about-statement, .about-copy .about-story { grid-column: 2; max-width: 780px; }
.about-copy .about-story { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.about-copy .section-kicker { align-self: start; }
.about-disclosure summary { margin-inline-start: calc((100% - clamp(30px, 6vw, 90px)) * .27536 + clamp(30px, 6vw, 90px)); }

/* Portfolio: broad image pairs alternate with a tighter triptych. */
.projects { padding-inline: 4px; padding-top: clamp(80px, 8vw, 120px); }
.projects .section-top { text-align: start; padding-inline: var(--page-pad); }
.projects .section-top > div { width: 100%; }
.projects .section-top h2 { margin-top: clamp(32px, 4vw, 56px); }
.featured-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.featured-project { position: relative; display: flex; flex-direction: column; min-width: 0; grid-column: span 3; color: #fff; background: var(--stone); scroll-margin-top: 20px; }
.featured-project:nth-child(5n+3), .featured-project:nth-child(5n+4), .featured-project:nth-child(5n+5) { grid-column: span 2; }
.featured-project:nth-child(5n+3):nth-last-child(2), .featured-project:nth-child(5n+4):last-child { grid-column: span 3; }
.featured-project-visual { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--charcoal); }
.featured-project-visual > img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
/* Approved covers already include their titles; link labels remain translated. */
.featured-project-caption { display: none; }
@media (hover: hover) and (pointer: fine) {
  .featured-project:hover .featured-project-visual > img { transform: scale(1.025); }
}
.featured-project:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
@media (max-width: 760px) {
  .about-copy { display: block; }
  .about-disclosure summary { margin-inline-start: 0; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid .featured-project:nth-child(n) { grid-column: 1; }
  .featured-project-visual { aspect-ratio: auto; }
  .featured-project-visual > img { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-project-visual > img, .featured-project:hover .featured-project-visual > img { transition: none; transform: none; }
}


/* Approved open Studio composition — 6 October 2026. */

    .about { padding-top: clamp(64px, 7vw, 105px); }
    .about > .reveal > .section-kicker { margin: 0 0 40px; }
    .studio-introduction { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
    .studio-introduction p { margin: 0; }
    .studio-introduction .about-statement { max-width: 31ch; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.55; }
    .studio-purpose { max-width: 43ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.85; color: var(--muted); }
    .about-values { margin-top: clamp(58px, 6.525vw, 105px); }
    .studio-sustainability { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 110px); max-width: 1380px; margin: clamp(90px, 10vw, 155px) auto 0; }
    .sustainability-visual { position: relative; width: 100%; max-width: 600px; overflow: hidden; }
    .sustainability-visual img { display: block; width: 100%; height: auto; }
    .sustainability-title { max-width: 13ch; margin: 0 0 clamp(16px, 2vw, 24px); font-size: clamp(36px, 3.5vw, 60px); line-height: 1.08; letter-spacing: -.04em; font-weight: 400; text-wrap: balance; }
    .sustainability-caption { margin: 0; padding-block: 24px; }
    .sustainability-copy { margin: 0; max-width: 40ch; font-size: 18px; line-height: 1.8; color: var(--muted); }
    html[dir="rtl"] .sustainability-title { letter-spacing: 0; line-height: 1.5; font-size: clamp(24.5px, 2.45vw, 38.5px); max-width: 18ch; }
    @media (max-width: 760px) {
      .studio-introduction { grid-template-columns: 1fr; gap: 28px; }
      .about > .reveal > .section-kicker { margin-bottom: 24px; }
      .studio-introduction .about-statement { font-size: 25px; }
      .studio-purpose { font-size: 16px; }
      .studio-sustainability { grid-template-columns: minmax(0, 1fr); gap: 20px; }
      .sustainability-caption { padding-block: 0; }
      .sustainability-title { font-size: 36px; }
      .sustainability-copy { font-size: 16px; }
      .about-values { margin-top: 58px; }
    }
