/* ==========================================================================
   Wael Barber Shop
   Palette taken from the shop's wall mural: yellow, orange, blue, white,
   outlined in black, under a black ceiling.
   ========================================================================== */

:root {
  --yellow: #F6B820;
  --orange: #EE6A24;
  --blue: #2446D6;
  --navy: #1E2050;
  --ink: #0E0E11;
  --ink-2: #17171C;
  --cream: #FFFDF6;
  --muted: #A9A9B4;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dw: 900;      /* display weight */
  --track: 1;     /* letter-spacing multiplier (0 for Arabic) */
  --ds: 1;        /* display size multiplier */

  --header-h: 76px;
  --wrap: 1180px;
}

html[lang="ar"] {
  --display: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --body: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --dw: 800;
  --track: 0;
  --ds: .94;
}

/* Unbounded (variable, Latin) for the logo and the hero title: same-origin and preloaded, and "block" so the name
   is never drawn in a fallback face. The rest of the site keeps the Google Fonts copy. */
@font-face {
  font-family: "Unbounded Wael"; src: url("../fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: block;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.no-scroll, html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip; /* clip, not hidden: hidden would stop the sections from sticking */
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { line-height: 1.85; }

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
section:focus { outline: none; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .ico--flip { transform: scaleX(-1); }
.flag { display: inline-block; width: 1.35em; height: .9em; vertical-align: -.06em; border-radius: 2px; }

.skip {
  position: fixed; top: 8px; inset-inline-start: 8px; z-index: 200;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

/* ---------- paint overlay ---------- */

#veil {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink);
  /* safety net: never leave the page hidden if scripts fail */
  animation: veil-out .5s 6s forwards;
}
@keyframes veil-out { to { opacity: 0; visibility: hidden; } }

#paint { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1001; display: none; }

/* a fine grain over the whole page, so the flat colours feel like painted wall */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- header ---------- */

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); }
/* the blur lives on a pseudo-element: on the header itself it would trap the fixed mobile menu */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(14, 14, 17, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: background .3s, border-color .3s;
}
.site-header.is-scrolled::before, .menu-open .site-header::before { background: rgba(14, 14, 17, .9); border-bottom-color: rgba(255, 255, 255, .08); }
.site-header__inner {
  height: 100%; width: min(1360px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; gap: 14px;
}

/* The logo: the razor W, then the name set exactly like the hero title (same face, same light, same colour wash).
   Everything hangs on one number, --s = the size of WAEL (36.33px makes the W exactly 44px tall, on whole pixels). The two lines are as tall as the W: the name's line boxes
   are trimmed (negative margins) so its cap line sits on the top of the W and BARBER SHOP's baseline on its foot. */
.brand { --s: 36.33px; display: inline-flex; align-items: flex-start; gap: .34em; direction: ltr; flex: none; font-size: var(--s); }
.brand__mark { display: block; height: 1.211em; width: auto; flex: none; }
.brand__name {
  display: block; margin: -.085em 0 -.0293em; padding-inline-end: .02em; white-space: nowrap;
  font-family: "Unbounded Wael", "Unbounded", "Arial Black", system-ui, sans-serif; font-weight: 900; line-height: .92;
}
.brand__name b { display: block; position: relative; font-weight: 900; letter-spacing: -.035em; }
.brand__name small { display: block; margin-top: .22em; font-size: .345em; letter-spacing: -.01em; color: var(--yellow); }
.footer .brand { --s: 33.03px; }

.nav {
  position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto; padding: 5px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(255, 255, 255, .04);
}
.nav a {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 12px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; line-height: 1.5; white-space: nowrap; color: #C6C6CF; transition: color .25s;
}
[dir="rtl"] .nav a { padding: 8px 12px 8px 15px; }
/* small stickers in the wall's colours; their outline follows the text colour */
.nav__ico { width: 19px; height: 19px; flex: none; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.nav a:hover .nav__ico, .nav a.has-pill .nav__ico { transform: rotate(-10deg) scale(1.14); }
.nav a:hover, .nav a.is-active { color: var(--cream); }
.nav a.has-pill { color: var(--ink); }
.nav__pill {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--yellow);
  opacity: 0; transition: transform .38s cubic-bezier(.3, .9, .3, 1), width .38s cubic-bezier(.3, .9, .3, 1), opacity .2s;
}

.lang { display: flex; flex: none; padding: 4px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; direction: ltr; }
.lang button {
  min-width: 36px; height: 30px; padding: 0 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: #B5B5BE; transition: background .2s, color .2s;
}
.lang button[lang="ar"] { font-family: "Alexandria", sans-serif; font-size: 14px; }
.lang button:hover { color: var(--cream); }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); flex: none; }
.burger span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--cream); border-radius: 2px; transition: transform .25s; }
.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1199px) {
  .burger { display: block; }
  .site-header .header__book { display: none; }
  .lang { margin-inline-start: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 20px max(24px, 7vw) 80px; margin: 0; border: 0; border-radius: 0;
    background: var(--ink); counter-reset: item;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s, transform .25s, visibility .25s;
    overflow-y: auto;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__ico { width: 27px; height: 27px; align-self: center; }
  .nav a, [dir="rtl"] .nav a {
    display: flex; align-items: baseline; gap: 16px; padding: 15px 0; border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1); counter-increment: item;
    font-family: var(--display); font-weight: var(--dw); font-size: calc(clamp(22px, 6.4vw, 36px) * var(--ds));
    line-height: 1.2; text-transform: uppercase; color: var(--cream);
  }
  .nav a::before {
    content: counter(item, decimal-leading-zero);
    font-family: "Manrope", system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--yellow);
  }
  .nav a.is-active, .nav a.has-pill { color: var(--yellow); }
  .nav__pill { display: none; }
}

