/* Desert Sand Global — black and gold */
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

:root {
  --black: #050403; --gold: #d1ac6a; --gold-hi: #f4e0b0; --cream: #efe6d6; --body: #c7bdab; --mute: #978c7a;
  --rule: rgba(209, 172, 106, .24);
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Jost', system-ui, sans-serif; --arabic: 'Amiri', 'Noto Naskh Arabic', serif;
  --g: clamp(20px, 5vw, 80px); --ease: cubic-bezier(.16, 1, .3, 1);
  --r0: min(25vh, 34vw); --r: var(--r0); --cy: 38vh; --p: 0;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--black); -webkit-text-size-adjust: 100%; }
body { background: var(--black); color: var(--cream); font: 300 18px/1.7 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 300; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--gold); color: var(--black); padding: 10px 16px; font-size: 14px; }
.skip:focus { top: 12px; }
.label { font: 400 12px/1.5 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.motion [data-r] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s ease, transform 1.3s var(--ease); transition-delay: calc(var(--d, 0) * .12s); }
.motion [data-r].in { opacity: 1; transform: none; }

/* A gold light passes across the headings once */
.motion .glint { background: linear-gradient(105deg, var(--cream) 0 40%, #f0d18d 46.5%, #fff7e4 50%, #f0d18d 53.5%, var(--cream) 60% 100%) 100% 0 / 260% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.motion .glint.in { animation: glint 2.8s cubic-bezier(.45, 0, .25, 1) .45s both; }
@keyframes glint { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Arriving on a page opens it through a ring */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: vtOpen 1.15s cubic-bezier(.65, 0, .25, 1) both; }
@keyframes vtOpen { from { clip-path: circle(0 at 50% 50%); } to { clip-path: circle(72vmax at 50% 50%); } }
.vt-ring { position: fixed; left: 50%; top: 50%; z-index: 300; width: 0; height: 0; border-radius: 50%; border: 1.5px solid var(--gold); transform: translate(-50%, -50%); pointer-events: none; display: none; }
.vt .vt-ring { display: block; animation: vtRing 1.15s cubic-bezier(.65, 0, .25, 1) both; }
@keyframes vtRing { from { width: 0; height: 0; } 88% { opacity: 1; } to { width: 143vmax; height: 143vmax; opacity: 0; } }

/* Gold ring that follows the pointer */
.cur { position: fixed; left: 0; top: 0; z-index: 250; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid var(--gold); border-radius: 50%; pointer-events: none; opacity: 0; transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0); transition: opacity .3s, width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .4s; }
.cur.on { opacity: .7; }
.cur.big { width: 62px; height: 62px; margin: -31px 0 0 -31px; background-color: rgba(209, 172, 106, .08); }

/* Menu */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--g); font: 400 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.nav::before { content: ""; position: absolute; inset: 0 0 -26px; z-index: -1; background: linear-gradient(#050403 62%, rgba(5, 4, 3, 0)); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.nav.solid::before { opacity: 1; }
.menu-open.nav::before { opacity: 0; }
.nav-l, .nav-r { display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; }
.nav-r { justify-content: flex-end; }
.nav a { position: relative; transition: color .3s; }
.nav a:hover, .nav a.on { color: var(--gold); }
.nav-l a.on::after, .nav-r a.on::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.nav-mark { display: block; width: 46px; height: 46px; color: var(--gold); opacity: var(--nm, 1); transition: opacity .4s; }
.nav-mark svg { display: block; width: 100%; height: 100%; }
.lang { display: flex; gap: 10px; align-items: center; }
.lang button { color: var(--mute); letter-spacing: .1em; padding: 6px 2px; transition: color .3s; }
.lang button.on, .lang button:hover { color: var(--cream); }
.burger { display: none; position: relative; width: 30px; height: 30px; justify-self: end; }
.burger i { position: absolute; left: 2px; right: 2px; height: 1px; background: var(--cream); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 10px; }
.burger i:last-child { top: 19px; }
.menu-open .burger i:first-child { top: 14.5px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 14.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 40; background: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 38px; visibility: hidden; clip-path: circle(0 at var(--mx, 100%) var(--my, 0)); transition: clip-path .6s cubic-bezier(.7, 0, .3, 1), visibility 0s .6s; }
.menu.open { visibility: visible; clip-path: circle(160vmax at var(--mx, 100%) var(--my, 0)); transition: clip-path .9s cubic-bezier(.7, 0, .3, 1); }
.menu-ring { position: absolute; width: min(118vw, 92vh); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--rule); }
.menu nav { position: relative; text-align: center; }
.menu nav a { display: block; font: 300 clamp(42px, 11vw, 64px)/1.22 var(--serif); }
.menu nav a.on { color: var(--gold); font-style: italic; }
.menu.open nav a { animation: rise .9s var(--ease) both; animation-delay: calc(.2s + var(--i) * .06s); }
.menu .lang { position: relative; font: 400 14px/1 var(--sans); letter-spacing: .16em; }

/* Home: fly through the ring into the desert */
.pin { height: 340vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--black); }
.window { position: absolute; inset: 0; clip-path: circle(var(--r) at 50% var(--cy)); opacity: var(--wo, 0); }
.window img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.25)); }
.window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,4,3,.58), rgba(5,4,3,0) 24%, rgba(5,4,3,.16) 52%, rgba(5,4,3,.86)); }
.ring { position: absolute; left: 50%; top: var(--cy); width: calc(var(--r) * 2); height: calc(var(--r) * 2); transform: translate(-50%, -50%); border-radius: 50%; border: var(--bw, 7px) solid var(--gold); }
.motion .ring:not(.drawn), .motion .ph-ring:not(.drawn) { -webkit-mask: conic-gradient(#000 var(--sweep), transparent 0); mask: conic-gradient(#000 var(--sweep), transparent 0); animation: sweep 1.9s cubic-bezier(.6, 0, .2, 1) .15s both; }
.scene { position: absolute; left: 50%; top: var(--cy); width: calc(var(--r0) * 2); height: calc(var(--r0) * 2); transform: translate(-50%, -50%); color: var(--gold); fill: currentColor; opacity: var(--so, 1); }
.motion .scene .c { animation: rise 1.3s var(--ease) 1s both; }
.motion .scene .u { animation: fromL 1.5s var(--ease) .8s both; }
.word { position: absolute; left: 50%; top: calc(var(--cy) + var(--r0) + clamp(22px, 4.4vh, 48px)); transform: translateX(-50%); width: min(66vw, 520px); color: var(--gold); opacity: var(--wd, 1); }
.word svg { display: block; width: 100%; height: auto; fill: currentColor; }
.motion .word svg { animation: wordIn 1.5s var(--ease) 1.5s both; }
.copy { position: absolute; inset: auto 0 clamp(70px, 11vh, 110px); padding-inline: var(--g); text-align: center; opacity: calc((var(--p) - .68) * 5); transform: translateY(calc((1 - min(1, max(0, (var(--p) - .68) * 3.4))) * 34px)); }
.tag { font: 300 clamp(36px, 5.6vw, 88px)/1.05 var(--serif); }
.what { margin-top: 14px; font-size: clamp(16px, 1.3vw, 20px); color: var(--cream); }
.links { margin-top: 26px; display: flex; justify-content: center; flex-wrap: wrap; gap: 18px clamp(24px, 4vw, 56px); }
.link { font: 400 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-bottom: 8px; border-bottom: 1px solid var(--rule); transition: border-color .3s; }
.link:hover { border-color: var(--gold); }
.cue { position: absolute; left: 50%; bottom: 24px; width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); opacity: calc(1 - var(--p) * 9); transform-origin: top; }
.motion .cue { animation: cue 2.4s ease-in-out 2.4s infinite both; }
@keyframes sweep { from { --sweep: 0deg; } to { --sweep: 360deg; } }
@keyframes rise { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes fromL { from { opacity: 0; transform: translateX(-90px); } to { opacity: 1; transform: none; } }
@keyframes wordIn { from { opacity: 0; letter-spacing: 0; transform: scaleX(.94); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(30px); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
html:not(.motion) .pin { height: auto; }
html:not(.motion) .window { display: none; }
html:not(.motion) .copy { opacity: 1; transform: none; bottom: 40px; }
html:not(.motion) .tag { font-size: clamp(30px, 3.4vw, 50px); }

/* Sand that drifts in the openings */
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* Other pages: the opening is a ring that opens onto a photograph */
.ph { height: 175vh; }
.ph-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; --r: min(30vh, 42vw); }
.ph-window { position: absolute; inset: 0; clip-path: circle(var(--r) at 50% 50%); }
.ph-window img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.22)); filter: brightness(.6) saturate(.92); }
.ph-window::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(5,4,3,.25), rgba(5,4,3,.55) 70%), linear-gradient(transparent 60%, rgba(5,4,3,.7)); }
.ph-ring { position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 2); height: calc(var(--r) * 2); transform: translate(-50%, -50%); border-radius: 50%; border: var(--bw, 2px) solid var(--gold); z-index: 1; }
.ph-copy { position: relative; z-index: 2; text-align: center; padding-inline: var(--g); max-width: 1180px; filter: drop-shadow(0 2px 26px rgba(0, 0, 0, .55)); transform: translateY(calc(var(--p) * -50px)); }
.ph-copy h1 { font: 300 clamp(50px, 7.6vw, 122px)/1.02 var(--serif); margin-top: 18px; }
.ph-copy .lede { max-width: 38em; margin: 26px auto 0; color: var(--cream); font-size: clamp(17px, 1.35vw, 21px); }
.ph-copy strong { font-weight: 400; color: var(--gold); }
html:not(.motion) .ph { height: auto; }
html:not(.motion) .ph-stage { position: relative; height: auto; min-height: 88vh; padding: 140px 0 100px; }
html:not(.motion) .ph-window { clip-path: none; }
html:not(.motion) .ph-ring { display: none; }

