/*
Theme Name: Memaar Al Manaei
Author: Memaar Al Manaei Development
Description: The production WordPress conversion of the approved Memaar Al Manaei V6 website.
Version: 1.0.0
Text Domain: memaar
*/

:root {
	--ink: #112039;
	--ink-soft: #31405a;
	--sand: #f4f0e7;
	--sand-deep: #e6dece;
	--gold: #dca66d;
	--gold-light: #f0c58e;
	--copper-dark: #a97042;
	--line: rgba(17, 32, 57, .16);
	--ease-premium: cubic-bezier(.22, .61, .36, 1);
	--ease-soft: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--sand); }
body { margin: 0; overflow-x: hidden; background: var(--sand); color: var(--ink); font-family: 'Manrope', sans-serif; letter-spacing: -.006em; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .028; z-index: 50; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"); }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.font-display { font-family: 'DM Sans', sans-serif; font-weight: 600; letter-spacing: -.05em; text-wrap: balance; }
.eyebrow { color: var(--gold); font-size: .67rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.gold-rule { width: 58px; height: 1px; margin-top: 24px; background: var(--gold); }
.icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.memaar-site { min-height: 100vh; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; color: #f3efe5; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(17,32,57,.85); backdrop-filter: blur(14px); transition: background .5s var(--ease-premium), box-shadow .5s var(--ease-premium); }
.site-header::after { content: ""; display: block; height: 1px; background: linear-gradient(90deg, transparent, rgba(228,173,112,.45), transparent); opacity: .6; }
.site-header.is-scrolled { background: rgba(17,32,57,.95); box-shadow: 0 14px 40px rgba(17,32,57,.16); }
.header-shell { height: 76px; display: flex; align-items: center; justify-content: space-between; transition: height .5s var(--ease-premium); }
.is-scrolled .header-shell { height: 66px; }
.logo-button { width: 176px; height: 56px; padding: 0; overflow: hidden; border: 0; background: none; }
.logo-button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; }
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.desktop-nav button, .footer-nav button { position: relative; padding: 0; color: rgba(243,239,229,.75); border: 0; background: none; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; transition: color .22s; }
.desktop-nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .22s var(--ease-premium); }
.desktop-nav button:hover, .desktop-nav button.is-active { color: var(--gold-light); }
.desktop-nav button:hover::after, .desktop-nav button.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-toggle, .mobile-toggle { color: var(--gold-light); border: 1px solid rgba(228,173,112,.7); background: none; transition: background .22s, color .22s; }
.language-toggle { padding: 8px 12px; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.language-toggle:hover { color: var(--ink); background: var(--gold); }
.mobile-toggle { display: none; padding: 8px; border-color: rgba(255,255,255,.25); }
.mobile-toggle .icon-close { display: none; }
.mobile-toggle.is-open .icon-menu { display: none; }
.mobile-toggle.is-open .icon-close { display: block; }
.mobile-menu { display: none; border-top: 1px solid rgba(255,255,255,.1); background: var(--ink); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px 24px 18px; }
.mobile-menu button { padding: 16px 0; color: #f3efe5; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); background: none; text-align: start; }
.section-flow { scroll-margin-top: 20px; }
.hero-frame { position: relative; min-height: 740px; display: flex; align-items: flex-end; overflow: hidden; padding-top: 76px; color: #f3efe5; background: var(--ink); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; animation: slow-pan 14s var(--ease-soft) both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,32,57,.98) 0%, rgba(17,32,57,.78) 38%, rgba(17,32,57,.18) 100%); }
.hero-overlay-bottom { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,32,57,.9), transparent 46%); }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; padding-top: 96px; padding-bottom: 112px; }
.hero-copy { max-width: 760px; }
.hero-title { max-width: 900px; margin: 22px 0 0; color: #f3efe5; font-family: 'DM Sans', sans-serif; font-size: clamp(4.4rem, 9vw, 9.4rem); font-weight: 600; line-height: .83; letter-spacing: -.06em; }
.hero-title em { color: var(--gold-light); font-style: italic; }
.hero-body { max-width: 420px; margin: 32px 0 0; color: rgba(243,239,229,.75); font-size: 16px; line-height: 1.75; }
.text-link { display: inline-flex; gap: 16px; align-items: center; margin-top: 36px; padding: 0 0 12px; color: var(--gold-light); border: 0; border-bottom: 1px solid var(--gold); background: none; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: transform .3s; }
.text-link:hover { transform: translateX(4px); }
.hero-location { justify-self: end; max-width: 210px; text-align: end; }
.location-label { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 12px; color: rgba(243,239,229,.6); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.location-label span { width: 40px; height: 1px; background: var(--gold); }
.hero-location p { margin: 0; color: rgba(243,239,229,.75); font-size: 14px; line-height: 1.7; }
.hero-stamp, .hero-scroll { position: absolute; bottom: 40px; color: rgba(243,239,229,.55); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.hero-stamp { inset-inline-end: 28px; }
.hero-scroll { left: 50%; transform: translateX(-50%); }
.about-section, .leadership-section, .location-section { color: var(--ink); background: var(--sand); }
.about-section { padding: 144px 0; }
.reveal-grid { display: grid; gap: 64px; grid-template-columns: .35fr 1fr; opacity: 0; transform: translate3d(0,30px,0); transition: opacity .68s var(--ease-premium), transform .68s var(--ease-premium); }
.reveal-grid.is-visible { opacity: 1; transform: translate3d(0,0,0); }
.about-copy { max-width: 760px; }
.about-copy h2, .gallery-intro h2 { margin: 0; font-size: clamp(2.7rem, 5.5vw, 5.7rem); line-height: .98; }
.about-copy p { max-width: 680px; margin: 36px 0 0; color: rgba(38,51,74,.8); font-size: 17px; line-height: 1.9; }
.dark-link { color: var(--ink); border-color: rgba(13,26,47,.35); }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 96px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-row > div { padding: 28px 32px; border-inline-end: 1px solid var(--line); }
.fact-row > div:first-child { padding-inline-start: 0; }
.fact-row > div:last-child { border: 0; }
.fact-number { color: var(--copper-dark); font-family: 'DM Sans', sans-serif; font-size: 30px; font-style: italic; }
.fact-label { margin: 12px 0 0; color: rgba(38,51,74,.55); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.fact-row p:last-child { margin: 8px 0 0; font-size: 18px; line-height: 1.45; }
.about-image-row { grid-template-columns: 1.15fr .85fr; align-items: center; margin-top: 80px; }
.cinematic-frame { position: relative; overflow: hidden; background: #e6ddcc; }
.cinematic-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--ink); transform-origin: right center; transition: transform 1s var(--ease-soft); }
.cinematic-frame.is-visible::before { transform: scaleX(0); }
.cinematic-image { width: 100%; height: 330px; object-fit: cover; transform: translate3d(0,var(--parallax-y,0),0) scale(1.055); transition: transform 1.1s var(--ease-soft), filter 1.1s var(--ease-premium); }
.cinematic-frame.is-visible .cinematic-image { transform: translate3d(0,var(--parallax-y,0),0) scale(1); }
.image-tag { position: absolute; z-index: 2; inset-inline-start: 16px; bottom: 16px; padding: 8px 12px; color: var(--gold-light); background: var(--ink); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.about-aside { padding-inline-start: 40px; border-inline-start: 1px solid var(--gold); }
.about-aside p:first-child { margin: 0; color: var(--ink); font-size: 34px; line-height: 1.15; }
.about-aside p:last-child { margin: 20px 0 0; color: rgba(49,64,90,.75); font-size: 14px; line-height: 1.8; }
.project-section { padding: 144px 0; color: #f3efe5; background: var(--ink); }
.project-intro { grid-template-columns: .85fr 1.15fr; align-items: end; }
.project-title { margin: 22px 0 0; font-size: clamp(3.5rem, 8vw, 8rem); line-height: .82; color: #f3efe5; }
.project-body { max-width: 420px; margin: 32px 0 0; color: rgba(243,239,229,.7); font-size: 16px; line-height: 1.75; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button-link { display: inline-flex; align-items: center; gap: 12px; padding: 13px 20px; border: 1px solid transparent; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: background .22s, border-color .22s, color .22s; }
.button-gold { color: var(--ink); background: var(--gold); }
.button-gold:hover { background: var(--gold-light); }
.button-line { color: var(--sand); border-color: rgba(243,239,229,.35); }
.button-line:hover { color: var(--gold-light); border-color: var(--gold); }
.project-feature .cinematic-image { height: auto; aspect-ratio: 1.38; }
.area-badge { position: absolute; z-index: 2; bottom: 0; inset-inline-start: 0; padding: 16px 20px; color: var(--ink); background: var(--gold); }
.area-badge strong { display: block; font-size: 36px; line-height: 1; letter-spacing: -.06em; }
.area-badge span { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.image-index { position: absolute; z-index: 2; top: 16px; inset-inline-end: 16px; padding: 8px 12px; color: var(--sand); border: 1px solid rgba(255,255,255,.4); background: rgba(17,32,57,.65); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.project-facts { margin-top: 96px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.dark-facts { margin-top: 28px; border: 0; }
.dark-facts > div { padding: 0 20px; border-color: rgba(228,173,112,.5); }
.dark-facts .fact-label { color: rgba(243,239,229,.5); }
.dark-facts p:last-child { color: var(--gold-light); }
.gallery-section { padding: 144px 0; color: var(--ink); background: var(--sand-deep); }
.gallery-intro { grid-template-columns: .8fr 1.2fr; align-items: end; margin-bottom: 56px; }
.gallery-intro h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
.gallery-intro p { max-width: 520px; margin: 20px 0 0; color: rgba(38,51,74,.7); font-size: 16px; line-height: 1.8; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.gallery-card { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; background: var(--ink); cursor: zoom-in; transition: transform .22s var(--ease-premium), box-shadow .22s var(--ease-premium); }
.gallery-card:hover, .gallery-card:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(13,26,47,.16); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.035); transition: transform 1.1s var(--ease-soft), filter 1.1s var(--ease-premium); }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.045); filter: saturate(1.08); }
.gallery-card-0 { grid-column: span 7; grid-row: span 2; min-height: 440px; }
.gallery-card-1, .gallery-card-2, .gallery-card-3 { grid-column: span 5; min-height: 205px; }
.gallery-card-4, .gallery-card-5, .gallery-card-6 { grid-column: span 4; min-height: 170px; }
.gallery-card-7 { grid-column: span 5; min-height: 190px; }
.gallery-card-8 { grid-column: span 7; min-height: 190px; }
.gallery-caption { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; padding: 32px 16px 12px; color: #f3efe5; background: linear-gradient(0deg, rgba(17,32,57,.75), transparent); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.gallery-caption .icon { opacity: 0; transition: opacity .22s; }
.gallery-card:hover .gallery-caption .icon, .gallery-card:focus-visible .gallery-caption .icon { opacity: 1; }
.leadership-section { padding: 112px 0 64px; }
.leadership-heading { grid-template-columns: .35fr 1fr; margin-bottom: 40px; }
.leadership-heading h2 { margin: 0; font-size: 34px; line-height: 1.15; }
.leadership-heading p { margin: 12px 0 0; color: rgba(38,51,74,.7); font-size: 14px; line-height: 1.7; }
.leadership-images { grid-template-columns: .7fr 1.3fr; align-items: end; }
.leadership-images .cinematic-image { height: 480px; object-position: top; filter: grayscale(.15); }
.leadership-images > div:last-child .cinematic-image { height: 290px; }
.location-section { padding: 64px 0 144px; }
.location-grid { grid-template-columns: .85fr 1.15fr; align-items: center; }
.location-grid h2, .contact-grid h2 { margin: 22px 0 0; font-size: clamp(3rem, 6vw, 6.7rem); line-height: .9; }
.location-address { max-width: 400px; margin: 32px 0 0; color: rgba(38,51,74,.75); font-size: 18px; line-height: 1.8; }
.coordinates { display: flex; gap: 40px; margin: 32px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.coordinates small { display: block; color: rgba(38,51,74,.55); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.coordinates span { display: block; margin-top: 8px; font-family: monospace; font-size: 14px; }
.map-grid { position: relative; min-height: 460px; overflow: hidden; padding: 24px; color: #f3efe5; background-color: #0d1a2f; background-image: linear-gradient(rgba(228,173,112,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(228,173,112,.07) 1px, transparent 1px); background-size: 48px 48px; }
.map-grid::before { content: ""; position: absolute; inset: 14%; border: 1px solid rgba(228,173,112,.2); transform: rotate(14deg); }
.map-ring { position: absolute; left: 50%; top: 45%; width: 130px; height: 130px; border: 1px solid rgba(228,173,112,.35); border-radius: 50%; transform: translate(-50%,-50%); }
.map-ring-2 { width: 240px; height: 240px; border-color: rgba(228,173,112,.2); }
.map-ring-3 { width: 350px; height: 350px; border-color: rgba(228,173,112,.12); }
.map-pin { position: absolute; left: 50%; top: 45%; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; color: var(--gold-light); border: 1px solid var(--gold); border-radius: 50%; background: #0d1a2f; transform: translate(-50%,-50%); }
.map-coordinates { position: absolute; top: calc(45% + 48px); left: 0; right: 0; margin: 0; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.map-grid small { position: absolute; top: calc(45% + 76px); left: 0; right: 0; color: rgba(243,239,229,.55); text-align: center; font-size: 12px; }
.map-grid b { position: absolute; bottom: 20px; inset-inline-start: 20px; color: rgba(243,239,229,.5); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.contact-section { color: var(--ink); background: var(--gold); }
.contact-grid { grid-template-columns: 1fr .9fr; gap: 112px; padding: 144px 0; }
.contact-grid h2 { font-size: clamp(3.3rem, 7vw, 7.5rem); }
.contact-grid > div > p { max-width: 580px; margin: 32px 0 0; color: rgba(38,51,74,.75); font-size: 16px; line-height: 1.8; }
.contact-links { display: grid; gap: 16px; margin-top: 40px; }
.contact-links a { display: flex; align-items: center; gap: 16px; width: fit-content; font-size: 18px; transition: transform .3s; }
.contact-links a:hover { transform: translateX(4px); }
.contact-links small { opacity: .55; font-size: 12px; }
.enquiry-form { padding-inline-start: 40px; border-inline-start: 1px solid rgba(13,26,47,.25); }
.form-title { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.enquiry-form label { display: block; margin-top: 32px; font-size: 12px; font-weight: 700; }
.enquiry-form input, .enquiry-form textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 0; color: var(--ink); border: 0; border-bottom: 1px solid rgba(13,26,47,.35); outline: 0; resize: none; background: transparent; }
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--ink); }
.button-dark { margin-top: 32px; color: var(--sand); background: var(--ink); }
.button-dark:hover { background: #26334a; }
.form-status { min-height: 1.5em; margin: 16px 0 0; font-size: 12px; font-weight: 700; }
.site-footer { padding: 48px 0; color: #f3efe5; background: #0d1a2f; }
.footer-main { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-main img { width: 176px; height: 56px; object-fit: contain; object-position: left; mix-blend-mode: screen; }
.footer-main p { margin: 16px 0 0; color: rgba(243,239,229,.55); font-size: 14px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 48px; }
.footer-nav button { color: rgba(243,239,229,.65); text-align: start; letter-spacing: 0; text-transform: none; }
.footer-nav button:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: rgba(243,239,229,.4); font-size: 12px; }
.footer-bottom div { display: flex; gap: 16px; }
.footer-bottom a:hover { color: var(--gold-light); }
.gallery-modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 40px; color: #f3efe5; background: rgba(17,32,57,.97); }
.gallery-modal.is-open { display: flex; }
.gallery-modal figure { display: flex; flex-direction: column; align-items: center; max-width: 1280px; max-height: 78vh; margin: 0; }
.gallery-modal figure img { width: auto; max-width: calc(100vw - 96px); max-height: 72vh; object-fit: contain; }
.gallery-modal figcaption { margin-top: 16px; color: rgba(243,239,229,.55); font-size: 12px; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.modal-control { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 12px; color: #f3efe5; border: 1px solid rgba(255,255,255,.25); background: transparent; transition: color .22s, border-color .22s; }
.modal-control:hover { color: var(--gold-light); border-color: var(--gold); }
.modal-close { top: 20px; inset-inline-end: 20px; }
.modal-prev, .modal-next { top: 50%; transform: translateY(-50%); }
.modal-prev { inset-inline-start: 40px; }
.modal-next { inset-inline-end: 40px; }
.modal-thumbnails { position: absolute; bottom: 28px; left: 50%; display: flex; max-width: calc(100vw - 40px); gap: 8px; overflow-x: auto; padding: 4px; transform: translateX(-50%); }
.modal-thumbnails button { width: 64px; height: 48px; flex: 0 0 auto; padding: 0; overflow: hidden; border: 2px solid transparent; background: none; opacity: .55; }
.modal-thumbnails button.is-active { border-color: var(--gold); opacity: 1; }
.modal-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.is-ar { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.is-ar .font-display { font-family: 'IBM Plex Sans Arabic', sans-serif; letter-spacing: 0; line-height: 1.2; }
.is-ar .hero-title { line-height: 1.16; }
.is-ar .eyebrow { font-size: .75rem; letter-spacing: 0; text-transform: none; }
.is-ar p, .is-ar button, .is-ar a, .is-ar input, .is-ar textarea { line-height: 1.75; }
.is-ar .hero-location, .is-ar .location-label { text-align: start; }
.is-ar .location-label { justify-content: flex-start; }
.is-ar .hero-stamp { text-align: start; }
.project-single { min-height: 70vh; padding: 160px 0 120px; background: var(--sand); }
.project-single h1 { margin: 24px 0 48px; font-size: clamp(3.5rem, 8vw, 8rem); line-height: .85; }
.project-single-feature { max-height: 660px; overflow: hidden; margin-bottom: 48px; background: var(--ink); }
.project-single-feature img { width: 100%; height: auto; }
.project-single-copy { max-width: 720px; margin-bottom: 48px; font-size: 18px; line-height: 1.8; }
.project-single-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.project-single-gallery img { width: 100%; height: 240px; object-fit: cover; }
@keyframes slow-pan { from { transform: scale(1.04); } to { transform: scale(1.1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: rise .95s var(--ease-premium) both; }
.reveal-delay { animation-delay: .14s; }
.reveal-delay-2 { animation-delay: .26s; }
.motion-stagger > * { opacity: 0; transform: translate3d(0,18px,0); transition: opacity .68s var(--ease-premium), transform .68s var(--ease-premium); }
.motion-stagger.is-visible > * { opacity: 1; transform: translate3d(0,0,0); }
.motion-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.motion-stagger.is-visible > *:nth-child(3) { transition-delay: 150ms; }
.motion-stagger.is-visible > *:nth-child(4) { transition-delay: 220ms; }
.motion-stagger.is-visible > *:nth-child(5) { transition-delay: 290ms; }
.motion-stagger.is-visible > *:nth-child(6) { transition-delay: 360ms; }
.motion-stagger.is-visible > *:nth-child(7) { transition-delay: 430ms; }
.motion-stagger.is-visible > *:nth-child(8) { transition-delay: 500ms; }
.motion-stagger.is-visible > *:nth-child(9) { transition-delay: 570ms; }
@media (max-width: 767px) {
	.shell { width: min(100% - 32px, 560px); }
	.desktop-nav { display: none; }
	.mobile-toggle { display: flex; }
	.mobile-menu.is-open { display: block; }
	.hero-frame { min-height: 720px; }
	.hero-content, .project-intro, .gallery-intro, .leadership-heading, .location-grid, .contact-grid, .about-image-row { grid-template-columns: 1fr; }
	.hero-content { padding-top: 80px; padding-bottom: 88px; }
	.hero-title { font-size: clamp(3.8rem, 17vw, 6rem); }
	.hero-location, .hero-stamp, .hero-scroll { display: none; }
	.about-section, .project-section, .gallery-section { padding: 96px 0; }
	.reveal-grid { gap: 40px; }
	.fact-row { grid-template-columns: 1fr; margin-top: 64px; }
	.fact-row > div, .fact-row > div:first-child { padding: 20px 0; border-inline-end: 0; border-bottom: 1px solid var(--line); }
	.about-image-row { margin-top: 64px; }
	.about-aside { padding: 0 0 0 24px; }
	.project-facts { margin-top: 64px; }
	.dark-facts > div { padding: 0 0 0 16px; border-bottom: 0; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.gallery-card-0, .gallery-card-1, .gallery-card-2, .gallery-card-3, .gallery-card-4, .gallery-card-5, .gallery-card-6, .gallery-card-7, .gallery-card-8 { grid-column: span 1; grid-row: auto; min-height: 0; aspect-ratio: 1.15; }
	.gallery-card-0 { grid-column: span 2; aspect-ratio: 1.9; }
	.leadership-section, .location-section { padding: 80px 0; }
	.leadership-images .cinematic-image, .leadership-images > div:last-child .cinematic-image { height: 340px; }
	.map-grid { min-height: 340px; }
	.contact-grid { gap: 64px; padding: 96px 0; }
	.enquiry-form { padding: 24px 0 0; border-inline-start: 0; border-top: 1px solid rgba(13,26,47,.25); }
	.footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
	.gallery-modal { padding: 16px; }
	.gallery-modal figure img { max-width: calc(100vw - 70px); max-height: 68vh; }
	.modal-prev { inset-inline-start: 8px; }
	.modal-next { inset-inline-end: 8px; }
	.modal-thumbnails { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.hero-image { animation: none; }
	.cinematic-image { transform: none !important; }
}