/* ============================================================================
   MGNTION — SECTIONS
   ========================================================================= */

main { position: relative; z-index: 1; }

/* ===========================================================================
   01 · HERO
   No image. No product. Just the claim, at the size of the claim.
=========================================================================== */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--nav-h) + 3rem) 2.5rem; position: relative;
}
/* The claim must never be cropped and must never need scrolling to finish.
   So it is sized against the viewport HEIGHT and the line count as well as
   the width — which also means it re-composes correctly when the language
   changes the number of lines. --lines is set at render time. */
.hero__top {
  position: absolute; top: clamp(1.4rem, 3.4vh, 2.6rem); inset-inline: var(--gut);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem;
}
.hero__mark {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1rem, 1.35vw, 1.2rem);
  letter-spacing: .2em; text-transform: uppercase; direction: ltr;
}
.hero__mark b { color: var(--gold); font-weight: inherit; }

.hero__type { padding-inline: var(--gut); max-width: var(--max); margin-inline: auto; width: 100%; }
.hero__line {
  font-size: calc(min(var(--t-mega), calc(58svh / (var(--lines) * var(--script-leading)))) * var(--fit, 1));
}
.hero__line:nth-child(even) > * { color: var(--warm); }
/* the last line carries the gold — one signature per screen */
.hero__line:last-child > * { color: var(--gold); }

.hero__bottom {
  margin-top: clamp(2.5rem, 6vh, 5rem);
  padding-inline: var(--gut); max-width: var(--max); margin-inline: auto; width: 100%;
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-3); align-items: end;
}
.hero__sub {
  max-width: 46ch; font-size: var(--t-md); color: var(--warm-2); line-height: 1.5;
}
.hero__role { margin-bottom: .9rem; }
.hero__scroll { display: flex; align-items: center; gap: .8rem; white-space: nowrap; }
.hero__scroll i {
  display: block; width: 1px; height: 46px; background: var(--warm-4); position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ''; position: absolute; inset-inline: 0; height: 16px; background: var(--gold);
  animation: drip 2.4s var(--e-inout) infinite;
}
@keyframes drip { 0% { top: -18px } 60%,100% { top: 48px } }
@media (max-width: 720px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

/* ===========================================================================
   02 · MANIFESTO
=========================================================================== */
.mani { position: relative; }
.mani__big {
  font-size: calc(var(--t-hero) * var(--fit, 1)); max-width: 16ch;
}
.mani__big .lm:last-child > * { color: var(--red-lift); }
.mani__counter {
  margin-top: var(--s-4); max-width: 40ch; margin-inline-start: auto;
  font-size: var(--t-lg); line-height: 1.35; color: var(--warm-2);
  font-family: var(--f-editorial); font-style: italic;
}
[data-lang='he'] .mani__counter, [data-lang='ar'] .mani__counter {
  font-style: normal; font-weight: 300; font-family: var(--f-body);
}
.mani__thesis { margin-top: clamp(6rem, 18vh, 14rem); display: grid; gap: var(--s-4); }
.mani__t {
  display: grid; grid-template-columns: 4rem 1fr; gap: var(--s-3);
  padding-top: var(--s-3); border-top: 1px solid var(--rule);
  align-items: start;
}
.mani__t p { font-size: var(--t-lg); line-height: 1.32; max-width: 30ch; }
.mani__t:last-child p { color: var(--gold); }
@media (max-width: 720px) {
  .mani__t { grid-template-columns: 1fr; gap: .8rem; }
  .mani__counter { margin-inline-start: 0; }
}

/* ===========================================================================
   03 · RANGE — a ledger, not a card grid
=========================================================================== */
.range__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: var(--s-3); margin-bottom: var(--s-4); flex-wrap: wrap;
}
.range__title { font-size: var(--t-xl); }
.range__list { border-top: 1px solid var(--rule); }
.range__row {
  display: grid; grid-template-columns: 4.5rem 1fr auto;
  gap: var(--s-2); align-items: baseline;
  padding-block: clamp(.9rem, 2.1vh, 1.5rem);
  border-bottom: 1px solid var(--rule);
  position: relative; overflow: hidden;
  transition: color var(--d-fast) var(--e-out);
}
/* the fill wipes in from the reading edge on hover */
.range__row::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(201,162,39,.10), transparent 78%);
  transform: scaleX(0); transform-origin: var(--logical-start);
  transition: transform var(--d-mid) var(--e-out);
}
[dir='rtl'] .range__row::before { background: linear-gradient(to left, rgba(201,162,39,.10), transparent 78%); }
.range__row:hover::before { transform: scaleX(1); }
.range__row:hover .range__t { color: var(--gold); }
.range__row:hover .range__n { color: var(--gold); }
.range__t {
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.35rem, 3.4vw, 2.9rem); letter-spacing: -0.02em; line-height: 1;
  transition: color var(--d-fast) var(--e-out);
}
[data-lang='he'] .range__t, [data-lang='ar'] .range__t { text-transform: none; letter-spacing: 0; font-weight: 700; }
[data-lang='ar'] .range__t { line-height: 1.35; }
.range__d { text-align: var(--logical-end); max-width: 30ch; }
.range__n { transition: color var(--d-fast) var(--e-out); }
@media (max-width: 780px) {
  .range__row { grid-template-columns: 3rem 1fr; }
  .range__d { grid-column: 2; text-align: var(--logical-start); }
}