@media (max-width: 480px) {
  /* keep the pill on one line: the town and the year are enough */
  .eyebrow { font-size: 12px; }
  .eyebrow i, .eyebrow span:last-child { display: none; }
}
/* narrow laptops: the full menu is on one line, so the logo and the links tighten a little */
@media (min-width: 1200px) and (max-width: 1319px) {
  .brand { --s: 31.38px; }
  .nav a, [dir="rtl"] .nav a { padding-inline: 10px 12px; gap: 7px; font-size: 14px; }
}
/* below the desktop menu the logo shares the bar with the language switch and the menu button:
   it takes the room that is left (its width is just under 6 times --s) */
@media (max-width: 1199px) {
  .brand { --s: clamp(18.5px, calc((100vw - 232px) / 6.02), 36.33px); }
}
@media (max-width: 480px) {
  .site-header__inner { gap: 10px; }
  .lang button { min-width: 30px; padding: 0 6px; }
  .brand { --s: clamp(18.5px, calc((100vw - 206px) / 6.02), 36.33px); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15.5px; line-height: 1.25; text-align: center;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: #FFC83A; box-shadow: 0 12px 26px -12px rgba(246, 184, 32, .8); }
.btn--ghost { border-color: rgba(255, 255, 255, .42); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.section--yellow .btn--primary { background: var(--ink); color: var(--cream); }
.section--yellow .btn--primary:hover { background: #000; box-shadow: none; }

/* round "play the film" control */
.film { display: inline-flex; align-items: center; gap: 13px; text-align: start; color: var(--cream); }
.film__btn {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .55); transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.film__btn::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid currentColor;
  animation: ring 2.6s ease-out infinite;
}
.film__btn svg { width: 19px; height: 19px; margin-left: 3px; }
.film:hover .film__btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: scale(1.06); }
.film__txt b { display: block; font-weight: 700; font-size: 15px; line-height: 1.3; }
.film__txt small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.film--dark { margin-top: 28px; color: var(--ink); }
.film--dark .film__btn { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.film--dark:hover .film__btn { background: var(--blue); border-color: var(--blue); color: var(--cream); }
.film--dark .film__txt small { color: rgba(14, 14, 17, .7); }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- hero ---------- */

/* The hero stays put while the page scrolls: the mural, then the next sections, rise over it. */
:root { --mural-h: clamp(210px, 34vh, 340px); }
.hero {
  position: sticky; top: 0; z-index: 0; overflow: hidden; display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 44px) 0 calc(var(--mural-h) * .8);
  background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) brightness(.8); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 17, .93) 0%, rgba(14, 14, 17, .76) 46%, rgba(14, 14, 17, .4) 100%),
    linear-gradient(180deg, rgba(14, 14, 17, .92) 0, rgba(14, 14, 17, 0) 28%);
}
[dir="rtl"] .hero__shade { transform: scaleX(-1); }
.curtain { position: relative; z-index: 2; height: var(--mural-h); margin-top: calc(-1 * var(--mural-h)); pointer-events: none; }
.hero__mural { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; z-index: 3; }