/* Sections */
.sec { position: relative; padding: clamp(100px, 16vh, 180px) var(--g); }
.center { text-align: center; }
.drop { width: 1px; height: clamp(70px, 12vh, 130px); margin: 0 auto clamp(30px, 5vh, 54px); background: linear-gradient(transparent, var(--gold)); }
.motion .drop { transform: scaleY(0); transform-origin: top; transition: transform 1.5s var(--ease); opacity: 1; }
.motion .drop.in { transform: none; }
.statement { font: 300 clamp(34px, 4.7vw, 74px)/1.14 var(--serif); max-width: 19em; margin: 26px auto 0; }
.two { max-width: 980px; margin: clamp(48px, 8vh, 84px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); color: var(--body); text-align: left; }
.two strong { font-weight: 400; color: var(--cream); }
.h2 { font: 300 clamp(38px, 5vw, 78px)/1.08 var(--serif); margin: 18px auto 0; max-width: 18em; }
.lede { max-width: 40em; margin: 26px auto 0; color: var(--body); font-size: clamp(18px, 1.4vw, 21px); }

.pillars { margin: clamp(48px, 8vh, 84px) auto 0; max-width: 1500px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--rule); }
.pillars li { position: relative; min-height: min(76vh, 640px); padding: clamp(24px, 3vw, 46px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.pillars li + li { border-left: 1px solid var(--rule); }
.pillars img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s ease, transform 1.6s var(--ease); }
.pillars li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(5,4,3,.9)); opacity: 0; transition: opacity .9s; }
.pillars li:hover img { opacity: .55; transform: none; }
.pillars li:hover::after { opacity: 1; }
.pillars .n, .pillars div { position: relative; z-index: 1; }
.pillars .n { font: 300 clamp(76px, 8.6vw, 136px)/1 var(--serif); color: var(--gold); }
.pillars h3 { font: 300 clamp(32px, 3vw, 48px)/1.1 var(--serif); margin-bottom: 14px; }
.pillars p { color: var(--body); }
@media (hover: none) { .pillars img { opacity: .34; transform: none; } .pillars li::after { opacity: 1; } }