/* ===========================================================================
   04 · THE WORK — ACTS
=========================================================================== */
.work__intro { padding-bottom: 0; }
.work__title { font-size: var(--t-xl); }

.act { position: relative; --acc-text: var(--acc); }
.act[data-accent='gold'] { --acc: var(--gold); --acc-lift: var(--gold-lift); --acc-rgb: 201,162,39; }
.act[data-accent='red']  { --acc: var(--red-lift); --acc-lift: #E4645F; --acc-rgb: 193,39,45; --acc-text: var(--red-text); }
.act[data-accent='warm'] { --acc: var(--warm); --acc-lift: #fff; --acc-rgb: 242,237,227; }

/* Not every product earns the same amount of screen. `weight` is set per
   project and compresses the whole act — gate height, statement scale and
   section padding — so the flagship reads as the flagship without the
   smaller work feeling like an afterthought. */
.act[data-weight='2'] { --gate-h: 74svh; --stat-h: 64svh; --stat-size: var(--t-act); }
.act[data-weight='1'] { --gate-h: 62svh; --stat-h: 52svh; --stat-size: var(--t-xl); }
.act[data-weight='2'] .section, .act[data-weight='1'] .section { padding-block: calc(var(--act-pad) * .72); }

/* --- the gate: a full-bleed black title card between acts ---------------- */
.gate {
  min-height: var(--gate-h, 92svh); background: var(--void); position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: var(--s-5); overflow: hidden;
}
.gate::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(var(--acc-rgb), .5), transparent);
}
.gate__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 50% 50%, rgba(var(--acc-rgb), .07), transparent 68%);
  opacity: 0; transition: opacity 2200ms var(--e-out);
}
.is-in .gate__glow { opacity: 1; }

.gate__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s-3); margin-bottom: var(--s-3); flex-wrap: wrap;
}
.gate__name {
  font-size: calc(var(--t-act) * var(--fit, 1)); color: var(--warm); direction: ltr; text-align: var(--logical-start);
}
.gate__kind { margin-top: var(--s-3); max-width: 40ch; }
.gate__idx { color: var(--acc-text); }

/* --- the statement: one sentence, full screen ---------------------------- */
.stat { min-height: var(--stat-h, 88svh); display: flex; align-items: center; }
.stat__t {
  font-size: calc(min(var(--stat-size, var(--t-hero)), calc(52svh / (var(--lines) * var(--script-leading)))) * var(--fit, 1));
  max-width: 15ch;
}
.stat__t .lm:last-child > * { color: var(--acc); }