/* the ceiling spotlights: a lamp, a wide soft beam and a brighter core */
.lights { position: absolute; inset: var(--header-h) 0 0 0; z-index: 1; pointer-events: none; }
.lights__dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.light { position: absolute; top: 0; left: var(--x); opacity: 0; }
.lights.is-on .light { animation: light-on 1.5s var(--d, 0s) both; }
.light__lamp {
  position: absolute; top: 5px; left: -17px; width: 34px; height: 12px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 60%, #fff 0 34%, #FFF3D2 52%, #8D8672 70%, #2A2A31 72%);
  box-shadow: 0 0 0 1.5px #34343C, 0 2px 16px 5px rgba(255, 244, 214, .75), 0 6px 70px 26px rgba(255, 236, 190, .28);
}
.light__lamp::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 200px; height: 3px; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 250, 235, .8), transparent 70%); filter: blur(1.5px);
}
.light__beam, .light__core {
  position: absolute; top: 9px; left: 0; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .6) 38%, transparent 94%);
  mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, .6) 38%, transparent 94%);
}
.light__beam {
  width: 880px; height: min(84vh, 840px);
  background: conic-gradient(from 155deg at 50% 0, transparent 0deg, rgba(255, 241, 205, .3) 25deg, transparent 50deg, transparent 360deg);
  animation: beam 7s ease-in-out infinite alternate;
}
.light__core {
  width: 460px; height: min(68vh, 660px);
  background: conic-gradient(from 168deg at 50% 0, transparent 0deg, rgba(255, 250, 232, .4) 12deg, transparent 24deg, transparent 360deg);
}
/* bloom right under the fixture */
.light::before {
  content: ""; position: absolute; top: -30px; left: -150px; width: 300px; height: 210px;
  background: radial-gradient(ellipse at 50% 22%, rgba(255, 244, 214, .34), rgba(255, 244, 214, .1) 42%, transparent 70%);
}
.light:nth-child(2) .light__beam { animation-duration: 9s; animation-delay: -3s; }
.light:nth-child(3) .light__beam { animation-duration: 6s; animation-delay: -1s; }
.light:nth-child(4) .light__beam { animation-duration: 8s; animation-delay: -5s; }
.light:nth-child(5) .light__beam { animation-duration: 10s; animation-delay: -2s; }
/* switched on like a real fixture: two stutters, then steady */
@keyframes light-on { 0% { opacity: 0; } 8% { opacity: .9; } 11% { opacity: .12; } 17% { opacity: .75; } 21% { opacity: .2; } 30%, 100% { opacity: 1; } }
@keyframes beam { from { opacity: .72; } to { opacity: 1; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: 13px; font-weight: 700; letter-spacing: calc(.16em * var(--track)); text-transform: uppercase; color: rgba(255, 253, 246, .78);
}
.eyebrow__pin { width: 20px; height: 20px; flex: none; color: var(--cream); }
.eyebrow span { white-space: nowrap; }
.eyebrow i { font-style: normal; opacity: .45; }
html[lang="ar"] .eyebrow { font-size: 14.5px; }

.hero__title {
  margin: 22px 0 20px; direction: ltr; text-align: left;
  font-family: "Unbounded Wael", "Unbounded", "Arial Black", system-ui, sans-serif; font-weight: 900; line-height: .92;
}
[dir="rtl"] .hero__title { text-align: right; }
.hero__title span { display: block; }
.hero__title .l1 { position: relative; font-size: clamp(82px, 13.4vw, 196px); letter-spacing: -.035em; }
/* WAEL, in the title and in the logo: lit from the ceiling, brightest at the top of the letters */
.hero__title .l1, .brand__name b {
  background: linear-gradient(180deg, #fff 8%, #FFFDF6 46%, #B9B2A0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* now and then the wall's colours wash slowly through the letters, then fade back to cream
   (the title and the logo run the same animation, so they change together) */
.hero__title .l1::after, .brand__name b::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, #FFFDF6 0%, #F6B820 9%, #EE6A24 19%, #FFFDF6 28%, #6F8CFF 37%, #F6B820 44%, #FFFDF6 50%,
    #F6B820 59%, #EE6A24 69%, #FFFDF6 78%, #6F8CFF 87%, #F6B820 94%, #FFFDF6 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 14s linear infinite, wash 22s ease-in-out infinite;
}
@keyframes flow { to { background-position: 100% 0; } }
@keyframes wash { 0%, 48% { opacity: 0; } 62%, 80% { opacity: .9; } 94%, 100% { opacity: 0; } }
.hero__title .l2 { margin-top: .22em; font-size: clamp(27px, 4.62vw, 68px); letter-spacing: -.01em; color: var(--yellow); }

.hero__tagline { font-size: clamp(19px, 1.9vw, 25px); font-weight: 700; line-height: 1.3; color: var(--cream); }
.hero__lead { margin-top: 10px; max-width: 54ch; color: #C3C3CC; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 30px; }
.hero__cta .film { margin-inline-start: 8px; }

@media (max-width: 760px) {
  .hero { --mural-h: clamp(170px, 24vh, 240px); padding-bottom: calc(var(--mural-h) + 16px); }
  .hero__shade { background: linear-gradient(180deg, rgba(14, 14, 17, .92) 0, rgba(14, 14, 17, .74) 30%, rgba(14, 14, 17, .82) 100%); }
  .light::before { left: -110px; width: 220px; height: 160px; }
  .light:nth-child(2), .light:nth-child(4) { display: none; }
  .light__beam { width: 460px; height: 64vh; }
  .light__core { width: 260px; height: 50vh; }
  .hero__cta .film { margin-inline-start: 0; flex-basis: 100%; }
}

/* ---------- sections ---------- */

.section {
  --wave-h: clamp(110px, 15vw, 210px);
  position: relative; padding: calc(var(--wave-h) + clamp(44px, 6vw, 84px)) 0 clamp(80px, 9vw, 130px);
}
.section--flush { padding-top: clamp(64px, 8vw, 110px); }
.section, .footer { position: relative; z-index: 1; overflow: hidden; }
.section > .wrap, .footer > .wrap { position: relative; z-index: 1; }

/* Each background is its base colour plus soft washes of the other wall colours.
   The washes fade out before the top and bottom edges, where the waves join. */
.section--ink {
  background:
    radial-gradient(42% 36% at 92% 44%, rgba(36, 70, 214, .3), transparent 72%),
    radial-gradient(36% 30% at 3% 64%, rgba(238, 106, 36, .18), transparent 72%),
    linear-gradient(var(--ink), var(--ink));
}
.section--navy {
  background:
    radial-gradient(46% 38% at 86% 46%, rgba(36, 70, 214, .55), transparent 72%),
    radial-gradient(38% 30% at 4% 58%, rgba(238, 106, 36, .17), transparent 72%),
    linear-gradient(var(--navy), var(--navy));
}
.section--yellow {
  color: var(--ink);
  background:
    radial-gradient(44% 36% at 82% 40%, rgba(255, 233, 150, .95), transparent 72%),
    radial-gradient(40% 30% at 3% 62%, rgba(238, 106, 36, .3), transparent 72%),
    linear-gradient(var(--yellow), var(--yellow));
}
.section--blue {
  background:
    radial-gradient(52% 42% at 50% 46%, rgba(104, 136, 255, .6), transparent 72%),
    radial-gradient(40% 30% at 0% 66%, rgba(14, 14, 17, .24), transparent 72%),
    linear-gradient(var(--blue), var(--blue));
}

/* dotted texture fading out from a corner */
.section::before {
  content: ""; position: absolute; z-index: 0; top: 30%; inset-inline-end: -50px; width: clamp(200px, 26vw, 380px); aspect-ratio: 1;
  pointer-events: none; color: rgba(255, 255, 255, .24);
  background: radial-gradient(circle, currentColor 1.6px, transparent 2.3px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.section:nth-of-type(odd)::before { top: auto; bottom: 14%; inset-inline: -50px auto; }
.section--yellow::before { color: rgba(14, 14, 17, .34); }

/* loose shapes drifting behind the content: a soft blob, a squiggle, a ring */
.deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.deco i { position: absolute; display: block; }
.deco__blob {
  width: clamp(240px, 30vw, 470px); aspect-ratio: 1; border-radius: 58% 42% 55% 45% / 46% 58% 42% 54%;
  background: linear-gradient(135deg, var(--c1), var(--c2)); opacity: var(--o, .18);
  animation: morph 16s ease-in-out infinite, drift 24s ease-in-out infinite;
}
.deco__ring { width: clamp(64px, 7.5vw, 112px); aspect-ratio: 1; border-radius: 50%; border: 3px solid currentColor; animation: drift 20s ease-in-out -11s infinite; }
.deco__ring::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: currentColor; }
@keyframes morph { 50% { border-radius: 42% 58% 44% 56% / 58% 42% 58% 42%; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(16px, -22px) rotate(7deg); } }

.deco--a .deco__blob { --c1: #2446D6; --c2: #7B93FF; --o: .2; top: 3%; inset-inline-end: -9%; }
.deco--a .deco__ring { color: var(--orange); bottom: 4%; inset-inline-end: 5%; }
.deco--b .deco__blob { --c1: #EE6A24; --c2: #F6B820; --o: .17; top: 32%; inset-inline-start: -11%; }
.deco--b .deco__ring { color: var(--yellow); bottom: 8%; inset-inline-start: 3%; }
.deco--c .deco__blob { --c1: #EE6A24; --c2: #FFD34E; --o: .45; bottom: 1%; inset-inline-end: -8%; }
.deco--c .deco__ring { color: var(--blue); bottom: 4%; inset-inline-start: 44%; }
.deco--d .deco__blob { --c1: #F6B820; --c2: #EE6A24; --o: .1; top: 34%; inset-inline-start: -13%; }
.deco--d .deco__ring { color: var(--yellow); bottom: 11%; inset-inline-end: 3%; }
.deco--e .deco__blob { --c1: #6F8CFF; --c2: #1730A8; --o: .6; top: 26%; inset-inline-end: -8%; }
.deco--e .deco__ring { color: var(--cream); bottom: 17%; inset-inline-end: 12%; }
@media (max-width: 760px) {
  .deco__ring { display: none; }
  .deco__blob { width: 250px; }
}

/* the sloping, wavy edge where the previous section's colour flows in */
.wave { position: absolute; top: 0; left: 0; z-index: 2; width: 100%; height: var(--wave-h); pointer-events: none; }

.kicker {
  display: inline-flex; align-items: center; gap: 11px; color: var(--yellow);
  font-size: 12.5px; font-weight: 800; letter-spacing: calc(.18em * var(--track)); text-transform: uppercase;
}
html[lang="ar"] .kicker { font-size: 14px; }
.kicker svg { width: 32px; height: 11px; flex: none; }
.section--yellow .kicker { color: var(--ink); }
.section--blue .kicker { color: var(--cream); }

.title {
  margin: 16px 0 18px;
  font-family: var(--display); font-weight: var(--dw);
  font-size: calc(clamp(30px, 5.4vw, 72px) * var(--ds)); line-height: 1.02; letter-spacing: calc(-.025em * var(--track));
  text-transform: uppercase;
}
html[lang="ar"] .title { line-height: 1.35; }
.title--xl { font-size: calc(clamp(30px, 5.8vw, 80px) * var(--ds)); }
.sub { max-width: 54ch; color: var(--muted); font-size: clamp(16.5px, 1.4vw, 19px); }
.section--navy .sub { color: #B9BBD6; }
.section--blue .sub { color: rgba(255, 253, 246, .88); }

.head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }

/* ---------- services ---------- */

.about .title { font-size: calc(clamp(30px, 4.3vw, 58px) * var(--ds)); }

.note { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 330px; }
.note p { font-weight: 600; color: #DADAE2; }

/* handwritten nudge with a looping arrow that draws itself */
.hint { display: flex; align-items: flex-start; gap: 12px; margin: clamp(28px, 3.6vw, 46px) 0 8px; color: var(--yellow); }
.hint span {
  display: inline-block; transform: rotate(-3deg); transform-origin: 0 100%;
  font-family: "Caveat", "Alexandria", cursive; font-weight: 700; font-size: clamp(25px, 2.5vw, 33px); line-height: 1.1;
}
[dir="rtl"] .hint span { transform: rotate(3deg); transform-origin: 100% 100%; font-size: clamp(19px, 1.9vw, 24px); }
.doodle {
  width: clamp(84px, 9vw, 122px); height: auto; margin-top: 6px; flex: none; overflow: visible; color: var(--cream);
  fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
}
[dir="rtl"] .doodle { transform: scaleX(-1); }
.js .doodle path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.js .hint.in .doodle__line { animation: draw 1.1s .4s ease-out forwards; }
.js .hint.in .doodle__head { animation: draw .3s 1.45s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.showcase { position: relative; }

/* spinning sticker on the corner */
.spin {
  position: absolute; z-index: 4; top: -108px; inset-inline-end: -30px; width: 122px; height: 122px;
  pointer-events: none; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5));
}
.spin__ring { transform-origin: 60px 60px; animation: spin 18s linear infinite; }
.spin text { direction: ltr; unicode-bidi: bidi-override; font-family: "Unbounded", "Arial Black", sans-serif; font-weight: 600; font-size: 11.5px; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* the panels: one opens wide, the rest fold into strips */
.panels { --info-h: 104px; display: flex; gap: 12px; height: clamp(450px, 66vh, 610px); }
.panel {
  position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 26px; background: #0B0B0D;
  transition: flex-grow .65s cubic-bezier(.3, .85, .25, 1), background .3s;
}
.panel.is-active { flex-grow: 4.8; background: var(--yellow); }

/* the picture ends where the text begins: the open panel's text sits under it, not over it */
.panel__media { position: absolute; inset: 0; overflow: hidden; transition: bottom .5s cubic-bezier(.3, .85, .25, 1); }
/* behind the open panel's picture: a blurred, darker copy of it fills the sides, so the whole
   clip fits without being cropped */
.panel__media::before {
  content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover no-repeat;
  filter: blur(22px) brightness(.55) saturate(1.2); opacity: 0; transition: opacity .4s;
}
.panel.is-active .panel__media::before { opacity: 1; }
.panel.is-active .panel__media { bottom: var(--info-h); }
.panel__media img, .panel__media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% var(--focus, 30%); transform: scale(1.1); filter: saturate(.7);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .5s, opacity .4s;
}
.panel.is-active .panel__media img, .panel.is-active .panel__media video { object-fit: contain; object-position: 50% 50%; transform: none; filter: none; }
.panel__media video { opacity: 0; }
.panel.is-active .panel__media video.is-playing { opacity: 1; }
.panel__media::after {
  content: ""; position: absolute; inset: 0; transition: opacity .5s;
  background: linear-gradient(180deg, rgba(14, 14, 17, .42), rgba(14, 14, 17, .2) 40%, rgba(14, 14, 17, .86));
}
.panel.is-active .panel__media::after { opacity: 0; }

.panel__toggle { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; color: var(--cream); }
.panel__toggle:focus-visible { outline-offset: -5px; border-radius: 26px; }
/* thin line that fills while the open panel waits for the next one */
.panel__toggle::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--yellow);
  transform: scaleX(0); transform-origin: 0 50%;
}
[dir="rtl"] .panel__toggle::after { transform-origin: 100% 50%; }
.panels.is-auto .panel.is-active .panel__toggle::after { animation: dwell 4.2s linear forwards; }
@keyframes dwell { to { transform: scaleX(1); } }

.panel__num {
  position: absolute; top: 16px; inset-inline-start: 16px; display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
  border-radius: 999px; background: rgba(14, 14, 17, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: "Unbounded", "Arial Black", sans-serif; font-weight: 600; font-size: 13px; transition: background .3s, color .3s;
}
.panel.is-active .panel__num { background: var(--yellow); color: var(--ink); }
.panel__label {
  position: absolute; bottom: 24px; left: 50%; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap;
  font-family: var(--display); font-weight: 600; font-size: calc(17px * var(--ds)); letter-spacing: calc(.01em * var(--track));
  text-transform: uppercase; transition: opacity .25s;
}
html[lang="ar"] .panel__label { font-weight: 800; }
.panel.is-active .panel__label { opacity: 0; }

/* the open panel's text: a low block of paint under the picture */
.panel__info {
  position: absolute; inset: auto 0 0 0; z-index: 2; pointer-events: none;
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .3s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility .3s;
}
.panel.is-active .panel__info { opacity: 1; visibility: visible; transform: none; transition-delay: .3s; }
.panel__wave { display: block; width: 100%; height: 44px; margin-bottom: -1px; overflow: visible; clip-path: inset(-40px 0 0 0); }
.panel__wave path { fill: none; vector-effect: non-scaling-stroke; }
.panel__wave path[fill] { fill: var(--yellow); }
.panel__body {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 18px;
  padding: 0 clamp(18px, 2vw, 26px) 18px; background: var(--yellow); color: var(--ink);
}
.panel__body h3 {
  grid-column: 1 / -1;
  font-family: var(--display); font-weight: var(--dw); font-size: calc(clamp(18px, 1.85vw, 25px) * var(--ds));
  line-height: 1.15; letter-spacing: calc(-.02em * var(--track)); text-transform: uppercase;
}
html[lang="ar"] .panel__body h3 { line-height: 1.45; }
.panel__body p {
  margin-top: 5px; max-width: 46ch; font-size: 14.5px; line-height: 1.45; color: rgba(14, 14, 17, .84);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.panel__book {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px 10px 17px; border-radius: 999px; white-space: nowrap;
  background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 700; pointer-events: auto; transition: background .2s, gap .25s;
}
.panel__book:hover { background: var(--blue); gap: 15px; }

/* phones: numbered tabs, then one picture with its text underneath. Nothing
   changes height when the panels take turns, so the page never jumps. */
@media (max-width: 900px) {
  .note { max-width: none; }
  .hint { padding-inline-end: 92px; }
  .doodle { width: 62px; }
  .spin { top: -100px; inset-inline-end: -4px; width: 84px; height: 84px; }

  .panels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 8px; height: auto; }
  .panel { display: contents; }

  .panel__toggle {
    position: relative; inset: auto; grid-row: 1; display: grid; place-items: center; height: 48px; overflow: hidden;
    border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); transition: background .3s, color .3s, border-color .3s;
  }
  .panel__toggle:focus-visible { border-radius: 14px; outline-offset: 2px; }
  .panel.is-active .panel__toggle { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
  .panel__toggle::after { top: auto; bottom: 0; height: 4px; background: var(--ink); }
  .panel__num, .panel.is-active .panel__num {
    position: static; min-width: 0; height: auto; padding: 0; background: none; font-size: 14px;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  /* the tab is read out by its service name, shown on screen in the text block */
  .panel__label, .panel.is-active .panel__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); transform: none; opacity: 1;
  }

  .panel__media, .panel.is-active .panel__media {
    position: relative; inset: auto; grid-row: 2; grid-column: 1 / -1; height: min(112vw, 470px); margin-top: 12px;
    overflow: hidden; border-radius: 20px 20px 0 0; opacity: 0; transition: opacity .5s;
  }
  .panel.is-active .panel__media { opacity: 1; }
  .panel__info { position: relative; inset: auto; grid-row: 3; grid-column: 1 / -1; margin-top: -44px; transform: none; }
  .panel__body { display: block; padding-bottom: 20px; border-radius: 0 0 20px 20px; }
  .panel__body p { -webkit-line-clamp: 3; }
  .panel__book { margin-top: 13px; }
}

/* ---------- gallery ---------- */

.filters { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); }
.chip { padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1.4; color: #CFD0E0; transition: background .2s, color .2s; }
.chip:hover { color: var(--cream); }
.chip.is-active { background: var(--yellow); color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.5vw, 20px); margin: clamp(30px, 4vw, 52px) 0 clamp(60px, 7vw, 84px); }
.tile { position: relative; isolation: isolate; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: #0B0B0D; }
.tile__open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
.tile__open:focus-visible { outline-offset: -4px; }
.tile img, .tile video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .4s;
}
.tile video { opacity: 0; }
.tile video.is-playing { opacity: 1; }
.tile:hover img, .tile:hover video { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); pointer-events: none; }
.tile__badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 999px;
  background: rgba(14, 14, 17, .68); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 800; letter-spacing: calc(.08em * var(--track)); text-transform: uppercase; color: var(--cream);
}
.tile__badge .ico { width: 10px; height: 10px; color: var(--yellow); }
.tile__badge b { direction: ltr; font-weight: 600; letter-spacing: 0; color: #C9C9D6; font-variant-numeric: tabular-nums; }
.tile__sound {
  position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(14, 14, 17, .68); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--cream); transition: background .2s, color .2s, transform .2s;
}
.tile__sound .ico { width: 19px; height: 19px; }
.tile__sound:hover { transform: scale(1.08); }
.tile__sound[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }

/* every other column sits lower, so the wall of photos is not a rigid table */
@media (min-width: 981px) {
  .grid .tile:nth-child(even) { top: 34px; }
}
@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 44px; } }
@media (max-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } .tile { border-radius: 16px; } }

/* ---------- about ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.about__copy p:not(.kicker) { margin-top: 16px; max-width: 58ch; font-size: clamp(16.5px, 1.4vw, 19px); color: rgba(14, 14, 17, .86); }

.about__media { display: grid; gap: 26px; }
.about__photo { overflow: hidden; border-radius: 22px; border: 3px solid var(--ink); background: var(--ink); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.about__film { position: relative; display: block; width: 100%; height: 100%; }
.about__film video { width: 100%; height: 100%; object-fit: cover; }
.about__sound {
  position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px; border-radius: 999px; background: rgba(14, 14, 17, .72); color: var(--cream);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13.5px; font-weight: 700; transition: background .2s, color .2s;
}
.about__sound .ico { width: 17px; height: 17px; }
.about__film:hover .about__sound { background: var(--ink); color: var(--yellow); }
.about__film:focus-visible { outline-offset: -5px; }
.about__photo--side {
  grid-column: 2; grid-row: 2; z-index: 1; margin-top: -42%; margin-inline-end: -4%; aspect-ratio: 4 / 5;
  border: 4px solid var(--cream); outline: 3px solid var(--ink); transform: rotate(3deg);
}
[dir="rtl"] .about__photo--side { transform: rotate(-3deg); }

.quote { margin-top: 6px; padding-inline-start: 20px; border-inline-start: 5px solid var(--ink); }
.quote p {
  font-family: var(--display); font-weight: 600; font-size: calc(clamp(17px, 1.75vw, 23px) * var(--ds));
  line-height: 1.3; letter-spacing: calc(-.015em * var(--track)); text-transform: uppercase;
}
html[lang="ar"] .quote p { font-weight: 800; line-height: 1.6; }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: 15px; }

/* figures set like a magazine: a rule, big numerals, small labels */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(54px, 7vw, 96px); border-top: 2px solid var(--ink); }
.stats li { padding: 26px clamp(14px, 2.2vw, 32px) 4px; border-inline-start: 1px solid rgba(14, 14, 17, .28); }
.stats li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.stats b {
  display: block; direction: ltr; white-space: nowrap;
  font-family: "Unbounded", "Arial Black", sans-serif; font-weight: 900; font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
[dir="rtl"] .stats b { text-align: right; }
.stats span { display: block; margin-top: 12px; font-size: 12.5px; font-weight: 800; line-height: 1.4; letter-spacing: calc(.14em * var(--track)); text-transform: uppercase; color: rgba(14, 14, 17, .74); }
html[lang="ar"] .stats span { font-size: 14.5px; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding-bottom: 24px; }
  .stats li:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid rgba(14, 14, 17, .28); padding-bottom: 4px; }
}

