/* ==========================================================================
   Chandal Group — an evening by Chandal
   Night base, the brand's rose copper, ivory paper. Canela for display,
   Neue Montreal for text (both cover Latin and Arabic).
   ========================================================================== */

@font-face { font-family: "Canela"; src: url(../fonts/canela-200.woff2) format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Canela"; src: url(../fonts/canela-300.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Canela"; src: url(../fonts/canela-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montreal"; src: url(../fonts/montreal-var.woff2) format("woff2-variations"), url(../fonts/montreal-var.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

@property --tint { syntax: "<color>"; inherits: true; initial-value: #bb8068; }

:root {
	--night: #110e0d;
	--night-2: #171210;
	--night-3: #241c18;
	--ivory: #f4ede6;
	--paper: #f6f0ea;
	--paper-2: #ece2d8;
	--rose: #bb8068;
	--rose-2: #a86f59;
	--rose-deep: #7a4635;
	--rose-soft: #dcb2a0;
	--rose-ink: #8b533e;
	--ink: #1e1e1e;
	--ink-mute: #62564f;
	--mute: #b6a79d;
	--line: rgba(244, 237, 230, .14);
	--line-dark: rgba(30, 30, 30, .14);
	--serif: "Canela", "Iowan Old Style", "Times New Roman", serif;
	--sans: "Montreal", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: clamp(20px, 4.2vw, 72px);
	--max: 1520px;
	--hdr: 84px;
	--ease: cubic-bezier(.22, .8, .2, 1);
	--leaf: 38% 0 38% 0;          /* the Chandal leaf: two opposite rounded corners */
	--leaf-s: 1.25em 0 1.25em 0;
	--leaf-m: 56px 0 56px 0;
	--tint: #bb8068;
}

/* --- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); color-scheme: dark; }
body { margin: 0; background: var(--night); color: var(--ivory); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
html[lang^="ar"] body { font-size: 18px; line-height: 1.85; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: inherit; margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--rose); color: var(--night); }
:focus-visible { outline: 2px solid var(--rose-soft); outline-offset: 3px; }
.light :focus-visible, .rsvp :focus-visible, .contact__card :focus-visible, .menu__card :focus-visible { outline-color: var(--rose-ink); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -80px; inset-inline-start: 16px; z-index: 1000; background: var(--ivory); color: var(--night); padding: 10px 16px; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.light { background: var(--paper); color: var(--ink); }
.main { position: relative; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* --- Type ---------------------------------------------------------------- */

.display { font-family: var(--serif); font-weight: 300; line-height: .98; letter-spacing: -.02em; margin: 0; }
.display--xxl { font-size: clamp(3.6rem, 12.5vw, 13.5rem); line-height: .9; letter-spacing: -.035em; }
.display--xl { font-size: clamp(3rem, 8.2vw, 8.4rem); }
.display--l { font-size: clamp(2.3rem, 5.2vw, 5.2rem); line-height: 1.02; }
.display--m { font-size: clamp(1.8rem, 3.1vw, 3rem); line-height: 1.06; }
.display--s { font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.25; letter-spacing: -.01em; }
html[lang^="ar"] .display { letter-spacing: 0; line-height: 1.32; }
html[lang^="ar"] .display--xxl { font-size: clamp(3rem, 10vw, 10.5rem); line-height: 1.15; }
html[lang^="ar"] .display--xl { font-size: clamp(2.5rem, 6.6vw, 6.8rem); line-height: 1.25; }
html[lang^="ar"] .display--l { font-size: clamp(2rem, 4.3vw, 4.3rem); line-height: 1.3; }
html[lang^="ar"] .display--m { font-size: clamp(1.6rem, 2.7vw, 2.6rem); line-height: 1.35; }
html[lang^="ar"] .display--s { line-height: 1.5; }

.eyebrow { display: flex; align-items: center; gap: .9em; margin: 0 0 1.5rem; font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--rose); }
.eyebrow::before { content: ""; width: 7px; height: 7px; flex: none; background: currentColor; transform: rotate(45deg); }
html[lang^="ar"] .eyebrow { font-size: 14px; letter-spacing: 0; }
.light .eyebrow { color: var(--rose-ink); }

/* --- Buttons & links ------------------------------------------------------ */

.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 54px; padding: 0 1.75em; border-radius: var(--leaf-s); font: 500 15px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; transition: color .45s var(--ease), border-color .45s var(--ease); }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--fill, var(--ivory)); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: 0 50%; }
html[dir="rtl"] .btn::before { transform-origin: 0 50%; }
html[dir="rtl"] .btn:hover::before, html[dir="rtl"] .btn:focus-visible::before { transform-origin: 100% 50%; }
.btn__arrow { transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
html[dir="rtl"] .btn__arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(4px); }
.btn--rose { background: var(--rose); color: var(--night); --fill: var(--ivory); }
.btn--ghost { border: 1px solid rgba(244, 237, 230, .38); color: var(--ivory); --fill: var(--ivory); }
.btn--ghost:hover { color: var(--night); }
.btn--line { border: 1px solid rgba(244, 237, 230, .32); color: var(--ivory); --fill: var(--rose); }
.btn--line:hover { color: var(--night); border-color: var(--rose); }
.btn--dark { background: var(--ink); color: var(--ivory); --fill: var(--rose-deep); }
.btn--line-dark { border: 1px solid rgba(30, 30, 30, .3); color: var(--ink); --fill: var(--ink); }
.btn--line-dark:hover { color: var(--ivory); }

