/* =========================================================
   FARAH | فرح — design system
   Wine from the logo, white space, one sans family (Readex Pro),
   and a thin serif reserved for the wordmark only.
   ========================================================= */
:root {
  --wine: #6E1A2D;
  --wine-700: #5A1424;
  --wine-deep: #4B0F1F;
  --wine-night: #22080F;
  --rose: #B04A62;
  --blush: #F3DDE3;
  --petal: #FBF3F5;
  --paper: #FFFFFF;
  --mist: #F6F3F4;
  --ink: #2A1218;
  --text: #4B3940;
  --muted: #85727A;
  --line: #EDE3E6;
  --line-strong: #DCCDD2;
  --ok: #1F7350;
  --ok-bg: #E4F2EA;
  --wait: #8A5A0B;
  --wait-bg: #FBEFD9;
  --full: #8E2A40;
  --full-bg: #F8E3E8;

  --font: "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-mark: "Cormorant Garamond", "Times New Roman", serif;

  --fs-xs: .78rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: clamp(1.9rem, 3.2vw, 2.6rem);
  --fs-3xl: clamp(2.3rem, 4.6vw, 3.6rem);
  --fs-display: clamp(2.6rem, 6.6vw, 5.4rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  --shadow-float: 0 1px 1px rgba(42,18,24,.04), 0 12px 24px -10px rgba(42,18,24,.22), 0 40px 70px -30px rgba(75,15,31,.45);
  --shadow-soft: 0 1px 2px rgba(42,18,24,.05), 0 8px 24px -12px rgba(42,18,24,.18);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.6; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.25; font-weight: 600; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--blush); color: var(--wine-deep); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.ltr { direction: ltr; unicode-bidi: isolate; }
[hidden] { display: none !important; }

/* ---------- Wordmark & mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(145deg, #8A1F3A, #4E0618); color: #fff; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 6px 14px -8px rgba(78,6,24,.7); }
.brand-mark svg { width: 21px; height: 21px; }
.wordmark { font-family: var(--font-mark); font-weight: 500; font-size: 1.32rem; letter-spacing: .32em; line-height: 1; direction: ltr; padding-inline-start: .32em; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--wine); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font-weight: 500; font-size: var(--fs-sm); white-space: nowrap;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.btn:hover { background: var(--wine-700); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { --b-bg: #fff; --b-fg: var(--wine-deep); }
.btn-light:hover { background: var(--petal); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-strong); }
.btn-ghost:hover { background: var(--mist); }
.btn-glass { --b-bg: rgba(255,255,255,.12); --b-fg: #fff; --b-bd: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.btn-soft { --b-bg: var(--petal); --b-fg: var(--wine); }
.btn-soft:hover { background: var(--blush); }
.btn-danger { --b-bg: #fff; --b-fg: #A3263F; --b-bd: #EBC5CE; }
.btn-danger:hover { background: #FFF2F4; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--fs-xs); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: var(--fs-base); }
.btn-block { width: 100%; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; background: transparent; border: 1px solid transparent; position: relative; color: inherit; }
.icon-btn:hover { background: rgba(110,26,45,.07); }
.icon-btn svg { width: 21px; height: 21px; }
.dot-badge { position: absolute; inset-block-start: 4px; inset-inline-end: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 600; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field > label, .label { font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.hint { font-size: var(--fs-xs); color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(176,74,98,.14); }
.input::placeholder, .textarea::placeholder { color: #B3A3A9; }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: var(--fs-sm); }
.check input { width: 18px; height: 18px; accent-color: var(--wine); }
.range { width: 100%; accent-color: var(--wine); }
.error-text { color: #A3263F; font-size: var(--fs-sm); }

/* ---------- Chips & badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 500; background: var(--mist); color: var(--text); white-space: nowrap; }
.chip svg { width: 14px; height: 14px; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-full { background: var(--full-bg); color: var(--full); }
.chip-wait { background: var(--wait-bg); color: var(--wait); }
.chip-wine { background: var(--wine); color: #fff; }
.chip-outline { background: transparent; border: 1px solid var(--line-strong); }
.chip-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--wine); color: #fff; flex: none; }
.verified svg { width: 11px; height: 11px; }
.pill-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mist); gap: 2px; flex-wrap: wrap; }
.pill-toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: var(--fs-sm); color: var(--text); font-weight: 500; }
.pill-toggle button[aria-pressed="true"] { background: #fff; color: var(--wine); box-shadow: var(--shadow-soft); }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip { flex: none; border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 8px 15px; font-size: var(--fs-sm); color: var(--text); }
.filter-chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 60; height: var(--header-h); transition: background .3s, box-shadow .3s, color .3s; color: var(--ink); }
.site-header .bar { height: 100%; display: flex; align-items: center; gap: 20px; }
.site-header .nav { display: flex; gap: 4px; margin-inline-start: 18px; }
.site-header .nav a { padding: 8px 12px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; opacity: .86; }
.site-header .nav a:hover, .site-header .nav a[aria-current="page"] { opacity: 1; background: rgba(110,26,45,.07); }
.site-header .actions { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.site-header.is-solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-over-hero:not(.is-solid) { color: #fff; }
.site-header.is-over-hero:not(.is-solid) .brand { color: #fff; }
.site-header.is-over-hero:not(.is-solid) .brand-mark { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); }
.site-header.is-over-hero:not(.is-solid) .nav a:hover { background: rgba(255,255,255,.12); }
.site-header.is-over-hero:not(.is-solid) .icon-btn:hover { background: rgba(255,255,255,.12); }
.lang-btn { border: 1px solid currentColor; border-radius: 999px; background: transparent; padding: 4px 11px; font-size: var(--fs-xs); font-weight: 600; opacity: .8; min-height: 32px; }
.lang-btn:hover { opacity: 1; }
.menu-btn { display: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--blush); color: var(--wine); display: inline-grid; place-items: center; font-weight: 600; font-size: var(--fs-sm); flex: none; overflow: hidden; }
.avatar-lg { width: 96px; height: 96px; font-size: 2rem; }
.avatar-xl { width: 128px; height: 128px; font-size: 2.4rem; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 8px); min-width: 220px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-float); padding: 8px; display: none; }
.dropdown.is-open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); background: none; border: 0; font-size: var(--fs-sm); text-align: start; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--mist); }
.dropdown-menu .who { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown-menu .who strong { display: block; color: var(--ink); font-weight: 600; }
.mobile-nav { position: fixed; inset: 0; z-index: 80; background: rgba(34,8,15,.45); display: none; }
.mobile-nav.is-open { display: block; }
.mobile-nav .panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(86vw, 340px); background: #fff; padding: 20px; display: grid; align-content: start; gap: 6px; }
.mobile-nav .panel a { padding: 14px 12px; border-radius: var(--r-sm); font-weight: 500; color: var(--ink); }
.mobile-nav .panel a:hover { background: var(--mist); }

main { min-height: 70vh; }
.page { padding-block-start: calc(var(--header-h) + 28px); padding-block-end: 80px; }
.demo-banner { position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 61; height: 30px; line-height: 30px; background: var(--wine-night); color: #F3DDE3; font-size: var(--fs-xs); text-align: center; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.has-banner .site-header { inset-block-start: 30px; }
body.has-banner .page { padding-block-start: calc(var(--header-h) + 58px); }
body.has-banner .hero { padding-block-start: calc(var(--header-h) + 30px + clamp(40px, 7vw, 96px)); }
.inline-ic { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
@media (max-width: 899px) {
  .rail-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .rail-wrap::-webkit-scrollbar { display: none; }
  .cat-card { scroll-snap-align: start; width: 72vw; }
  .rail-progress { display: none; }
}

/* ---------- Hero: white, with a black-and-white moment that plays as you scroll ---------- */
.hero { --run: 150vh; position: relative; height: calc(100vh + var(--run)); background: #fff; }
.hero-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; align-items: center; padding-block: var(--header-h) 56px; isolation: isolate; }
@supports (height: 100svh) { .hero { height: calc(100svh + var(--run)); } .hero-pin { height: 100svh; } }
.hero-pin::before { content: ""; position: absolute; z-index: -1; inset: 0; background:
  radial-gradient(38% 55% at 76% 52%, rgba(243,221,227,.75), rgba(243,221,227,0) 72%),
  radial-gradient(30% 40% at 8% 92%, rgba(251,243,245,.9), rgba(251,243,245,0) 70%); }
html[dir="rtl"] .hero-pin::before { transform: scaleX(-1); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-copy { display: grid; justify-items: start; align-content: center; }
.hero h1 { color: var(--ink); font-size: clamp(2.5rem, min(5.4vw, 8.4vh), 4.9rem); font-weight: 600; line-height: 1.12; max-width: 13ch; letter-spacing: -.01em; }
html[lang="en"] .hero h1 { line-height: 1.03; letter-spacing: -.025em; max-width: 12ch; }
.hero .lead { margin-block-start: 18px; font-size: var(--fs-md); color: var(--text); max-width: 44ch; font-weight: 300; }
.occ-switch { position: relative; margin-block-start: clamp(22px, 4vh, 36px); display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(42,18,24,.04), 0 16px 34px -22px rgba(75,15,31,.35); }
.occ-pill { position: absolute; z-index: 0; left: 0; top: 0; width: 0; height: 0; border-radius: 999px; background: var(--wine); box-shadow: 0 12px 24px -14px rgba(110,26,45,.85); transition: transform .6s var(--ease), width .6s var(--ease); pointer-events: none; }
.occ-opt { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px 10px 13px; border: 0; background: none; border-radius: 999px; color: var(--ink); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; transition: color .35s var(--ease); }
html[dir="rtl"] .occ-opt { padding: 10px 13px 10px 17px; }
.occ-opt .occ-ic { width: 24px; height: 24px; flex: none; }
.occ-opt:hover { color: var(--wine); }
.occ-opt[aria-checked="true"] { color: #fff; }
.occ-opt:focus-visible { outline-offset: 2px; }
.hero-desc { margin-block-start: 22px; max-width: 520px; }
.occ-desc { font-size: var(--fs-base); color: var(--text); font-weight: 300; min-height: calc(3 * 1.6em); max-width: 48ch; }
html[lang="ar"] .occ-desc { min-height: calc(3 * 1.75em); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 18px; }
.hero-note { margin-block-start: 12px; font-size: var(--fs-xs); color: var(--muted); }

.scene { --h: min(calc(100vh - var(--header-h) - 140px), 760px); position: relative; margin: 0; width: calc(var(--h) * .75); }
@supports (height: 100svh) { .scene { --h: min(calc(100svh - var(--header-h) - 140px), 760px); } }
.scene-frame { position: relative; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; background: #EEE8EA; isolation: isolate; box-shadow: 0 1px 2px rgba(42,18,24,.06), 0 44px 80px -40px rgba(42,18,24,.5); }
.scene-frame::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(42,18,24,.06); pointer-events: none; }
.scene-layer { position: absolute; inset: 0; overflow: hidden; }
.scene-layer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 50% 55%; }
.scene-grain { position: absolute; inset: -40%; z-index: 3; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.1s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-2%, 3%); } 80% { transform: translate(4%, 1%); } 100% { transform: translate(0, 0); } }
.scene-frame .scene-shimmer { position: absolute; inset: 0; z-index: 2; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%) #EEE8EA; background-size: 250% 100%; animation: shimmer 1.6s linear infinite; transition: opacity .6s; }
@keyframes shimmer { from { background-position: 125% 0; } to { background-position: -125% 0; } }
.scene.is-ready .scene-shimmer { opacity: 0; }
.scene-cap { position: absolute; z-index: 5; inset-inline: 0; inset-block-end: 0; display: grid; gap: 14px; padding: 72px 24px 20px; background: linear-gradient(180deg, rgba(22,8,12,0), rgba(22,8,12,.52)); color: #fff; pointer-events: none; }
.scene-line { font-family: var(--font-mark); font-style: italic; font-size: 1.7rem; line-height: 1.15; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.3); transition: opacity .28s var(--ease), transform .28s var(--ease); }
html[lang="ar"] .scene-line { font-family: var(--font); font-style: normal; font-size: 1.2rem; font-weight: 400; }
.scene-line.is-swapping { opacity: 0; transform: translateY(6px); }
.scene-bar { height: 2px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.scene-bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .scene-bar i { transform-origin: right; }
.scene-cue { position: absolute; z-index: 5; inset-block-start: 16px; inset-inline-end: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--ink); font-size: 12px; font-weight: 500; backdrop-filter: blur(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.scene-cue .mouse { width: 14px; height: 20px; border: 1.5px solid currentColor; border-radius: 8px; position: relative; flex: none; }
.scene-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 4px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(6px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.scene-cue.is-hidden { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.hero-after { display: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { max-width: 760px; margin-block-end: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--fs-3xl); }
.section-head p { margin-block-start: 14px; font-size: var(--fs-md); color: var(--muted); font-weight: 300; max-width: 58ch; }
.section-dark { background: var(--wine-night); color: #E8D6DB; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #C9AEB6; }
.section-petal { background: var(--petal); }

/* scattered → one place */
.gather { height: 100vh; min-height: 660px; position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, var(--petal)); }
.gather-inner { position: absolute; inset: 0; display: grid; place-items: center; padding-block-start: clamp(150px, 22vh, 210px); padding-block-end: 24px; }
.gather-copy { position: absolute; inset-block-start: clamp(84px, 13vh, 130px); inset-inline: 0; text-align: center; padding-inline: var(--gutter); }
.gather-copy h2 { font-size: var(--fs-3xl); }
.gather-copy p { color: var(--muted); margin-block-start: 10px; font-size: var(--fs-md); font-weight: 300; }
.mcard { position: absolute; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(42,18,24,.05), 0 14px 30px -16px rgba(42,18,24,.28); color: var(--ink); font-size: 13px; line-height: 1.35; max-width: 280px; rotate: var(--tilt, 0deg); will-change: transform, opacity; }
html[dir="rtl"] .mcard { padding: 9px 9px 9px 14px; }
.mcard .tx { display: grid; min-width: 0; }
.mcard .tx b { font-weight: 600; font-size: 12.5px; }
.mcard .tx span { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard time { align-self: start; font-size: 11px; color: var(--muted); white-space: nowrap; margin-inline-start: 4px; }
.mcard .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--wine); font-weight: 600; flex: none; }
.mcard-dm + .mcard-dm .av { background: #EDE5D8; color: #6A4E1F; }
.mcard-voice .play { width: 32px; height: 32px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; flex: none; }
.mcard-voice .play svg { width: 14px; height: 14px; margin-inline-start: 2px; }
.mcard-voice .wave { display: flex; align-items: center; gap: 2px; height: 22px; }
.mcard-voice .wave i { display: block; width: 3px; border-radius: 2px; background: var(--rose); opacity: .75; }
.mcard-file .doc, .mcard-call .ph { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.mcard-file .doc { background: var(--mist); color: var(--muted); }
.mcard-call .ph { border-radius: 50%; background: #FCE9EC; color: #B42E43; }
.mcard-file svg, .mcard-call svg { width: 20px; height: 20px; }
.mcard-group .avs { display: flex; flex: none; padding-inline-start: 8px; }
.mcard-group .avs i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-inline-start: -8px; background: #E7C3CD; }
.mcard-group .avs i:nth-child(2) { background: #D9CBB4; }
.mcard-group .avs i:nth-child(3) { background: #BFC9D9; }
.mcard-note { display: grid; gap: 2px; padding: 11px 16px; background: #FFF9EA; border-color: #F0E2BC; }
.mcard-note small { color: #8C6D22; font-size: 11px; font-weight: 600; }
.mcard-note .hand { font-size: 15px; color: #3D3010; }
.mcard-image img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; filter: grayscale(1); flex: none; }
.phone { position: relative; height: min(600px, calc(100vh - 250px)); aspect-ratio: 1 / 2; width: auto; border-radius: 46px; background: #170409; padding: 12px; box-shadow: var(--shadow-float); will-change: transform, opacity; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; background: #fff; overflow: hidden; display: grid; grid-template-rows: auto auto auto 1fr; }
.phone-top { padding: 22px 18px 10px; display: flex; align-items: center; justify-content: space-between; }
.phone-top .brand { gap: 8px; }
.phone-top .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.phone-top .brand-mark svg { width: 17px; height: 17px; }
.phone-top .wordmark { font-size: 1rem; }
.phone-top > svg { width: 20px; height: 20px; color: var(--muted); }
.phone-event { margin: 0 14px 10px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--wine); color: #fff; font-size: 12px; font-weight: 500; }
.phone-event .occ-ic { width: 20px; height: 20px; flex: none; }
.phone-search { margin: 0 14px 10px; border-radius: 12px; background: var(--mist); padding: 9px 12px; font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.phone-search svg { width: 14px; height: 14px; flex: none; }
.phone-list { padding: 2px 14px; display: grid; gap: 9px; align-content: start; }
.phone-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 7px; border: 1px solid var(--line); border-radius: 14px; }
.phone-item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; grid-row: span 2; }
.phone-item .tx { display: grid; min-width: 0; }
.phone-item b { font-size: 12.5px; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-item .tx span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-item .chip { grid-column: 2; justify-self: start; font-size: 10px; padding: 2px 8px; }

/* categories rail */
.rail-wrap { overflow: hidden; }
.rail { display: flex; gap: 18px; padding-inline: var(--gutter); will-change: transform; }
.cat-card { position: relative; flex: none; width: clamp(240px, 26vw, 330px); aspect-ratio: 3 / 4.1; border-radius: var(--r-xl); overflow: hidden; color: #fff; background: var(--wine-deep); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,8,15,0) 40%, rgba(34,8,15,.82)); }
.cat-card .meta { position: absolute; z-index: 1; inset-inline: 20px; inset-block-end: 18px; display: grid; gap: 4px; }
.cat-card h3 { color: #fff; font-size: var(--fs-lg); }
.cat-card .meta span { font-size: var(--fs-sm); color: rgba(255,255,255,.82); }
.rail-progress { height: 2px; background: var(--line); margin-block-start: 28px; border-radius: 2px; overflow: hidden; }
.rail-progress i { display: block; height: 100%; width: 0; background: var(--wine); }

/* journey (photo story) */
.journey { position: relative; background: var(--petal); color: var(--ink); padding-block: clamp(80px, 10vw, 120px); overflow: hidden; }
.journey-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.journey h2 { color: var(--ink); font-size: var(--fs-3xl); max-width: 14ch; margin-block-end: 26px; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-width: 540px; }
.journey-btn { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; width: 100%; padding: 13px 16px; border: 0; border-radius: 18px; background: transparent; color: inherit; text-align: start; opacity: .5; transition: background .35s var(--ease), opacity .35s var(--ease), box-shadow .35s var(--ease); }
.journey-btn:hover { opacity: .85; }
.journey-step.is-active .journey-btn { opacity: 1; background: #fff; box-shadow: var(--shadow-soft); }
.journey-btn .n { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 14px; color: var(--wine); font-variant-numeric: tabular-nums; transition: background .35s, color .35s, border-color .35s; }
.journey-step.is-done .journey-btn .n { border-color: var(--rose); }
.journey-step.is-active .journey-btn .n { background: var(--wine); color: #fff; border-color: var(--wine); }
.journey-btn .tx { display: grid; padding-block-start: 3px; }
.journey-btn b { font-size: var(--fs-lg); font-weight: 600; color: var(--ink); line-height: 1.3; }
.journey-btn .tx > span { color: var(--text); font-weight: 300; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .45s var(--ease), margin .45s var(--ease); }
.journey-step.is-active .journey-btn .tx > span { max-height: 7em; opacity: 1; margin-block-start: 6px; }
.journey-frame { position: relative; width: 100%; max-width: 500px; justify-self: center; aspect-ratio: 4 / 5; max-height: min(76vh, 660px); border-radius: var(--r-xl); overflow: hidden; background: #EEE8EA; box-shadow: 0 44px 80px -40px rgba(42,18,24,.5); }
.journey-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s var(--ease); will-change: clip-path, transform; }
.journey-photo.is-on { opacity: 1; }
.journey-bar { position: absolute; z-index: 2; inset-block: 18px; inset-inline-end: 14px; width: 3px; border-radius: 3px; background: rgba(255,255,255,.4); overflow: hidden; }
.journey-bar i { display: block; height: 100%; background: #fff; transform-origin: top; transform: scaleY(.2); transition: transform .2s linear; }
.journey-inline { display: none; }
@media (min-width: 900px) { .journey { min-height: 100vh; display: grid; align-items: center; } }

/* budget planner teaser */
.budget { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.budget-controls { display: grid; gap: 22px; }
.budget-total { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.budget-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-soft); }
.alloc { display: grid; gap: 12px; }
.alloc-row { display: grid; grid-template-columns: minmax(110px, 150px) 1fr auto; gap: 14px; align-items: center; font-size: var(--fs-sm); }
.alloc-row .bar { height: 10px; border-radius: 99px; background: var(--petal); overflow: hidden; }
.alloc-row .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wine), var(--rose)); width: 0; transition: width .6s var(--ease); }
html[dir="rtl"] .alloc-row .bar i { background: linear-gradient(270deg, var(--wine), var(--rose)); margin-inline-start: 0; }
.alloc-row b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.savings { display: grid; gap: 14px; margin-block-start: 26px; }
.saving { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.saving .ic { width: 36px; height: 36px; border-radius: 12px; background: var(--petal); color: var(--wine); display: grid; place-items: center; }
.saving .ic svg { width: 19px; height: 19px; }
.saving strong { display: block; color: var(--ink); font-weight: 600; }
.saving span { font-size: var(--fs-sm); color: var(--muted); }

/* manifesto with the mark drawn as a line */
.manifesto { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.burst { position: relative; width: 100%; max-width: 640px; justify-self: center; aspect-ratio: 2 / 1.06; }
.burst-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.manifesto-text { font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.6; color: var(--ink); font-weight: 400; }
html[lang="en"] .manifesto-text { line-height: 1.35; }
.manifesto-text .w { opacity: 1; transition: opacity .2s; }

/* trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trust-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: #fff; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow-soft); }
.trust-card h3 { font-size: var(--fs-lg); }
.trust-card p { color: var(--muted); font-size: var(--fs-sm); }
.trust-card .demo { background: var(--petal); border-radius: var(--r-md); padding: 14px; display: grid; gap: 10px; color: var(--text); min-height: 108px; align-content: center; }
.bubble { padding: 9px 13px; border-radius: 16px; font-size: var(--fs-sm); line-height: 1.5; max-width: 92%; }
.bubble-me { background: var(--wine); color: #fff; justify-self: end; border-end-end-radius: 4px; }
.bubble-them { background: #fff; color: var(--ink); justify-self: start; border-end-start-radius: 4px; }
.masked { display: inline-block; padding: 0 6px; border-radius: 6px; background: rgba(255,255,255,.22); letter-spacing: .1em; }
.bubble-them .masked { background: var(--blush); color: var(--wine); }
.shield-note { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.shield-note svg { width: 14px; height: 14px; color: var(--ok); flex: none; }
.week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.day { border: 1px solid var(--line); border-radius: 12px; padding: 8px 2px; display: grid; justify-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
.day b { font-size: 1.15rem; color: var(--ink); line-height: 1.1; font-weight: 600; }
.day .chip { font-size: 9.5px; padding: 1px 6px; }
.badge-row { display: flex; align-items: center; gap: 10px; }
.badge-row .brand-mark { width: 42px; height: 42px; border-radius: 50%; }
.badge-row b { display: block; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); }
.stars5 { display: flex; gap: 2px; color: #C7963A; margin-block-start: 2px; }
.stars5 svg { width: 14px; height: 14px; fill: currentColor; }

/* vendor cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.v-card { display: grid; gap: 12px; color: var(--text); }
.v-card .cover { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.v-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.v-card:hover .cover img { transform: scale(1.04); }
.v-card .cover .chip { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: rgba(255,255,255,.94); }
.v-card .save { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); display: grid; place-items: center; color: var(--wine); }
.v-card .save svg { width: 18px; height: 18px; }
.v-card .save[aria-pressed="true"] svg { fill: currentColor; }
.v-card .who { display: flex; gap: 10px; align-items: center; }
.v-card .who .avatar { width: 40px; height: 40px; }
.v-card h3 { font-size: var(--fs-md); display: flex; align-items: center; gap: 6px; }
.v-card .sub { font-size: var(--fs-sm); color: var(--muted); }
.v-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--fs-sm); }
.v-card .price b { color: var(--ink); font-weight: 600; }
.stars { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 500; }
.stars svg { width: 15px; height: 15px; color: #C7963A; }

/* first partners are on their way */
.soon-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: clamp(22px, 4vw, 36px); border-radius: var(--r-lg); background: var(--petal); border: 1px solid var(--line); }
.soon-card .brand-mark { width: 58px; height: 58px; border-radius: 16px; }
.soon-card .brand-mark svg { width: 34px; height: 34px; }
.soon-card h3 { font-size: var(--fs-lg); }
.soon-card p { color: var(--muted); margin-block-start: 6px; max-width: 62ch; }
.soon-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* partners teaser */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.dash-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-float); padding: 18px; display: grid; gap: 14px; }
.dash-mock .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; display: grid; gap: 2px; }
.kpi span { font-size: var(--fs-xs); color: var(--muted); }
.kpi b { font-size: var(--fs-lg); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.spark { height: 90px; width: 100%; }
.spark path.l { fill: none; stroke: var(--wine); stroke-width: 2; }
.spark path.a { fill: url(#sparkfill); }
.list-plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.list-plain li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.list-plain li svg { width: 22px; height: 22px; color: var(--wine); margin-block-start: 3px; }

/* about */
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
.about-grid h3 { font-size: var(--fs-lg); margin-block-end: 10px; }
.about-grid p { color: var(--muted); }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; color: var(--ink); font-size: var(--fs-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--wine); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-block-end: 20px; color: var(--muted); max-width: 70ch; }

/* cta band */
.cta-band { border-radius: var(--r-xl); padding: clamp(32px, 6vw, 72px); background: linear-gradient(120deg, var(--wine-deep), var(--wine) 60%, #8F2A45); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; overflow: hidden; position: relative; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); }
.cta-band p { color: rgba(255,255,255,.82); margin-block-start: 10px; }
.cta-band .ghost-mark { position: absolute; inset-inline-end: -40px; inset-block-end: -60px; width: 260px; color: rgba(255,255,255,.08); }

/* footer */
.site-footer { background: var(--wine-night); color: #C9AEB6; padding-block: 64px 32px; font-size: var(--fs-sm); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); margin-block-end: 12px; font-weight: 600; }
.site-footer a { display: block; padding-block: 4px; color: #C9AEB6; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: rgba(255,255,255,.1); }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-block-start: 40px; padding-block-start: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Generic page bits ---------- */
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-block-end: 28px; }
.page-head h1 { font-size: var(--fs-2xl); }
.page-head p { color: var(--muted); margin-block-start: 6px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.card-pad-lg { padding: clamp(20px, 3vw, 32px); }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); display: grid; gap: 12px; justify-items: center; }
.empty svg { width: 40px; height: 40px; color: var(--rose); }
.empty h3 { font-size: var(--fs-md); }
.skeleton { background: linear-gradient(90deg, var(--mist), #fff, var(--mist)); background-size: 200% 100%; animation: sk 1.2s linear infinite; border-radius: var(--r-md); }
@keyframes sk { to { background-position: -200% 0; } }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--blush); border-top-color: var(--wine); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.center { display: grid; place-items: center; padding: 60px 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar .grow { flex: 1 1 220px; }
.search { position: relative; }
.search svg { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search .input { padding-inline-start: 42px; }
.divider { height: 1px; background: var(--line); margin-block: 20px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: var(--fs-sm); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); }

/* ---------- Sign in ---------- */
.auth-split { align-items: stretch; gap: clamp(24px, 5vw, 64px); }
.auth-card { display: grid; gap: 18px; align-content: start; max-width: 480px; width: 100%; justify-self: center; }
.gsi-slot { min-height: 46px; display: grid; place-items: center; }
.gsi-btn { display: grid; place-items: center; width: 100%; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or-line span { flex: 1; height: 1px; background: var(--line); }
.auth-photo { position: relative; min-height: 560px; border-radius: var(--r-xl); overflow: hidden; background: var(--wine-deep) center / cover no-repeat; }
.auth-photo > div { position: absolute; inset: auto 0 0 0; padding: 32px; background: linear-gradient(180deg, transparent, rgba(34,8,15,.82)); }
.auth-photo h2 { color: #fff; font-size: var(--fs-2xl); max-width: 14ch; }

/* ---------- Explore ---------- */
.explore-filters { display: grid; gap: 14px; margin-block-end: 26px; }
.explore-filters .row { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 10px; }

/* ---------- Vendor profile ---------- */
.v-cover { height: clamp(220px, 34vw, 380px); border-radius: var(--r-xl); overflow: hidden; position: relative; background: var(--mist); }
.v-cover img { width: 100%; height: 100%; object-fit: cover; }
.v-cover .tour-btn { position: absolute; inset-block-end: 16px; inset-inline-end: 16px; }
.v-head { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: end; margin-block-start: -56px; padding-inline: clamp(8px, 2vw, 24px); position: relative; }
.v-head .avatar-xl { border: 5px solid #fff; box-shadow: var(--shadow-soft); }
.v-head h1 { font-size: var(--fs-2xl); display: flex; align-items: center; gap: 10px; }
.v-head .handle { color: var(--muted); font-size: var(--fs-sm); display: inline-block; }
.v-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.v-head > :not(.avatar-xl) { align-self: start; padding-block-start: 64px; }
.v-stats { display: flex; gap: 26px; margin-block: 22px 8px; padding-inline: clamp(8px, 2vw, 24px); flex-wrap: wrap; }
.v-stats div { display: grid; }
.v-stats b { font-size: var(--fs-lg); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.v-stats span { font-size: var(--fs-xs); color: var(--muted); }
.v-bio { padding-inline: clamp(8px, 2vw, 24px); max-width: 70ch; color: var(--text); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-block: 26px 22px; overflow-x: auto; scrollbar-width: none; }
.tabs button, .tabs a { border: 0; background: none; padding: 12px 16px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-size: var(--fs-sm); }
.tabs [aria-selected="true"] { color: var(--wine); border-bottom-color: var(--wine); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.post-tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--mist); border: 0; padding: 0; }
.post-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-tile:hover img { transform: scale(1.05); }
.post-tile .ov { position: absolute; inset: 0; background: rgba(34,8,15,.45); color: #fff; display: flex; gap: 16px; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; font-weight: 600; }
.post-tile:hover .ov, .post-tile:focus-visible .ov { opacity: 1; }
.post-tile .ov span { display: inline-flex; gap: 6px; align-items: center; }
.post-tile .ov svg { width: 18px; height: 18px; fill: currentColor; }
.pkg-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pkg { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 12px; align-content: start; background: #fff; }
.pkg h3 { font-size: var(--fs-md); }
.pkg .price { font-size: var(--fs-xl); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pkg .dep { font-size: var(--fs-xs); color: var(--muted); }
.pkg ul { margin: 0; padding-inline-start: 18px; font-size: var(--fs-sm); color: var(--text); display: grid; gap: 4px; }
.pkg.is-selected { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(110,26,45,.12); }

/* calendar */
.cal { display: grid; gap: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head h3 { font-size: var(--fs-md); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { font-size: var(--fs-xs); color: var(--muted); text-align: center; padding-block: 4px; }
.cal-day { min-height: 74px; border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: grid; align-content: start; gap: 4px; background: #fff; text-align: start; font-size: var(--fs-xs); }
.cal-day.is-out { visibility: hidden; }
.cal-day.is-past { opacity: .4; }
.cal-day .d { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cal-slot { display: block; width: 100%; border: 0; border-radius: 7px; padding: 3px 6px; font-size: 10.5px; font-weight: 600; text-align: center; }
.cal-slot.available { background: var(--ok-bg); color: var(--ok); }
.cal-slot.full { background: var(--full-bg); color: var(--full); }
.cal-slot.none { background: var(--mist); color: var(--muted); font-weight: 400; }
.cal-slot.is-picked { outline: 2px solid var(--wine); }
button.cal-slot.available:hover { background: #d3eadc; }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--muted); }

/* modal / sheet */
.modal-root { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(34,8,15,.55); backdrop-filter: blur(3px); }
.modal { width: min(560px, 100%); max-height: min(88vh, 900px); overflow: auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-float); position: relative; }
.modal-wide { width: min(980px, 100%); }
.modal-head { position: sticky; top: 0; background: #fff; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: var(--fs-md); }
.modal-body { padding: 20px; }
.modal-foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 14px 20px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.post-view { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 420px; }
.post-view .media { background: #120307; display: grid; place-items: center; }
.post-view .media img { width: 100%; max-height: 78vh; object-fit: contain; }
.post-view .side { display: grid; grid-template-rows: auto 1fr auto; max-height: 78vh; }
.post-view .comments { overflow: auto; padding: 14px 18px; display: grid; gap: 12px; align-content: start; }
.comment { display: grid; grid-template-columns: 32px 1fr; gap: 10px; font-size: var(--fs-sm); }
.comment .avatar { width: 32px; height: 32px; font-size: 12px; }
.comment b { color: var(--ink); font-weight: 600; margin-inline-end: 6px; }
.steps { display: flex; gap: 6px; margin-block-end: 18px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps i.on { background: var(--wine); }
.option { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; cursor: pointer; background: #fff; text-align: start; width: 100%; }
.option input { margin-top: 4px; accent-color: var(--wine); }
.option strong { color: var(--ink); font-weight: 600; display: block; }
.option span { color: var(--muted); font-size: var(--fs-sm); }
.option.is-disabled { opacity: .55; cursor: not-allowed; }
.option:has(input:checked) { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(110,26,45,.1); }
.summary { background: var(--petal); border-radius: var(--r-md); padding: 16px; display: grid; gap: 8px; font-size: var(--fs-sm); }
.summary .line { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { font-weight: 600; color: var(--ink); font-size: var(--fs-base); }

/* toast */
.toasts { position: fixed; z-index: 200; inset-block-end: 20px; inset-inline: 0; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: 16px; }
.toast { pointer-events: auto; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: var(--fs-sm); box-shadow: var(--shadow-float); max-width: 520px; animation: toastIn .35s var(--ease); }
.toast.ok { background: #173F2E; }
.toast.err { background: #6B1426; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Plan flow ---------- */
.plan-wrap { max-width: 980px; margin-inline: auto; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.choice { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 0; padding: 0; text-align: start; background: var(--wine-deep); color: #fff; aspect-ratio: 4 / 5; }
.choice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .7s var(--ease); }
.choice:hover img { transform: scale(1.04); }
.choice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(34,8,15,.85)); }
.choice .t { position: absolute; z-index: 1; inset-inline: 18px; inset-block-end: 16px; }
.choice .t b { display: block; font-size: var(--fs-lg); font-weight: 600; }
.choice .t .occ-ic { width: 30px; height: 30px; margin-block-end: 6px; }
.choice img.is-mono { filter: grayscale(1) contrast(1.05); }
.choice .t span { font-size: var(--fs-sm); opacity: .85; }
.choice[aria-pressed="true"] { outline: 3px solid var(--wine); outline-offset: 3px; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mode { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-align: start; background: #fff; display: grid; gap: 10px; align-content: start; }
.mode:hover { border-color: var(--line-strong); }
.mode[aria-pressed="true"] { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(110,26,45,.12); }
.mode .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--petal); color: var(--wine); display: grid; place-items: center; }
.mode .ic svg { width: 24px; height: 24px; }
.mode h3 { font-size: var(--fs-lg); }
.mode p { color: var(--muted); font-size: var(--fs-sm); }
.plan-result { display: grid; gap: 22px; }
.plan-cat { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 14px; background: #fff; }
.plan-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-cat-head h3 { font-size: var(--fs-md); }
.plan-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mini-v { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px; }
.mini-v img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.mini-v b { display: block; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.mini-v span { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Messages ---------- */
.chat-layout { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: calc(100vh - var(--header-h) - 120px); min-height: 520px; background: #fff; }
.chat-list { border-inline-end: 1px solid var(--line); overflow: auto; }
.chat-list a { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-list a:hover { background: var(--mist); }
.chat-list a[aria-current="page"] { background: var(--petal); }
.chat-list .avatar { width: 46px; height: 46px; }
.chat-list b { display: block; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); }
.chat-list .prev { font-size: var(--fs-xs); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.chat-list .time { font-size: 11px; color: var(--muted); display: grid; justify-items: end; gap: 4px; }
.unread { min-width: 20px; height: 20px; border-radius: 999px; background: var(--wine); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 6px; font-weight: 600; }
.thread { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; }
.thread-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.thread-head b { color: var(--ink); }
.thread-body { overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, #fff, var(--petal)); }
.msg { max-width: 72%; padding: 10px 14px; border-radius: 18px; font-size: var(--fs-sm); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.msg.me { align-self: flex-end; background: var(--wine); color: #fff; border-end-end-radius: 6px; }
.msg.them { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); border-end-start-radius: 6px; }
.msg time { display: block; font-size: 10.5px; opacity: .7; margin-block-start: 4px; }
.msg .masked-note { display: block; font-size: 10.5px; opacity: .85; margin-block-start: 4px; }
.composer { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.composer textarea { flex: 1; min-height: 46px; max-height: 140px; resize: none; }
.safety-strip { display: flex; gap: 8px; align-items: center; padding: 8px 18px; background: var(--ok-bg); color: var(--ok); font-size: var(--fs-xs); }
.safety-strip svg { width: 15px; height: 15px; }

/* ---------- Dashboards ---------- */
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.dash-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--text); font-weight: 500; }
.dash-nav a svg { width: 18px; height: 18px; color: var(--muted); }
.dash-nav a:hover { background: var(--mist); }
.dash-nav a[aria-current="page"] { background: var(--petal); color: var(--wine); }
.dash-nav a[aria-current="page"] svg { color: var(--wine); }
.dash-nav .who { padding: 12px; margin-block-end: 10px; border: 1px solid var(--line); border-radius: var(--r-md); display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.dash-nav .who .avatar { width: 40px; height: 40px; }
.dash-nav .who b { color: var(--ink); font-size: var(--fs-sm); display: block; }
.dash-nav .who span { font-size: var(--fs-xs); color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; background: #fff; display: grid; gap: 4px; }
.stat span { font-size: var(--fs-xs); color: var(--muted); }
.stat b { font-size: 1.7rem; font-weight: 600; color: var(--ink); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat small { font-size: var(--fs-xs); color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th { text-align: start; font-weight: 500; color: var(--muted); font-size: var(--fs-xs); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--mist); }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .cell-who { display: flex; align-items: center; gap: 10px; }
.table .cell-who .avatar { width: 32px; height: 32px; font-size: 12px; }
.table .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.dash-section { display: grid; gap: 16px; margin-block-end: 34px; }
.dash-section > h2 { font-size: var(--fs-lg); }
.chart { width: 100%; height: 160px; }
.chart .bar { fill: var(--blush); }
.chart .bar.on { fill: var(--wine); }
.chart text { font-size: 10px; fill: var(--muted); }
.upload-drop { border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); padding: 22px; text-align: center; color: var(--muted); display: grid; gap: 8px; justify-items: center; cursor: pointer; background: #fff; }
.upload-drop:hover { border-color: var(--rose); background: var(--petal); }
.upload-drop svg { width: 28px; height: 28px; color: var(--rose); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.cred-box { background: var(--ok-bg); border-radius: var(--r-md); padding: 16px; display: grid; gap: 6px; color: #173F2E; }
.cred-box code { font-size: var(--fs-sm); background: #fff; padding: 4px 8px; border-radius: 6px; direction: ltr; display: inline-block; }

/* ---------- Ask Farah (question tree) ---------- */
.ai-fab { position: fixed; z-index: 70; inset-block-end: 20px; inset-inline-end: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 0; background: var(--wine); color: #fff; box-shadow: var(--shadow-float); font-weight: 500; font-size: var(--fs-sm); }
html[dir="rtl"] .ai-fab { padding: 8px 8px 8px 18px; }
.ai-fab .brand-mark { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); }
.ai-fab .brand-mark svg { width: 22px; height: 22px; }
.ai-panel { position: fixed; z-index: 90; inset-block-end: 20px; inset-inline-end: 20px; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 40px)); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-float); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid var(--line); }
.ai-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(120deg, var(--wine-deep), var(--wine)); color: #fff; }
.ai-head b { display: block; font-weight: 600; }
.ai-head span { font-size: var(--fs-xs); opacity: .8; }
.ai-head .icon-btn { margin-inline-start: auto; color: #fff; }
.ai-body { overflow: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--petal); }
.ai-msg { max-width: 90%; padding: 10px 14px; border-radius: 16px; font-size: var(--fs-sm); line-height: 1.65; background: #fff; border: 1px solid var(--line); color: var(--ink); align-self: flex-start; border-end-start-radius: 6px; }
.ai-msg.me { align-self: flex-end; background: var(--wine); color: #fff; border-color: var(--wine); border-end-start-radius: 16px; border-end-end-radius: 6px; }
.ai-msg p + p, .ai-msg p + ul { margin-block-start: 6px; }
.ai-msg ul { margin: 6px 0 0; padding-inline-start: 18px; }
.ai-msg li a { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ai-links { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 10px; }
.ai-link { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--wine); color: #fff; font-size: var(--fs-xs); font-weight: 500; }
.ai-link:hover { background: var(--wine-700); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-block-start: 2px; }
.ai-chips button { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 13px; font-size: var(--fs-xs); line-height: 1.4; text-align: start; transition: border-color .2s, color .2s; }
.ai-chips button:hover { border-color: var(--rose); color: var(--wine); }
.ai-chips .ai-nav { display: inline-flex; align-items: center; gap: 4px; background: transparent; border-style: dashed; color: var(--muted); }
.ai-chips .ai-nav svg { width: 14px; height: 14px; }
.ai-none { font-size: var(--fs-xs); color: var(--muted); }
.ai-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.ai-input .input { min-height: 42px; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }

/* 360 viewer: inline preview */
.pano { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: #120307; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: var(--shadow-float); }
.pano.is-grabbing { cursor: grabbing; }
.pano-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pano-loading { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.75); font-size: var(--fs-sm); }
.pano .hint-pill { position: absolute; inset-block-end: 14px; inset-inline-start: 50%; transform: translateX(-50%); background: rgba(255,255,255,.92); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-size: var(--fs-xs); display: flex; gap: 6px; align-items: center; pointer-events: none; white-space: nowrap; transition: opacity .3s; }
html[dir="rtl"] .pano .hint-pill { transform: translateX(50%); }
.pano .hint-pill svg { width: 16px; height: 16px; }
.pano.is-grabbing .hint-pill { opacity: 0; }
.pano-chip { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; background: var(--wine); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 500; pointer-events: none; box-shadow: 0 8px 20px -10px rgba(34,8,15,.8); }
.pano-note { position: absolute; inset-block-start: 16px; inset-inline-start: 14px; font-size: 11px; color: rgba(255,255,255,.8); pointer-events: none; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.tour-section .split { align-items: center; }

/* 360 viewer: full screen ("step inside") */
.pano-full { position: fixed; inset: 0; z-index: 120; background: #0E0206; color: #fff; }
.pano-stage { position: absolute; inset: 0; cursor: grab; touch-action: none; outline: none; user-select: none; -webkit-user-select: none; }
.pano-stage.is-grabbing { cursor: grabbing; }
.pano-top { position: absolute; inset-inline: 0; inset-block-start: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(14px, env(safe-area-inset-top)) 16px 30px; background: linear-gradient(180deg, rgba(14,2,6,.75), transparent); pointer-events: none; }
.pano-title { font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,.5); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pano-btn { pointer-events: auto; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(20,4,10,.6); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s; }
.pano-btn:hover { background: rgba(90,20,36,.85); }
.pano-btn svg { width: 20px; height: 20px; }
.pano-btn:focus-visible { outline-color: #fff; }
.pano-ctrl { position: absolute; inset-block-end: max(18px, env(safe-area-inset-bottom)); inset-inline-end: 16px; display: flex; gap: 8px; }
.pano-help { position: absolute; inset-block-start: 76px; inset-inline-start: 50%; transform: translateX(-50%); margin: 0; background: rgba(20,4,10,.65); padding: 8px 16px; border-radius: 999px; font-size: var(--fs-sm); pointer-events: none; transition: opacity .8s; white-space: nowrap; }
html[dir="rtl"] .pano-help { transform: translateX(50%); }
.pano-full.help-off .pano-help { opacity: 0; }
.pano-status { position: absolute; inset-block-end: max(84px, calc(env(safe-area-inset-bottom) + 70px)); inset-inline-start: 50%; transform: translateX(-50%); background: rgba(20,4,10,.75); padding: 8px 14px; border-radius: 999px; font-size: var(--fs-xs); opacity: 0; transition: opacity .3s; pointer-events: none; white-space: nowrap; }
html[dir="rtl"] .pano-status { transform: translateX(50%); }
.pano-status.is-on { opacity: 1; }
.pano-status.is-error { background: #6B1426; }
.pano-full:not(.is-ready) .pano-status.is-on { inset-block-end: auto; inset-block-start: 50%; }
.pano-credit { position: absolute; inset-block-end: max(28px, calc(env(safe-area-inset-bottom) + 10px)); inset-inline-start: 16px; margin: 0; font-size: 11px; color: rgba(255,255,255,.6); }
/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header .nav { display: none; }
  .menu-btn { display: inline-grid; }
}
@supports (height: 100svh) { @media (max-width: 960px) { .scene { --h: calc(100svh - var(--header-h) - 250px); } } }
@media (max-width: 960px) {
  .budget, .manifesto, .split, .post-view { grid-template-columns: 1fr; }
  .hero { --run: 120vh; }
  .hero-pin { align-items: start; padding-block: calc(var(--header-h) + 10px) 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .hero-copy .lead, .hero-copy .hero-desc { display: none; }
  .hero h1, html[lang="en"] .hero h1 { font-size: clamp(1.9rem, 7.6vw, 2.7rem); max-width: 18ch; }
  .occ-switch { display: grid; grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; margin-block-start: 16px; border-radius: 20px; }
  .occ-pill { border-radius: 15px; }
  .occ-opt, html[dir="rtl"] .occ-opt { flex-direction: column; gap: 3px; padding: 8px 2px 7px; border-radius: 15px; font-size: 12.5px; }
  .scene { --h: calc(100vh - var(--header-h) - 250px); width: min(100%, calc(var(--h) * .75)); justify-self: center; }
  .scene-cap { padding: 56px 18px 16px; gap: 11px; }
  .scene-line { font-size: 1.35rem; }
  html[lang="ar"] .scene-line { font-size: 1.05rem; }
  .scene-cue { inset-block-start: 12px; inset-inline-end: 12px; }
  .hero-after { display: block; padding-block: 34px 10px; }
  .hero-after .lead { font-size: var(--fs-md); color: var(--text); font-weight: 300; }
  .hero-after .occ-desc { margin-block-start: 12px; min-height: 0; }
  .journey-grid { grid-template-columns: minmax(0, 1fr); }
  .journey-frame { display: none; }
  .journey-steps { gap: 18px; }
  .journey-btn { opacity: 1; cursor: default; padding-inline: 0; }
  .journey-step.is-active .journey-btn { background: transparent; }
  .journey-btn .tx > span { max-height: none; opacity: 1; margin-block-start: 6px; }
  .journey-btn .n { background: #fff; }
  .journey-inline { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; margin-block-start: 6px; }
  .trust-grid, .about-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash > * { min-width: 0; }
  .dash-nav { position: static; display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .dash-nav .who { display: none; }
  .dash-nav a { white-space: nowrap; border: 1px solid var(--line); }
  .chat-layout { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .chat-layout.has-thread .chat-list { display: none; }
  .chat-layout:not(.has-thread) .thread { display: none; }
  .thread { height: calc(100vh - var(--header-h) - 140px); }
  .explore-filters .row { grid-template-columns: 1fr 1fr; }
  .explore-filters .row > :first-child { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: 1fr; }
  .post-view .media img { max-height: 50vh; }
  .soon-card { grid-template-columns: auto minmax(0, 1fr); }
  .soon-actions { grid-column: 1 / -1; }
  .is-still .mcard { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .wordmark { font-size: 1.12rem; }
  .gather-inner { padding-block-start: 230px; }
  .gather-copy h2 { font-size: var(--fs-2xl); }
  .phone { height: min(470px, calc(100vh - 270px)); border-radius: 40px; padding: 10px; }
  .phone-screen { border-radius: 31px; }
  .phone-item { grid-template-columns: 42px minmax(0, 1fr); }
  .phone-item img { width: 42px; height: 42px; }
  .mcard { max-width: 220px; font-size: 12px; }
  .mode-grid { grid-template-columns: 1fr; }
  .v-head { grid-template-columns: 1fr; gap: 12px; margin-block-start: -48px; align-items: start; }
  .v-head .avatar-xl { width: 96px; height: 96px; }
  .v-head h1 { font-size: var(--fs-xl); }
  .v-head > :not(.avatar-xl) { padding-block-start: 0; }
  .post-grid { gap: 3px; }
  .cal-day { min-height: 60px; padding: 4px; }
  .cal-slot { font-size: 9.5px; padding: 2px 3px; }
  .alloc-row { grid-template-columns: 96px 1fr auto; gap: 10px; }
  .msg { max-width: 86%; }
  .ai-fab span.lbl { display: none; }
  html[dir="rtl"] .ai-fab, .ai-fab { padding: 8px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .soon-card { grid-template-columns: 1fr; }
  .pano { aspect-ratio: 4 / 3; }
  .pano-credit { display: none; }
  .hide-sm { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .hero { height: auto; }
  .hero-pin { position: relative; height: auto; min-height: 100vh; padding-block-end: 40px; }
  .scene-grain { animation: none; }
  .scene-cue { display: none; }
}
/* tour switcher */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 22px; }
.tour-tab { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 16px; font-size: var(--fs-sm); font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.tour-tab:hover { border-color: var(--wine); color: var(--wine); }
.tour-tab[aria-selected="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.pano.is-switching .pano-canvas { opacity: 0; }
.pano .pano-canvas { transition: opacity .5s var(--ease); }

/* =========================================================
   v4 — wine and white, with gold only as metal:
   a hairline, a ring, the heart of the burst. Latin text is set
   the way Apple sets it (system SF first, Inter elsewhere);
   Arabic stays in Readex Pro.
   ========================================================= */
:root {
  --gold: #C9A45C;
  --gold-soft: #E9D7A8;
  --gold-deep: #8C6A2A;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", "Readex Pro", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", "Readex Pro", Arial, sans-serif;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-2xl: clamp(1.9rem, 3.2vw, 2.5rem);
  --fs-3xl: clamp(2.2rem, 4.9vw, 3.5rem);
}
html[lang="ar"] { --font: "Readex Pro", "SF Arabic", "Segoe UI", Tahoma, sans-serif; --font-display: var(--font); --fs-base: 1rem; --fs-md: 1.125rem; }
html[lang="en"] body { line-height: 1.47; letter-spacing: -.011em; }
h1, h2, h3, h4 { font-family: var(--font-display); }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.028em; line-height: 1.07; font-weight: 600; }
html[lang="en"] h3 { letter-spacing: -.015em; line-height: 1.2; }
html[lang="en"] .hero .lead, html[lang="en"] .occ-desc, html[lang="en"] .section-head p, html[lang="en"] .gather-copy p,
html[lang="en"] .journey-btn .tx > span, html[lang="en"] .hero-after .lead { font-weight: 400; }
html[lang="en"] .section-head p, html[lang="en"] .gather-copy p { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.38; letter-spacing: -.012em; }
html[lang="en"] .btn { letter-spacing: -.01em; }
.stars svg, .stars5 { color: var(--gold); }
.site-footer { border-top: 1px solid rgba(201,164,92,.38); }
.cta-band { box-shadow: inset 0 0 0 1px rgba(233,215,168,.28); }
.ai-fab { box-shadow: inset 0 0 0 1px rgba(233,215,168,.4), var(--shadow-float); }

/* ---------- Opening: white page, wine type; the scene is a full-height stage on the far side ---------- */
.hero { background: #fff; }
.scene-bar i { background: var(--gold-soft); }
.scene-layer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-layer.is-mono canvas { filter: grayscale(1) contrast(1.06); }
.scene-frame { transform-origin: 100% 50%; background: #3A0C19; }
html[dir="rtl"] .scene-frame { transform-origin: 0 50%; }
.scene-frame.is-swap { animation: sceneSwing 1.15s var(--ease); }
@keyframes sceneSwing { from { transform: perspective(1500px) rotateY(-11deg) scale(.97); } to { transform: perspective(1500px) rotateY(0) scale(1); } }
html[dir="rtl"] .scene-frame.is-swap { animation-name: sceneSwingR; }
@keyframes sceneSwingR { from { transform: perspective(1500px) rotateY(11deg) scale(.97); } to { transform: perspective(1500px) rotateY(0) scale(1); } }
.occ-pill { transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s; }
.scene-frame .scene-shimmer { background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%) #3A0C19; background-size: 250% 100%; }
@media (min-width: 961px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: min(660px, calc(54vw - var(--gutter) * 2)); }
  .scene { position: absolute; inset-block: 0; inset-inline-end: 0; width: 44vw; --h: auto; }
  .scene-frame { height: 100%; aspect-ratio: auto; border-radius: 0; border-end-start-radius: 120px; box-shadow: -1px 0 0 rgba(201,164,92,.55), -40px 0 80px -50px rgba(42,18,24,.45); }
  html[dir="rtl"] .scene-frame { box-shadow: 1px 0 0 rgba(201,164,92,.55), 40px 0 80px -50px rgba(42,18,24,.45); }
  .scene-frame::after { display: none; }
  .scene-frame::before { content: ""; position: absolute; z-index: 4; inset: 0 0 auto 0; height: 130px; background: linear-gradient(180deg, rgba(22,8,12,.42), rgba(22,8,12,0)); pointer-events: none; }
  .scene-cap { padding: 110px clamp(28px, 4vw, 56px) clamp(28px, 5vh, 48px); gap: 18px; }
  .scene-line { font-size: clamp(1.9rem, 2.6vw, 2.7rem); }
  html[lang="ar"] .scene-line { font-size: clamp(1.3rem, 1.8vw, 1.8rem); }
  .scene-cue { inset-block-start: calc(var(--header-h) + 18px); inset-inline-end: clamp(20px, 3vw, 40px); }
  body[data-route="/"] .site-header:not(.is-solid) .lang-btn { background: rgba(255,255,255,.94); border-color: transparent; opacity: 1; color: var(--ink); }
  body[data-route="/"] .site-header:not(.is-solid) .actions .icon-btn { background: rgba(255,255,255,.94); color: var(--ink); }
}

/* budget advice */
.b-tip { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-md); background: var(--petal); border-inline-start: 3px solid var(--wine); }
.b-tip[data-level="tight"] { background: var(--wait-bg); border-color: var(--gold); }
.b-tip[data-level="roomy"] { background: var(--ok-bg); border-color: var(--ok); }
.b-tip b { color: var(--ink); font-weight: 600; }
.b-tip span { font-size: var(--fs-sm); color: var(--text); }
.b-tip small { font-size: var(--fs-xs); color: var(--muted); }
.img-slot .ph video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Account menu: compact, one clear column ---------- */
.dropdown-menu { width: 252px; min-width: 0; padding: 6px; border-radius: 18px; box-shadow: 0 1px 2px rgba(42,18,24,.06), 0 18px 44px -18px rgba(42,18,24,.38); transform-origin: top; animation: ddIn .18s var(--ease); }
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.dropdown-menu a, .dropdown-menu button { min-height: 38px; padding: 8px 10px; gap: 10px; border-radius: 10px; font-size: .845rem; font-weight: 500; line-height: 1.2; color: var(--ink); cursor: pointer; }
.dropdown-menu a svg, .dropdown-menu button svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--petal); }
.dropdown-menu a:hover svg { color: var(--wine); }
.dropdown-menu .who { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.dropdown-menu .who-tx { min-width: 0; display: grid; }
.dropdown-menu .who strong, .dropdown-menu .who-tx span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.3; }
.dropdown-menu .who strong { font-size: .875rem; }
.dropdown-menu .who-tx span { font-size: .72rem; color: var(--muted); direction: ltr; text-align: start; }
html[dir="rtl"] .dropdown-menu .who-tx span { text-align: end; }
.dropdown-menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }
.dropdown-menu .out, .dropdown-menu .out svg { color: var(--wine); }
.mobile-nav .panel .panel-out { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 14px 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; color: var(--wine); font-weight: 500; text-align: start; }
.mobile-nav .panel .panel-out svg { width: 19px; height: 19px; }

/* ---------- The burst: wide, rising from the foot of the section ---------- */
[data-manifesto] { padding-block-end: 0; overflow: hidden; }
.manifesto { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.manifesto-text { max-width: 24em; }
.burst { width: min(1180px, 100%); max-width: none; margin: clamp(36px, 6vw, 84px) auto 0; aspect-ratio: 2 / .98; }

/* ---------- News from the team ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.news-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.news-card > img, .news-mark { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-mark { display: grid; place-items: center; background: linear-gradient(135deg, var(--wine-deep), var(--wine)); color: rgba(233,215,168,.55); }
.news-mark svg { width: 64px; height: 64px; }
.news-tx { display: grid; gap: 8px; align-content: start; padding: 18px 20px 22px; }
.news-tx time { font-size: var(--fs-xs); color: var(--gold-deep); font-weight: 500; }
.news-tx h3 { font-size: var(--fs-md); }
.news-tx p { color: var(--muted); font-size: var(--fs-sm); white-space: pre-line; }
.news-link { justify-self: start; color: var(--wine); font-weight: 600; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }

/* ---------- Admin: replace any design image ---------- */
.img-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.img-slot { display: grid; gap: 10px; align-content: start; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.img-slot .ph { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--mist); display: grid; place-items: center; color: var(--muted); font-size: var(--fs-xs); }
.img-slot .ph img { width: 100%; height: 100%; object-fit: cover; }
.img-slot .ph .chip { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; }
.img-slot b { font-size: var(--fs-sm); color: var(--ink); font-weight: 600; line-height: 1.35; min-height: 2.7em; }
.img-slot .row { display: flex; gap: 6px; flex-wrap: wrap; }
.img-slot label.btn { cursor: pointer; }
.page-head p { max-width: 64ch; }

/* ---------- Sign in: gold rings turning in wine light ---------- */
.auth-page { position: relative; min-height: 100vh; padding-block: calc(var(--header-h) + 28px) 56px; display: grid; align-items: center; overflow: hidden;
  background: radial-gradient(50% 60% at 26% 46%, rgba(176,74,98,.42), rgba(176,74,98,0) 70%), linear-gradient(158deg, #651829 0%, #4B0F1F 46%, #22080F 100%); }
@supports (height: 100svh) { .auth-page { min-height: 100svh; } }
.auth-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.auth-stage { position: relative; min-height: min(600px, 70vh); display: grid; align-content: end; color: #fff; }
.auth-stage .ring-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease); }
.auth-stage.has-3d .ring-canvas { opacity: 1; }
.auth-stage::before, .auth-stage::after { content: ""; position: absolute; top: 40%; width: min(42%, 240px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--gold); opacity: .55; transition: opacity .6s; }
.auth-stage::before { left: 22%; transform: translate(-10%, -50%); }
.auth-stage::after { left: 42%; transform: translate(0, -50%); border-color: var(--gold-soft); }
.auth-stage.has-3d::before, .auth-stage.has-3d::after { opacity: 0; }
.auth-stage-copy { position: relative; z-index: 1; max-width: 27ch; }
.auth-stage-title { color: #fff; font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 600; line-height: 1.1; }
html[lang="en"] .auth-stage-title { letter-spacing: -.028em; }
.auth-stage-copy p { margin-block-start: 10px; color: rgba(255,255,255,.76); }
.auth-card-wrap { width: 100%; max-width: 460px; justify-self: center; transition: transform .5s var(--ease); will-change: transform; }
.auth-card { max-width: none; border-radius: 28px; border: 1px solid rgba(233,215,168,.5); box-shadow: 0 40px 90px -40px rgba(0,0,0,.75); }

/* ---------- Phones ---------- */
@supports (height: 100svh) {
  .gather { height: 100svh; }
  @media (max-width: 640px) { .phone { height: min(470px, calc(100svh - 270px)); } }
  @media (max-width: 960px) { .hero { --run: 120svh; } }
}
@media (max-width: 960px) {
  .burst { aspect-ratio: 2 / 1.12; margin-block-start: 28px; }
  .manifesto-text { text-align: start; }
  .auth-page { align-items: start; padding-block-start: calc(var(--header-h) + 8px); }
  .auth-split { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .auth-stage { min-height: 250px; align-content: end; justify-items: center; text-align: center; }
  .auth-stage::before, .auth-stage::after { top: 34%; width: 110px; }
  .auth-stage::before { left: calc(50% - 90px); transform: translate(0, -50%); }
  .auth-stage::after { left: calc(50% - 20px); }
  .auth-stage-title { font-size: 1.45rem; }
  .auth-stage-copy p:not(.auth-stage-title) { display: none; }
  .auth-card-wrap { margin-block-start: 14px; }
  .dropdown-menu { width: min(252px, calc(100vw - 24px)); }
}

/* story videos */
.journey-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
video.journey-inline { background: #eee8ea; }

/* 3D objects you can turn */
.ring-canvas { touch-action: pan-y; }
[data-box3d], [data-rings] { cursor: grab; }
.is-grabbing { cursor: grabbing !important; }
.drag-hint { position: absolute; z-index: 2; inset-block-end: 14px; inset-inline-start: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(233,215,168,.45); color: #fff; font-size: 12px; font-weight: 500; pointer-events: none; white-space: nowrap; backdrop-filter: blur(6px); transition: opacity .5s; }
html[dir="rtl"] .drag-hint { transform: translateX(50%); }
.drag-hint::before { content: "\2194"; font-size: 14px; line-height: 1; }
.drag-hint.is-off { opacity: 0; }
.cta-band { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); padding-block: clamp(28px, 4vw, 48px); }
.cta-copy { display: grid; gap: 4px; justify-items: start; }
.cta-copy .btn { margin-block-start: 18px; }
.cta-3d { position: relative; min-height: 340px; align-self: stretch; }
.cta-3d .ring-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.auth-stage .drag-hint { inset-block-end: auto; inset-block-start: 12px; }
@media (max-width: 960px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-3d { min-height: 280px; margin-inline: -12px; }
  .hero { --run: 80vh; }
}
@supports (height: 100svh) { @media (max-width: 960px) { .hero { --run: 80svh; } } }

.cta-3d .drag-hint { inset-block-end: 6px; }
.cta-3d { min-height: 380px; }
/* the box's shadow fades out before it reaches the edge of its canvas */
.cta-3d .ring-canvas { -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }

/* ---------- Accessibility pass (WCAG 2.1 AA) ---------- */
:root { --muted: #76636B; }                                   /* small grey text now clears 4.5:1 on white, blush and mint */
.input::placeholder, .textarea::placeholder { color: #8F7D84; }
.sr-only:focus { position: fixed !important; z-index: 300; inset-block-start: 10px; inset-inline-start: 10px; width: auto; height: auto; margin: 0; padding: 10px 16px; clip: auto; border-radius: 999px; background: #fff; color: var(--wine); font-weight: 600; box-shadow: var(--shadow-float); }
.cta-band :focus-visible, .auth-stage :focus-visible, .site-footer :focus-visible, .scene :focus-visible, .ai-head :focus-visible, .pano-full :focus-visible { outline-color: #fff; }
[data-jvid] { cursor: pointer; }
@media (pointer: coarse) {
  /* everything you tap is at least 44px tall */
  .lang-btn { min-height: 44px; min-width: 48px; }
  .site-header .actions > .btn-sm, .btn-sm { min-height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .tour-tab, .pill-toggle button, .filter-chip, .occ-opt { min-height: 44px; }
  .range { height: 44px; }
  .news-link { padding-block: 11px; }
  .site-footer a { padding-block: 11px; }
  .auth-card [data-forgot] { min-height: 44px; }
  .dropdown-menu a, .dropdown-menu button { min-height: 44px; }
  .ai-chips button { min-height: 40px; }
}
@media (pointer: coarse) { .site-header .brand { min-height: 44px; } .news-link, .site-footer a { padding-block: 12px; } }

/* ---------- v5 hero: a ribbon of silk; an occasion opens its scene, the same occasion closes it ---------- */
.hero5 { --run: 0px; --peek: 104px; height: calc(100vh - var(--peek)); min-height: 600px; }
@supports (height: 100svh) { .hero5 { height: calc(100svh - var(--peek)); } }
.hero5.is-open { height: calc(210vh - var(--peek)); }
@supports (height: 100svh) { .hero5.is-open { height: calc(210svh - var(--peek)); } }
.hero5 .hero-pin::before { background: radial-gradient(34% 44% at 6% 96%, rgba(251,243,245,.95), rgba(251,243,245,0) 70%); }
.hero5 .hero-copy > :not(.hero-stage) { position: relative; z-index: 2; }
.hero5 .hero-stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-ribbon { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: opacity .9s var(--ease); }
.hero-ribbon.is-fallback { background: radial-gradient(40% 70% at 82% 40%, rgba(176,74,98,.45), rgba(243,221,227,0) 70%); }
.hero5 .scene { pointer-events: auto; margin: 0; transform-origin: 50% 60%; will-change: transform, opacity; }
.hero5 .scene[hidden] { display: none; }
.hero5 .scene-frame { height: auto; aspect-ratio: 3 / 4; border-radius: 28px; background: #3A0C19;
  box-shadow: 0 0 0 1px rgba(233,215,168,.55), 0 2px 4px rgba(42,18,24,.08), 0 60px 100px -46px rgba(42,18,24,.7); }
html[dir="rtl"] .hero5 .scene-frame { box-shadow: 0 0 0 1px rgba(233,215,168,.55), 0 2px 4px rgba(42,18,24,.08), 0 60px 100px -46px rgba(42,18,24,.7); }
.hero5 .scene-frame::before { height: 96px; }
.hero5 .scene-cap { padding: 70px 24px 22px; gap: 14px; }
.hero5 .scene-line { font-size: clamp(1.45rem, 2vw, 2rem); }
html[lang="ar"] .hero5 .scene-line { font-size: clamp(1.05rem, 1.35vw, 1.35rem); }
.hero5 .scene-cue { inset-block-start: 14px; inset-inline-end: 14px; }
.scene-close { position: absolute; z-index: 6; inset-block-start: 12px; inset-inline-start: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(42,10,18,.35); color: #fff; backdrop-filter: blur(8px); transition: background .3s var(--ease), transform .3s var(--ease); }
.scene-close svg { width: 18px; height: 18px; }
.scene-close:hover { background: rgba(42,10,18,.6); transform: scale(1.06); }
.occ-opt[aria-pressed="true"] { color: #fff; }
.scene-3d { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 38%, #FBF1F3 0%, #EFD5DC 52%, #CFA0AE 100%); }
.scene-3d .ring-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
@media (min-width: 961px) {
  .hero5 .hero-copy { max-width: min(600px, 47vw); }
  .hero5 .hero-pin { height: calc(100vh - var(--peek)); min-height: 600px; }
  @supports (height: 100svh) { .hero5 .hero-pin { height: calc(100svh - var(--peek)); } }
  .hero5 .scene { position: absolute; inset-block: auto; top: calc(var(--header-h) / 2 + 50%); translate: 0 -50%; inset-inline-end: clamp(32px, 7vw, 128px); width: min(30vw, 430px, calc((100vh - var(--header-h) - 110px) * .75)); }
  @supports (height: 100svh) { .hero5 .scene { width: min(30vw, 430px, calc((100svh - var(--peek) - var(--header-h) - 80px) * .75)); } }
}
@media (max-width: 960px) {
  /* phones and upright tablets: the silk is a soft background behind everything; the scene opens in the flow */
  .hero5, .hero5.is-open { height: auto; min-height: 0; }
  .hero5 .hero-pin { position: relative; height: auto; min-height: 0; display: block; overflow: hidden; padding-block: calc(var(--header-h) + 14px) 34px; }
  .hero5 .hero-pin::before { display: none; }
  .hero5 .hero-copy .lead, .hero5 .hero-copy .hero-desc { display: block; }
  .hero5 .hero-copy .lead { margin-block-start: 12px; font-size: var(--fs-base); }
  .hero5 .hero-copy .lead, .hero5 .occ-desc, .hero5 .hero-note { color: var(--text); }
  .hero5 .hero-stage { display: contents; }
  .hero5 .hero-ribbon { opacity: .3; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .hero5 .scene { position: relative; z-index: 2; inset: auto; translate: none; justify-self: center; width: min(74vw, 340px, 40svh); height: auto; aspect-ratio: 3 / 4; margin: 16px auto 8px; }
  .hero5 .scene-frame { height: 100%; aspect-ratio: auto; }
  .hero5 .scene-cap { padding: 54px 18px 18px; }
  .hero5 .hero-desc { margin-block-start: 14px; }
  .scene-close { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero5.is-open { height: auto; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 961px) {
  .hero5 .hero-pin { min-height: 100vh; }
}
/* sign-in: before WebGL arrives, a quiet outline of the envelope */
.auth-stage::before, .auth-stage::after { display: none; }
.auth-stage:not(.has-3d) { background: radial-gradient(42% 34% at 50% 40%, rgba(247,240,230,.12), rgba(247,240,230,0) 70%); }
/* plan result: the invitation card */
.invite-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-block: 8px 34px; padding: clamp(18px, 3vw, 36px); border-radius: var(--r-xl); background: radial-gradient(70% 90% at 30% 40%, #FBF1F3, #F1DCE2 70%, #E7C9D2); box-shadow: inset 0 0 0 1px rgba(201,164,92,.35); overflow: hidden; }
.invite-3d { position: relative; min-height: 420px; cursor: grab; }
.invite-3d .ring-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.invite-3d:not(.has-3d)::before { content: ""; position: absolute; inset: 10% 26%; border-radius: 6px; background: #FFFBF5; box-shadow: 0 0 0 1px rgba(201,164,92,.6), 0 30px 60px -30px rgba(75,15,31,.5); }
.invite-3d .drag-hint { background: rgba(75,15,31,.72); border-color: rgba(233,215,168,.6); }
.invite-copy { display: grid; gap: 10px; justify-items: start; max-width: 42ch; }
.invite-copy h2 { font-size: var(--fs-2xl); color: var(--ink); }
.invite-copy p { color: var(--text); }
.invite-copy .btn { margin-block-start: 8px; }
@media (max-width: 760px) { .invite-band { grid-template-columns: 1fr; } .invite-3d { min-height: 360px; } }

/* ---------- company logos: one row, always moving right to left ---------- */
.logos { position: relative; z-index: 2; padding-block: 18px 26px; background: #fff; overflow: clip; max-width: 100vw; }
.logos-label { text-align: center; font-size: var(--fs-sm); color: var(--muted); margin-block-end: 10px; }
.logos-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.logos-track { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; }
.logos-track.is-moving { animation: logos-move var(--logos-t, 40s) linear infinite; will-change: transform; }
@keyframes logos-move { to { transform: translate3d(calc(var(--logos-w, 50%) * -1), 0, 0); } }
.logos-track li { flex: none; padding-inline: clamp(16px, 2.6vw, 34px); }
.logos-track a { display: grid; place-items: center; height: 56px; min-width: 76px; opacity: .82; border-radius: 10px; transition: opacity .3s var(--ease), transform .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.logos-track a:hover, .logos-track a:focus-visible { opacity: 1; transform: translateY(-2px); }
.logos-track img { display: block; height: 38px; width: auto; max-width: 150px; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.logos-name { font-weight: 600; font-size: var(--fs-base); color: var(--ink); white-space: nowrap; }
@media (hover: hover) { .logos-view:hover .logos-track { animation-play-state: paused; } }
.logos-view:focus-within .logos-track { animation-play-state: paused; }
@media (max-width: 640px) { .logos-track img { height: 30px; max-width: 116px; } .logos-track a { height: 48px; } }
@media (prefers-reduced-motion: reduce) { .logos-view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .logos-track { margin-inline: auto; } }

/* ---------- the story of the mark: it comes apart and goes back together with the scroll ---------- */
.mark-story { --mk: 0; position: relative; height: 250vh; background: linear-gradient(180deg, #fff, #FBF3F5 30%, #FBF3F5 70%, #fff); }
.mark-pin { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: grid; align-items: center; overflow: hidden; }
@supports (height: 100svh) { .mark-pin { height: calc(100svh - var(--header-h)); } }
.mark-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.mark-art { display: grid; justify-items: center; gap: 6px; min-width: 0; }
.mark-art svg { width: min(100%, 470px, 62vh); aspect-ratio: 1; overflow: visible; color: var(--wine); }
.mk-halo { fill: #fff; opacity: calc(.35 + var(--mk) * .65); stroke: rgba(201,164,92,.5); stroke-width: .4; }
.mk-knot { color: var(--gold-deep, #8C6A2A); }
.mark-copy { display: grid; gap: 14px; min-width: 0; }
.mark-copy h2 { font-size: var(--fs-2xl); }
.mark-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.mark-list li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: var(--fs-md, 1.05rem); opacity: .16; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mark-list li.is-on { opacity: 1; transform: none; }
.mark-list svg { flex: none; width: 24px; height: 24px; color: var(--wine); }
.mark-list .is-knot { padding-block-start: 12px; border-block-start: 1px solid rgba(201,164,92,.45); font-weight: 600; }
.mark-list .is-knot svg { color: var(--gold-deep, #8C6A2A); }
@media (max-width: 860px) {
  .mark-story { height: 230vh; }
  .mark-grid { grid-template-columns: 1fr; gap: 10px; }
  .mark-art svg { width: min(62vw, 300px, 32vh); }
  .mark-copy { gap: 8px; }
  .mark-copy h2 { font-size: var(--fs-xl); }
  .mark-copy .lead { font-size: var(--fs-sm); }
  .mark-list { gap: 7px; margin: 0; }
  .mark-list li { font-size: var(--fs-sm); gap: 10px; }
  .mark-list svg { width: 20px; height: 20px; }
  .mark-list .is-knot { padding-block-start: 8px; }
}
@media (max-width: 860px) and (max-height: 700px) { .mark-copy .lead { display: none; } .mark-art svg { width: min(54vw, 28vh); } }
@media (prefers-reduced-motion: reduce) {
  .mark-story { height: auto; }
  .mark-pin { position: static; height: auto; padding-block: 56px; overflow: visible; }
  .mark-list li { transition: none; }
}

/* admin: Announcement Page (company logos) */
.lg-methods { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--petal, #FBF3F5); border: 1px solid var(--line); flex-wrap: wrap; }
.lg-method { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; cursor: pointer; color: var(--text); position: relative; }
.lg-method input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lg-method svg { width: 16px; height: 16px; }
.lg-method:has(input:checked) { background: var(--wine); color: #fff; }
.lg-method:has(input:focus-visible) { outline: 2px solid var(--wine); outline-offset: 2px; }
.lg-pick { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-block-start: 14px; }
.lg-preview { flex: none; width: 168px; height: 84px; display: grid; place-items: center; border-radius: 14px; border: 1px dashed var(--line-strong); background: repeating-conic-gradient(#f6f1f2 0 25%, #fff 0 50%) 0 0 / 16px 16px; color: var(--muted); overflow: hidden; }
.lg-preview img { max-width: 86%; max-height: 74%; object-fit: contain; }
.lg-preview svg { width: 26px; height: 26px; }
.lg-in { display: grid; gap: 8px; flex: 1; min-width: 220px; }
.lg-thumb { display: grid; place-items: center; width: 92px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.lg-thumb img { max-width: 84%; max-height: 76%; object-fit: contain; }
.lg-link { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.lg-table td { vertical-align: middle; }
@media (pointer: coarse) { .lg-method { min-height: 44px; } }

/* ---------- mark story: the wings' names, colour swatches, tagline (all wine, no gold) ---------- */
.mk-knot { color: var(--wine); }
.mk-labels text { font-size: 9px; font-weight: 600; fill: var(--wine); opacity: var(--mk); font-family: inherit; }
.mark-wings { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mark-wings li { padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(110,26,45,.25); color: var(--wine); font-weight: 600; font-size: var(--fs-sm); background: #fff; opacity: .2; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .5s var(--ease), color .5s var(--ease); }
.mark-wings li.is-on { opacity: 1; transform: none; background: var(--wine); color: #fff; }
.mark-list .is-knot, .mark-list li:last-child { border: 0; padding-block-start: 0; font-weight: 400; }
.mk-dot, .mk-sw { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-block; }
.mk-dot { background: radial-gradient(circle, var(--wine) 0 34%, transparent 36%); border: 1.5px solid var(--wine); }
.mk-sw-wine { background: var(--wine); }
.mk-sw-white { background: #fff; border: 1.5px solid var(--line-strong); }
.mark-tagline { margin-block-start: 8px; padding-block-start: 14px; border-block-start: 1px solid rgba(110,26,45,.2); font-weight: 600; color: var(--wine); font-size: var(--fs-md); opacity: .16; transition: opacity .6s var(--ease); }
.mark-tagline.is-on { opacity: 1; }
@media (max-width: 860px) { .mark-wings li { padding: 5px 12px; font-size: var(--fs-xs); } .mark-tagline { font-size: var(--fs-base); padding-block-start: 10px; margin-block-start: 4px; } .mk-dot, .mk-sw { width: 18px; height: 18px; } }
@media (prefers-reduced-motion: reduce) { .mark-wings li, .mark-tagline { transition: none; } }

/* ---------- Farah AI: the budget planner ---------- */
.fai { display: grid; gap: 22px; }
.fai-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-block-end: 16px; border-block-end: 1px solid var(--line); }
.fai-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: linear-gradient(120deg, var(--wine-deep), var(--wine) 60%, #8F2A45); color: #fff; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .02em; box-shadow: 0 8px 20px -10px rgba(110,26,45,.7); }
.fai-badge svg { width: 16px; height: 16px; }
.fai-head div { display: grid; gap: 2px; }
.fai-head b { color: var(--ink); font-size: var(--fs-base); }
.fai-head div span { color: var(--muted); font-size: var(--fs-xs); }
.fai-form { display: grid; gap: 20px; }
.fai-q { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.fai-q legend { padding: 0; font-weight: 600; color: var(--ink); font-size: var(--fs-sm); margin-block-end: 2px; }
.fai-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fai-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.fai-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fai-chip svg { width: 18px; height: 18px; }
.fai-chip:hover { border-color: var(--wine); }
.fai-chip:has(input:checked) { background: var(--wine); border-color: var(--wine); color: #fff; }
.fai-chip:has(input:focus-visible) { outline: 2px solid var(--wine); outline-offset: 2px; }
.fai-money { position: relative; }
.fai-money .input { width: 100%; padding-inline-end: 54px; font-weight: 600; }
.fai-money span { position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: var(--fs-sm); pointer-events: none; }
.fai-go { justify-self: start; }
.fai-go svg { width: 18px; height: 18px; }
.fai-result { display: grid; gap: 18px; padding-block-start: 22px; border-block-start: 1px solid var(--line); }
.fai-out { display: grid; gap: 18px; }
.fai-out h3 { font-size: var(--fs-base); color: var(--muted); font-weight: 500; }
.fai-think { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--fs-sm); min-height: 48px; }
.fai-think i { width: 8px; height: 8px; border-radius: 50%; background: var(--wine); animation: fai-dot 1s var(--ease) infinite; }
.fai-think i:nth-child(2) { animation-delay: .15s; } .fai-think i:nth-child(3) { animation-delay: .3s; margin-inline-end: 8px; }
@keyframes fai-dot { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-5px); } }
.alloc-row.is-top > span:first-child { color: var(--wine); font-weight: 600; }
.alloc-row.is-top > span:first-child::after { content: " ★"; font-size: .8em; }
@media (pointer: coarse) { .fai-chip { min-height: 44px; } }

/* ---------- mark story v2: four clean loops and a heart; on phones it opens as it crosses the screen (no pinning) ---------- */
.mk-loop { fill: none; stroke: var(--wine); stroke-width: 5.4; stroke-linejoin: round; stroke-linecap: round; }
.mk-heart { fill: var(--wine); }
@media (max-width: 860px) {
  .mark-story { height: auto; }
  .mark-pin { position: static; height: auto; overflow: visible; padding-block: 48px 56px; }
  .mark-art svg { width: min(70vw, 320px); }
  .mark-copy .lead { display: block; }
}

/* ---------- partner dashboard ---------- */
.pd-check { display: grid; gap: 12px; }
.pd-check-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink); }
.pd-meter { height: 8px; border-radius: 99px; background: var(--petal); overflow: hidden; }
.pd-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wine), var(--rose)); }
html[dir="rtl"] .pd-meter i { background: linear-gradient(270deg, var(--wine), var(--rose)); }
.pd-check ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.pd-check li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--text); min-height: 32px; }
.pd-check li svg { width: 18px; height: 18px; flex: none; color: var(--wine); }
.pd-check li.is-done { color: var(--muted); }
.pd-check li.is-done svg { color: var(--ok, #1F7A4D); }
.pd-check li a { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pd-months { display: grid; gap: 10px; }
.pd-range { display: grid; gap: 12px; }
.pd-dates { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-dates .input { width: auto; min-width: 150px; }
.pd-dates .label { margin: 0; }
.pd-sheets { display: grid; gap: 10px; }
.pd-sheets ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-sheets li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text); }
.pd-sheets li svg { width: 18px; height: 18px; flex: none; color: var(--wine); margin-block-start: 2px; }
.pd-progress { position: relative; height: 30px; border-radius: 10px; background: var(--petal); overflow: hidden; display: grid; align-items: center; }
.pd-progress i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: rgba(110,26,45,.18); transition: width .4s var(--ease); }
.pd-progress span { position: relative; padding-inline: 12px; font-size: var(--fs-xs); color: var(--ink); }
.post-tile video, .thumbs video { width: 100%; height: 100%; object-fit: cover; display: block; background: #1a0a0f; }
.thumbs video { width: 72px; height: 72px; border-radius: 10px; }
.vid-badge { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(34,8,15,.6); color: #fff; }
.vid-badge svg { width: 14px; height: 14px; }
.post-view .media video { width: 100%; max-height: 80vh; background: #000; display: block; }
.post-view .media.is-many { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.post-view .media.is-many > * { flex: 0 0 100%; scroll-snap-align: center; object-fit: contain; }

/* ---------- plan result: Standard / Plus / Max ---------- */
.tiers { margin-block: 6px 28px; display: grid; gap: 14px; }
.tiers-head h2 { font-size: var(--fs-xl); }
.tiers-head p { color: var(--muted); font-size: var(--fs-sm); }
.tier-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tier { display: grid; gap: 6px; align-content: start; text-align: start; padding: 18px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.tier:hover { border-color: var(--wine); transform: translateY(-2px); }
.tier[aria-pressed="true"] { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(110,26,45,.12), var(--shadow-soft); }
.tier-name { font-weight: 700; letter-spacing: .04em; color: var(--wine); font-size: var(--fs-sm); }
.tier b { font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--ink); line-height: 1.15; }
.tier-desc { font-size: var(--fs-sm); color: var(--text); min-height: 2.8em; }
.tier-cta { display: inline-flex; align-items: center; gap: 6px; margin-block-start: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--wine); }
.tier-cta svg { width: 16px; height: 16px; }
.tier-max { background: linear-gradient(160deg, #fff 40%, #FBF3F5); }
.plan-cat.is-up { box-shadow: inset 0 0 0 1.5px rgba(31,122,77,.35); border-radius: var(--r-lg); padding: 14px; }
@media (max-width: 720px) { .tier-row { grid-template-columns: 1fr; } .tier-desc { min-height: 0; } }
