/* =============================================================
   Karim Elmorshedy: cinematic dark luxury
   black · champagne gold · pearl  (cyan only as the logo's LED accent)
   ============================================================= */
:root {
  --bg: #0A0908; --bg-2: #100E0C; --panel: #15120F; --panel-2: #1B1713;
  --text: #EDE5D6; --muted: rgba(237, 229, 214, .64); --dim: rgba(237, 229, 214, .42);
  --line: rgba(226, 198, 143, .14); --line-2: rgba(226, 198, 143, .28);
  --gold: #C9A66B; --gold-2: #E2C68F; --gold-3: #8C6B3A;
  --cyan: #00F0FF;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ar: "Amiri", "Tajawal", serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 78px;
  --wrap: min(1320px, calc(100% - 64px));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 300 17px/1.7 var(--sans); letter-spacing: .01em;
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #0A0908; }
:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: #0A0908; }
.skip:focus { top: 16px; }
.wrap { width: var(--wrap); margin-inline: auto; }
[lang="ar"] { font-family: var(--ar); letter-spacing: 0; }

/* ---------- type ---------- */
.kicker { margin: 0 0 18px; font: 400 12px/1.4 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: var(--gold); }
.title { margin: 0; font: 300 clamp(40px, 5.2vw, 76px)/1.04 var(--serif); letter-spacing: -.01em; }
.title em, .statement em { font-style: italic; color: var(--gold-2); }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.head__note { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- buttons ---------- */
.btn {
  --h: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 30px; border: 1px solid transparent; border-radius: 0; cursor: pointer; background: none;
  font: 400 12.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .2s;
}
.btn--sm { --h: 42px; padding: 0 20px; font-size: 11.5px; }
.btn--block { width: 100%; }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: #0A0908; }
.btn--gold:hover { background: var(--text); }
.btn--line { border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--play { padding-left: 6px; color: var(--text); }
.btn__ring { position: relative; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; transition: border-color .4s, transform .4s var(--ease); }
.btn__ring::after { content: ""; position: absolute; left: 18px; top: 14px; border-left: 11px solid var(--gold-2); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.btn--play:hover .btn__ring { border-color: var(--gold); transform: scale(1.08); }
.btn:active { transform: scale(.97); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background .5s, backdrop-filter .5s, border-color .5s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(10, 9, 8, .82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.nav { height: 100%; width: var(--wrap); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__menu a:not(.btn) { position: relative; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.nav__menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__menu a:not(.btn):hover { color: var(--text); }
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__bars, .nav__bars::before, .nav__bars::after { position: absolute; left: 11px; width: 22px; height: 1px; background: var(--text); transition: transform .35s var(--ease), top .35s; }
.nav__bars { top: 21px; }
.nav__bars::before { content: ""; left: 0; top: -7px; }
.nav__bars::after { content: ""; left: 0; top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero: cinematic showreel ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #000; isolation: isolate; }
.reel { position: absolute; inset: 0; z-index: -2; }
.reel__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08);
  filter: saturate(.78) contrast(1.08) brightness(.82); transition: opacity 1.4s ease, transform 9s linear; }
.reel__v.is-on { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, .78) 0%, rgba(10, 9, 8, .05) 22%, rgba(10, 9, 8, 0) 50%, rgba(10, 9, 8, .55) 74%, #0A0908 100%),
    linear-gradient(90deg, rgba(10, 9, 8, .82) 0%, rgba(10, 9, 8, .35) 38%, transparent 65%),
    radial-gradient(ellipse 70% 60% at 70% 45%, transparent 40%, rgba(0, 0, 0, .45)); }
.hero__grain { position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -5%); } 100% { transform: translate(-2%, 2%); } }
.hero__content { position: absolute; left: max(32px, calc((100% - 1320px) / 2)); bottom: clamp(120px, 17svh, 170px); width: min(640px, calc(100% - 64px)); }
.hero__logo { margin: 0 0 26px; }
.hero__logo img { height: clamp(150px, 24svh, 230px); width: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.hero__tag { margin: 0 0 8px; font: italic 300 clamp(26px, 2.7vw, 40px)/1.15 var(--serif); color: var(--text); max-width: 18em; }
.hero__tag span { color: var(--gold-2); }
.hero__ar { margin: 0 0 34px; font-size: clamp(18px, 1.6vw, 23px); color: var(--gold); text-align: left; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; width: var(--wrap); margin-inline: auto; padding-right: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-top: 1px solid var(--line); }
.hero__now { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__now-label { color: var(--gold); margin-right: 10px; }
.hero__segs { display: flex; gap: 8px; }
.hero__seg { position: relative; width: 44px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__seg::before, .hero__seg::after { content: ""; position: absolute; left: 0; top: 8px; height: 2px; }
.hero__seg::before { right: 0; background: rgba(237, 229, 214, .2); }
.hero__seg::after { width: calc(var(--t, 0) * 100%); background: var(--gold-2); }
.hero__seg.is-done::after { width: 100%; }
.hero__sound { justify-self: end; display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; border: 0; background: none; cursor: pointer; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__sound:hover { color: var(--text); }
.hero__sound-icon { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.hero__sound-icon::before, .hero__sound-icon::after { content: ""; width: 2px; height: 5px; background: var(--gold); box-shadow: 5px -4px 0 var(--gold), 10px -1px 0 var(--gold); margin-right: 10px; }
.hero__sound-icon::after { display: none; }
.hero__sound[aria-pressed="true"] .hero__sound-icon::before { animation: eq .9s ease-in-out infinite alternate; }
@keyframes eq { from { height: 4px; } to { height: 14px; } }

/* ---------- intro statement ---------- */
.intro { padding: clamp(110px, 14vw, 190px) 0 clamp(90px, 11vw, 150px); text-align: center; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201, 166, 107, .08), transparent 70%); }
.statement { max-width: 22em; margin: 0 auto; font: 300 clamp(34px, 4.4vw, 64px)/1.14 var(--serif); }
.statement__ar { margin: 26px 0 0; font-size: clamp(20px, 2vw, 27px); color: var(--gold); }
.marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 46px; list-style: none; margin: clamp(56px, 7vw, 90px) auto 0; padding: 34px 0 0; max-width: 1000px; border-top: 1px solid var(--line); }
.marks li { font: 400 clamp(18px, 1.6vw, 24px)/1 var(--serif); letter-spacing: .28em; text-transform: uppercase; color: var(--dim); transition: color .4s; }
.marks li:hover { color: var(--gold-2); }

/* ---------- acts section frame ---------- */
.acts { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.head__hint { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); }

/* ---------- showreel films ---------- */
.videos { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.films--small { grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.vcard { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--panel); color: var(--text); text-align: left; cursor: pointer; aspect-ratio: 4 / 5; overflow: hidden; }
.vcard--big { grid-row: span 2; aspect-ratio: auto; }
.vcard__media { position: absolute; inset: 0; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.72); transform: scale(1.02); transition: transform 1.2s var(--ease), filter .6s; }
.vcard:hover .vcard__media img { transform: scale(1.08); filter: saturate(.95) brightness(.88); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 9, 8, .9)); }
.vcard__play { position: absolute; z-index: 2; right: 20px; top: 20px; width: 50px; height: 50px; border: 1px solid rgba(237, 229, 214, .5); border-radius: 50%; transition: border-color .4s, transform .4s var(--ease), background .4s; }
.vcard__play::before { content: ""; position: absolute; left: 20px; top: 16px; border-left: 12px solid var(--text); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.vcard:hover .vcard__play { border-color: var(--gold); background: rgba(201, 166, 107, .15); transform: scale(1.1); }
.vcard__meta { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 4px; }
.vcard__tag { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.vcard__title { font: 300 24px/1.2 var(--serif); }
.vcard__place { font-size: 13px; color: var(--muted); }
.frame__glare { display: none; }
.films--small .vcard { aspect-ratio: 3 / 4; }
.films--small .vcard__title { font-size: 19px; }
.films__more { margin-top: 34px; text-align: center; }
.films__more > summary { list-style: none; display: inline-flex; }
.films__more > summary::-webkit-details-marker { display: none; }
.films__more[open] > summary { margin-bottom: 4px; }

/* ---------- about ---------- */
.about { padding: clamp(90px, 11vw, 160px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__photo { position: relative; margin: 0; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.about__photo::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--line-2); z-index: -1; }
.about__photo figcaption { margin-top: 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.about__photo figcaption [lang="ar"] { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--gold); }
.about__copy .title { margin-bottom: 30px; font-size: clamp(36px, 4.2vw, 62px); }
.about__copy p { color: var(--muted); max-width: 36em; }
.about__copy em { font-family: var(--serif); font-size: 1.15em; color: var(--gold-2); }
.about__copy strong { font-weight: 400; color: var(--text); }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin: 44px 0 0; border-top: 1px solid var(--line); }
.figures div { padding: 24px 0 0; }
.figures dt b { font: 300 clamp(44px, 4.4vw, 64px)/1 var(--serif); color: var(--gold-2); }
.figures dd { margin: 8px 0 0; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }

/* ---------- process ---------- */
.process { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { display: flex; align-items: baseline; gap: 16px; padding: 34px 26px; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps b { font: 300 30px/1 var(--serif); color: var(--gold); }
.steps span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- booking ---------- */
.book { padding: clamp(90px, 11vw, 160px) 0; background: radial-gradient(ellipse 60% 60% at 15% 20%, rgba(201, 166, 107, .07), transparent 70%); }
.book__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.book__intro p { color: var(--muted); }
.book__intro .title { margin-bottom: 24px; }
.manager { display: flex; align-items: center; gap: 22px; margin: 36px 0 26px; padding: 22px; border: 1px solid var(--line); background: var(--panel); }
.manager__photo { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line-2); }
.manager__role { margin: 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.manager__name { margin: 4px 0 0; font: 400 26px/1.2 var(--serif); }
.manager__phone { display: inline-block; margin: 2px 0 12px; color: var(--muted); letter-spacing: .06em; }
.manager__phone:hover { color: var(--gold-2); }
.manager__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.book__note { font-size: 13px; letter-spacing: .04em; color: var(--dim) !important; }
.form { padding: clamp(26px, 3.4vw, 46px); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form label { display: block; margin-bottom: 20px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent;
  color: var(--text); font: 300 16px var(--sans); letter-spacing: .02em; text-transform: none; transition: border-color .3s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: var(--panel); color: var(--text); }
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form [aria-invalid="true"] { border-color: #d77a6a !important; }
.form input::placeholder, .form textarea::placeholder { color: rgba(237, 229, 214, .25); }
.form input[type="date"]::-webkit-calendar-picker-indicator, .form input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(.5); }
.form__acts { border: 0; margin: 4px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__acts legend { margin-bottom: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.chip { margin: 0 !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: all .3s; }
.chip input:checked + span { border-color: var(--gold); color: #0A0908; background: var(--gold-2); }
.chip input:focus-visible + span { outline: 1px solid var(--gold-2); outline-offset: 3px; }
.form__error { min-height: 1.4em; margin: 0 0 8px; color: #e39a8b; font-size: 14px; }
.form__small { margin: 14px 0 0; font-size: 12.5px; color: var(--dim); text-align: center; }

/* ---------- faq ---------- */
.faq { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 100px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; position: relative; padding: 24px 44px 24px 0; cursor: pointer; font: 400 clamp(20px, 1.8vw, 25px)/1.3 var(--serif); transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 300 26px var(--sans); color: var(--gold); transition: transform .4s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--gold-2); }
.qa p { margin: 0 0 24px; color: var(--muted); max-width: 44em; }

/* ---------- footer ---------- */
.footer { padding: 70px 0 34px; border-top: 1px solid var(--line); background: #070606; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer__tag { margin: 0 0 6px; font: italic 300 18px var(--serif); color: var(--muted); }
.footer__tag--ar { font-style: normal; font-size: 16px; color: var(--gold-3); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer__links a { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.footer__links a:hover { color: var(--gold-2); }
.footer__contact { display: grid; gap: 8px; font-style: normal; font-size: 14px; color: var(--muted); }
.footer__contact a:hover { color: var(--gold-2); }
.footer__copy { width: var(--wrap); margin: 50px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .1em; color: var(--dim); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 30px; background: rgba(5, 4, 4, .96); backdrop-filter: blur(10px); }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; height: 100%; display: grid; place-items: center; min-width: 0; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: calc(100svh - 60px); object-fit: contain; }
.lightbox__close, .lightbox__nav { width: 52px; height: 52px; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--text); font: 300 28px/1 var(--sans); cursor: pointer; transition: border-color .3s, color .3s; }
.lightbox__close { position: absolute; top: 22px; right: 22px; z-index: 2; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- whatsapp float ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: #0A0908; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .8); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- tab bar (mobile app layout) ---------- */
.tabbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .films { grid-template-columns: repeat(2, 1fr); }
  .films--small { grid-template-columns: repeat(3, 1fr); }
  .nav__menu { gap: 24px; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; --wrap: calc(100% - 40px); }
  .nav__toggle { display: block; }
  .nav__menu { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 28px; background: rgba(10, 9, 8, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .5s var(--ease); }
  .nav__menu.is-open { transform: none; }
  .nav__menu a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__menu .btn { margin-top: 18px; width: 100%; }
  .about__grid, .book__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li { border-top: 1px solid var(--line); }
  .steps li:nth-child(-n+2) { border-top: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 520px; }
}

/* ---------- MOBILE APP MODE ---------- */
@media (max-width: 760px) {
  :root { --header-h: 58px; --tabbar-h: 64px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px); --wrap: calc(100% - 36px); }
  html { -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--header-h) + var(--safe-t) + 8px); }
  body { font-size: 16px; padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); overscroll-behavior-y: none; }
  a, button, summary { touch-action: manipulation; }
  .site-header { height: calc(var(--header-h) + var(--safe-t)); padding-top: var(--safe-t); background: rgba(10, 9, 8, .72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
  .nav__brand img { height: 30px; }
  .nav__menu { inset: calc(var(--header-h) + var(--safe-t)) 0 auto 0; }
  .nav__menu li:last-child { display: none; }

  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(var(--tabbar-h) + var(--safe-b)); padding: 0 6px var(--safe-b);
    background: rgba(10, 9, 8, .9); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-top: 1px solid var(--line); }
  .tabbar__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--dim); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; transition: color .25s, transform .15s; }
  .tabbar__item svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar__item[aria-current="true"] { color: var(--gold-2); }
  .tabbar__item:active { transform: scale(.9); }
  .tabbar__item--cta { color: var(--gold-2); }
  .tabbar__fab { width: 52px; height: 52px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; color: #0A0908; background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, var(--gold-3)); box-shadow: 0 0 0 5px var(--bg), 0 10px 24px rgba(0, 0, 0, .6); }
  .tabbar__fab svg { width: 24px; height: 24px; stroke-width: 1.7; }
  .wa-float { bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); right: 14px; width: 48px; height: 48px; }

  .hero { height: calc(100svh - var(--tabbar-h) - var(--safe-b)); min-height: 560px; }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 9, 8, .7) 0%, transparent 22%, transparent 42%, rgba(10, 9, 8, .75) 70%, #0A0908 100%); }
  .hero__content { left: 18px; right: 18px; width: auto; bottom: 86px; text-align: center; }
  .hero__logo img { height: clamp(110px, 18svh, 150px); margin-inline: auto; }
  .hero__tag { font-size: 23px; margin-inline: auto; }
  .hero__ar { font-size: 18px; margin-bottom: 22px; text-align: center; }
  .hero__bar { padding-right: 62px; }
  .hero__cta { justify-content: center; gap: 10px; }
  .hero__cta .btn--gold { width: 100%; }
  .hero__bar { height: 62px; grid-template-columns: 1fr auto; gap: 12px; }
  .hero__now { display: none; }
  .hero__segs { justify-self: start; }
  .hero__seg { width: 30px; }

  .intro { padding: 80px 0 70px; }
  .marks { gap: 12px 26px; }
  .marks li { font-size: 16px; letter-spacing: .2em; }
  .acts, .videos, .about, .book, .faq { padding: 70px 0; }
  .title { font-size: clamp(36px, 10vw, 46px); }
  .films { grid-template-columns: 1fr 1fr; gap: 10px; }
  .films .vcard--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 11; }
  .films--small { grid-template-columns: 1fr 1fr; }
  .vcard__meta { padding: 14px; }
  .vcard__title { font-size: 18px; }
  .vcard__place { display: none; }
  .vcard__play { width: 40px; height: 40px; right: 12px; top: 12px; }
  .vcard__play::before { left: 15px; top: 12px; border-left-width: 10px; border-top-width: 7px; border-bottom-width: 7px; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-left: 0 !important; padding: 20px 0 !important; border-top: 1px solid var(--line) !important; }
  .steps li:first-child { border-top: 0 !important; }
  .form__row { grid-template-columns: 1fr; }
  .manager { flex-direction: column; text-align: center; }
  .manager__btns { justify-content: center; }
  .lightbox { grid-template-columns: 44px 1fr 44px; padding: 8px; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 22px; }
  .act, .vcard, .tile, .btn, .chip span { transition-property: transform, background, color, border-color, filter; }
}
@media (max-width: 760px) and (display-mode: standalone) { .nav__install { display: none !important; } }

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

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; padding: 40px 20px; text-align: center; }
.notfound__logo { height: auto; margin: 0 auto 40px; }
.notfound__text { margin: 18px 0 34px; color: var(--muted); }

/* ---------- small phones: tighter kicker in hero ---------- */
@media (max-width: 760px) {
  .hero .kicker { font-size: 10.5px; letter-spacing: .26em; margin-bottom: 14px; }
}


/* =============================================================
   ACTS: cinematic expanding panels (curtains on desktop, accordion on phones)
   ============================================================= */
.services { display: flex; gap: 10px; height: clamp(520px, 74svh, 720px); }
.svc {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; isolation: isolate;
  background: var(--panel); border: 1px solid var(--line);
  transition: flex-grow .9s var(--ease), border-color .5s;
}
.svc.is-open { flex-grow: 5.4; cursor: default; border-color: var(--line-2); }
.svc__poster, .svc__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.svc__poster { filter: saturate(.45) brightness(.5) contrast(1.1); transform: scale(1.12); transition: filter .9s var(--ease), transform 1.4s var(--ease); }
.svc:hover .svc__poster { filter: saturate(.7) brightness(.62) contrast(1.1); }
.svc.is-open .svc__poster { filter: saturate(.9) brightness(.8) contrast(1.05); transform: scale(1); }
.svc__video { z-index: -2; opacity: 0; filter: saturate(.92) contrast(1.05); transition: opacity .8s ease; }
.svc.is-playing .svc__video { opacity: 1; }
.svc__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 9, 8, .55) 0%, transparent 28%, transparent 40%, rgba(10, 9, 8, .9) 100%); transition: background .8s; }
.svc.is-open .svc__shade { background: linear-gradient(90deg, rgba(10, 9, 8, .88) 0%, rgba(10, 9, 8, .5) 38%, transparent 70%), linear-gradient(180deg, transparent 60%, rgba(10, 9, 8, .6)); }
.svc::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(226, 198, 143, 0); pointer-events: none; transition: border-color .8s; }
.svc.is-open::after { border-color: rgba(226, 198, 143, .3); }

/* closed state: vertical title */
.svc__tab {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 28px 0 30px; background: none; border: 0; cursor: pointer; color: var(--text); transition: opacity .4s;
}
.svc__num { font: 400 12px var(--sans); letter-spacing: .24em; color: var(--gold-2); }
.svc__label { writing-mode: vertical-rl; transform: rotate(180deg); font: 300 clamp(22px, 2vw, 30px)/1 var(--serif); letter-spacing: .02em; white-space: nowrap; }
.svc.is-open .svc__tab { opacity: 0; pointer-events: none; }
.svc__tab:focus-visible { outline: 1px solid var(--gold-2); outline-offset: -10px; }

/* open state: story */
.svc__body {
  position: absolute; left: clamp(28px, 3.4vw, 54px); bottom: clamp(28px, 4svh, 50px); z-index: 2; width: min(460px, calc(100% - 56px));
  opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .5s ease, transform .7s var(--ease);
}
.svc.is-open .svc__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .4s; }
.svc__count { margin: 0 0 14px; font-size: 12px; letter-spacing: .3em; color: var(--gold-2); }
.svc__count span { color: var(--dim); }
.svc__name { margin: 0; font: 300 clamp(40px, 4.2vw, 66px)/1 var(--serif); letter-spacing: -.01em; }
.svc__ar { margin: 10px 0 18px; font-size: clamp(20px, 1.7vw, 26px); color: var(--gold); text-align: left; }
.svc__desc { margin: 0 0 18px; color: rgba(237, 229, 214, .82); font-size: 16px; max-width: 30em; }
.svc__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; }
.svc__tags li { padding: 7px 13px; border: 1px solid var(--line-2); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); background: rgba(10, 9, 8, .35); backdrop-filter: blur(6px); }
.svc__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.svc__film { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--text); }
.svc__film-ring { position: relative; width: 40px; height: 40px; border: 1px solid rgba(237, 229, 214, .45); border-radius: 50%; transition: border-color .3s, transform .3s var(--ease); }
.svc__film-ring::after { content: ""; position: absolute; left: 16px; top: 12px; border-left: 10px solid var(--gold-2); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.svc__film:hover .svc__film-ring { border-color: var(--gold); transform: scale(1.08); }

/* medium screens: fewer letters in the closed panels */
@media (max-width: 1100px) {
  .svc.is-open { flex-grow: 4.2; }
  .svc__label { font-size: 22px; }
}

/* phones & tablets: vertical accordion */
@media (max-width: 960px) {
  .services { flex-direction: column; height: auto; gap: 8px; }
  .svc { flex: none; height: 86px; transition: height .8s var(--ease), border-color .5s; }
  .svc.is-open { height: min(76svh, 620px); }
  .svc__poster { transform: scale(1.04); }
  .svc__tab { flex-direction: row; justify-content: flex-start; align-items: center; gap: 18px; padding: 0 22px; }
  .svc__label { writing-mode: horizontal-tb; transform: none; font-size: 26px; }
  .svc__tab::after { content: "+"; margin-left: auto; font: 300 26px var(--sans); color: var(--gold); }
  .svc__shade { background: linear-gradient(90deg, rgba(10, 9, 8, .8), rgba(10, 9, 8, .35)); }
  .svc.is-open .svc__shade { background: linear-gradient(180deg, rgba(10, 9, 8, .25) 0%, transparent 30%, rgba(10, 9, 8, .55) 55%, rgba(10, 9, 8, .95) 100%); }
  .svc__body { left: 22px; right: 22px; width: auto; bottom: 24px; }
  .svc__name { font-size: clamp(34px, 9vw, 44px); }
  .svc__desc { font-size: 15px; }
  .svc__tags { margin-bottom: 20px; }
  .head__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .svc, .svc__body, .svc__poster { transition: none; }
}

/* =============================================================
   GALLERY: museum hall with gilded 3D portraits
   ============================================================= */
.museum { position: relative; border-top: 1px solid var(--line); background: #0d0b09; --walk: 0px; }
.museum__pin { position: relative; height: 100svh; min-height: 680px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); }
.js .museum.is-walk { height: calc(100svh + var(--walk) * .6); }
.js .museum.is-walk .museum__pin { position: sticky; top: 0; }

/* the room */
.museum__hall { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.museum__wall { position: absolute; inset: 0 0 21% 0;
  background:
    radial-gradient(ellipse 50% 70% at 50% 20%, rgba(226, 198, 143, .07), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 180px),
    linear-gradient(180deg, #0b0908 0%, #17130f 45%, #1c1712 100%); }
.museum__rail { position: absolute; left: 0; right: 0; bottom: 21%; height: 14px;
  background: linear-gradient(180deg, #2a221a, #0e0b09); box-shadow: 0 -1px 0 rgba(226, 198, 143, .18), 0 8px 18px rgba(0, 0, 0, .7); }
.museum__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 21%;
  background:
    linear-gradient(180deg, rgba(226, 198, 143, .06), transparent 40%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .35) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, #1a1511, #070605); }

.museum__head { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: calc(var(--header-h) + 26px); }
.museum__head .title { font-size: clamp(36px, 4.2vw, 62px); }
.museum__rooms { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.room { padding: 6px 0; border: 0; border-bottom: 1px solid transparent; background: none; cursor: pointer; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); transition: color .3s, border-color .3s; }
.room small { font-size: 10px; color: var(--gold-3); margin-left: 3px; }
.room:hover { color: var(--text); }
.room.is-active { color: var(--text); border-color: var(--gold); }

/* the walk */
.museum__track { position: relative; z-index: 1; min-height: 0; overflow: hidden; perspective: 1500px; outline: none; }
.museum__works { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; gap: clamp(70px, 8vw, 140px); padding: 0 max(8vw, calc((100vw - 340px) / 2)) 160px; transform: translateX(calc(var(--x, 0) * -1px)); will-change: transform; }

/* a framed work */
.work { position: relative; flex: none; margin: 0; padding-top: 34px; transform-style: preserve-3d;
  transform: rotateY(var(--ry, 0deg)) scale(var(--sc, 1)); transition: opacity .6s, filter .6s; filter: brightness(var(--br, 1)); }
.work[hidden] { display: none; }
.work__frame {
  display: block; position: relative; padding: clamp(12px, 1.3vw, 18px); cursor: zoom-in;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .35) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, .35) 100%),
    linear-gradient(135deg, #6f5228 0%, #d9bb7f 22%, #9c7a43 42%, #f1dba8 60%, #a8844a 78%, #5d4421 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 240, 200, .55), inset 0 0 0 4px rgba(90, 64, 30, .55), inset 0 0 0 6px rgba(255, 230, 170, .3),
    0 2px 0 rgba(255, 235, 190, .15), 0 40px 60px -24px rgba(0, 0, 0, .95), 0 80px 90px -50px rgba(0, 0, 0, .9);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.work__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 245, 215, .22) 48%, transparent 60%); mix-blend-mode: screen; opacity: .8; }
.work__mat { display: block; padding: clamp(14px, 1.6vw, 24px); background: #ede6d6;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), inset 4px 4px 10px rgba(0, 0, 0, .28), inset -2px -2px 6px rgba(255, 255, 255, .6); }
.work__mat img { display: block; height: clamp(210px, 37svh, 420px); width: auto; max-width: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 2px 6px rgba(0, 0, 0, .35); }
.work--land .work__mat img { height: clamp(170px, 27svh, 300px); }
.work__frame:hover { transform: translateZ(30px); }

/* brass picture light + its glow */
.work__lamp { position: absolute; left: 50%; top: 0; width: 46%; height: 9px; transform: translateX(-50%); border-radius: 0 0 6px 6px; z-index: 2;
  background: linear-gradient(180deg, #f2dca6, #8c6b3a); box-shadow: 0 3px 6px rgba(0, 0, 0, .6); }
.work__lamp::before { content: ""; position: absolute; left: 50%; top: -26px; width: 2px; height: 26px; background: linear-gradient(180deg, transparent, #8c6b3a); }
.work__lamp::after { content: ""; position: absolute; left: -40%; right: -40%; top: 8px; height: 70svh; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(255, 228, 170, .30), rgba(255, 228, 170, .08) 55%, transparent 75%);
  mix-blend-mode: screen; opacity: var(--lamp, .6); transition: opacity .6s; }

/* museum label */
.work__plate { position: absolute; left: 50%; top: calc(100% + 26px); transform: translateX(-50%); width: 210px; padding: 10px 14px 11px;
  display: grid; gap: 2px; text-align: left; background: linear-gradient(180deg, #f3eee4, #e2dacb); color: #2a2017;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(0, 0, 0, .08); }
.work__no { font: 400 10px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #8c6b3a; }
.work__no b { font-weight: 500; }
.work__title { font: 500 17px/1.2 var(--serif); }
.work__place { font: 300 12px/1.35 var(--sans); color: #5b4c3c; }

/* footer of the hall */
.museum__foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 24px; padding-bottom: 30px; }
.museum__count { margin: 0; font: 300 30px/1 var(--serif); color: var(--gold-2); white-space: nowrap; }
.museum__count span { font-size: 18px; color: var(--dim); }
.museum__progress { position: relative; flex: 1; height: 1px; background: var(--line-2); }
.museum__progress i { position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--gold-2); }

/* phones, tablets and reduced motion: swipe through the hall */
.museum.is-swipe .museum__track { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.museum.is-swipe .museum__track::-webkit-scrollbar { display: none; }
.museum.is-swipe .museum__works { position: relative; height: 100%; transform: none; padding: 0 12vw; gap: 54px; }
.museum.is-swipe .work { scroll-snap-align: center; }
@media (max-width: 960px) {
  .museum__head { padding-top: calc(var(--header-h) + 14px); gap: 14px; }
  .museum__head .title { font-size: clamp(30px, 7vw, 44px); }
  .museum__head .kicker { margin-bottom: 8px; }
  .museum__rooms { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 0 20px 4px; width: calc(100% + 40px); }
  .museum__rooms::-webkit-scrollbar { display: none; }
  .room { flex: 0 0 auto; }
  .museum__works { gap: 60px; padding: 0 max(8vw, calc((100vw - 290px) / 2)) 112px; }
  .work { padding-top: 28px; }
  .work__frame { padding: 10px; }
  .work__mat { padding: 12px; }
  .work__mat img { height: clamp(200px, 34svh, 330px); }
  .work--land .work__mat img { height: auto; width: min(64vw, 330px); }
  .work__plate { width: 170px; top: calc(100% + 18px); padding: 8px 12px 9px; }
  .work__title { font-size: 15px; }
  .work__place { font-size: 11px; }
  .museum__foot { gap: 14px; padding-bottom: 22px; }
  .museum__count { font-size: 24px; }
  .museum__foot .btn { --h: 38px; padding: 0 14px; font-size: 10.5px; letter-spacing: .18em; }
}
@media (max-width: 760px) {
  .js .museum.is-walk { height: calc(100svh - var(--tabbar-h) - var(--safe-b) + var(--walk) * .6); }
  .museum__pin { height: calc(100svh - var(--tabbar-h) - var(--safe-b)); min-height: 560px; }
  .museum__head { padding-top: calc(var(--header-h) + var(--safe-t) + 12px); }
  .museum__foot .btn span, .museum__foot .btn { white-space: nowrap; }
  .museum__foot { padding-right: 64px; flex-wrap: wrap; row-gap: 10px; }
  .museum__progress { flex: 1 1 120px; }
  .museum__foot .btn { order: 3; }
}

/* =============================================================
   HERO on phones: film on top, typography below (no text over the video)
   ============================================================= */
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; justify-content: flex-end; background: var(--bg); }
  .reel { inset: 0 0 auto 0; height: 60%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); }
  .reel__v { filter: saturate(.85) contrast(1.06) brightness(.9); }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 9, 8, .65) 0%, transparent 16%); }
  .hero__grain { opacity: .05; }

  .hero__content { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: 0 22px 84px; text-align: center; }
  .hero__logo { margin: 0 0 14px; }
  .hero__logo img { height: 74px; margin-inline: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .7)); }
  .hero .kicker { margin: 0 0 14px; font-size: 10px; letter-spacing: .32em; color: var(--gold); }
  .hero__tag { margin: 0 auto 8px; max-width: 17em; font-size: clamp(21px, 5.9vw, 25px); line-height: 1.22; }
  .hero__ar { margin: 0 0 22px; font-size: clamp(16px, 4.4vw, 19px); line-height: 1.6; text-align: center; }
  .hero__cta { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; }
  .hero__cta .btn { --h: 48px; width: 100%; padding: 0 12px; font-size: 10.5px; letter-spacing: .2em; }
  .hero__cta .btn--gold { width: 100%; }
  .btn--play { border: 1px solid var(--line-2); gap: 8px; padding: 0 12px; }
  .btn--play .btn__ring { width: 24px; height: 24px; border: 0; }
  .btn--play .btn__ring::after { left: 8px; top: 6px; border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
  .hero__bar { height: 58px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .reel { height: 52%; }
  .hero__logo img { height: 60px; }
  .hero__content { margin-bottom: 72px; }
  .hero__ar { margin-bottom: 16px; }
}
@media (max-width: 760px) { .hide-sm { display: none; } }
@media (max-width: 760px) {
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__logo { order: -1; }
  .hero__cta { width: 100%; }
  .hero__sound { white-space: nowrap; }
  .reel { height: 56%; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .reel { height: 46%; }
  .hero__logo { display: none; }
  .hero__content { margin-bottom: 66px; }
  .hero__tag { font-size: 20px; }
  .hero__sound-text { display: none; }
  .hero__bar { height: 52px; }
}

/* ---------- brand lockup: mark + full name ---------- */
.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__brand img { height: 38px; width: auto; }
.brandname { font: 300 14px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.brandname span { color: var(--gold-2); }
.footer__logo { display: inline-flex; align-items: center; gap: 14px; height: auto; margin: 0 0 18px; }
.footer__logo img { height: 46px; width: auto; }
.footer__logo .brandname { font-size: 15px; }
@media (max-width: 760px) {
  .nav__brand { gap: 9px; }
  .nav__brand img { height: 30px; }
  .brandname { font-size: 11.5px; letter-spacing: .22em; }
}
@media (max-width: 350px) {
  .brandname { font-size: 10.5px; letter-spacing: .16em; }
}

/* ---------- hero on phones: logo beside the words (compact) ---------- */
@media (max-width: 760px) {
  .hero__content { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-items: center; text-align: left; }
  .hero__logo { order: 0; grid-column: 1; grid-row: 1 / span 3; margin: 0; align-self: center; }
  .hero__logo img { height: 92px; margin: 0; }
  .hero .kicker { grid-column: 2; grid-row: 1; margin: 0 0 6px; font-size: 9.5px; letter-spacing: .22em; white-space: nowrap; }
  .hero__tag { grid-column: 2; grid-row: 2; margin: 0 0 4px; max-width: none; font-size: clamp(17px, 4.9vw, 20px); line-height: 1.2; }
  .hero__ar { grid-column: 2; grid-row: 3; margin: 0; font-size: clamp(14px, 3.9vw, 16px); line-height: 1.5; text-align: left; }
  .hero__cta { grid-column: 1 / -1; grid-row: 4; margin-top: 18px; }
  .hero__content { margin-bottom: 80px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero__logo { display: block; }
  .hero__logo img { height: 74px; }
  .hero__cta { margin-top: 14px; }
  .reel { height: 50%; }
}
@media (max-width: 350px) {
  .hero .kicker { font-size: 8.5px; letter-spacing: .16em; }
  .hero__logo img { height: 80px; }
}

/* ---------- brand name stacked: KARIM / ELMORSHEDY ---------- */
.brandname { display: inline-grid; gap: 5px; line-height: 1; }
.brandname span { display: block; font-size: .72em; letter-spacing: .36em; }
@media (max-width: 760px) {
  .brandname { gap: 4px; font-size: 13px; }
  .brandname span { font-size: .7em; letter-spacing: .3em; }
  .hero__content { margin-bottom: 90px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .hero__content { margin-bottom: 70px; }
}

/* ---------- about photo on phones: compact landscape crop ---------- */
@media (max-width: 760px) {
  .about__grid { gap: 34px; }
  .about__photo { max-width: none; margin: 0 10px 0 12px; }
  .about__photo img { aspect-ratio: 1 / 1; object-position: 50% 40%; }
  .about__photo::before { inset: -10px 10px 10px -10px; }
  .about__photo figcaption { margin-top: 12px; font-size: 10.5px; }
}

/* =============================================================
   MUSEUM v2: carved gilt frames in true 3D
   ============================================================= */
.museum { --fw: clamp(20px, 2vw, 30px); --edge: 22px; }
.work {
  filter: none; transform-style: preserve-3d;
  transform: perspective(1300px) translateZ(var(--tz, 0px)) rotateX(var(--tx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--ty, 0deg))) scale(var(--sc, 1));
}
.work__frame {
  position: relative; display: block; padding: 0; transform-style: preserve-3d;
  border: var(--fw) solid transparent; border-image: url("../img/frame-gilt.webp") 90 / var(--fw) round;
  background: #1d140a;
  box-shadow: var(--sx, 0px) 46px 60px -16px rgba(0, 0, 0, .95), var(--sx, 0px) 90px 90px -50px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .55);
}
.work__frame::after { display: none; }
.work__frame:hover { transform: translateZ(40px); }

/* frame thickness (visible when the frame turns) */
.work__edge { position: absolute; pointer-events: none; }
.work__edge--l, .work__edge--r { top: calc(var(--fw) * -1); bottom: calc(var(--fw) * -1); width: var(--edge); background: linear-gradient(90deg, #8a6428, #3a250c 70%, #1a1006); }
.work__edge--l { left: calc(var(--fw) * -1); transform-origin: left center; transform: rotateY(90deg); }
.work__edge--r { right: calc(var(--fw) * -1); transform-origin: right center; transform: rotateY(-90deg); background: linear-gradient(270deg, #8a6428, #3a250c 70%, #1a1006); }
.work__edge--t, .work__edge--b { left: calc(var(--fw) * -1); right: calc(var(--fw) * -1); height: var(--edge); background: linear-gradient(180deg, #b48a44, #4a3012 70%, #1a1006); }
.work__edge--t { top: calc(var(--fw) * -1); transform-origin: center top; transform: rotateX(-90deg); }
.work__edge--b { bottom: calc(var(--fw) * -1); transform-origin: center bottom; transform: rotateX(90deg); background: linear-gradient(0deg, #6a4a1c, #2a1a08 70%, #120a04); }

/* recessed mat + photo */
.work__mat { position: relative; background: #ece4d2;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), inset 0 12px 20px rgba(0, 0, 0, .45), inset 0 -3px 8px rgba(255, 255, 255, .5), inset 6px 0 12px rgba(0, 0, 0, .18); }
.work__mat img { box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 3px 8px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* glass with a reflection that slides as the frame turns */
.work__glass { position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(115deg, transparent calc(28% + var(--gs, 0%)), rgba(255, 250, 235, .26) calc(40% + var(--gs, 0%)), rgba(255, 250, 235, .05) calc(46% + var(--gs, 0%)), transparent calc(56% + var(--gs, 0%))),
    radial-gradient(ellipse 80% 60% at var(--gx, 30%) var(--gy, 0%), rgba(255, 245, 220, .12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 40%); }
/* darkens works that are away from the centre (keeps the 3D context, unlike filter) */
.work__dim { position: absolute; inset: calc(var(--fw) * -1); z-index: 3; pointer-events: none; background: #050403; opacity: calc((1 - var(--br, 1)) * 1.4); }

/* light: brass lamp with a visible beam and a warm pool on the wall */
.work__glow { position: absolute; left: 50%; top: -14%; width: 200%; height: 140%; pointer-events: none;
  transform: translateX(-50%) translateZ(-60px);
  background: radial-gradient(ellipse 42% 48% at 50% 36%, rgba(255, 210, 140, .26), rgba(255, 210, 140, .07) 52%, transparent 72%);
  opacity: var(--lamp, .6); }
.work__lamp::after { display: none; }
.work__lamp i { position: absolute; left: 50%; top: 9px; width: 280%; height: 74svh; transform: translateX(-50%); pointer-events: none;
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 228, 170, .42), rgba(255, 228, 170, .12) 38%, rgba(255, 228, 170, .03) 70%, transparent 88%);
  filter: blur(5px); opacity: calc(var(--lamp, .6) * .8); }
.work__lamp { box-shadow: 0 3px 6px rgba(0, 0, 0, .6), 0 6px 18px rgba(255, 214, 150, calc(var(--lamp, .6) * .35)); }

/* plaque with a little thickness */
.work__plate { box-shadow: 0 2px 0 #b9ae9b, 0 3px 0 #8f8574, 0 14px 22px -8px rgba(0, 0, 0, .85); }

@media (max-width: 960px) {
  .museum { --fw: 16px; --edge: 14px; }
  .work__lamp i { width: 240%; }
}
@media (prefers-reduced-motion: reduce) {
  .work { transform: none; }
}

/* ---------- back to top ---------- */
.totop {
  position: fixed; right: 27px; bottom: 92px; z-index: 41; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-2);
  background:
    radial-gradient(circle, rgba(16, 13, 11, .92) 0 21px, transparent 22px),
    conic-gradient(var(--gold-2) calc(var(--sp, 0) * 360deg), rgba(226, 198, 143, .2) 0);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s var(--ease), color .3s;
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { color: var(--text); }
.totop:active { transform: scale(.92); }
@media (max-width: 760px) {
  .totop { right: 18px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 74px); width: 42px; height: 42px;
    background: radial-gradient(circle, rgba(16, 13, 11, .92) 0 18px, transparent 19px), conic-gradient(var(--gold-2) calc(var(--sp, 0) * 360deg), rgba(226, 198, 143, .2) 0); }
}

/* lamp beam sits on the wall behind the frame; the brass bar stays in front */
.work__lamp { transform-style: preserve-3d; transform: translateX(-50%) translateZ(16px); }
.work__lamp i { transform: translateX(-50%) translateZ(-70px); }
.work__lamp::before { transform: translateZ(-8px); }