.link { display: inline-flex; align-items: center; gap: .6em; padding-bottom: 4px; font: 500 15px/1.3 var(--sans); color: var(--rose); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
html[dir="rtl"] .link { background-position: 100% 100%; }
.link:hover { background-size: 100% 1px; }
.link .icon { transition: transform .5s var(--ease); }
.link:hover .icon { transform: translateX(4px); }
html[dir="rtl"] .link .icon { transform: scaleX(-1); }
html[dir="rtl"] .link:hover .icon { transform: scaleX(-1) translateX(4px); }
.link--dark { color: var(--rose-ink); }
.link__back { transform: scaleX(-1); }
html[dir="rtl"] .link .link__back { transform: none; }

/* --- Header --------------------------------------------------------------- */

.hdr { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-inline: var(--gutter); transition: transform .7s var(--ease), background-color .5s var(--ease); }
.hdr::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .5s; }
.hdr.is-solid { background: rgba(17, 14, 13, .94); }
.hdr.is-solid::after { opacity: 1; }
.hdr.is-hidden { transform: translateY(-101%); }
.hdr__logo { justify-self: start; display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); }
.hdr__mark { width: 42px; height: 42px; color: var(--rose); }
.hdr__word { width: 108px; height: 42px; }
.hdr__nav { display: flex; gap: clamp(18px, 2.4vw, 42px); }
.hdr__nav a { position: relative; padding: 8px 0; font: 400 15px/1 var(--sans); opacity: .78; transition: opacity .3s; }
.hdr__nav a::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 6px; height: 6px; background: var(--rose); transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .45s var(--ease); }
.hdr__nav a:hover, .hdr__nav a[aria-current] { opacity: 1; }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.hdr__tools { justify-self: end; display: flex; align-items: center; gap: 20px; }
.hdr__lang { font: 500 15px/1 var(--sans); opacity: .85; padding: 8px 2px; }
.hdr__lang:hover { opacity: 1; color: var(--rose-soft); }
.hdr__cta { min-height: 44px; padding: 0 1.3em; font-size: 14px; }
.hdr__burger { display: none; align-items: center; gap: 12px; min-height: 44px; font: 500 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
html[lang^="ar"] .hdr__burger { letter-spacing: 0; font-size: 15px; }
.hdr__burger-lines { position: relative; width: 26px; height: 10px; }
.hdr__burger-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.hdr__burger-lines i:first-child { top: 0; }
.hdr__burger-lines i:last-child { top: 8.5px; }
body.menu-open .hdr__burger-lines i:first-child { top: 4.25px; transform: rotate(45deg); }
body.menu-open .hdr__burger-lines i:last-child { top: 4.25px; transform: rotate(-45deg); }
body.menu-open .hdr { background: transparent; transform: none; }
body.menu-open .hdr::after { opacity: 0; }

/* Mobile menu: the evening's programme card drops in. */
.menu { position: fixed; inset: 0; z-index: 58; display: flex; justify-content: center; align-items: flex-start; padding: calc(var(--hdr) + 6px) 14px 14px; background: rgba(10, 8, 7, .72); }
.menu__card { width: min(520px, 100%); max-height: calc(100svh - var(--hdr) - 20px); overflow: auto; background: var(--paper); color: var(--ink); border-radius: 44px 0 44px 0; padding: 26px 28px 24px; transform-origin: 50% 0; }
.menu__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.menu__head .eyebrow { margin: 0; color: var(--rose-ink); }
.menu__head .eyebrow::before { display: none; }
.menu__mark { width: 30px; height: 30px; color: var(--rose); }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.menu__num { font: 500 12px/1 var(--sans); color: var(--rose-ink); min-width: 22px; }
.menu__label { font: 300 clamp(1.9rem, 8vw, 2.5rem)/1.1 var(--serif); }
.menu__nav a[aria-current] .menu__label { color: var(--rose-ink); }
.menu__foot { display: grid; gap: 12px; margin-top: 22px; font-size: 15px; color: var(--ink-mute); }
.menu__foot a { display: inline-flex; align-items: center; gap: 10px; }
.menu__lang { font-weight: 500; color: var(--rose-ink); }

/* --- Loader: the invitation ------------------------------------------------ */

.loader { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; overflow: hidden; background: var(--night); perspective: 1600px; }
html.has-loader .loader { display: grid; }
html.has-loader body { overflow: hidden; }
.loader__glow { position: absolute; inset: 0; background: radial-gradient(60vmax 40vmax at 50% 58%, rgba(187, 128, 104, .22), transparent 70%); }
.env { position: relative; width: min(80vw, 520px); aspect-ratio: 1.55; perspective: 900px; }
.env__back, .env__front { position: absolute; inset: 0; width: 100%; height: 100%; }
.env__back { z-index: 0; }
.env__card { position: absolute; left: 5%; right: 5%; bottom: 5%; height: 88%; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 6% 8%; background: var(--paper); color: var(--ink); text-align: center; border-radius: 3px; }
.env__card::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(139, 83, 62, .35); border-radius: 2px; pointer-events: none; }
.env__top { font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--rose-ink); }
html[lang^="ar"] .env__top { font-size: 13px; letter-spacing: 0; }
.env__logo { display: flex; align-items: center; gap: 10px; }
.env__mark { width: clamp(34px, 7vw, 50px); height: clamp(34px, 7vw, 50px); color: var(--rose); }
.env__word { width: clamp(88px, 18vw, 130px); height: clamp(34px, 7vw, 50px); color: var(--ink); }
.env__rule { width: 44px; height: 1px; background: var(--rose); }
.env__since { font: 500 10px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-mute); }
html[lang^="ar"] .env__since { font-size: 13px; letter-spacing: 0; }
.env__front { z-index: 2; }
.env__flap { position: absolute; left: 0; top: 0; width: 100%; height: 60%; z-index: 3; transform-origin: 50% 0; transform-style: preserve-3d; }
.env__flap i { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 50% 100%); backface-visibility: hidden; }
.env__flap i:first-child { background: linear-gradient(180deg, #c99179 0%, #b97d66 100%); }
.env__flap i:last-child { clip-path: polygon(0 100%, 100% 100%, 50% 0); background: linear-gradient(180deg, #e9dccf, #d9c6b6); transform: rotateX(180deg); }
.env__seal { position: absolute; left: 50%; top: 60%; z-index: 4; width: 17%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #a0614b, #6d3b2b 72%); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .14), 0 4px 10px rgba(0, 0, 0, .25); transform: translate(-50%, -50%); }
.env__seal-mark { width: 54%; height: 54%; color: #f1ddd0; }
.loader__skip { position: absolute; bottom: 26px; inset-inline-end: 28px; padding: 10px; font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
html[lang^="ar"] .loader__skip { letter-spacing: 0; font-size: 14px; }

/* --- Page transition: the bloom ------------------------------------------- */

.petals { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; }
.petals.is-active, html.is-arriving .petals { visibility: visible; pointer-events: auto; }
.petals__svg { width: 100%; height: 100%; overflow: visible; }
.petal--a { fill: var(--rose); }
.petal--b { fill: #a66b55; }
.petals__core { fill: var(--rose-deep); }
.petals__dots path { fill: var(--ivory); }

/* --- Reveals -------------------------------------------------------------- */

html.js [data-reveal] { transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), clip-path 1.5s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal]:not(.is-in):not([data-reveal="leaf"]):not([data-reveal="shot"]) { opacity: 0; transform: translateY(26px); }
html.js [data-reveal="leaf"]:not(.is-in) { clip-path: inset(16% 16% 16% 16% round 50%); }
html.js [data-reveal="leaf"] img { transition: transform 1.8s var(--ease); }
html.js [data-reveal="leaf"]:not(.is-in) img { transform: scale(1.22); }
html.js [data-reveal="shot"]:not(.is-in) { opacity: 0; transform: translateY(40px) scale(.97); }
html.js [data-lines] { opacity: 0; animation: ch-failsafe 0s 4s forwards; }
html.js [data-lines].is-split { opacity: 1; animation: none; }
.line-mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
html[lang^="ar"] .line-mask { padding-bottom: .22em; margin-bottom: -.22em; padding-top: .08em; margin-top: -.08em; }
[data-ink] .w { display: inline-block; }
[data-ink] .w > span { display: inline-block; transition: opacity .7s var(--ease), transform .8s var(--ease), color 1.6s var(--ease); transition-delay: calc(var(--wi, 0) * 22ms); }
html.js [data-ink]:not(.is-in) .w > span { opacity: 0; transform: translateY(.35em); color: var(--rose-ink); }
@keyframes ch-failsafe { to { opacity: 1; } }
html.is-arriving .petals { animation: ch-petals-failsafe 0s 4s forwards; }
@keyframes ch-petals-failsafe { to { visibility: hidden; pointer-events: none; } }

/* --- Hero ----------------------------------------------------------------- */

.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; transform-origin: 50% 60%; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 14, 13, .62) 0%, rgba(17, 14, 13, .12) 32%, rgba(17, 14, 13, .3) 58%, rgba(17, 14, 13, .94) 100%); }
.hero__inner { position: relative; z-index: 1; padding-bottom: clamp(36px, 7vh, 84px); }
.hero__meta { margin-bottom: 2.2rem; }
.hero__title { display: flex; flex-direction: column; }
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.04em; }
html[lang^="ar"] .hero__line { padding: .06em 0 .2em; margin-bottom: -.12em; }
.hero__line > span { display: inline-block; }
.hero__line--indent { padding-inline-start: 11vw; }
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; margin-top: 3rem; }
.hero__text { max-width: 30rem; margin: 0; font-size: 18px; color: rgba(244, 237, 230, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; z-index: 1; inset-inline-end: var(--gutter); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 14px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); transform: translateY(-50%); }
.hero__scroll span { writing-mode: vertical-rl; }
html[lang^="ar"] .hero__scroll span { writing-mode: horizontal-tb; letter-spacing: 0; font-size: 13px; }
.hero__scroll i { position: relative; width: 1px; height: 72px; background: var(--line); }
.hero__scroll i::after { content: ""; position: absolute; left: -3px; top: 0; width: 7px; height: 7px; background: var(--rose); transform: rotate(45deg); animation: ch-drop 2.4s var(--ease) infinite; }
@keyframes ch-drop { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 66px; opacity: 0; } }
html.js .hero [data-hero-in] { opacity: 0; transform: translateY(20px); }
html.js .hero__line > span, html.js .case-hero__title .hero__line > span { transform: translateY(105%); }

/* --- The aisle ------------------------------------------------------------- */

.aisle { position: relative; height: 400vh; background: var(--night); }
.aisle__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1000px; perspective-origin: 50% 46%; }
.aisle__world { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.aisle__item { position: absolute; left: 50%; top: 50%; width: clamp(170px, 23vw, 400px); aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: var(--leaf); opacity: 0; transform: translate(-50%, -50%) translate3d(var(--x, 0), var(--y, 0), var(--z, 0)); will-change: opacity; backface-visibility: hidden; background: var(--night-3); }
.aisle__item--land { width: clamp(220px, 32vw, 560px); aspect-ratio: 3 / 2; border-radius: 30% 0 30% 0 / 45% 0 45% 0; }
.aisle__item img, .aisle__backdrop img { width: 100%; height: 100%; object-fit: cover; }
.aisle__backdrop { position: absolute; left: 50%; top: 50%; width: 172vw; height: 172vh; margin: 0; opacity: 0; transform: translate(-50%, -50%) translate3d(0, 0, var(--z, -9000px)); }
.aisle__backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(17, 14, 13, .58); }
.aisle__shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 35%, rgba(17, 14, 13, .88) 100%); }
.aisle__words { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.aisle__words span { grid-area: 1 / 1; font: 300 clamp(3.2rem, 10vw, 10rem)/1 var(--serif); letter-spacing: -.03em; opacity: 0; }
html[lang^="ar"] .aisle__words span { letter-spacing: 0; font-size: clamp(3rem, 8.5vw, 8.5rem); line-height: 1.3; }
.aisle__stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; }
.aisle__stage .eyebrow { justify-content: center; }
.aisle__stage h2 { max-width: 13ch; }
.aisle__text { max-width: 34rem; margin: 1.6rem 0 0; font-size: 18px; color: rgba(244, 237, 230, .86); }