.founder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; max-width: 1400px; margin-inline: auto; }
.portrait { justify-self: center; text-align: center; }
.circle { position: relative; width: min(80vw, 540px); aspect-ratio: 1; }
.circle::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1px solid var(--gold); }
.motion .circle::before { -webkit-mask: conic-gradient(#000 var(--sweep), transparent 0); mask: conic-gradient(#000 var(--sweep), transparent 0); }
.motion .in .circle::before, .motion .circle.in::before { animation: sweep 2.2s cubic-bezier(.6, 0, .2, 1) .2s both; }
.circle div { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.circle img { position: absolute; width: 152%; max-width: none; height: auto; left: -27%; top: -43%; filter: brightness(1.16); transform: translateY(calc((var(--p, .5) - .5) * -5%)); }
.portrait figcaption { margin-top: 44px; font: 400 12px/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.name { font: 300 clamp(46px, 6vw, 96px)/1 var(--serif); margin: 18px 0 30px; }
.ftext p:not(.label) { color: var(--body); margin-bottom: 18px; max-width: 34em; }
.ftext .link { display: inline-block; margin-top: 18px; }
.ftext p.sig { margin-top: 34px; color: var(--cream); }
.sig b { display: block; font: italic 300 clamp(30px, 2.8vw, 42px)/1.1 var(--serif); color: var(--gold); }
.sig span { display: block; margin-top: 8px; font: 400 12px/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }

.figs { margin: clamp(48px, 8vh, 84px) auto 0; max-width: 1500px; display: grid; grid-template-columns: repeat(4, 1fr); }
.figs div { padding: 14px clamp(10px, 2vw, 30px); text-align: center; }
.figs div + div { border-left: 1px solid var(--rule); }
.figs b { display: block; font: 300 clamp(68px, 8.8vw, 148px)/1 var(--serif); color: var(--gold); font-variant-numeric: lining-nums; }
.figs span { display: block; margin-top: 12px; color: var(--body); font-size: 16px; }

.geo-stage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); max-width: 1500px; margin: clamp(40px, 6vh, 70px) auto 0; text-align: left; }
.place b { display: block; font: 300 clamp(38px, 4.8vw, 78px)/1.05 var(--serif); transition: color .5s; }
.place span { color: var(--mute); }
.place { padding-block: 12px; }
.motion .place { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .2; transition: opacity .5s; }
.motion .place.on { opacity: 1; }
.motion .place.on b { color: var(--gold); }
.globe-wrap { display: flex; justify-content: center; }
.motion .globe-wrap { position: sticky; top: 0; height: 100vh; align-items: center; align-self: start; }
.globe { display: block; width: min(100%, 620px); aspect-ratio: 1; }
.motion .globe { width: min(100%, calc(100vh - 110px)); }

.letter { position: relative; height: min(88vh, 62vw); overflow: hidden; }
.letter img { width: 100%; height: 100%; object-fit: cover; transform: translateY(calc((var(--p, .5) - .5) * -10%)) scale(1.2); }
.letter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(5,4,3,.72)); }
.letter figcaption { position: absolute; z-index: 1; inset: auto 0 30px; text-align: center; font: 400 12px/1.5 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--cream); }

