@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Manrope:wght@300;400;500&family=Noto+Sans+Arabic:wght@300;400;500&display=swap');

:root {
  --paper: #ece9e2;
  --paper-bright: #f7f6f2;
  --ink: #151512;
  --muted: #696861;
  --rule: rgba(21, 21, 18, .2);
  --accent: #ff4e1f;
  --sand: #cbb894;
  --pad: clamp(1.25rem, 3.2vw, 3.6rem);
  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

html[lang="ar"] {
  --display: "Noto Sans Arabic", "Manrope", sans-serif;
  --body: "Noto Sans Arabic", "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-weight: 300; }
html[dir="rtl"] body { direction: rtl; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { color: inherit; font: inherit; }
::selection { color: var(--paper-bright); background: var(--accent); }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--paper-bright); color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; min-height: 96px; padding: 1.3rem var(--pad); display: flex; align-items: flex-start; justify-content: space-between; color: #fff; transition: color .35s ease, background .35s ease; }
.site-header.is-scrolled, .site-header--light { color: var(--ink); background: rgba(236, 233, 226, .94); backdrop-filter: blur(18px); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; flex-direction: column; line-height: .82; letter-spacing: -.055em; font-family: var(--display); font-size: 1.52rem; font-weight: 500; }
.brand small { margin-top: .55rem; font-family: var(--body); font-size: .49rem; font-weight: 500; letter-spacing: .26em; }
.header-actions { display: flex; align-items: flex-start; gap: clamp(1.25rem, 2.6vw, 3rem); }
.site-nav { display: flex; align-items: center; gap: clamp(1.05rem, 2.2vw, 2.8rem); padding-top: .12rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; inset: auto 0 -.35rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.language-switch { display: flex; align-items: center; gap: .32rem; padding-top: .02rem; font-size: .68rem; font-weight: 500; letter-spacing: .12em; }
.language-switch button { padding: .1rem; border: 0; background: transparent; opacity: .48; cursor: pointer; }
.language-switch button.is-active { opacity: 1; text-decoration: underline; text-underline-offset: .25rem; }
.language-switch span { opacity: .4; }
.language-switch, html[dir="rtl"] .brand, html[dir="rtl"] .contact-emails a { direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] .brand { font-family: "Manrope", "Helvetica Neue", Arial, sans-serif; }
.menu-toggle { display: none; border: 0; background: transparent; text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; }
.close-project { display: flex; align-items: center; gap: 1.1rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.close-project b { font-size: 1.55rem; font-weight: 300; line-height: .6; }

.hero { position: relative; min-height: 100svh; overflow: hidden; color: #fff; background: #432f21; }
.hero-image, .hero-shade { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-image { animation: hero-in 1.6s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade { background: linear-gradient(180deg, rgba(17,13,10,.25), rgba(17,13,10,.05) 42%, rgba(17,13,10,.48)); }
.hero-grid { position: relative; z-index: 2; min-height: 100svh; padding: 9rem var(--pad) 2.4rem; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto; column-gap: 1.2rem; }
.eyebrow { margin: 0; font-size: .67rem; font-weight: 500; letter-spacing: .19em; text-transform: uppercase; }
.hero-kicker { grid-column: 1 / 6; }
.hero h1 { grid-column: 1 / 12; align-self: center; margin: 1rem 0 4rem; font-family: var(--display); font-size: clamp(4rem, 10vw, 9.7rem); font-weight: 300; letter-spacing: -.07em; line-height: .82; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { margin-left: 9vw; }
.hero h1 span:nth-child(3) { margin-left: 28vw; }
.hero-intro { grid-column: 1 / 5; align-self: end; max-width: 32rem; margin: 0; font-size: clamp(.95rem, 1.3vw, 1.2rem); line-height: 1.45; }
.round-link { grid-column: 11 / 13; align-self: end; justify-self: end; width: 7.4rem; height: 7.4rem; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: .65rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; transition: color .3s, background .3s, transform .3s; }
.round-link:hover { color: var(--ink); background: #fff; transform: rotate(-8deg); }
.round-link b { font-size: 1.2rem; font-weight: 300; }

.section { padding: clamp(6rem, 11vw, 11rem) var(--pad); }
.studio { background: var(--paper-bright); }
.studio-heading { display: grid; grid-template-columns: 2fr 10fr; gap: 1.2rem; align-items: start; }
.studio-heading h2, .section-heading h2, .network-heading h2 { margin: -.12em 0 0; font-family: var(--display); font-size: clamp(3.4rem, 8vw, 8rem); font-weight: 300; letter-spacing: -.065em; line-height: .9; }
.philosophy { display: grid; grid-template-columns: 2fr 10fr; gap: 1.2rem; margin-top: clamp(5rem, 10vw, 10rem); }
.philosophy-lead { grid-column: 2; max-width: 60rem; margin: 0; font-family: var(--display); font-size: clamp(2rem, 4.2vw, 4.8rem); letter-spacing: -.05em; line-height: 1.05; }
.philosophy-columns { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3.5rem); margin-top: 4rem; }
.philosophy-columns p { margin: 0; color: var(--muted); line-height: 1.65; }
.philosophy-signoff { grid-column: 2; margin: 5rem 0 0; font-family: var(--display); font-size: clamp(2.5rem, 5vw, 5.5rem); letter-spacing: -.06em; line-height: 1; }

.team { margin-top: clamp(8rem, 15vw, 15rem); }
.subsection-heading { display: grid; grid-template-columns: 2fr 6fr 4fr; gap: 1.2rem; align-items: end; margin-bottom: 3rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--ink); }
.subsection-heading h3 { margin: 0; font-family: var(--display); font-size: clamp(3rem, 6vw, 6rem); font-weight: 300; letter-spacing: -.06em; line-height: .9; }
.subsection-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.5; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 260px)); gap: clamp(2.5rem, 5vw, 5rem) 1.2rem; align-items: start; }
.team-card { width: 100%; max-width: 260px; }
.team-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(145deg, #d8d5ce, #bbb8b1); }
.team-photo > span { position: absolute; left: 1rem; top: 1rem; color: rgba(21,21,18,.5); font-size: .65rem; letter-spacing: .15em; }
.team-photo::before, .team-photo::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(21,21,18,.16); }
.team-photo::after { inset: auto; left: 50%; top: 30%; width: 24%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: rgba(247,246,242,.35); }
.team-photo--portrait::before, .team-photo--portrait::after { display: none; }
.team-photo--portrait > img { height: 100%; object-fit: cover; object-position: center; }
.team-caption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--ink); }
.team-caption strong, .team-caption span { font-size: .78rem; font-weight: 400; }
.team-caption span { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 2fr 6fr 4fr; gap: 1.2rem; align-items: end; margin-bottom: clamp(4rem, 8vw, 8rem); }
.section-heading > p:last-child { margin: 0; max-width: 27rem; color: var(--muted); line-height: 1.55; }
.service-list { border-top: 1px solid var(--ink); }
.service-list article { display: grid; grid-template-columns: 2fr 5fr 5fr; gap: 1.2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.service-list article > span { font-size: .7rem; letter-spacing: .12em; }
.service-list h3 { margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 2.7vw, 3rem); font-weight: 300; letter-spacing: -.04em; }
.service-list p { margin: .35rem 0 0; max-width: 32rem; color: var(--muted); line-height: 1.55; }

.network { background: var(--ink); color: var(--paper-bright); }
.network-heading { display: grid; grid-template-columns: 2fr 6fr 4fr; gap: 1.2rem; align-items: start; }
.network-heading > p:last-child { margin: .4rem 0 0; color: #aaa9a3; line-height: 1.6; }
.network-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: clamp(6rem, 12vw, 12rem); }
.network-groups section { min-width: 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.35); }
.network-groups .eyebrow { padding: 1.3rem 0; }
.name-placeholder { min-height: 11rem; display: flex; align-items: flex-end; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(255,255,255,.18); color: #82817c; font-family: var(--display); font-size: clamp(1.5rem, 2.5vw, 2.7rem); letter-spacing: -.04em; }
.client-logos { --logo-gap: clamp(2.25rem, 3vw, 3.75rem); min-width: 0; min-height: 11rem; display: flex; align-items: center; gap: var(--logo-gap); padding: .75rem 1rem 1.35rem 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: none; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; border-bottom: 1px solid rgba(255,255,255,.18); -webkit-overflow-scrolling: touch; direction: ltr; }
.client-logos:focus-visible { outline: 1px solid rgba(255,255,255,.65); outline-offset: .35rem; }
.client-logos::-webkit-scrollbar { height: 2px; }
.client-logos::-webkit-scrollbar-track { background: transparent; }
.client-logos::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); }
.client-logo-family { flex: 0 0 auto; display: flex; align-items: center; gap: clamp(1.25rem, 2vw, 2rem); scroll-snap-align: start; }
.client-logo-card { flex: 0 0 auto; height: 4.5rem; display: flex; align-items: center; justify-content: center; scroll-snap-align: start; }
.client-logo-card img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.client-logo-card--civic { width: 8.4rem; height: 2.7rem; }
.client-logo-card--bud { width: 4.6rem; height: 3rem; }
.client-logo-card--virtus { width: 3.8rem; height: 4.5rem; }
.client-logo-card--santegidio { width: 6.7rem; height: 4.25rem; }
.client-logo-card--ferrari { width: 7.5rem; height: 4.1rem; }
.partner-logos { --logo-gap: clamp(2.25rem, 3vw, 3.75rem); min-width: 0; min-height: 11rem; display: flex; align-items: center; gap: var(--logo-gap); padding: .75rem 1rem 1.35rem 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: none; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; border-bottom: 1px solid rgba(255,255,255,.18); -webkit-overflow-scrolling: touch; direction: ltr; }
.partner-logos:focus-visible { outline: 1px solid rgba(255,255,255,.65); outline-offset: .35rem; }
.partner-logos::-webkit-scrollbar { height: 2px; }
.partner-logos::-webkit-scrollbar-track { background: transparent; }
.partner-logos::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); }
.partner-logo-card { flex: 0 0 auto; width: 8.4rem; height: 4.5rem; display: flex; align-items: center; justify-content: center; scroll-snap-align: start; }
.partner-logo-card img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.partner-logo-card--2xm { width: 4.8rem; height: 3rem; }
.partner-logo-card--square { width: 3.8rem; height: 3.8rem; }
.partner-logo-card--square img { width: 100%; height: 100%; }
.partner-logo-card--energy { width: 8.6rem; height: 3.2rem; padding: .4rem .55rem; background: #fff; box-sizing: border-box; }
.partner-logo-card--mba { width: 4.8rem; height: 2.2rem; }
.contact-panel { display: grid; grid-template-columns: 2fr 5fr 3fr 2fr; gap: 1.2rem; align-items: end; margin-top: clamp(7rem, 13vw, 13rem); padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.35); }
.contact-panel h2, .contact-panel h3 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 5vw, 5.2rem); font-weight: 300; letter-spacing: -.06em; }
.network--institutional .contact-panel { margin-top: 0; }
.contact-location { display: inline-flex; vertical-align: top; flex-direction: column; }
.contact-location small { margin-top: .65rem; font-family: var(--body); font-size: .68rem; font-weight: 400; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.contact-route { display: inline-block; vertical-align: top; line-height: .9; }
.contact-panel > p:not(.eyebrow) { color: #aaa9a3; }
.contact-emails { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; color: #aaa9a3; font-size: .72rem; letter-spacing: .04em; }
.contact-emails a { white-space: nowrap; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.contact-emails a:hover, .contact-emails a:focus-visible { color: var(--paper-bright); border-color: currentColor; }

.site-footer { min-height: 12rem; padding: 2.2rem var(--pad); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 1rem; background: var(--paper); border-top: 1px solid var(--rule); }
.site-footer p { margin: 0; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-center { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.footer-socials { display: flex; align-items: center; gap: .6rem; }
.footer-social { width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 50%; transition: border-color .25s, transform .25s; }
.footer-social img, .footer-social svg { width: 1.15rem; height: 1.15rem; object-fit: contain; }
.footer-social svg { display: block; fill: currentColor; }
.footer-social:hover, .footer-social:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.footer-copyright { justify-self: end; }

.construction-page { background: var(--paper-bright); }
.construction-main { min-height: calc(100svh - 12rem); padding: 10rem var(--pad) 5rem; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; align-items: center; }
.construction-copy { grid-column: 1 / 5; }
.construction-copy h1 { margin: 2rem 0; font-family: var(--display); font-size: clamp(3.4rem, 6vw, 7rem); font-weight: 300; letter-spacing: -.065em; line-height: .9; }
.construction-copy > p:last-child { max-width: 28rem; color: var(--muted); line-height: 1.6; }
.construction-visual { grid-column: 5 / 13; margin: 0; }
.construction-visual img { mix-blend-mode: multiply; }
.construction-main--visual { min-height: 100svh; padding: clamp(7rem, 11vw, 10rem) var(--pad) clamp(2rem, 5vw, 4rem); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.construction-main--visual .construction-visual { width: min(100%, 92rem); margin: 0; }
.construction-main--visual .construction-visual img { width: 100%; height: auto; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.projects-page { background: var(--paper-bright); }
.projects-index { min-height: calc(100svh - 12rem); padding: clamp(10rem, 15vw, 14rem) var(--pad) clamp(6rem, 10vw, 10rem); }
.projects-intro { display: grid; grid-template-columns: 2fr 7fr 3fr; gap: 1.2rem; align-items: start; }
.projects-intro h1 { margin: -.14em 0 0; font-family: var(--display); font-size: clamp(4rem, 9vw, 9rem); font-weight: 300; letter-spacing: -.07em; line-height: .86; }
.projects-intro > p:last-child { margin: .35rem 0 0; color: var(--muted); line-height: 1.6; }
.project-filters { margin-top: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.project-filter { position: relative; min-width: 0; padding: .9rem 3rem .85rem 1rem; display: flex; flex-direction: column; gap: .45rem; border-left: 1px solid var(--rule); transition: background .25s ease; }
.project-filter:first-child { border-left: 0; }
.project-filter:hover, .project-filter:focus-within { background: rgba(203, 184, 148, .22); }
.project-filter::after { content: "↓"; position: absolute; right: 1rem; bottom: 1.05rem; font-size: .95rem; font-weight: 300; pointer-events: none; }
.project-filter > span { color: var(--muted); font-size: .68rem; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; }
.project-filter select { width: 100%; padding: 0; border: 0; border-radius: 0; appearance: none; color: var(--ink); background: transparent; font: inherit; font-family: var(--display); font-size: clamp(1rem, 1.35vw, 1.25rem); font-weight: 300; cursor: pointer; }
.project-filter select:focus { outline: 0; }
.project-empty { margin: clamp(3rem, 6vw, 6rem) 0 0; padding: 4rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); color: var(--muted); font-family: var(--display); font-size: clamp(1.6rem, 3vw, 3rem); letter-spacing: -.04em; }
.project-list { margin-top: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--ink); }
.project-card { border-bottom: 1px solid var(--rule); }
.project-card[hidden] { display: none; }
.project-card-link { display: grid; grid-template-columns: 8fr 4fr; gap: 1.2rem; padding: 1.3rem 0; }
.project-card-image { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.project-card-image img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.project-card-copy { min-height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: .15rem 0 0 clamp(.4rem, 1.5vw, 1.5rem); }
.project-card-copy h2 { margin: auto 0 1rem; font-family: var(--display); font-size: clamp(3.5rem, 7vw, 8rem); font-weight: 300; letter-spacing: -.07em; line-height: .8; }
.project-card-copy h2.project-card-title--long { max-width: 9ch; font-size: clamp(2.8rem, 5.4vw, 6.2rem); line-height: .84; }
.project-card-copy > p:not(.eyebrow) { max-width: 22rem; margin: 0; color: var(--muted); font-size: clamp(.95rem, 1.25vw, 1.15rem); line-height: 1.45; }
.project-card-action { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 2rem; border-top: 1px solid var(--rule); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.project-card-action b { font-size: 1.2rem; font-weight: 300; transition: transform .3s ease; }
.project-card-link:hover .project-card-image img, .project-card-link:focus-visible .project-card-image img { transform: scale(1.025); filter: brightness(.9); }
.project-card-link:hover .project-card-action b, .project-card-link:focus-visible .project-card-action b { transform: translate(.25rem, -.25rem); }

.project-page { background: var(--paper-bright); }
.project-hero { position: relative; min-height: 100svh; overflow: hidden; color: #fff; background: #161a1f; }
.project-hero-image, .project-hero-shade { position: absolute; inset: 0; height: 100%; }
.project-hero-image { object-fit: cover; animation: hero-in 1.6s cubic-bezier(.2,.7,.2,1) both; }
.project-hero-image--train, .project-card-image--train img { object-position: 66% center; }
.project-hero-image--super-social, .project-card-image--super-social img { object-position: center center; }
.project-hero-image--virtus, .project-card-image--virtus img { object-position: center center; }
.project-hero-shade { background: linear-gradient(180deg, rgba(8,12,17,.28), rgba(8,12,17,.03) 40%, rgba(8,12,17,.72)); }
.project-hero-copy { position: relative; z-index: 2; min-height: 100svh; padding: 9rem var(--pad) 2.8rem; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto; gap: 1.2rem; align-items: end; }
.project-hero-copy > .eyebrow { grid-column: 1 / 8; align-self: start; }
.project-hero-copy h1 { grid-column: 1 / 11; margin: 0; font-family: var(--display); font-size: clamp(6rem, 17vw, 17rem); font-weight: 300; letter-spacing: -.08em; line-height: .7; }
.project-hero-copy h1.project-title--long { grid-column: 1 / 13; max-width: 11ch; font-size: clamp(4.5rem, 10vw, 10rem); line-height: .78; }
.project-subtitle { grid-column: 1 / 7; margin: 2rem 0 0; font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 3.2rem); letter-spacing: -.045em; line-height: 1; }
.project-hero-meta { grid-column: 10 / 13; align-self: end; justify-self: stretch; display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.55); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.project-overview { background: var(--paper-bright); }
.project-overview-heading { display: grid; grid-template-columns: 2fr 10fr; gap: 1.2rem; align-items: start; }
.project-overview-heading h2 { max-width: 72rem; margin: -.12em 0 0; font-family: var(--display); font-size: clamp(3.6rem, 8vw, 8.5rem); font-weight: 300; letter-spacing: -.07em; line-height: .9; }
.project-overview-body { display: grid; grid-template-columns: 2fr 5fr 5fr; gap: clamp(2rem, 4vw, 5rem) 1.2rem; margin-top: clamp(6rem, 12vw, 12rem); }
.project-lead { grid-column: 2 / 4; max-width: 72rem; margin: 0; font-family: var(--display); font-size: clamp(2rem, 4.3vw, 4.8rem); letter-spacing: -.055em; line-height: 1.04; }
.project-description { grid-column: 2; }
.project-description p { margin: 0 0 1.6rem; color: var(--muted); line-height: 1.68; }
.project-facts { grid-column: 3; margin: 0; border-top: 1px solid var(--ink); }
.project-facts div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.project-facts dt { color: var(--muted); font-size: .69rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.project-facts dd { margin: 0; line-height: 1.35; }
.project-collaboration-logo { display: block; width: 4.6rem; height: auto; filter: invert(1); }
.project-client-logo { display: block; width: 4.2rem; height: auto; }
.project-client-logo--ferrari { width: 6.5rem; }
.project-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(6rem, 10vw, 10rem); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.project-stats > div { min-height: 13rem; padding: 1.4rem 1.2rem 1.2rem 0; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--rule); }
.project-stats > div:not(:first-child) { padding-left: 1.2rem; }
.project-stats > div:last-child { border-right: 0; }
.project-stats strong { font-family: var(--display); font-size: clamp(2.7rem, 5vw, 5.6rem); font-weight: 300; letter-spacing: -.065em; line-height: .9; }
.project-stats span { max-width: 12rem; color: var(--muted); font-size: .72rem; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; }
.project-gallery { padding: 0 var(--pad) clamp(5rem, 10vw, 10rem); display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 2rem) 1.2rem; background: var(--paper-bright); }
.project-gallery-item { grid-column: span 6; margin: 0; overflow: hidden; background: #d8d6d0; }
.project-gallery-item--wide { grid-column: 1 / -1; }
.project-gallery-item img { height: 100%; object-fit: cover; }
.project-gallery-item--wide:not(.project-gallery-item--technical) { aspect-ratio: 16 / 9; }
.project-gallery-item--technical { background: #fff; }
.project-gallery-item--technical img { height: auto; object-fit: contain; }
.project-navigation { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--paper-bright); }
.project-navigation a { min-height: clamp(16rem, 28vw, 28rem); padding: 2.2rem var(--pad); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(255,255,255,.18); transition: background .3s, color .3s; }
.project-navigation a:last-child { align-items: flex-end; border-right: 0; text-align: right; }
.project-navigation a:hover, .project-navigation a:focus-visible { color: var(--ink); background: var(--sand); }
.project-navigation strong { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 5rem); font-weight: 300; letter-spacing: -.055em; line-height: 1; }
.project-navigation strong b { font-weight: 300; }

html[lang="ar"] .eyebrow,
html[lang="ar"] .site-nav,
html[lang="ar"] .menu-toggle,
html[lang="ar"] .close-project,
html[lang="ar"] .language-switch,
html[lang="ar"] .team-caption span,
html[lang="ar"] .service-list article > span,
html[lang="ar"] .contact-location small,
html[lang="ar"] .site-footer p,
html[lang="ar"] .project-filter > span,
html[lang="ar"] .project-card-action,
html[lang="ar"] .project-hero-meta,
html[lang="ar"] .project-facts dt,
html[lang="ar"] .project-stats span { letter-spacing: 0; }

html[lang="ar"] .hero h1,
html[lang="ar"] .studio-heading h2,
html[lang="ar"] .section-heading h2,
html[lang="ar"] .network-heading h2,
html[lang="ar"] .subsection-heading h3,
html[lang="ar"] .philosophy-lead,
html[lang="ar"] .philosophy-signoff,
html[lang="ar"] .service-list h3,
html[lang="ar"] .contact-panel h2,
html[lang="ar"] .contact-panel h3,
html[lang="ar"] .projects-intro h1,
html[lang="ar"] .project-card-copy h2,
html[lang="ar"] .project-hero-copy h1,
html[lang="ar"] .project-subtitle,
html[lang="ar"] .project-overview-heading h2,
html[lang="ar"] .project-lead,
html[lang="ar"] .project-navigation strong { letter-spacing: 0; }

html[lang="ar"] .hero h1 { line-height: .98; }
html[lang="ar"] .philosophy-lead,
html[lang="ar"] .project-lead { line-height: 1.3; }
html[lang="ar"] .studio-heading h2,
html[lang="ar"] .section-heading h2,
html[lang="ar"] .network-heading h2,
html[lang="ar"] .project-overview-heading h2 { line-height: 1.08; }
html[lang="ar"] .project-hero-copy h1,
html[lang="ar"] .project-hero-copy h1.project-title--long { line-height: .95; }

html[dir="rtl"] .skip-link { left: auto; right: 1rem; }
html[dir="rtl"] .site-nav a::after { transform-origin: left; }
html[dir="rtl"] .site-nav a:hover::after,
html[dir="rtl"] .site-nav a:focus-visible::after { transform-origin: right; }
html[dir="rtl"] .hero h1 span:nth-child(2) { margin-left: 0; margin-right: 9vw; }
html[dir="rtl"] .hero h1 span:nth-child(3) { margin-left: 0; margin-right: 28vw; }
html[dir="rtl"] .team-photo > span { left: auto; right: 1rem; }
html[dir="rtl"] .client-logos,
html[dir="rtl"] .partner-logos { padding-right: 0; padding-left: 1rem; }
html[dir="rtl"] .project-filter { padding-right: 1rem; padding-left: 3rem; border-right: 1px solid var(--rule); border-left: 0; }
html[dir="rtl"] .project-filter:first-child { border-right: 0; }
html[dir="rtl"] .project-filter::after { right: auto; left: 1rem; }
html[dir="rtl"] .project-card-copy { padding-right: clamp(.4rem, 1.5vw, 1.5rem); padding-left: 0; }
html[dir="rtl"] .project-stats > div { padding-right: 0; padding-left: 1.2rem; border-right: 0; border-left: 1px solid var(--rule); }
html[dir="rtl"] .project-stats > div:not(:first-child) { padding-right: 1.2rem; padding-left: 1.2rem; }
html[dir="rtl"] .project-stats > div:last-child { border-left: 0; }
html[dir="rtl"] .project-navigation a { border-right: 0; border-left: 1px solid rgba(255,255,255,.18); }
html[dir="rtl"] .project-navigation a:last-child { border-left: 0; text-align: left; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes hero-in { from { transform: scale(1.06); filter: brightness(.65); } to { transform: scale(1); filter: brightness(1); } }

@media (max-width: 1100px) {
  .site-nav { gap: 1rem; }
  .header-actions { gap: 1.2rem; }
  .contact-panel { grid-template-columns: 2fr 5fr 3fr; }
  .contact-emails { grid-column: 3; margin-top: 1rem; }
}

@media (max-width: 1024px) {
  .site-header { min-height: 78px; padding-top: 1rem; }
  .hero-grid { padding-top: 7rem; grid-template-columns: repeat(6, 1fr); }
  .hero-kicker { grid-column: 1 / 7; }
  .hero h1 { grid-column: 1 / 7; font-size: clamp(3.7rem, 17vw, 7rem); }
  .hero h1 span:nth-child(2) { margin-left: 0; }
  .hero h1 span:nth-child(3) { margin-left: 14vw; }
  html[dir="rtl"] .hero h1 span:nth-child(2) { margin-right: 0; }
  html[dir="rtl"] .hero h1 span:nth-child(3) { margin-left: 0; margin-right: 14vw; }
  .hero-intro { grid-column: 1 / 5; }
  .round-link { grid-column: 5 / 7; width: 5.8rem; height: 5.8rem; }
  .studio-heading, .philosophy { display: block; }
  .studio-heading .eyebrow { margin-bottom: 2rem; }
  .philosophy-lead { margin-top: 5rem; }
  .philosophy-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3rem; }
  .philosophy-signoff { margin-top: 4rem; }
  .subsection-heading, .section-heading, .network-heading { display: block; }
  .subsection-heading > *, .section-heading > *, .network-heading > * { margin-bottom: 1.8rem !important; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 230px)); }
  .team-card { max-width: 230px; }
  .service-list article { grid-template-columns: 1fr 4fr; }
  .service-list article p { grid-column: 2; }
  .network-groups { grid-template-columns: 1fr; gap: 4rem; }
  .contact-panel { display: block; }
  .contact-panel > * { margin-bottom: 1.6rem; }
  .contact-emails { align-items: flex-start; }
  .construction-main { display: block; padding-top: 9rem; }
  .construction-copy { max-width: 42rem; }
  .construction-visual { margin-top: 4rem; }
  .projects-intro { grid-template-columns: 1fr; }
  .projects-intro .eyebrow { margin-bottom: 2rem; }
  .projects-intro > p:last-child { max-width: 32rem; margin-top: 2rem; }
  .project-card-link { grid-template-columns: 7fr 5fr; }
  .project-hero-copy { grid-template-columns: repeat(6, 1fr); padding-top: 7rem; }
  .project-hero-copy > .eyebrow, .project-hero-copy h1 { grid-column: 1 / 7; }
  .project-subtitle { grid-column: 1 / 5; }
  .project-hero-meta { grid-column: 5 / 7; }
  .project-overview-heading { display: block; }
  .project-overview-heading .eyebrow { margin-bottom: 2rem; }
  .project-overview-body { grid-template-columns: 1fr 1fr; }
  .project-lead { grid-column: 1 / 3; }
  .project-description { grid-column: 1; }
  .project-facts { grid-column: 2; }
  .project-stats { grid-template-columns: repeat(2, 1fr); }
  .project-stats > div:nth-child(2) { border-right: 0; }
  html[dir="rtl"] .project-stats > div:nth-child(2) { border-left: 0; }
  .project-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .site-footer { grid-template-columns: 1fr auto; grid-template-areas: "brand social" "copyright copyright"; }
  .brand--footer { grid-area: brand; }
  .footer-center { grid-area: social; justify-self: end; align-items: flex-end; }
  .footer-center p { display: none; }
  .footer-copyright { grid-area: copyright; margin-top: 2rem !important; }
}

@media (max-width: 850px) {
  body[data-page="home"] .site-header,
  body[data-page="construction"] .site-header { grid-template-columns: auto 1fr; row-gap: .85rem; padding-bottom: .9rem; display: grid; }
  body[data-page="home"] .header-actions,
  body[data-page="construction"] .header-actions { display: contents; }
  body[data-page="home"] .language-switch,
  body[data-page="construction"] .language-switch { grid-column: 2; grid-row: 1; justify-self: end; padding-top: .15rem; }
  body[data-page="home"] .site-nav,
  body[data-page="construction"] .site-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; padding: 0; display: grid; grid-template-columns: repeat(4, max-content); justify-content: end; gap: .45rem 1.1rem; font-size: .72rem; }
}

@media (max-width: 700px) {
  .section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .philosophy-columns { grid-template-columns: 1fr; }
  .studio-heading h2, .section-heading h2, .network-heading h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .subsection-heading h3 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .service-list article { grid-template-columns: 2.2rem 1fr; }
  .network-groups { margin-top: 5rem; }
  .client-logos, .partner-logos { --logo-gap: 2.25rem; }
  .construction-main { padding-bottom: 3rem; }
  .construction-visual { margin-top: 2.5rem; }
  .projects-index { padding-top: 9rem; }
  .project-filters { grid-template-columns: 1fr; }
  .project-filter, .project-filter:first-child { padding: .85rem 3rem .8rem .25rem; border-left: 0; border-top: 1px solid var(--rule); }
  .project-filter:first-child { border-top: 0; }
  .project-filter::after { right: .25rem; bottom: 1rem; }
  html[dir="rtl"] .project-filter,
  html[dir="rtl"] .project-filter:first-child { padding: .85rem .25rem .8rem 3rem; border-right: 0; }
  html[dir="rtl"] .project-filter::after { right: auto; left: .25rem; }
  .project-filter select { font-size: 1rem; }
  .project-list { margin-top: 3.5rem; }
  .project-card-link { display: block; }
  .project-card-copy { min-height: 20rem; padding: 1.3rem 0 0; }
  .project-card-copy h2 { margin: auto 0 1rem; }
  .project-hero-copy { padding-bottom: 2rem; }
  .project-hero-copy h1 { font-size: clamp(5.5rem, 27vw, 9rem); }
  .project-hero-copy h1.project-title--long { font-size: clamp(4rem, 15vw, 7rem); }
  .project-subtitle { grid-column: 1 / 7; }
  .project-hero-meta { grid-column: 1 / 7; max-width: 24rem; }
  .project-overview-heading h2 { font-size: clamp(3.2rem, 13vw, 5rem); }
  .project-overview-body { display: block; margin-top: 5rem; }
  .project-description { margin-top: 4rem; }
  .project-facts { margin-top: 4rem; }
  .project-gallery { display: block; }
  .project-gallery-item { margin-bottom: 1rem; }
  .project-navigation { grid-template-columns: 1fr; }
  .project-navigation a { min-height: 14rem; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  html[dir="rtl"] .project-navigation a { border-left: 0; }
  .project-navigation a:last-child { border-bottom: 0; }
}

@media (max-width: 520px) {
  .brand { font-size: 1.3rem; }
  .header-actions { gap: .7rem; }
  .hero-grid { padding-bottom: 6.8rem; }
  .hero h1 { font-size: clamp(2.8rem, 15.5vw, 5rem); letter-spacing: -.075em; }
  .hero-intro { grid-column: 1 / 7; max-width: 100%; }
  .round-link { position: absolute; right: var(--pad); bottom: 1rem; width: 4.65rem; height: 4.65rem; font-size: .6rem; }
  html[dir="rtl"] .round-link { right: auto; left: var(--pad); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem .8rem; }
  .team-card { max-width: none; }
  .team-photo > span { left: .7rem; top: .7rem; font-size: .55rem; }
  html[dir="rtl"] .team-photo > span { left: auto; right: .7rem; }
  .team-caption { display: block; }
  .team-caption span { display: block; margin-top: .5rem; }
  .team-caption strong, .team-caption span { font-size: .68rem; }
  .service-list article { grid-template-columns: 2rem 1fr; }
  .network-heading h2 { font-size: 3.2rem; }
  .contact-panel h2, .contact-panel h3 { font-size: 2.8rem; }
  .construction-copy h1 { font-size: 3.2rem; }
  .projects-intro h1 { font-size: clamp(3.5rem, 17vw, 5rem); }
  .project-card-copy { min-height: 16rem; }
  .project-card-copy h2 { font-size: 4rem; }
  .project-card-copy h2.project-card-title--long { font-size: 3.4rem; }
  .project-card-action { padding-top: 1.3rem; }
  .project-hero-copy { padding-top: 6.4rem; }
  .project-hero-copy h1 { font-size: clamp(5rem, 25vw, 7.5rem); }
  .project-hero-copy h1.project-title--long { font-size: clamp(3.7rem, 16vw, 5.5rem); }
  .project-subtitle { font-size: 1.45rem; }
  .project-overview-heading h2 { font-size: clamp(3rem, 14.5vw, 4.5rem); }
  .project-lead { font-size: 2rem; }
  .project-stats { grid-template-columns: 1fr; }
  .project-stats > div, .project-stats > div:not(:first-child) { min-height: 10rem; padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  html[dir="rtl"] .project-stats > div,
  html[dir="rtl"] .project-stats > div:not(:first-child) { border-left: 0; }
  .project-stats > div:last-child { border-bottom: 0; }
  .project-stats strong { font-size: 3.4rem; }
}

@media (max-width: 359px) {
  .team-grid { grid-template-columns: minmax(0, 220px); }
  .header-actions { gap: .45rem; }
  .language-switch { font-size: .62rem; }
}

@media (orientation: landscape) and (max-height: 600px) {
  .site-header { min-height: 62px; padding-top: .7rem; padding-bottom: .7rem; }
  .brand { font-size: 1.25rem; }
  .brand small { margin-top: .4rem; }
  .hero-grid { min-height: 100svh; padding-top: 4.8rem; padding-bottom: 1rem; grid-template-rows: auto 1fr auto; }
  .hero-kicker { font-size: .58rem; }
  .hero h1 { margin: .4rem 0; font-size: clamp(2.7rem, 10vw, 5rem); line-height: .8; }
  .hero h1 span:nth-child(3) { margin-left: 20vw; }
  html[dir="rtl"] .hero h1 span:nth-child(3) { margin-left: 0; margin-right: 20vw; }
  .hero-intro { max-width: 44%; font-size: .78rem; line-height: 1.35; }
  .round-link { width: 4.3rem; height: 4.3rem; right: var(--pad); bottom: .8rem; font-size: .58rem; }
  html[dir="rtl"] .round-link { right: auto; left: var(--pad); }
  .construction-main { padding-top: 5rem; display: grid; grid-template-columns: 5fr 7fr; gap: 2rem; }
  .construction-copy, .construction-visual { grid-column: auto; margin-top: 0; }
  .construction-copy h1 { margin: 1rem 0; font-size: clamp(2.3rem, 7vw, 4rem); }
  .construction-copy > p:last-child { font-size: .8rem; }
  .project-hero-copy { padding-top: 4.7rem; padding-bottom: .9rem; grid-template-rows: auto 1fr auto; }
  .project-hero-copy h1 { font-size: clamp(4rem, 21vh, 7rem); }
  .project-hero-copy h1.project-title--long { font-size: clamp(3rem, 14vh, 5rem); }
  .project-subtitle { grid-column: 1 / 5; max-width: none; margin-top: .5rem; font-size: 1rem; }
  .project-hero-meta { grid-column: 5 / 7; margin-top: .5rem; font-size: .58rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