/* --- The bloom (services) ---------------------------------------------------- */

.bloom { position: relative; padding: clamp(90px, 14vh, 170px) 0 clamp(60px, 10vh, 120px); }
.bloom__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head wheel" "list wheel"; column-gap: 6vw; }
.bloom__head { grid-area: head; }
.bloom__wheel-wrap { grid-area: wheel; }
.bloom__wheel { position: sticky; top: calc(50vh - min(21vw, 290px)); width: min(42vw, 580px); aspect-ratio: 1; margin-inline: auto; --wheel: 90deg; }
.bloom__petal { position: absolute; left: 50%; top: 50%; width: 47%; height: 47%; overflow: hidden; border-radius: var(--leaf); background: var(--night-3); transform-origin: 0 0; transform: rotate(calc(var(--i) * 90deg + var(--wheel))) translate(-102%, -102%) translate(50%, 50%) scale(var(--s, .9)) translate(-50%, -50%); }
.bloom__petal img { position: absolute; left: 50%; top: 50%; width: 145%; height: 145%; max-width: none; object-fit: cover; transform: translate(-50%, -50%) rotate(calc(-1 * (var(--i) * 90deg + var(--wheel)))); }
.bloom__petal::after { content: ""; position: absolute; inset: 0; background: var(--night); opacity: var(--dim, .5); transition: opacity .9s var(--ease); }
.bloom__core { position: absolute; left: 50%; top: 50%; width: 11%; height: 11%; color: var(--rose); transform: translate(-50%, -50%); }
.bloom__list { grid-area: list; list-style: none; margin: 8vh 0 0; padding: 0; counter-reset: none; }
.bloom__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; min-height: 46vh; padding: 5vh 0; border-top: 1px solid var(--line); opacity: .75; transition: opacity .7s var(--ease); }
.bloom__item.is-active { opacity: 1; }
.bloom__num { font: 200 2.2rem/1 var(--serif); color: var(--rose); }
.bloom__name { font: 300 clamp(2rem, 3.4vw, 3.3rem)/1.05 var(--serif); letter-spacing: -.02em; margin-bottom: .6rem; }
html[lang^="ar"] .bloom__name { letter-spacing: 0; line-height: 1.35; }
.bloom__tag { font: 300 clamp(1.15rem, 1.5vw, 1.4rem)/1.4 var(--serif); color: var(--rose-soft); margin-bottom: .8rem; }
.bloom__text { color: var(--mute); max-width: 30rem; }