.countries { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px clamp(24px, 3.6vw, 58px); margin-top: clamp(40px, 7vh, 72px); font: italic 300 clamp(32px, 4.2vw, 66px)/1.25 var(--serif); color: var(--gold); }
.note { max-width: 44em; margin: clamp(36px, 6vh, 60px) auto 0; font-size: 15px; color: var(--mute); }
.mark { width: 74px; height: 74px; margin: 0 auto clamp(36px, 6vh, 56px); color: var(--gold); }
.mark svg { display: block; width: 100%; height: 100%; }
.quote blockquote { font: italic 300 clamp(32px, 4.5vw, 70px)/1.18 var(--serif); max-width: 21em; margin-inline: auto; }
.quote cite { display: block; margin-top: 36px; font: 400 12px/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* Turning seal */
.seal { width: 176px; height: 176px; margin: 0 auto clamp(36px, 6vh, 56px); color: var(--gold); }
.seal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.seal text { font: 400 16.5px var(--sans); letter-spacing: .12em; fill: currentColor; }
.motion .seal .turn { transform-origin: 100px 100px; animation: spin 40s linear infinite; }

/* About */
.facts { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.facts div { padding: clamp(26px, 4vh, 42px) clamp(14px, 2vw, 30px); border-bottom: 1px solid var(--rule); text-align: center; }
.facts div:not(:nth-child(3n + 1)) { border-left: 1px solid var(--rule); }
.facts dd { font: 300 clamp(44px, 5vw, 80px)/1.05 var(--serif); margin-top: 10px; color: var(--cream); font-variant-numeric: lining-nums; }
.facts dd.long { font-size: clamp(28px, 2.6vw, 42px); line-height: 1.15; padding-top: .35em; }
.facts dt { font: 400 12px/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.trio { max-width: 1300px; margin: clamp(56px, 9vh, 96px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--rule); text-align: left; }
.trio li { padding: clamp(24px, 3vw, 44px); }
.trio li + li { border-left: 1px solid var(--rule); }
.trio .n { display: block; font: 300 clamp(56px, 6vw, 90px)/1 var(--serif); color: var(--gold); margin-bottom: 26px; }
.trio h3 { font: 300 clamp(28px, 2.6vw, 38px)/1.1 var(--serif); margin-bottom: 10px; }
.trio p { color: var(--body); }
.principles { max-width: 1200px; margin: clamp(48px, 8vh, 84px) auto 0; border-bottom: 1px solid var(--rule); }
.principles li { position: relative; display: grid; grid-template-columns: clamp(80px, 12vw, 180px) 1fr; gap: clamp(20px, 4vw, 60px); padding: clamp(30px, 5vh, 50px) clamp(0px, 1vw, 16px); border-top: 1px solid var(--rule); overflow: hidden; }
.principles li::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(209, 172, 106, .1), transparent 70%); transform: translateX(-101%); transition: transform .8s var(--ease); }
.principles li:hover::before { transform: none; }
.principles li > * { position: relative; }
.principles .n { font: italic 300 clamp(56px, 6vw, 96px)/.9 var(--serif); color: var(--gold); }
.principles h3 { font: 300 clamp(30px, 3vw, 46px)/1.1 var(--serif); margin-bottom: 10px; }
.principles p { color: var(--body); max-width: 40em; }

/* Journey */
.tl { position: relative; max-width: 1240px; margin: 0 auto; }
.tl-line { position: absolute; left: 50%; top: 0; bottom: 150px; width: 1px; background: var(--rule); transform: translateX(-50%); }
.tl-line i { position: absolute; inset: 0; background: linear-gradient(var(--gold), var(--gold-hi)); transform-origin: top; transform: scaleY(var(--tp, 1)); box-shadow: 0 0 12px rgba(209, 172, 106, .6); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 110px 1fr; align-items: start; padding-block: clamp(40px, 8vh, 90px); }
.when { grid-column: 1; grid-row: 1; text-align: right; font: 300 clamp(38px, 4.4vw, 72px)/1 var(--serif); color: var(--gold); font-variant-numeric: lining-nums; }
.motion .when { opacity: .35; transition: opacity .8s; }
.motion .tl-item.on .when { opacity: 1; }
.dot { grid-column: 2; grid-row: 1; justify-self: center; margin-top: clamp(14px, 1.6vw, 26px); width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--gold); background: var(--black); position: relative; z-index: 1; transition: background .5s, box-shadow .5s, transform .5s var(--ease); }
.tl-item.on .dot, html:not(.motion) .dot { background: var(--gold); box-shadow: 0 0 0 6px rgba(209, 172, 106, .14), 0 0 22px rgba(209, 172, 106, .7); transform: scale(1.15); }
.tl-body { grid-column: 3; grid-row: 1; max-width: 33em; }
.tl-item:nth-child(even) .when { grid-column: 3; text-align: left; }
.tl-item:nth-child(even) .tl-body { grid-column: 1; justify-self: end; text-align: right; }
.tl-body h2 { font: 300 clamp(32px, 3.4vw, 52px)/1.1 var(--serif); margin-bottom: 14px; }
.tl-body p { color: var(--body); }
.tl-body p em, .tl-body p strong { font-weight: 400; color: var(--cream); }
.chapter { display: inline-block; margin-top: 22px; padding: 9px 16px; border: 1px solid var(--rule); border-radius: 999px; font: 400 11px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.mini { margin-top: 24px; border-top: 1px solid var(--rule); text-align: left; }
.mini li { display: grid; grid-template-columns: 44px 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.mini span { color: var(--gold); font: 300 24px/1.25 var(--serif); grid-row: span 2; }
.mini b { font-weight: 400; color: var(--cream); }
.mini em { font-style: normal; color: var(--mute); font-size: 15px; }
.tl-end { position: relative; text-align: center; padding-top: 40px; }
.tl-end .mark { margin-bottom: 20px; background: var(--black); }
.tl-end p { font: italic 300 clamp(30px, 3.4vw, 50px)/1.2 var(--serif); color: var(--gold); }
.walker { position: fixed; left: 0; right: 0; top: 60px; z-index: 30; height: 58px; pointer-events: none; opacity: 0; transition: opacity .6s; background: linear-gradient(#050403 72%, rgba(5, 4, 3, 0)); }
.walker.show { opacity: 1; }
.walk-line { position: absolute; left: var(--g); right: var(--g); bottom: 14px; height: 1px; background: var(--rule); }
.walk-line i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--wp, 0) * 100%); background: var(--gold); }
.camel { position: absolute; bottom: 14px; left: calc(var(--g) + var(--wp, 0) * (100% - 2 * var(--g) - 34px)); width: 34px; color: var(--gold); }
.camel svg { display: block; width: 100%; height: auto; fill: currentColor; transform-origin: 50% 100%; }
.walker.walking .camel svg { animation: bob .34s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-2.5px) rotate(1.5deg); } }