/* ---------- reviews ---------- */

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.review { padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.review__stars { color: var(--yellow); font-size: 18px; letter-spacing: 3px; }
.review blockquote { margin-top: 12px; font-size: 17px; }
.review figcaption { margin-top: 16px; font-weight: 700; color: var(--yellow); }

/* ---------- location ---------- */

.loc { margin-top: clamp(28px, 4vw, 48px); }
.loc-card { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: 26px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .1); }
.loc-card__map { min-height: 430px; background: #15151A; }
.loc-card__map iframe { display: block; width: 100%; height: 100%; min-height: 430px; border: 0; }
.loc-card__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: clamp(26px, 3.6vw, 48px); }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 16px 24px; width: 100%; }
.facts dt { padding-top: 5px; font-size: 11.5px; font-weight: 800; letter-spacing: calc(.16em * var(--track)); text-transform: uppercase; color: var(--yellow); }
html[lang="ar"] .facts dt { font-size: 14px; padding-top: 2px; }
.facts dd { margin: 0; font-size: 17.5px; font-weight: 700; line-height: 1.45; }
.facts dd small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
[dir="rtl"] .facts dd small, [dir="rtl"] .facts dd a { text-align: right; }
.facts a { display: inline-block; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 5px; }
.facts a:hover { color: var(--yellow); }
.facts__soft { font-size: 15.5px; font-weight: 500; color: var(--muted); }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; font-size: 15.5px; border-bottom: 1px dashed rgba(255, 255, 255, .16); }
.hours b { direction: ltr; }