/* --- Founder ------------------------------------------------------------------ */

.founder { position: relative; padding: clamp(90px, 14vh, 180px) 0 clamp(70px, 10vh, 130px); overflow: clip; }
.founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 7vw 6vw; align-items: center; }
.founder__photo { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--leaf); background: var(--paper-2); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; scale: 1.1; }
.founder__photo figcaption { position: absolute; inset-inline-start: 7%; bottom: 7%; display: none; }
.founder__hi { margin-bottom: 1.8rem; }
.founder__text { max-width: 34rem; font: 300 clamp(1.15rem, 1.55vw, 1.42rem)/1.72 var(--sans); color: var(--ink); }
html[lang^="ar"] .founder__text { line-height: 1.95; }
.founder__sign { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 2.4rem; }
.founder__signature { width: 210px; height: auto; overflow: visible; }
.founder__signature text { font: 300 86px/1 var(--serif); fill: transparent; stroke: var(--rose-ink); stroke-width: .9; stroke-dasharray: 700; stroke-dashoffset: 700; }
.founder__sign.is-in .founder__signature text { animation: ch-sign 2.6s var(--ease) forwards; }
@keyframes ch-sign { 70% { stroke-dashoffset: 0; fill: transparent; } 100% { stroke-dashoffset: 0; fill: var(--rose-ink); } }
.founder__sign p { display: flex; flex-direction: column; margin: 0; padding-inline-start: 24px; border-inline-start: 1px solid var(--line-dark); }
.founder__sign strong { font: 400 1.15rem/1.3 var(--serif); }
.founder__sign span { font-size: 14px; color: var(--ink-mute); }
.founder__since { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: .2rem; padding-top: 4vh; color: var(--rose-ink); }
.founder__since-top { display: flex; align-items: center; gap: 18px; font: 500 12px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; }
html[lang^="ar"] .founder__since-top { letter-spacing: 0; font-size: 15px; }
.founder__since-top i { width: clamp(60px, 14vw, 220px); height: 1px; background: currentColor; opacity: .6; }
.founder__year { font: 200 clamp(5rem, 15vw, 14rem)/1 var(--serif); letter-spacing: -.04em; color: var(--rose); }
.founder__heart { font: 500 clamp(12px, 1.2vw, 15px)/1 var(--sans); letter-spacing: .45em; text-transform: uppercase; }
html[lang^="ar"] .founder__heart { letter-spacing: 0; font-size: 18px; }

/* --- The album (work) ------------------------------------------------------------ */