/* --- the argument: problem + philosophy --------------------------------- */
.arg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 7vw, 8rem); }
.arg__col > .rule { margin-bottom: var(--s-3); }
.arg__body { font-size: var(--t-md); line-height: 1.55; color: var(--warm-2); max-width: 46ch; }
.arg__col--phil .arg__body { color: var(--warm); }
.arg__pull {
  margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--rule);
  font-family: var(--f-editorial); font-style: italic;
  font-size: clamp(1.5rem, 3.1vw, 2.6rem); line-height: 1.18; color: var(--acc);
  max-width: 20ch;
}
[data-lang='he'] .arg__pull, [data-lang='ar'] .arg__pull {
  font-family: var(--f-display); font-style: normal; font-weight: 700;
}
[data-lang='ar'] .arg__pull { line-height: 1.45; }
@media (max-width: 860px) { .arg { grid-template-columns: 1fr; gap: var(--s-4); } }

/* --- the reveal --------------------------------------------------------- */
.reveal { padding-top: var(--s-4); }
.reveal__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--s-2); margin-bottom: var(--s-3); padding-bottom: .8rem;
  border-bottom: 1px solid var(--rule);
}

/* MIXDNA — a scroll sequence of real screens, each one a full plate */
.shots { display: grid; gap: clamp(2.5rem, 8vh, 7rem); }
/* when the screens are the whole reveal they start at the top of the section */
.shots--lead { margin-top: 0; }
.shot { position: relative; }
.shot__frame {
  position: relative; border: 1px solid var(--rule);
  background: var(--void); border-radius: 3px; overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9);
}
.shot__frame img { width: 100%; height: auto; }
.shot__bar {
  display: flex; align-items: center; gap: .55rem;
  padding: .6rem .85rem; border-bottom: 1px solid var(--rule);
  background: rgba(255,255,255,.015);
}
.shot__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--warm-4); flex: none; }
.shot__bar i:first-child { background: rgba(var(--acc-rgb), .8); }
.shot__bar span { margin-inline-start: auto; }
.shot__cap {
  display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-2);
  margin-top: 1rem; align-items: baseline;
}
.shot__cap p { color: var(--warm-2); max-width: 52ch; }
/* alternate the emphasis so the sequence has a rhythm */
.shot:nth-child(even) { max-width: 76%; margin-inline-start: auto; }
.shot:nth-child(3n)   { max-width: 88%; margin-inline-start: 0; }
@media (max-width: 860px) {
  .shot:nth-child(even), .shot:nth-child(3n) { max-width: 100%; }
  .shot__cap { grid-template-columns: 2rem 1fr; }
}

/* --- the foot: spec + actions ------------------------------------------- */
.foot { margin-top: clamp(3rem, 9vh, 7rem); }
.spec { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s-4); }
.spec li {
  list-style: none; padding: .5rem .85rem; border: 1px solid var(--rule);
  border-radius: 100px; color: var(--warm-2); font-size: var(--t-sm);
  transition: border-color var(--d-fast) var(--e-out), color var(--d-fast) var(--e-out);
}
.spec li:hover { border-color: rgba(var(--acc-rgb), .5); color: var(--warm); }