/* Portfolio */
.focus { max-width: 1400px; margin: clamp(48px, 8vh, 84px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); text-align: left; }
.pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 30px; }
.pic img { width: 100%; height: 100%; object-fit: cover; transform: translateY(calc((var(--p, .5) - .5) * -8%)) scale(1.15); }
.motion .pic { clip-path: circle(15% at 50% 50%); transition: clip-path 2s var(--ease); }
.motion .pic.in { clip-path: circle(75% at 50% 50%); }
.focus h3 { font: 300 clamp(36px, 3.6vw, 56px)/1.08 var(--serif); margin: 12px 0 16px; }
.focus p { color: var(--body); }
.ticks { margin-top: 24px; border-bottom: 1px solid var(--rule); }
.ticks li { padding: 12px 0; border-top: 1px solid var(--rule); color: var(--cream); font-size: 16px; }
.ticks li::before { content: "—"; color: var(--gold); margin-right: 14px; }
.holds { max-width: 1400px; margin: clamp(48px, 8vh, 84px) auto 0; border-bottom: 1px solid var(--rule); text-align: left; }
.hold { position: relative; display: grid; grid-template-columns: 90px 1.1fr 1.5fr .9fr; gap: clamp(20px, 3vw, 48px); padding: clamp(28px, 4vh, 44px) clamp(0px, 1vw, 14px); border-top: 1px solid var(--rule); align-items: start; }
.hold::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.hold:hover::before { transform: none; }
.hold .n { font: 300 clamp(44px, 4vw, 64px)/1 var(--serif); color: var(--gold); transition: transform .6s var(--ease); }
.hold:hover .n { transform: translateX(6px); }
.hold h3 { font: 300 clamp(28px, 2.6vw, 40px)/1.1 var(--serif); }
.hold .tags { margin-top: 10px; font: 400 12px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.hold-desc { color: var(--body); }
.hold dl div + div { margin-top: 14px; }
.hold dt { font: 400 11px/1.5 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.hold dd { color: var(--cream); font-size: 16px; }
.closing { position: relative; min-height: 92vh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 140px var(--g); }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateY(calc((var(--p, .5) - .5) * -10%)) scale(1.2); filter: brightness(.4); }
.closing > div { position: relative; max-width: 1040px; }
.closing h2 { font: 300 clamp(40px, 5.4vw, 86px)/1.08 var(--serif); }
.closing .lede { color: var(--cream); }

/* Contact */
.contact-g { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.address { font: 300 clamp(32px, 3.4vw, 52px)/1.25 var(--serif); font-style: normal; margin-top: 22px; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px 34px; align-items: center; }
.actions .link { cursor: pointer; }
.clock { color: var(--mute); font-size: 15px; }
.clock b { color: var(--cream); font-weight: 400; font-variant-numeric: tabular-nums; }
.clock i { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--gold); vertical-align: 1px; }
.motion .clock i { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.kv div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule); }
.kv div:last-child { border-bottom: 1px solid var(--rule); }
.kv dt { font: 400 12px/1.9 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.kv dd { color: var(--cream); }
.contact-note { margin-top: 28px; color: var(--body); font-size: 16px; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding: clamp(70px, 11vh, 120px) var(--g) 90px; }
.foot-logo { width: clamp(200px, 22vw, 320px); margin: 0 auto; color: var(--gold); }
.foot-logo svg { display: block; width: 100%; height: auto; fill: currentColor; }
.foot-grid { max-width: 1100px; margin: clamp(48px, 7vh, 70px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; font-size: 16px; color: var(--body); }
.foot-grid h2 { font: 400 12px/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot-grid a:hover { color: var(--gold); }
.foot-brand { max-width: 1100px; margin: 44px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 34px; font-size: 15px; color: var(--body); }
.foot-brand a { padding-bottom: 4px; border-bottom: 1px solid var(--rule); transition: color .3s, border-color .3s; }
.foot-brand a:hover { color: var(--gold); border-color: var(--gold); }
.foot-end { max-width: 1100px; margin: 34px auto 0; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 18px; font-size: 13px; color: var(--mute); }

/* Arabic: menus, tagline and footer */
html[lang="ar"] [data-i18n] { font-family: var(--arabic); letter-spacing: 0 !important; text-transform: none; }
html[lang="ar"] .nav [data-i18n] { font-size: 17px; }
html[lang="ar"] .foot-grid h2[data-i18n] { font-size: 17px; }
html[lang="ar"] .tag[data-i18n] { line-height: 1.45; }

@media (max-width: 860px) {
  .nav-l a, .nav-r a, .nav-r .lang { display: none; }
  .burger { display: block; }
  .pin { height: 280vh; }
  .ph { height: 150vh; }
  .ph-copy h1 { font-size: clamp(42px, 11vw, 64px); }
  .two, .founder, .pillars, .foot-grid, .focus, .contact-g, .trio { grid-template-columns: 1fr; }
  .pillars li { min-height: 340px; }
  .pillars li + li, .trio li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .figs { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .figs div:nth-child(3) { border-left: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:not(:nth-child(3n + 1)) { border-left: 0; }
  .facts div:nth-child(even) { border-left: 1px solid var(--rule); }
  .facts dd { font-size: 44px; }
  .facts dd.long { font-size: 24px; }
  .principles li { grid-template-columns: 1fr; gap: 10px; }
  .geo-stage { display: flex; flex-direction: column; }
  .globe-wrap { order: -1; }
  .motion .globe-wrap { top: 62px; height: auto; z-index: 2; background: var(--black); padding-block: 6px 10px; }
  .motion .globe { width: min(100%, 44vh); }
  .motion .place { min-height: 40vh; }
  .letter { height: 70vh; }
  .tl-line { left: 12px; transform: none; bottom: 170px; }
  .tl-item { grid-template-columns: 30px 1fr; padding-block: 34px; }
  .when, .tl-item:nth-child(even) .when { grid-column: 2; grid-row: 1; text-align: left; font-size: 38px; }
  .dot { grid-column: 1; grid-row: 1; justify-self: start; margin: 12px 0 0 6px; }
  .tl-body, .tl-item:nth-child(even) .tl-body { grid-column: 2; grid-row: 2; justify-self: start; text-align: left; margin-top: 16px; }
  .walker { top: 56px; }
  .hold { grid-template-columns: 56px 1fr; }
  .hold-desc, .hold dl { grid-column: 2; }
  .kv div { grid-template-columns: 1fr; gap: 4px; }
  .foot-end { flex-direction: column; }
  .foot-grid { text-align: center; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .hold { grid-template-columns: 70px 1fr 1.4fr; }
  .hold dl { grid-column: 2 / -1; display: flex; gap: 40px; }
  .hold dl div + div { margin-top: 0; }
}