.album { position: relative; height: calc(100vh + var(--leaves, 8) * 46vh); background: var(--night); }
.album__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 3.2vh; padding-top: calc(var(--hdr) * .6); overflow: hidden; }
.album__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.album__head .eyebrow { margin-bottom: .8rem; }
.album__count { margin: 0; font: 200 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--serif); color: var(--mute); }
.album__count span { color: var(--rose); }
.book { position: relative; width: min(86vw, 120vh, 1240px); aspect-ratio: 1.5; margin-inline: auto; perspective: 2600px; }
.book__page, .book__leaf { position: absolute; top: 0; bottom: 0; width: 50%; }
.book__page--left { inset-inline-start: 0; }
.book__page--right { inset-inline-end: 0; }
.book__page { background: var(--paper); color: var(--ink); overflow: hidden; }
.book__leaf { inset-inline-end: 0; transform-origin: 0% 50%; transform-style: preserve-3d; z-index: calc(100 - var(--k)); will-change: transform; }
html[dir="rtl"] .book__leaf { transform-origin: 100% 50%; }
.book__face { position: absolute; inset: 0; overflow: hidden; background: var(--paper); color: var(--ink); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.book__face--back { transform: rotateY(180deg); }
.book__face::after, .book__page::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.book__face--front::after, .book__page--right::after { background: linear-gradient(90deg, rgba(40, 24, 18, .22), rgba(40, 24, 18, 0) 9%); }
.book__face--back::after, .book__page--left::after { background: linear-gradient(270deg, rgba(40, 24, 18, .26), rgba(40, 24, 18, 0) 9%); }
html[dir="rtl"] .book__face--front::after, html[dir="rtl"] .book__page--right::after { background: linear-gradient(270deg, rgba(40, 24, 18, .22), rgba(40, 24, 18, 0) 9%); }
html[dir="rtl"] .book__face--back::after, html[dir="rtl"] .book__page--left::after { background: linear-gradient(90deg, rgba(40, 24, 18, .26), rgba(40, 24, 18, 0) 9%); }
.book__face::before { content: ""; position: absolute; inset: 0; z-index: 2; background: #000; opacity: var(--shade, 0); pointer-events: none; }
.book__spine { position: absolute; left: 50%; top: 0; bottom: 0; z-index: 400; width: 3%; transform: translateX(-50%); background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .18) 50%, rgba(0, 0, 0, 0)); pointer-events: none; }
.book__endpaper { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; background: var(--rose-deep); color: var(--ivory); }
.book__endpaper::before { content: ""; position: absolute; inset: -20%; background: url(../img/pattern.webp) center / 70% repeat; opacity: .1; }
.book__endpaper-inner, .book__closing-inner, .book__title-page { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; padding: 10%; text-align: center; }
.book__endpaper .eyebrow { color: var(--rose-soft); margin: 0; }
.book__endpaper .eyebrow::before { display: none; }
.book__endtext { max-width: 22rem; margin: 0; font: 300 clamp(1rem, 1.5vw, 1.35rem)/1.5 var(--serif); }
.book__endpaper .link { color: var(--ivory); }
.book__endmark { width: 54px; height: 54px; color: var(--rose-soft); }
.book__closing .book__endmark { color: var(--rose); }
.book__closing-inner .display { max-width: 12ch; margin-bottom: 8px; }
.book__title-page .eyebrow { margin: 0; color: var(--rose-ink); justify-content: center; }
.book__title-page .display { max-width: 9ch; }
.book__title-mark { width: 64px; height: 64px; color: var(--rose); margin-bottom: 8px; }
.book__hint { margin: 10px 0 0; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); }
html[lang^="ar"] .book__hint { letter-spacing: 0; font-size: 14px; }
.book__text-page { position: relative; display: flex; flex-direction: column; height: 100%; padding: 8% 9% 9%; }
.book__num { margin: 0; font: 200 clamp(2.6rem, 5vw, 4.8rem)/1 var(--serif); color: var(--rose); }
.book__name { margin: .35em 0 .25em; }
.book__by { display: block; margin: 0 0 1.1em; font: 500 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--rose-ink); }
html[lang^="ar"] .book__by { letter-spacing: 0; font-size: 14px; }
.book__excerpt { max-width: 26em; margin: 0; font-size: clamp(14px, 1.1vw, 16.5px); line-height: 1.6; color: var(--ink-mute); }
.book__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: auto 0 1.4em; }
.book__thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 26% 0 26% 0 / 34% 0 34% 0; background: var(--paper-2); }
.book__thumb img { width: 100%; height: 100%; object-fit: cover; }
.book__folio { position: absolute; bottom: 5%; inset-inline-end: 9%; margin: 0; font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
html[lang^="ar"] .book__folio { letter-spacing: 0; font-size: 13px; }
.book__photo-page { position: absolute; inset: 0; display: block; }
.book__photo-page img { width: 100%; height: 100%; object-fit: cover; }
.book__photo-page::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(10, 8, 7, .7)); }
.book__photo-cap { position: absolute; z-index: 1; inset-inline-start: 7%; bottom: 6%; display: flex; align-items: baseline; gap: 12px; font: 300 clamp(1.3rem, 2.3vw, 2.2rem)/1.1 var(--serif); color: var(--ivory); }
.book__photo-cap span { font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--rose-soft); }
.album__list { display: none; }
.album__entry a { display: grid; gap: 18px; }
.album__entry-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--leaf); }
.album__entry-img img { width: 100%; height: 100%; object-fit: cover; }
.album__entry-meta { display: flex; flex-direction: column; gap: 6px; }
.album__entry .book__num { font-size: 2.2rem; }

/* --- The round table (collaborations) ------------------------------------------- */

.table { position: relative; padding: clamp(90px, 14vh, 170px) 0 clamp(40px, 8vh, 100px); overflow: clip; }
.table__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.table__head .eyebrow { justify-content: center; }
.table__text { max-width: 40rem; margin: 1.6rem 0 0; color: var(--mute); }
.table__scene { position: relative; height: clamp(340px, 46vw, 620px); margin-top: 2vh; }
.table__top { position: absolute; left: 50%; top: 54%; width: min(62vw, 820px); aspect-ratio: 3.1; transform: translate(-50%, -50%); }
.table__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(187, 128, 104, .5); }
.table__ring--inner { inset: 16%; border-color: rgba(244, 237, 230, .1); background: radial-gradient(closest-side, rgba(187, 128, 104, .1), transparent); }
.table__centre { position: absolute; left: 50%; top: 50%; width: clamp(44px, 5vw, 70px); height: clamp(44px, 5vw, 70px); color: var(--rose); transform: translate(-50%, -50%); }
.table__guests { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.table__guest { position: absolute; left: 50%; top: 54%; width: clamp(92px, 11vw, 170px); height: clamp(46px, 5.6vw, 86px); margin: calc(clamp(46px, 5.6vw, 86px) / -2) 0 0 calc(clamp(92px, 11vw, 170px) / -2); display: grid; place-items: center; will-change: transform, opacity; }
.table__guest img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* --- RSVP card ---------------------------------------------------------------- */

.rsvp { padding: clamp(80px, 12vh, 150px) var(--gutter); perspective: 1500px; }
.rsvp__card { max-width: 1000px; margin-inline: auto; padding: 14px; background: var(--paper); color: var(--ink); border-radius: 72px 0 72px 0; transform-origin: 50% 100%; }
.rsvp__frame { display: flex; flex-direction: column; align-items: center; padding: clamp(44px, 7vw, 96px) clamp(22px, 6vw, 80px); text-align: center; border: 1px solid rgba(139, 83, 62, .35); border-radius: 60px 0 60px 0; }
.rsvp__mark { width: 52px; height: 52px; margin-bottom: 22px; color: var(--rose); }
.rsvp .eyebrow { color: var(--rose-ink); justify-content: center; }
.rsvp__title { max-width: 13ch; }
.rsvp__text { max-width: 34rem; margin: 1.3rem 0 2.2rem; color: var(--ink-mute); font-size: 18px; }
.rsvp__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.rsvp__details { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin: 2.4rem 0 0; font-size: 15px; color: var(--ink-mute); }
.rsvp__details span { font-size: 8px; color: var(--rose); }
.rsvp__details a:hover { color: var(--rose-ink); }

/* --- Footer ----------------------------------------------------------------------- */

.ftr { position: relative; overflow: hidden; padding: clamp(70px, 10vh, 120px) 0 28px; background: var(--night-2); }
.ftr__pattern { position: absolute; inset-inline-end: -10vw; top: -12vw; width: 48vw; aspect-ratio: 1; background: url(../img/pattern.webp) center / contain no-repeat; opacity: .06; pointer-events: none; }
.ftr__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.ftr__logo { display: inline-flex; align-items: center; gap: 16px; }
.ftr__mark { width: 62px; height: 62px; color: var(--rose); }
.ftr__word { width: 162px; height: 62px; color: var(--ivory); }
.ftr__tag { max-width: 22ch; margin: 0; font: 300 clamp(1.3rem, 2.1vw, 1.9rem)/1.3 var(--serif); }
html[lang^="ar"] .ftr__tag { line-height: 1.6; }
.ftr__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 48px 0; }
.ftr__h { margin: 0 0 18px; font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--rose); }
html[lang^="ar"] .ftr__h { letter-spacing: 0; font-size: 14px; }
.ftr ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ftr ul a { opacity: .82; transition: opacity .3s, color .3s; }
.ftr ul a:hover { opacity: 1; color: var(--rose-soft); }
.ftr__contact a { display: inline-flex; align-items: center; gap: 10px; }
.ftr__contact .icon { color: var(--rose); }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.ftr__bar p { margin: 0; }
.ftr__bar a:hover, .ftr__top-btn:hover { color: var(--ivory); }