.actions { display: flex; flex-wrap: wrap; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.action {
  flex: 1 1 auto; min-width: 200px; background: var(--ink);
  padding: clamp(1.1rem, 2.4vh, 1.7rem) clamp(1.1rem, 2vw, 1.8rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: relative; overflow: hidden;
  transition: color var(--d-fast) var(--e-out);
}
.action__t {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: clamp(.92rem, 1.15vw, 1.05rem); position: relative; z-index: 1;
}
[data-lang='he'] .action__t, [data-lang='ar'] .action__t { text-transform: none; letter-spacing: 0; }
.action__x { position: relative; z-index: 1; color: var(--warm-3); transition: color var(--d-fast) var(--e-out), transform var(--d-mid) var(--e-out); }
[dir='rtl'] .action__x { transform: scaleX(-1); }
.action::before {
  content: ''; position: absolute; inset: 0;
  background: var(--acc); transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--d-mid) var(--e-out);
}
.action--primary { background: var(--ink-2); }
.action--primary .action__t { color: var(--acc-text); }
.action:hover::before { transform: scaleY(1); }
.action:hover .action__t, .action:hover .action__x { color: var(--ink); }
.action:hover .action__x { transform: translateX(6px); }
[dir='rtl'] .action:hover .action__x { transform: translateX(-6px) scaleX(-1); }
/* Case Study and Architecture are real destinations that do not exist yet.
   Rendering them as broken links would be worse than saying so — the label
   stays legible and the state is stated, not implied by a dimmed button. */
.action--pending { cursor: default; }
.action--pending .action__t { color: var(--warm-3); }
.action__soon {
  position: relative; z-index: 1; padding: .2rem .45rem;
  border: 1px solid var(--rule); color: var(--warm-3);
  font-size: 9px; letter-spacing: .18em; line-height: 1;
}

/* ===========================================================================
   PRODUCT PLATES — bespoke compositions, one per product.
   Screenshots describe. These argue.
=========================================================================== */
.plate {
  position: relative; border: 1px solid var(--rule); background: var(--void);
  border-radius: 3px; overflow: hidden; aspect-ratio: 16 / 9;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9);
}
@media (max-width: 700px) { .plate { aspect-ratio: 4 / 5; } }
.plate__hud {
  position: absolute; inset-inline: 0; top: 0; z-index: 4;
  display: flex; gap: .55rem; align-items: center;
  padding: .7rem .95rem; border-bottom: 1px solid var(--rule);
  background: linear-gradient(to bottom, rgba(5,5,5,.9), rgba(5,5,5,0));
}
.plate__hud i { width: 6px; height: 6px; border-radius: 50%; background: rgba(var(--acc-rgb),.85); flex: none; }
.plate__hud span:last-child { margin-inline-start: auto; }
/* The mask wrapper carries a transform, which makes it the containing block
   for everything absolute inside — so it has to fill the plate itself or the
   stage resolves inset:0 against a zero-height box. */
.plate > div { position: absolute; inset: 0; }
.plate__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 3.2rem 1.5rem 1.5rem; }

/* ---- THE LIVE SITE ------------------------------------------------------
   The running product, framed. It sits above the key art and stays fully
   transparent until the frame has actually loaded, so there is never a blank
   rectangle: the artwork is the poster, and it costs no network at all.
   The frame is inert by default — pointer-events off, so the wheel passes
   straight through and a scroll-driven page never gets hijacked by an
   embedded one. A click hands control over; Escape hands it back. */
.plate__live {
  position: absolute; inset: 0; z-index: 3;
  opacity: 0; pointer-events: none;
  transition: opacity 900ms var(--e-out);
}
.plate__live.is-loaded { opacity: 1; pointer-events: auto; cursor: pointer; }
/* A site that refuses to be framed never fires load, so the poster simply stays. */
.plate__live.is-stalled { opacity: 0; pointer-events: none; }

.plate__live iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
  background: var(--void);
  /* inert until asked for: the click that activates lands on .plate__live */
  pointer-events: none;
}
.plate__live.is-active { cursor: default; }
.plate__live.is-active iframe { pointer-events: auto; }