.rating { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; }
.rating__stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.rating__stars svg { width: 16px; height: 16px; }
.rating:hover { color: var(--yellow); }
.loc-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* shown only while no address is set in content.js */
.loc-card__art {
  position: relative; min-height: 320px;
  background:
    linear-gradient(118deg, transparent 46%, var(--yellow) 46%, var(--yellow) 49%, transparent 49%),
    linear-gradient(28deg, transparent 58%, rgba(255, 253, 246, .2) 58%, rgba(255, 253, 246, .2) 60%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--navy);
}
.loc-card__pin { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 70px; height: 70px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--orange); color: var(--ink); }
.loc-card__pin svg { width: 34px; height: 34px; }
.loc-card__title { font-family: var(--display); font-weight: 600; font-size: calc(clamp(22px, 2.6vw, 32px) * var(--ds)); line-height: 1.2; text-transform: uppercase; }
.loc-card__body p { color: var(--muted); max-width: 46ch; }

@media (max-width: 860px) {
  .loc-card { grid-template-columns: 1fr; }
  .loc-card__map, .loc-card__map iframe { min-height: 300px; }
  .loc-card__art { min-height: 210px; }
}

/* ---------- contact ---------- */

.contact { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact .title { max-width: 16ch; }
.contact .sub { margin-inline: auto; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.contact__follow { margin-top: 26px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.contact__follow:hover { color: var(--yellow); }

/* ---------- footer ---------- */

.footer { --wave-h: clamp(90px, 11vw, 160px); background: radial-gradient(44% 70% at 88% 100%, rgba(36, 70, 214, .26), transparent 72%), linear-gradient(var(--ink), var(--ink)); padding: calc(var(--wave-h) + 36px) 0 46px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; }
.footer__tag { font-family: var(--display); font-weight: 600; font-size: calc(15px * var(--ds)); letter-spacing: calc(-.01em * var(--track)); text-transform: uppercase; color: var(--yellow); }
.footer__legal { font-size: 14px; color: var(--muted); }

/* ---------- floating booking button ---------- */

.fab {
  position: fixed; bottom: max(18px, env(safe-area-inset-bottom)); inset-inline-end: 18px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .6), 0 0 0 1.5px rgba(14, 14, 17, .9);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.fab .ico { width: 28px; height: 28px; }
.fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab:hover { background: #FFC83A; transform: translateY(-3px); }

/* ---------- lightbox ---------- */

/* full-screen viewer: bar on top, picture in the middle, strip of thumbnails below */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 72px 12px 100px; background: rgba(9, 9, 22, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lightbox--single { padding-bottom: 36px; }
.lightbox__top {
  position: absolute; inset: 0 0 auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 12px 14px;
}
.lightbox__ig {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); font-weight: 700; font-size: 14px;
}
.lightbox__ig:hover { background: var(--cream); color: var(--ink); }
.lightbox__count { font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: #DADBEF; }
.lightbox__close {
  justify-self: end; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--cream);
  font-size: 27px; line-height: 1; transition: background .2s, color .2s;
}
.lightbox__close:hover { background: var(--yellow); color: var(--ink); }

.lightbox__stage { display: flex; align-items: center; justify-content: center; max-width: 100%; height: 100%; }
.lightbox__stage img, .lightbox__stage video { max-width: min(92vw, 520px); max-height: 100%; width: auto; height: auto; border-radius: 16px; background: #000; }
.lightbox--wide .lightbox__stage video { max-width: min(94vw, 1180px); }
.lightbox__nav {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -38px;
  border-radius: 50%; background: var(--yellow); color: var(--ink);
}
.lightbox__nav .ico { width: 22px; height: 22px; }
.lightbox__nav--prev { left: max(10px, 50% - 350px); }
.lightbox__nav--prev .ico { transform: scaleX(-1); }
.lightbox__nav--next { right: max(10px, 50% - 350px); }

.lightbox__strip {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 3px;
  max-width: min(94vw, 640px); padding: 6px 4px; overflow-x: auto; scrollbar-width: none; direction: ltr;
}
.lightbox__strip::-webkit-scrollbar { display: none; }
.lightbox__thumb { flex: none; width: 34px; height: 50px; overflow: hidden; border-radius: 5px; opacity: .5; transition: width .25s, margin .25s, opacity .25s; }
.lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.lightbox__thumb:hover { opacity: .85; }
.lightbox__thumb.is-current { width: 58px; margin: 0 7px; opacity: 1; outline: 2px solid var(--yellow); outline-offset: 1px; }
.lightbox--single .lightbox__nav, .lightbox--single .lightbox__strip, .lightbox--single .lightbox__count { display: none; }

/* ---------- scroll reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .grid .reveal:nth-child(4n + 2).in { transition-delay: .06s; }
.js .grid .reveal:nth-child(4n + 3).in { transition-delay: .12s; }
.js .grid .reveal:nth-child(4n + 4).in { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .light { opacity: 1; }
  .lights.is-on .light, .light__beam, .film__btn::after, .spin__ring, .deco i, .panel__toggle::after, .hero__title .l1::after, .brand__name b::after { animation: none; }
  .js .doodle path { stroke-dashoffset: 0; animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- hero deck: polaroids of his cuts ---------- */
.deck { position: absolute; z-index: 3; top: 50%; inset-inline-end: max(5vw, calc(50% - 640px)); width: clamp(220px, 19vw, 290px); aspect-ratio: 4 / 5.6; transform: translateY(-58%); display: none; }
@media (min-width: 1280px) { .deck { display: block; } }
.deck__card {
  --pos: 0; --r: calc((var(--pos) - 1) * 4deg);
  position: absolute; inset: 0; margin: 0; padding: 12px 12px 54px; background: var(--cream); border-radius: 6px;
  box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .75), 0 2px 0 rgba(0, 0, 0, .2);
  transform: translate(calc(var(--pos) * 16px), calc(var(--pos) * -12px)) rotate(calc(-6deg + var(--pos) * 5deg)) scale(calc(1 - var(--pos) * .045));
  filter: brightness(calc(1 - var(--pos) * .09));
  opacity: 0; transition: transform .65s cubic-bezier(.3, .9, .3, 1), filter .65s, opacity .5s;
}
.deck.is-ready .deck__card { opacity: 1; }
.deck__card:nth-child(n + 4) { visibility: visible; }
.deck__card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 2px; }
.deck__card figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 10px; text-align: center; color: var(--ink);
  font-family: "Caveat", "Alexandria", cursive; font-weight: 700; font-size: 27px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html[lang="ar"] .deck__card figcaption { font-family: "Alexandria", sans-serif; font-size: 19px; bottom: 14px; }
.deck__card.is-out { transform: translate(-150%, -40px) rotate(-28deg) scale(.96); opacity: 0; transition: transform .62s cubic-bezier(.5, 0, .7, .4), opacity .45s .15s; }
.deck__card.no-anim { transition: none; }
/* right-to-left: the pile sits on the left of the title and everything is mirrored */
[dir="rtl"] .deck__card { transform: translate(calc(var(--pos) * -16px), calc(var(--pos) * -12px)) rotate(calc(6deg - var(--pos) * 5deg)) scale(calc(1 - var(--pos) * .045)); }
[dir="rtl"] .deck__card.is-out { transform: translate(150%, -40px) rotate(28deg) scale(.96); }
.deck::after {
  content: ""; position: absolute; left: 50%; top: -22px; z-index: 20; width: 88px; height: 26px; transform: translateX(-50%) rotate(-4deg);
  background: rgba(246, 184, 32, .82); box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

/* ---------- about collage ---------- */
.collage { position: relative; min-height: clamp(520px, 50vw, 660px); }
.collage__main {
  position: absolute; top: 4%; left: 26%; width: 48%; aspect-ratio: 9 / 16; margin: 0; overflow: hidden; z-index: 2;
  border-radius: 24px; border: 4px solid var(--ink); background: #000; box-shadow: 0 34px 60px -30px rgba(14, 14, 17, .7);
}
.collage__main video { width: 100%; height: 100%; object-fit: cover; }
.collage__sound {
  position: absolute; bottom: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(14, 14, 17, .7); color: var(--cream); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, color .2s, transform .2s;
}
.collage__sound .ico { width: 20px; height: 20px; }
.collage__sound:hover { transform: scale(1.08); }
.collage__sound[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.collage__live {
  position: absolute; bottom: 16px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(14, 14, 17, .7); color: var(--cream); font-size: 12px; font-weight: 800; letter-spacing: calc(.12em * var(--track)); text-transform: uppercase;
}
.collage__live i { width: 8px; height: 8px; border-radius: 50%; background: #FF3B3B; box-shadow: 0 0 0 0 rgba(255, 59, 59, .6); animation: live 1.6s ease-out infinite; }
@keyframes live { to { box-shadow: 0 0 0 9px rgba(255, 59, 59, 0); } }

.polaroid {
  --drift: 0px; position: absolute; z-index: 3; margin: 0; padding: 10px 10px 46px; background: var(--cream); border-radius: 5px;
  box-shadow: 0 26px 44px -20px rgba(14, 14, 17, .65);
  transition: transform .2s linear;
}
.polaroid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { position: absolute; left: 6px; right: 6px; bottom: 7px; white-space: nowrap; text-align: center; font-family: "Caveat", "Alexandria", cursive; font-weight: 700; font-size: 25px; color: var(--ink); }
html[lang="ar"] .polaroid figcaption { font-family: "Alexandria", sans-serif; font-size: 17px; bottom: 12px; }
.polaroid--a { top: 0; inset-inline-start: 0; width: 36%; transform: translateY(var(--drift)) rotate(-7deg); }
.polaroid--b { bottom: 0; inset-inline-end: 0; width: 34%; transform: translateY(var(--drift)) rotate(6deg); }
.polaroid:hover { z-index: 4; }
.tape { position: absolute; left: 50%; top: -14px; width: 78px; height: 24px; transform: translateX(-50%) rotate(-5deg); background: rgba(36, 70, 214, .75); box-shadow: 0 2px 5px rgba(0, 0, 0, .2); }
.polaroid--b .tape { background: rgba(238, 106, 36, .8); transform: translateX(-50%) rotate(4deg); }
.collage__arrow {
  position: absolute; z-index: 1; bottom: 14%; inset-inline-start: 6%; width: 110px; height: auto; overflow: visible;
  fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
}
[dir="rtl"] .collage__arrow { transform: scaleX(-1); }
@media (max-width: 620px) {
  .collage { min-height: 132vw; }
  .collage__main { left: 22%; width: 56%; }
  .polaroid--a { width: 42%; }
  .polaroid--b { width: 40%; }
  .collage__arrow { display: none; }
  .polaroid { padding: 7px 7px 36px; }
  .polaroid figcaption { font-size: 19px; bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .collage__live i { animation: none; } .deck__card { transition: none; } }