/* --- Page heroes ---------------------------------------------------------------------- */

.phero { position: relative; padding: calc(var(--hdr) + clamp(60px, 12vh, 150px)) 0 clamp(50px, 8vh, 110px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5vw; align-items: end; }
.phero__wide { max-width: 16ch; }
.phero__lead { max-width: 38rem; margin: 1.8rem 0 0; font: 300 clamp(1.1rem, 1.45vw, 1.32rem)/1.7 var(--sans); color: rgba(244, 237, 230, .84); }
.phero__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--leaf); background: var(--night-3); }
.phero__media { position: relative; }
.phero__media img, .chapter__media img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; translate: 0 var(--py, 0); }
.prose { max-width: 44rem; margin-top: 2rem; }

/* About */
.story { padding-top: 4vh; padding-bottom: clamp(80px, 14vh, 170px); }
.story__text { max-width: 30em; margin: 0 auto; text-align: center; color: var(--ivory); }
.process { padding: clamp(90px, 14vh, 170px) 0; }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 6vw; }
.process__sticky { position: sticky; top: calc(var(--hdr) + 8vh); }
.process__bloom { width: min(240px, 60%); margin-top: 6vh; overflow: visible; }
.process__bloom path { fill: var(--night-3); stroke: rgba(187, 128, 104, .55); stroke-width: .5; transition: fill 1s var(--ease); }
.process__bloom path.is-on { fill: var(--rose); }
.process__steps { margin: 0; padding: 0; list-style: none; }
.process__step { min-height: 44vh; padding: 7vh 0; border-top: 1px solid var(--line); }
.process__num { display: block; margin-bottom: 1.2rem; font: 200 clamp(3rem, 5vw, 4.6rem)/1 var(--serif); color: var(--rose); }
.process__step h3 { margin-bottom: 1rem; }
.process__step p { max-width: 32rem; font-size: 18px; color: var(--mute); }

/* Services */
.svc-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8vh; border-top: 1px solid var(--line); }
.svc-index a { display: flex; flex-direction: column; gap: 8px; padding: 28px 22px 10px 0; transition: color .3s; }
html[dir="rtl"] .svc-index a { padding: 28px 0 10px 22px; }
.svc-index a + a { border-inline-start: 1px solid var(--line); padding-inline-start: 22px; }
.svc-index__num { font: 200 2.4rem/1 var(--serif); color: var(--rose); }
.svc-index__name { font: 300 clamp(1.4rem, 2vw, 1.9rem)/1.2 var(--serif); }
.svc-index__tag { font-size: 14px; color: var(--mute); }
.svc-index a:hover .svc-index__name { color: var(--rose-soft); }
.chapter { padding: clamp(80px, 12vh, 150px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) - 1px); }
.chapter__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; align-items: center; }
.chapter--flip .chapter__media { order: 2; }
.chapter__media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--leaf); background: var(--night-3); }
.chapter__num { display: block; margin-bottom: 1rem; font: 200 clamp(3.6rem, 7vw, 6.6rem)/1 var(--serif); color: var(--rose); }
.chapter__tag { margin: 1.3rem 0 1rem; font: 300 clamp(1.3rem, 1.9vw, 1.75rem)/1.35 var(--serif); color: var(--rose-soft); }
.chapter__text { max-width: 34rem; color: var(--mute); }
.chapter__h { margin: 2.4rem 0 1rem; }
.chapter__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; margin: 0 0 2.6rem; padding: 0; list-style: none; }
.chapter__list li { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chapter__dot { width: 7px; height: 7px; color: var(--rose); transform: translateY(-1px); }
.chapter__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.chapter__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 9vh; }
.chapter__work { display: flex; flex-direction: column; gap: 14px; }
.chapter__work-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--leaf-m); background: var(--night-3); }
.chapter__work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.chapter__work:hover img { transform: scale(1.05); }
.chapter__work-name { font: 300 1.4rem/1.2 var(--serif); }
.chapter__work-name em { font: 500 11px/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-inline-start: 8px; }