/* the "live" cue — a breathing dot and an invitation, both gone once held */
.plate__cue {
  position: absolute; z-index: 2; bottom: .85rem; inset-inline-start: .95rem;
  display: flex; align-items: center; gap: .55rem;
  padding: .5rem .8rem; border-radius: 2px;
  background: rgba(5,5,5,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--rule);
  transition: opacity 420ms var(--e-out), transform 420ms var(--e-out);
}
.plate__cue b  { font-size: var(--t-xs); letter-spacing: .2em; color: var(--warm); }
.plate__cue em { font-style: normal; font-size: var(--t-xs); color: var(--warm-2); }
.plate__dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: rgba(var(--acc-rgb), 1);
  animation: liveDot 2.4s var(--e-inout) infinite;
}
@keyframes liveDot { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

.plate__held {
  position: absolute; z-index: 2; bottom: .85rem; inset-inline-start: .95rem;
  padding: .5rem .8rem; border-radius: 2px;
  /* --acc-text, not --acc-rgb: on a red act the raw accent puts ink at 3.4:1,
     under AA. The text-safe accent lands gold at 8.2, warm at 14.3, red at 4.8. */
  background: var(--acc-text); color: var(--ink);
  font-size: var(--t-xs); letter-spacing: .16em;
  opacity: 0; transform: translateY(6px);
  transition: opacity 420ms var(--e-out), transform 420ms var(--e-out);
  pointer-events: none;
}
.plate__live.is-active .plate__cue  { opacity: 0; transform: translateY(6px); }
.plate__live.is-active .plate__held { opacity: 1; transform: none; }

/* Holding the frame is a mode. Say so at the edge of the plate. */
.plate:has(.plate__live.is-active) { box-shadow: 0 0 0 1px rgba(var(--acc-rgb), .55), 0 40px 120px -40px rgba(0,0,0,.9); }
/* The chrome would sit on top of a site the reader is now driving. */
.plate:has(.plate__live.is-active) .plate__hud { opacity: 0; transition: opacity 320ms var(--e-out); }

@media (prefers-reduced-motion: reduce) {
  .plate__live { transition: none; }
  .plate__dot  { animation: none; }
}

/* ---- ARTFOLIO: a corridor in perspective ------------------------------- */
.p-gallery { perspective: 700px; width: 100%; height: 100%; position: relative; overflow: hidden; }
.p-gallery__hall { position: absolute; inset: 0; transform-style: preserve-3d; }
.p-gallery__w {
  position: absolute; top: 8%; height: 84%; width: 30%;
  border: 1px solid rgba(242,237,227,.16);
  background: linear-gradient(to bottom, rgba(242,237,227,.035), transparent);
}
.p-gallery__w--l { left: 0;  transform-origin: left center;  transform: rotateY(58deg); }
.p-gallery__w--r { right: 0; transform-origin: right center; transform: rotateY(-58deg); }
.p-gallery__w::after {
  content: ''; position: absolute; top: 26%; left: 14%; width: 72%; height: 42%;
  border: 1px solid rgba(201,162,39,.42);
  background: rgba(201,162,39,.05);
}
.p-gallery__end {
  position: absolute; left: 32%; right: 32%; top: 20%; bottom: 20%;
  border: 1px solid rgba(242,237,227,.2);
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(60% 60% at 50% 50%, rgba(201,162,39,.10), transparent 70%);
  animation: hallPush 9s var(--e-inout) infinite alternate;
}
@keyframes hallPush { from { transform: translateZ(0) } to { transform: translateZ(70px) } }
.p-gallery__end b {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; font-size: clamp(.7rem, 1.5vw, 1rem); color: var(--warm);
}
.p-keys {
  position: absolute; inset-inline-start: 1rem; bottom: 1rem; z-index: 3;
  display: flex; gap: .35rem; flex-wrap: wrap;
}
.p-keys kbd {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em;
  padding: .3rem .5rem; border: 1px solid var(--rule); color: var(--warm-2);
  border-radius: 2px; background: rgba(0,0,0,.5);
}
.p-keys kbd.hot { border-color: var(--gold); color: var(--gold); }

/* ---- VIXXEO: a timeline that snaps to the beat ------------------------- */
.p-tl { width: 100%; max-width: 780px; }
.p-tl__wave { display: flex; align-items: flex-end; gap: 2px; height: 74px; }
.p-tl__wave i {
  flex: 1; background: rgba(242,237,227,.24); border-radius: 1px;
  height: var(--h); animation: waveBreathe 2.6s var(--e-inout) infinite alternate;
  animation-delay: calc(var(--n) * -90ms);
}
@keyframes waveBreathe { to { background: rgba(201,162,39,.55) } }
.p-tl__track {
  position: relative; height: 40px; margin-top: 14px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: repeating-linear-gradient(to right, rgba(242,237,227,.05) 0 1px, transparent 1px 40px);
}
.p-tl__cut {
  position: absolute; top: 0; bottom: 0; width: 1px; background: var(--gold);
  left: var(--x); animation: cutIn 3.4s var(--e-out) infinite;
  animation-delay: calc(var(--n) * 180ms);
}
.p-tl__cut::after {
  content: ''; position: absolute; top: -4px; left: -3px; width: 7px; height: 7px;
  background: var(--gold); transform: rotate(45deg);
}
@keyframes cutIn { 0%,8% { transform: scaleY(0); opacity: 0 } 20%,100% { transform: scaleY(1); opacity: 1 } }
.p-tl__lyric {
  margin-top: 22px; display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.1rem, 3.2vw, 2.4rem); letter-spacing: -.02em;
}
.p-tl__lyric span { opacity: .16; animation: lyricHit 3.4s steps(1) infinite; animation-delay: calc(var(--n) * 320ms); }
@keyframes lyricHit { 0%,10% { opacity: .16 } 14%,60% { opacity: 1 } 64%,100% { opacity: .16 } }
.p-tl__lyric span:nth-child(3) { color: var(--gold); }

/* ---- CLOUTWARS: two anonymous panels, one room ------------------------- */
.p-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(.8rem,3vw,2.4rem); align-items: center; width: 100%; max-width: 820px; }
.p-vs__card {
  aspect-ratio: 4/5; border: 1px solid var(--rule); position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(242,237,227,.055), rgba(0,0,0,0));
  display: grid; place-items: center;
}
.p-vs__card::after {
  content: 'ANONYMOUS'; font-family: var(--f-mono); font-size: 9px; letter-spacing: .3em;
  color: var(--warm-3);
}
.p-vs__card--a { animation: vsPulse 4s var(--e-inout) infinite; }
.p-vs__card--b { animation: vsPulse 4s var(--e-inout) 2s infinite; }
@keyframes vsPulse { 0%,100% { border-color: var(--rule) } 50% { border-color: rgba(193,39,45,.6) } }
.p-vs__mid { text-align: center; }
.p-vs__mid b {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.2rem,3vw,2.2rem);
  color: var(--red-lift); display: block;
}
.p-vs__bar { height: 2px; width: 100%; background: var(--rule); margin-top: 1.2rem; position: relative; grid-column: 1/-1; }
.p-vs__bar i {
  position: absolute; inset-block: 0; left: 0; background: var(--red-lift);
  width: 50%; animation: eloShift 5s var(--e-inout) infinite alternate;
}
@keyframes eloShift { from { width: 42% } to { width: 63% } }
.p-vs__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: 0; }
.plate:has(.p-vs__vid) .plate__stage { background: linear-gradient(to bottom, rgba(5,5,5,.55), rgba(5,5,5,.82)); }

/* ---- LUMEVE: an Arabic-first storefront -------------------------------- */
.p-shop { width: 100%; max-width: 760px; direction: rtl; }
.p-shop__t {
  font-family: 'Noto Kufi Arabic', sans-serif; font-weight: 800;
  font-size: clamp(1.1rem, 3.4vw, 2.4rem); text-align: center; line-height: 1.5;
  color: var(--warm); margin-bottom: 1.4rem;
}
.p-shop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.p-shop__i {
  aspect-ratio: 3/4; border: 1px solid var(--rule); position: relative;
  background: linear-gradient(180deg, rgba(242,237,227,.07), transparent 70%);
}
.p-shop__i::after {
  content: ''; position: absolute; inset-inline: 18%; bottom: 14%; height: 1px; background: var(--rule);
}
.p-shop__i:nth-child(2) { border-color: rgba(201,162,39,.45); }
@media (max-width: 620px) { .p-shop__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- ICED SMOKES: the vault ------------------------------------------- */
.p-vault { width: 100%; max-width: 700px; }
.p-vault__row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 1rem;
  padding-block: .75rem; border-bottom: 1px solid var(--rule); align-items: center;
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em; color: var(--warm-2);
  direction: ltr;
}
.p-vault__row:first-child { color: var(--warm-3); }
.p-vault__row b { font-weight: 400; color: var(--warm); }
.p-vault__row em { font-style: normal; color: var(--gold); }
.p-vault__settle {
  margin-top: 1.2rem; display: flex; align-items: center; gap: .7rem;
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .16em; color: var(--gold); direction: ltr;
}
.p-vault__settle i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  animation: settle 1.8s var(--e-inout) infinite;
}
@keyframes settle { 0%,100% { opacity: .25; transform: scale(.7) } 50% { opacity: 1; transform: scale(1) } }