/* Portfolio */
.glow { position: fixed; inset: -10vh -10vw; z-index: 0; pointer-events: none; background: radial-gradient(46vmax 40vmax at 72% 28%, color-mix(in srgb, var(--tint) 30%, transparent), transparent 70%), radial-gradient(40vmax 34vmax at 18% 88%, color-mix(in srgb, var(--tint) 16%, transparent), transparent 70%); transition: --tint 1.4s var(--ease); }
.phero--portfolio, .works { position: relative; z-index: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.6rem; }
.filters a { display: inline-flex; align-items: baseline; gap: 6px; padding: 11px 20px; border: 1px solid var(--line); border-radius: var(--leaf-s); font-size: 15px; transition: background-color .4s, color .4s, border-color .4s; }
.filters a:hover { border-color: var(--rose); }
.filters a[aria-current] { background: var(--rose); border-color: var(--rose); color: var(--night); }
.filters sup { font-size: 11px; }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10vh 6vw; padding-top: 4vh; padding-bottom: 14vh; }
.work { display: flex; flex-direction: column; gap: 24px; }
.work:nth-child(even) { margin-top: 20vh; }
.work__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--leaf); background: var(--night-3); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.work:hover .work__img img { transform: scale(1.045); }
.work__meta { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; }
.work__num { grid-row: span 3; font: 200 2.4rem/1 var(--serif); color: var(--tint); }
.work__name { transition: color .4s; }
.work:hover .work__name { color: var(--rose-soft); }
.work__by { margin-top: .5rem; font: 500 11px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
html[lang^="ar"] .work__by { letter-spacing: 0; font-size: 14px; }
.work__excerpt { max-width: 32rem; margin-top: .7rem; font-size: 15px; color: var(--mute); }

/* Project */
.case { --tint: #bb8068; }
.case-hero { position: relative; height: 100vh; height: 100svh; min-height: 580px; overflow: hidden; }
.case-hero__media { position: absolute; inset: 0; }
.case-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.case-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 14, 13, .6) 0%, rgba(17, 14, 13, .1) 38%, rgba(17, 14, 13, .9) 100%), radial-gradient(60% 50% at 20% 100%, color-mix(in srgb, var(--tint) 35%, transparent), transparent); }
.case-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding-top: calc(var(--hdr) + 20px); padding-bottom: 8vh; }
.case-hero__back { position: absolute; top: calc(var(--hdr) + 24px); color: var(--ivory); }
.case-hero__title { display: flex; flex-direction: column; }
.case-hero__by { margin: 1.2rem 0 0; font: 500 13px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: color-mix(in srgb, var(--tint) 55%, #fff); }
html[lang^="ar"] .case-hero__by { letter-spacing: 0; font-size: 17px; }
html.js .case-hero [data-hero-in] { opacity: 0; transform: translateY(20px); }
.case-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5vh 6vw; padding-top: clamp(80px, 14vh, 160px); padding-bottom: 10vh; }
.case-intro__lead { grid-column: 1 / -1; max-width: 28ch; font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.2; }
.case-intro__body { max-width: 36rem; color: var(--mute); font-size: 18px; }
.facts { display: grid; gap: 20px; align-content: start; margin: 0; }
.facts div { padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
html[lang^="ar"] .facts dt { letter-spacing: 0; font-size: 14px; }
.facts dd { margin: 8px 0 0; font: 300 1.35rem/1.3 var(--serif); }
.gallery { display: flex; flex-wrap: wrap; gap: 14px; padding-bottom: 16vh; }
.shot { position: relative; flex: var(--r) 1 calc(var(--r) * 250px); aspect-ratio: var(--r); overflow: hidden; border-radius: 6px; background: var(--night-3); }
.shot__in { display: block; width: 100%; height: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.gallery__fill { flex: 12 1 0; }
.case-next { position: relative; display: flex; align-items: flex-end; height: 86vh; overflow: hidden; }
.case-next__img { position: absolute; inset: 0; }
.case-next__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s var(--ease); }
.case-next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 14, 13, .92), rgba(17, 14, 13, .35) 45%, rgba(17, 14, 13, .8)); }
.case-next:hover .case-next__img img { transform: scale(1.04); }
.case-next__inner { position: relative; z-index: 1; display: flex; flex-direction: column; padding-bottom: 9vh; }
.case-next__by { display: inline-flex; align-items: center; gap: 12px; margin-top: 1rem; font: 500 13px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--rose-soft); }
html[lang^="ar"] .case-next__by { letter-spacing: 0; font-size: 16px; }
html[dir="rtl"] .case-next__by .icon { transform: scaleX(-1); }

/* Lightbox & film */
.lightbox, .film { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: rgba(10, 8, 7, .96); }
.lightbox__stage { margin: 0; }
.lightbox__stage img { width: auto; height: auto; max-width: 92vw; max-height: 84vh; max-height: 84svh; object-fit: contain; border-radius: 4px; }
.lightbox__btn, .lightbox__close, .film__close { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(244, 237, 230, .25); border-radius: var(--leaf-s); color: var(--ivory); transition: background-color .3s, color .3s; }
.lightbox__btn:hover, .lightbox__close:hover, .film__close:hover { background: var(--rose); color: var(--night); border-color: var(--rose); }
.lightbox__btn { top: 50%; margin-top: -28px; }
.lightbox__btn--prev { inset-inline-start: 22px; }
.lightbox__btn--next { inset-inline-end: 22px; }
.lightbox__btn--prev .icon { transform: scaleX(-1); }
html[dir="rtl"] .lightbox__btn--prev .icon { transform: none; }
html[dir="rtl"] .lightbox__btn--next .icon { transform: scaleX(-1); }
.lightbox__close, .film__close { top: 20px; inset-inline-end: 22px; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; margin: 0; transform: translateX(-50%); font: 500 12px/1 var(--sans); letter-spacing: .24em; color: var(--mute); }
.film__video { width: min(92vw, 160vh); max-height: 84vh; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; }