/* ---- MONSEURRO: one dish, three languages ------------------------------ */
.p-menu { width: 100%; max-width: 820px; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(.9rem,3vw,2.4rem); }
.p-menu__c { border-top: 1px solid var(--rule-gold); padding-top: 1rem; }
.p-menu__c h4 { font-size: clamp(.9rem, 1.9vw, 1.35rem); font-weight: 600; line-height: 1.4; color: var(--warm); }
.p-menu__c p { font-size: var(--t-sm); color: var(--warm-3); margin-top: .4rem; line-height: 1.6; }
.p-menu__c small { display: block; margin-top: .8rem; color: var(--gold); font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em; direction: ltr; }
.p-menu__c--ar { direction: rtl; font-family: 'IBM Plex Sans Arabic', sans-serif; }
.p-menu__c--he { direction: rtl; font-family: 'Assistant', sans-serif; }
.p-menu__c--en { direction: ltr; }
@media (max-width: 700px) { .p-menu { grid-template-columns: 1fr; } }

/* ---- LABS: a diptych --------------------------------------------------- */
.p-labs { display: grid; grid-template-columns: 1fr 1px 1fr; width: 100%; height: 100%; }
.p-labs__side { display: grid; place-items: center; gap: .8rem; padding: 1.5rem; text-align: center; }
.p-labs__side b {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(.95rem, 2.6vw, 1.9rem); letter-spacing: -.02em; display: block; direction: ltr;
}
.p-labs__side span { color: var(--warm-3); font-size: var(--t-sm); max-width: 24ch; }
.p-labs__div { background: var(--rule); }
.p-labs__egg {
  width: clamp(48px, 9vw, 84px); aspect-ratio: 5/7; margin-inline: auto;
  border: 1px solid var(--warm-2); border-radius: 50% 50% 48% 48% / 62% 62% 38% 38%;
  position: relative;
}
.p-labs__egg--crack { border-color: var(--gold); animation: eggPulse 3.2s var(--e-inout) infinite; }
@keyframes eggPulse { 0%,100% { transform: rotate(-2deg) } 50% { transform: rotate(2deg) } }
.p-labs__yolk {
  position: absolute; inset: 26%; border-radius: 50%; background: var(--gold); opacity: .8;
}

/* ===========================================================================
   05 · METHOD
=========================================================================== */
.method__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.method__step { background: var(--ink); padding: var(--s-3) clamp(1rem,1.8vw,1.8rem) var(--s-4); position: relative; }
.method__step::after {
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: var(--logical-start);
  transition: transform var(--d-mid) var(--e-out);
}
.method__step:hover::after { transform: scaleX(1); }
.method__n { color: var(--gold); }
.method__t {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: -.015em; margin-block: .9rem;
}
[data-lang='he'] .method__t, [data-lang='ar'] .method__t { text-transform: none; letter-spacing: 0; }
.method__d { color: var(--warm-2); font-size: var(--t-sm); line-height: 1.7; }
@media (max-width: 980px) { .method__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .method__grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   06 · AGENCIES
=========================================================================== */
.ag { background: var(--void); position: relative; }
.ag::before, .ag::after {
  content: ''; position: absolute; inset-inline: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--rule-gold), transparent);
}
.ag::before { top: 0 } .ag::after { bottom: 0 }
.ag__title { font-size: calc(var(--t-hero) * var(--fit, 1)); max-width: 12ch; }
.ag__title .lm:last-child > * { color: var(--gold); }
.ag__body { margin-top: var(--s-4); max-width: 52ch; font-size: var(--t-md); color: var(--warm-2); line-height: 1.6; }
.ag__points { margin-top: clamp(3rem,8vh,6rem); display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--rule); }
.ag__p { background: var(--void); padding: var(--s-3) clamp(1.2rem,2vw,2.2rem) var(--s-4); }
.ag__p h4 {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1rem,1.6vw,1.3rem); letter-spacing: -.01em; margin-bottom: .7rem; color: var(--gold);
}
[data-lang='he'] .ag__p h4, [data-lang='ar'] .ag__p h4 { text-transform: none; letter-spacing: 0; }
.ag__p p { color: var(--warm-2); font-size: var(--t-sm); line-height: 1.7; }
@media (max-width: 720px) { .ag__points { grid-template-columns: 1fr; } }