/* Contact */
.contact { position: relative; padding: calc(var(--hdr) + clamp(50px, 10vh, 120px)) 0 clamp(80px, 12vh, 150px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 6vw; align-items: start; }
.contact__direct { display: grid; margin: 3rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact__direct a { display: grid; grid-template-columns: 26px 110px minmax(0, 1fr); align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: color .3s; }
.contact__direct a:hover { color: var(--rose-soft); }
.contact__direct .icon { color: var(--rose); }
.contact__k { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
html[lang^="ar"] .contact__k { letter-spacing: 0; font-size: 14px; }
.contact__v { font: 300 clamp(1.1rem, 1.6vw, 1.4rem)/1.3 var(--serif); }
html[dir="rtl"] .contact__v[dir="ltr"] { text-align: right; }
.contact__card { padding: clamp(26px, 4vw, 58px); background: var(--paper); color: var(--ink); border-radius: 60px 0 60px 0; }
.contact__card-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; text-align: center; }
.contact__card-head .eyebrow { margin: 0 0 .6rem; justify-content: center; color: var(--rose-ink); }
.contact__mark { width: 44px; height: 44px; margin-bottom: 14px; color: var(--rose); }

/* Form */
.rsvp-form { position: relative; display: grid; gap: 22px; }
.rsvp-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rsvp-form__row--3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font: 500 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
html[lang^="ar"] .field__label { letter-spacing: 0; font-size: 14px; }
.field__label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .75; }
.field input, .field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(30, 30, 30, .3); border-radius: 0; background: transparent; color: var(--ink); font: 400 17px/1.4 var(--sans); transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rose-ink); box-shadow: 0 1px 0 var(--rose-ink); }
.field.has-error input { border-color: #a3261b; }
.field input[type="date"] { min-height: 44px; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { width: 100%; margin-bottom: 12px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(30, 30, 30, .25); border-radius: var(--leaf-s); font-size: 15px; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.chip span:hover { border-color: var(--rose-ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--rose-ink); outline-offset: 2px; }
.field__error { display: block; font-size: 13px; color: #a3261b; }
.field__error:empty { display: none; }
.chips .field__error { width: 100%; }
.rsvp-form__trap { position: absolute !important; left: -9999px; }
.rsvp-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.rsvp-form__small { margin: 0; font-size: 14px; color: var(--ink-mute); }
.rsvp-form__status { margin: 0; font-size: 15px; color: var(--rose-ink); }
.rsvp-form__status:empty { display: none; }
.rsvp-form.is-sent > :not(.rsvp-form__status) { display: none; }
.rsvp-form.is-sent .rsvp-form__status { padding: 36px 10px; font: 300 clamp(1.3rem, 2vw, 1.7rem)/1.5 var(--serif); color: var(--ink); text-align: center; }
.notice { margin: 0; padding: 14px 18px; border-radius: var(--leaf-s); font-size: 15px; }
.notice--ok { background: #e6eee1; color: #2a4f2c; }
.notice--error { background: #f5e0da; color: #7c2418; }

/* 404 */
.notfound { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--hdr) + 40px) 0 80px; text-align: center; }
.notfound .wrap { display: flex; flex-direction: column; align-items: center; }
.notfound .eyebrow { justify-content: center; }
.notfound .phero__lead { margin-bottom: 2.4rem; }
.notfound__mark { width: 72px; height: 72px; margin-bottom: 26px; color: var(--rose); }

/* --- Cursor ---------------------------------------------------------------------- */

.cursor { position: fixed; left: 0; top: 0; z-index: 97; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
.cursor i { position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; background: var(--rose); transform: rotate(45deg) scale(.11); transition: transform .45s var(--ease), background-color .3s; }
.cursor span { position: absolute; left: 0; top: 0; font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--night); white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .3s, transform .45s var(--ease); }
html[lang^="ar"] .cursor span { letter-spacing: 0; font-size: 13px; }
.cursor.is-view i { transform: rotate(45deg) scale(1); }
.cursor.is-view span { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-zoom i { transform: rotate(45deg) scale(.6); background: var(--ivory); }
.cursor.is-hidden i { transform: rotate(45deg) scale(0); }

/* --- Responsive ------------------------------------------------------------------- */

@media (max-width: 1080px) {
	:root { --hdr: 72px; }
	.hdr { grid-template-columns: 1fr auto; }
	.hdr__nav, .hdr__cta { display: none; }
	.hdr__burger { display: inline-flex; }
	.hdr__word { width: 94px; height: 36px; }
	.hdr__mark { width: 36px; height: 36px; }
}

@media (max-width: 900px) {
	.hero__line--indent { padding-inline-start: 0; }
	.hero__scroll { display: none; }
	.bloom__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "wheel" "list"; }
	.bloom__wheel { position: relative; top: auto; width: min(86vw, 460px); margin: 6vh auto 0; }
	.bloom__list { margin-top: 4vh; }
	.bloom__item { min-height: 0; grid-template-columns: 48px minmax(0, 1fr); }
	.founder__grid, .phero__grid, .chapter__grid, .contact__grid, .process__grid, .case-intro { grid-template-columns: minmax(0, 1fr); }
	.founder__photo { max-width: 520px; }
	.chapter--flip .chapter__media { order: 0; }
	.chapter__strip { grid-template-columns: repeat(3, 70vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.chapter__work { scroll-snap-align: start; }
	.svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svc-index a:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
	.svc-index a:nth-child(n+3) { border-top: 1px solid var(--line); }
	.album { height: auto; padding: clamp(90px, 12vh, 140px) 0 4vh; }
	.album__pin { position: relative; height: auto; padding-top: 0; }
	.book, .album__count { display: none; }
	.album__list { display: grid; gap: 7vh; margin: 5vh auto 0; padding: 0 var(--gutter); list-style: none; }
	.works { grid-template-columns: minmax(0, 1fr); }
	.work:nth-child(even) { margin-top: 0; }
	.process__sticky { position: relative; top: auto; }
	.process__bloom { display: none; }
	.process__step { min-height: 0; }
	.ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.table__scene { height: 64vw; min-height: 300px; }
	.table__top { width: 84vw; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	html[lang^="ar"] body { font-size: 17px; }
	.table__scene { height: 104vw; }
	.table__top { aspect-ratio: 1.7; width: 78vw; }
	.table__guest { width: 78px; height: 40px; margin: -20px 0 0 -39px; }
	.hero { min-height: 560px; }
	.hero__actions { width: 100%; }
	.hero__actions .btn { flex: 1 1 auto; }
	.aisle { height: 380vh; }
	.rsvp-form__row, .rsvp-form__row--3 { grid-template-columns: minmax(0, 1fr); }
	.chapter__list { grid-template-columns: minmax(0, 1fr); }
	.svc-index { grid-template-columns: minmax(0, 1fr); }
	.svc-index a + a { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
	.ftr__grid { grid-template-columns: minmax(0, 1fr); }
	.contact__direct a { grid-template-columns: 26px minmax(0, 1fr); }
	.contact__k { display: none; }
	.rsvp__card { border-radius: 44px 0 44px 0; padding: 10px; }
	.rsvp__frame { border-radius: 36px 0 36px 0; }
	.contact__card { border-radius: 40px 0 40px 0; }
	.founder__sign p { padding-inline-start: 0; border: 0; }
	.lightbox__btn { top: auto; bottom: 18px; margin: 0; }
	.lightbox__count { bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	html.js [data-reveal], html.js [data-reveal="leaf"], html.js [data-lines], html.js [data-ink] .w > span, html.js .hero [data-hero-in], html.js .hero__line > span, html.js .case-hero [data-hero-in], html.js .case-hero__title .hero__line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	html.js [data-reveal="leaf"] img { transform: none !important; }
	.aisle { height: auto; }
	.aisle__pin { position: relative; height: auto; perspective: none; padding: 12vh 0; }
	.aisle__world, .aisle__words, .aisle__shade { display: none; }
	.aisle__stage { position: relative; opacity: 1; }
	.album { height: auto; }
	.album__pin { position: relative; height: auto; }
	.book, .album__count { display: none; }
	.album__list { display: grid; gap: 7vh; margin: 5vh auto 0; padding: 0 var(--gutter); list-style: none; }
}