/* ===========================================================================
   07 · CLOSE
=========================================================================== */
.close {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--nav-h) + 2rem) 3rem;
}
.close__t { font-size: calc(min(var(--t-mega), calc(29svh / (var(--lines) * var(--script-leading)))) * var(--fit, 1)); }
.close__t .lm:last-child > * { color: var(--gold); }
.close__sub { margin-top: clamp(.9rem, 2.2vh, 1.75rem); font-size: var(--t-lg); color: var(--warm-2); max-width: 34ch; line-height: 1.35; }
.close__cta {
  margin-top: clamp(1.3rem, 3.2vh, 3rem); display: inline-flex; align-items: center; gap: 1.2rem;
  padding: 1.15rem 2rem; border: 1px solid var(--gold); position: relative; overflow: hidden;
  align-self: flex-start;
}
.close__cta span {
  position: relative; z-index: 1; font-family: var(--f-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: 1rem;
  transition: color var(--d-fast) var(--e-out);
}
[data-lang='he'] .close__cta span, [data-lang='ar'] .close__cta span { text-transform: none; letter-spacing: 0; }
.close__cta::before {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: var(--logical-start);
  transition: transform var(--d-mid) var(--e-out);
}
.close__cta:hover::before { transform: scaleX(1); }
.close__cta:hover span { color: var(--ink); }
.close__mail {
  margin-top: clamp(1.3rem, 3.2vh, 3rem); display: block; font-family: var(--f-mono); direction: ltr;
  font-size: clamp(.85rem, 2vw, 1.4rem); letter-spacing: .06em; color: var(--warm);
  width: fit-content; padding-bottom: .3rem; border-bottom: 1px solid var(--warm-4);
  transition: color var(--d-fast) var(--e-out), border-color var(--d-fast) var(--e-out);
}
[dir='rtl'] .close__mail { margin-inline-end: auto; }
.close__mail:hover { color: var(--gold); border-color: var(--gold); }
.close__avail { display: flex; align-items: center; gap: .6rem; margin-top: clamp(.9rem, 2.2vh, 1.75rem); }
.close__avail i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: settle 2.4s var(--e-inout) infinite; }

/* ===========================================================================
   FOOTER
=========================================================================== */
.foot-b { border-top: 1px solid var(--rule); padding-block: var(--s-4) var(--s-3); }
.foot-b__top { display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; align-items: flex-end; }
.foot-b__tag { font-size: var(--t-md); max-width: 24ch; line-height: 1.3; }
.foot-b__idx { display: grid; grid-template-columns: repeat(2, minmax(120px, auto)); gap: .5rem 2.5rem; }
.foot-b__idx a { color: var(--warm-3); transition: color var(--d-fast) var(--e-out); font-size: var(--t-sm); direction: ltr; }
[dir='rtl'] .foot-b__idx a { direction: rtl; }
.foot-b__idx a:hover { color: var(--gold); }
.foot-b__bot { margin-top: var(--s-4); padding-top: 1.2rem; border-top: 1px solid var(--rule-soft); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
