/* ===== Tokens ===== */
:root {
  --bg: #fff1f3;
  --bg-2: #fde4ea;
  --bg-3: #f8cfd9;
  --line: rgba(58, 31, 51, .16);
  --fg: #3a1f33;
  --dim: #7a5a6e;
  --accent: #c2255c;
  --accent-2: #ff8fb1;
  --on-accent: #fff;
  --err: #b3261e;
  --p1: #ffd3dd; --p2: #e4d4f6; --p3: #ffe3b8; --p4: #cde8f0;

  --font: "Readex Pro", system-ui, sans-serif;
  --display: "Reem Kufi", "Readex Pro", system-ui, sans-serif;

  --nav-h: 68px;
  --gutter: clamp(1.1rem, 3.4vw, 3.2rem);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* z-index scale */
  --z-nav: 20; --z-overlay: 40; --z-drawer: 50; --z-toast: 70; --z-grain: 80; --z-loader: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 1.05rem; line-height: 1.85; -webkit-font-smoothing: antialiased; overflow-x: clip; font-synthesis: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
[hidden] { display: none !important; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 999; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* Display face (single weight: never fake-bold) */
.h2, .hero__h1, .nav__logo, .scene__name, .scene__bg, .more__n, .more__t, .alist .nm, .srow__h span, .num strong, .pstep b, .footer__word, .shutter__num, .drawer__head h2, .ok h3, .q--short blockquote, .ditem h3 {
  font-family: var(--display); font-weight: 400; letter-spacing: 0;
}

/* Grain: fixed, non-interactive */
.grain { position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ===== Type ===== */
.h2 { font-size: clamp(2.6rem, 6.4vw, 6.2rem); line-height: 1.2; max-width: 18ch; }
.lead { color: var(--dim); font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 34rem; }
.l { display: block; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0 .22em; margin: -.12em 0 -.22em; }
.wi { display: inline-block; }

/* ===== Buttons (sharp corners everywhere except the phone devices) ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.4rem; padding: 0 2rem; font-weight: 600; font-size: 1.05rem; white-space: nowrap; border: 1px solid var(--fg); border-radius: 0;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--fg); border-color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--wide { width: 100%; }

/* ===== Intro shutter ===== */
.shutter { position: fixed; inset: 0; z-index: var(--z-loader); display: grid; place-items: center; will-change: transform;
  background: repeating-linear-gradient(180deg, #252825 0 26px, #121412 26px 30px); }
.shutter::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 46%, rgba(0, 0, 0, .7), transparent 72%); pointer-events: none; }
.shutter__in { position: relative; z-index: 1; display: grid; gap: .2rem; text-align: center; }
.shutter__label { font-size: 1.2rem; color: var(--fg); }
.shutter__num { font-size: clamp(8rem, 28vw, 24rem); line-height: 1.1; color: var(--accent); direction: ltr; }
.shutter__handle { position: absolute; inset-inline: 0; bottom: 0; height: 38px; background: linear-gradient(#4a4d4a, #1a1c1a); border-top: 2px solid #5a5d5a; }
html:not(.js) .shutter { display: none; }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: var(--z-nav); height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__logo { font-size: 2rem; line-height: 1; }
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); }
.nav__links a { color: var(--dim); transition: color .2s; }
.nav__links a:hover { color: var(--fg); }
.cartbtn { height: 2.6rem; padding: 0 .9rem; display: inline-flex; align-items: center; gap: .7rem; border: 1px solid var(--line); font-weight: 600; transition: border-color .2s; }
.cartbtn:hover { border-color: var(--fg); }
.cartbtn b { min-width: 1.6rem; height: 1.6rem; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: .85rem; }

/* ===== Hero + phone wall ===== */
.hero { position: relative; min-height: calc(100dvh - var(--nav-h)); display: grid; align-items: end; padding: 3rem var(--gutter) clamp(2.5rem, 6vw, 5rem); overflow: hidden; isolation: isolate; }
.wall { position: absolute; inset: 0; z-index: -2; perspective: 1500px; perspective-origin: 50% 40%; overflow: hidden; }
.wall__zoom { position: absolute; inset: 0; transform-style: preserve-3d; }
.wall__plane { position: absolute; left: 50%; top: 50%; width: 1600px; height: 2200px; margin: -1100px 0 0 -800px; display: flex; justify-content: center; gap: 30px; direction: ltr;
  transform: rotateX(54deg) rotateZ(-26deg) scale(1.25); transform-style: preserve-3d; }
.wcol { display: flex; flex-direction: column; gap: 30px; animation: wup var(--d, 70s) linear infinite; will-change: transform; }
.wcol:nth-child(even) { animation-name: wdown; margin-top: -240px; }
.hero.is-off .wcol { animation-play-state: paused; }
/* floating device and audio pulse (transform/opacity only, so they stay cheap on phones) */
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.scene.is-live .phone, .scene.is-live .browser { animation: bob 5s ease-in-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.05, 1.1); opacity: 0; } }
.pcard--voice::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--accent); pointer-events: none; animation: ring 2.4s ease-out infinite; }
.pcard--voice.is-live::after { animation-duration: 1.1s; }
@keyframes wup { to { transform: translateY(-50%); } }
@keyframes wdown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.ph { width: 250px; aspect-ratio: 377 / 740; flex: none; border-radius: 34px; border: 7px solid #1c1f1c; overflow: hidden; background: #0c0d0c; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 2%, rgba(11, 12, 11, .62) 42%, rgba(11, 12, 11, .38) 100%), radial-gradient(60% 55% at 28% 55%, rgba(11, 12, 11, .55), transparent 72%); }
.hero__body { max-width: 70rem; display: grid; gap: 1.4rem; justify-items: start; }
.hero__eyebrow { color: var(--accent); font-weight: 500; }
.hero__h1 { font-size: clamp(3.6rem, 10.5vw, 11rem); line-height: 1.04; }
.hero__h1 .hl { color: var(--accent); }
.hero__sub { max-width: 38rem; color: var(--dim); font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .6rem; }

/* ===== Gallery: scenes ===== */
.gallery { position: relative; overflow: hidden; }
.gtrack { display: flex; direction: rtl; width: max-content; height: 100dvh; }
.scene { position: relative; flex: none; width: 100vw; height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem; overflow: hidden; }
.scene--title { grid-template-columns: 1fr; }
.scene--title .scene__info { max-width: 44rem; }
.scene__bg { position: absolute; inset-inline: 0; top: 50%; translate: 0 -50%; font-size: clamp(9rem, 27vw, 30rem); line-height: 1.1; color: rgba(58, 31, 51, .06); white-space: nowrap; text-align: center; pointer-events: none; user-select: none; direction: ltr; }
.scene__stage { position: relative; justify-self: center; }
.scene__info { position: relative; display: grid; gap: 1rem; max-width: 31rem; justify-self: start; }
.scene__kind { color: var(--accent); font-weight: 500; }
.scene__name { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.15; }
.scene__desc { color: var(--dim); }
.scene__row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }

/* Phone device */
.phone { position: relative; height: min(72dvh, 690px); aspect-ratio: 377 / 740; padding: 9px; border-radius: 46px; background: linear-gradient(145deg, #2d302d, #0e100e);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 130px -40px rgba(198, 244, 50, .3); transform-style: preserve-3d; }
.phone::before { content: ""; position: absolute; top: 17px; left: 50%; translate: -50% 0; width: 24%; height: 15px; border-radius: 15px; background: #050605; z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.more { display: grid; gap: 0; justify-items: center; align-content: center; margin: auto; text-align: center; }
.more__n { font-size: clamp(9rem, 22vw, 20rem); line-height: 1; color: var(--accent); transition: transform .5s var(--ease); }
.more__t { font-size: clamp(2rem, 4vw, 3.4rem); }
.more:hover .more__n { transform: scale(1.05) rotate(-3deg); }
.scene--more { grid-template-columns: 1fr; }

/* ===== Archive ===== */
.archive { padding: clamp(5rem, 10vw, 9rem) var(--gutter); }
.alist { margin-top: 3rem; border-top: 1px solid var(--line); }
.alist li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .9rem clamp(.4rem, 1.5vw, 1.4rem); border-bottom: 1px solid var(--line); transition: background .35s var(--ease), color .35s var(--ease), padding .35s var(--ease); }
.alist li:hover { background: var(--accent); color: var(--on-accent); padding-inline: clamp(1rem, 2.4vw, 2.4rem); }
.alist .nm { font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.25; direction: ltr; text-align: end; }
.alist .kd { color: var(--dim); transition: color .35s; }
.alist li:hover .kd { color: var(--on-accent); }
.alist .add { justify-self: end; }
[dir="rtl"] .alist .nm { text-align: start; }

.add { height: 2.7rem; padding: 0 1rem; border: 1px solid currentColor; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: all .25s var(--ease); }
.add:hover { border-color: var(--accent); color: var(--accent); }
.alist li:hover .add { border-color: var(--on-accent); }
.alist li:hover .add:hover { background: var(--on-accent); color: var(--accent); }
.add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.alist li:hover .add[aria-pressed="true"] { background: var(--on-accent); border-color: var(--on-accent); color: var(--accent); }

/* ===== About ===== */
.about { padding: clamp(5rem, 10vw, 9rem) var(--gutter) clamp(3rem, 6vw, 5rem); overflow-x: clip; }
.about__grid { margin-top: 3rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about__txt { display: grid; gap: 1.4rem; align-content: start; }
.about__lead { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 3.2rem); line-height: 1.3; color: var(--accent); }
.about__txt p { color: var(--dim); font-size: 1.12rem; max-width: 36rem; }
.facts { margin-top: .4rem; }
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.why__c { border: 1px solid var(--line); background: var(--bg-2); padding: 1.6rem 1.4rem 1.8rem; display: grid; gap: .5rem; align-content: start; min-height: 11rem; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.why__c h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: 1.2; }
.why__c p { color: var(--dim); transition: color .35s; }
.why__c:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-6px); }
.why__c:hover p { color: var(--on-accent); }
.why__c:nth-child(even) { margin-top: 2rem; }
@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .why__c { min-height: 9rem; padding: 1.2rem 1rem 1.3rem; }
  .why__c:nth-child(even) { margin-top: 0; }
}

/* ===== Services (accordion) ===== */
.services { padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(5rem, 10vw, 9rem); }
.srows { margin-top: 3rem; border-top: 1px solid var(--line); }
.srow { border-bottom: 1px solid var(--line); }
.srow__h { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem .4rem; text-align: start; transition: color .3s, padding .4s var(--ease); }
.srow__h span { font-size: clamp(2.2rem, 5.2vw, 5rem); line-height: 1.25; }
.srow__h i { font-style: normal; font-size: 2.6rem; line-height: 1; color: var(--accent); transition: transform .5s var(--ease); }
.srow.is-open .srow__h i { transform: rotate(45deg); }
.srow__h:hover { color: var(--accent); padding-inline: 1.2rem; }
.srow__p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.srow.is-open .srow__p { grid-template-rows: 1fr; }
.srow__p > div { overflow: hidden; display: grid; gap: 1.2rem; max-width: 46rem; padding-inline: .4rem; }
.srow__p p { color: var(--dim); font-size: 1.15rem; }
.srow__p .tags { padding-bottom: 1.6rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-size: .88rem; padding: .25rem .8rem; border: 1px solid var(--line); direction: ltr; }

/* ===== Numbers ===== */
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 1px solid var(--line); background: var(--bg-2); }
.num { padding: clamp(2rem, 5vw, 4.5rem) var(--gutter); border-inline-end: 1px solid var(--line); display: grid; gap: .2rem; align-content: end; }
.num:last-child { border-inline-end: 0; }
.num strong { font-size: clamp(4rem, 9vw, 9.5rem); line-height: 1.1; color: var(--accent); direction: ltr; text-align: start; }
.num > span { color: var(--dim); }

/* ===== Process ===== */
.process { padding: clamp(5rem, 10vw, 9rem) var(--gutter); overflow: hidden; }
.psteps { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.pstep { position: relative; padding-top: 1.6rem; display: grid; gap: .6rem; align-content: start; }
.pstep::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--accent); transform-origin: right; transform: scaleX(var(--p, 1)); }
.pstep b { font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.25; }
.pstep p { color: var(--dim); max-width: 22rem; }

/* ===== Voices ===== */

/* ===== Contact ===== */
.checkout { padding: clamp(5rem, 10vw, 9rem) var(--gutter); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); background: var(--bg-2); border-top: 1px solid var(--line); }
.checkout__intro { display: grid; gap: 1.6rem; align-content: start; }
.refs { margin-top: 2rem; }
.refs h3 { font-size: 1rem; color: var(--dim); font-weight: 500; margin-bottom: .8rem; }
.refs ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.refs li { padding: .3rem .9rem; border: 1px solid var(--accent); color: var(--accent); }
.refs .none { border-color: var(--line); color: var(--dim); }
.form { display: grid; gap: 1.3rem; align-content: start; position: relative; }
.field { display: grid; gap: .5rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 500; padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea { width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 0; padding: .95rem 1rem; font: inherit; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover, .field textarea:hover { border-color: rgba(58, 31, 51, .4); }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 1px var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: .92rem; }
.hint { color: var(--dim); font-size: .92rem; margin: -.15rem 0 0; }
.form__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.form__actions .btn--primary { flex: 1 1 11rem; }
.form__actions .btn--ghost { flex: 0 0 auto; min-width: 8rem; }
.alt { color: var(--dim); margin-top: -.6rem; }
.alt .plink--lead { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 2.7rem; padding: 0 1rem; border: 1px solid var(--line); font-weight: 500; transition: all .25s var(--ease); }
.chip:hover span { border-color: var(--fg); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.ok { position: absolute; inset: 0; z-index: 2; background: var(--bg-2); border: 1px solid var(--accent); padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; }
.ok h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.2; }
.ok p { color: var(--dim); }
.ok__row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ===== Footer ===== */
.footer { padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem; overflow: hidden; }
.footer__word { font-size: clamp(6rem, 21vw, 21rem); line-height: 1.05; color: var(--bg-3); white-space: nowrap; text-align: center; user-select: none; transition: color .6s var(--ease); }
.footer:hover .footer__word { color: var(--accent); }

.footer__icons { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 1.6rem; }
.ico { position: relative; width: 3.4rem; height: 3.4rem; display: grid; place-items: center; border: 1px solid var(--line); color: var(--fg); transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.ico img { width: 1.5rem; height: 1.5rem; transition: filter .3s; }
.ico span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-4px); }
.ico:hover img { filter: invert(1); }
.ico--top .arrow { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 1.6rem; line-height: 1; }
.ico.no-img { width: auto; padding: 0 1.1rem; }
.ico.no-img span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.ico.no-img img { display: none; }

/* ===== Drawer (cart) ===== */
.overlay { position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(5, 6, 5, .66); opacity: 0; transition: opacity .35s var(--ease); }
.overlay.is-on { opacity: 1; }
.drawer { position: fixed; z-index: var(--z-drawer); top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: var(--bg-2); border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(-100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
.drawer.is-on { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 2rem; line-height: 1.2; }
.x { width: 2.7rem; height: 2.7rem; font-size: 1.8rem; line-height: 1; border: 1px solid var(--line); transition: border-color .2s; }
.x:hover { border-color: var(--fg); }
.drawer__body { flex: 1; overflow: auto; padding: 1rem 1.4rem; display: grid; align-content: start; gap: .9rem; }
.drawer__empty { color: var(--dim); display: grid; gap: 1.2rem; padding-top: 1rem; justify-items: start; }
.ditem { display: grid; grid-template-columns: 3.6rem 1fr auto; gap: 1rem; align-items: center; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.ditem__thumb { aspect-ratio: 377 / 740; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-3); display: grid; place-items: center; font-family: var(--display); color: var(--accent); }
.ditem__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ditem h3 { font-size: 1.5rem; line-height: 1.2; }
.ditem p { color: var(--dim); font-size: .92rem; }
.ditem .rm { color: var(--dim); font-size: 1.4rem; width: 2.3rem; height: 2.3rem; border: 1px solid var(--line); }
.ditem .rm:hover { color: var(--fg); border-color: var(--fg); }
.drawer__foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); }

/* ===== Toast ===== */
.toast { position: fixed; z-index: var(--z-toast); bottom: 1.4rem; inset-inline-start: 50%; translate: 50% 0; background: var(--fg); color: var(--bg); padding: .85rem 1.3rem; font-weight: 600; opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .3s, transform .4s var(--ease); max-width: calc(100% - 2rem); }
.toast.is-on { opacity: 1; transform: none; }


/* ===== Velocity strip ===== */
.vel { border-block: 1px solid var(--line); overflow: hidden; padding: .6rem 0; display: grid; gap: .2rem; background: var(--bg); }
.vrow { display: flex; width: max-content; direction: ltr; white-space: nowrap; font-family: var(--display); font-size: clamp(4rem, 11vw, 10rem); line-height: 1.15; will-change: transform; }
.vrow span { display: inline-flex; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-inline-end: clamp(1.5rem, 4vw, 4rem); }
.vrow--o span b { font-weight: 400; color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.vrow--f span b { font-weight: 400; color: var(--accent); }
.vrow .sq { width: .35em; height: .35em; background: var(--accent); flex: none; transform: rotate(45deg); }
.vrow--f .sq { background: var(--fg); }

/* ===== Gallery: desktop browser variant, end card ===== */
.scene--desk { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.browser { width: min(100%, 780px); background: #1a1c1a; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; overflow: hidden; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 130px -40px rgba(198, 244, 50, .28); }
.browser__bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #232623; direction: ltr; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3b3f3b; }
.browser__screen { aspect-ratio: 1568 / 744; background: #000; }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ===== Proof wall ===== */
.proof { padding: clamp(4rem, 8vw, 8rem) var(--gutter) clamp(3rem, 6vw, 6rem); overflow-x: clip; background: var(--bg-2); border-top: 1px solid var(--line); }
.proof .lead { margin-top: 1rem; }
.pwall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin-top: 3rem; align-items: start; padding-block: 5rem; }
.pcol { display: grid; gap: 1.8rem; align-content: start; will-change: transform; }
.pcard { position: relative; margin: 0; background: var(--bg); border: 1px solid var(--line); transform: rotate(var(--r, 0deg)); transition: transform .5s var(--ease), box-shadow .4s; box-shadow: 0 30px 60px -34px #000; }
.pcard:hover { transform: rotate(0deg) scale(1.03); z-index: 3; }
.pcard img { width: 100%; height: auto; display: block; }
.pcard:nth-child(odd)::before { content: ""; position: absolute; top: -12px; left: 50%; width: 76px; height: 22px; translate: -50% 0; background: rgba(198, 244, 50, .85); transform: rotate(-3deg); z-index: 2; pointer-events: none; }
.pcol:nth-child(1) .pcard:nth-child(1) { --r: -1.6deg; } .pcol:nth-child(1) .pcard:nth-child(2) { --r: 1.2deg; } .pcol:nth-child(1) .pcard:nth-child(3) { --r: -.8deg; } .pcol:nth-child(1) .pcard:nth-child(4) { --r: 1.6deg; }
.pcol:nth-child(2) .pcard:nth-child(1) { --r: 1.4deg; } .pcol:nth-child(2) .pcard:nth-child(2) { --r: -1.4deg; } .pcol:nth-child(2) .pcard:nth-child(3) { --r: .9deg; } .pcol:nth-child(2) .pcard:nth-child(4) { --r: -1.8deg; }
.pcol:nth-child(3) .pcard:nth-child(1) { --r: -1deg; } .pcol:nth-child(3) .pcard:nth-child(2) { --r: 1.6deg; } .pcol:nth-child(3) .pcard:nth-child(3) { --r: -1.5deg; } .pcol:nth-child(3) .pcard:nth-child(4) { --r: 1deg; } .pcol:nth-child(3) .pcard:nth-child(5) { --r: -1.2deg; }
.pcol .pcard:nth-child(6) { --r: 1.3deg; } .pcol .pcard:nth-child(7) { --r: -1.1deg; }
.pcard--quote { padding: 1.5rem 1.4rem 1.3rem; display: grid; gap: .9rem; }
.pcard--quote blockquote { margin: 0; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.7; font-weight: 500; }
.pcard--quote figcaption { color: var(--dim); font-size: .92rem; }
.plink { color: var(--dim); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.plink:hover { color: var(--accent); border-color: var(--accent); }
.plink--lead { display: inline-block; margin-top: 1.1rem; color: var(--accent); font-weight: 600; border-bottom-color: rgba(198, 244, 50, .4); }
.plink--lead:hover { border-color: var(--accent); }
.pcard--big blockquote { font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 600; }
.pcard--short blockquote { font-family: var(--display); font-weight: 400; color: var(--accent); font-size: clamp(2.6rem, 3.8vw, 3.8rem); line-height: 1.25; }
.pcard--voice { padding: 1rem 1rem 1.1rem; display: grid; gap: .8rem; border-color: var(--accent); }
.vtag { color: var(--accent); font-weight: 600; font-size: .95rem; }
.pcard--voice video { width: 100%; height: auto; display: block; border-radius: 10px; background: #000; }
.vbtn { height: 2.9rem; border: 1px solid var(--accent); color: var(--accent); font-weight: 600; transition: background .25s, color .25s; }
.vbtn:hover { background: var(--accent); color: var(--on-accent); }
.pcard--voice.is-live { box-shadow: 0 0 0 2px var(--accent), 0 0 70px -10px rgba(198, 244, 50, .5); }
.pcard--voice.is-live .vbtn { background: var(--accent); color: var(--on-accent); }
@media (max-width: 899px) {
  .pwall { grid-template-columns: 1fr; padding-block: 1.4rem; gap: 1.8rem; }
  .pcol { display: contents; }
}

/* ===== Gallery pager ===== */
.gdots { position: absolute; z-index: 5; bottom: 1.6rem; inset-inline: 0; display: flex; justify-content: center; gap: .45rem; padding: 0 var(--gutter); }
.gdots button { width: 1.6rem; height: 1.6rem; position: relative; }
.gdots button::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 4px; translate: 0 -50%; background: rgba(58, 31, 51, .2); transition: background .3s, height .3s var(--ease); }
.gdots button:hover::after { background: rgba(58, 31, 51, .55); }
.gdots button.is-on::after { background: var(--accent); height: 8px; }
@keyframes sweep { from { object-position: 0% 0; } to { object-position: 100% 0; } }

/* ===== Flying words ===== */
.fly { min-height: 100dvh; display: grid; place-items: center; overflow: hidden; padding: 0 var(--gutter); background: var(--bg-2); border-block: 1px solid var(--line); }
.fly__t { font-family: var(--display); font-size: clamp(2.6rem, 8vw, 8.6rem); line-height: 1.3; text-align: center; max-width: 28ch; }
.fly__t .hl { color: var(--accent); }
.fw { display: inline-block; will-change: transform; }

/* ===== Odometer ===== */
.odo { display: inline-flex; direction: ltr; height: 1.1em; overflow: hidden; line-height: 1.1; }
.odo__d { display: block; height: 1.1em; overflow: hidden; }
.odo__c { display: flex; flex-direction: column; }
.odo__c i { font-style: normal; display: block; height: 1.1em; line-height: 1.1em; }
.odo__s { display: block; height: 1.1em; line-height: 1.1em; }

/* ===== Reviews board (draggable) ===== */

/* ===== Fly-to-brief ===== */
.flyimg { position: fixed; z-index: 90; width: 44px; aspect-ratio: 377 / 740; border-radius: 8px; overflow: hidden; pointer-events: none; border: 2px solid var(--accent); background: #000; }
.flyimg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .psteps { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.6rem; }
  .checkout { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  /* GALLERY on phones: every store gets a full screen, swipe up for the next one */
  .nav { backdrop-filter: none; background: rgba(255, 241, 243, .96); }
  .gallery { overflow: visible; padding: 0; }
  .gtrack { display: block; width: 100%; height: auto; overflow: visible; padding: 0; direction: rtl; }
  .scene { position: relative; width: 100%; height: auto; display: flex; flex-direction: column; gap: 1rem;
    padding: 2.2rem var(--gutter) 2.2rem; padding-inline-start: calc(var(--gutter) + .6rem); overflow: hidden; }
  .scene + .scene { border-top: 1px solid var(--line); }
  .scene--title { justify-content: center; padding-top: 3.2rem; padding-bottom: 1.4rem; }
  .scene--title .h2 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .scene__bg { display: block; top: 24%; font-size: clamp(6.5rem, 38vw, 11rem); }
  .scene__stage { width: 100%; display: grid; place-items: center; }
  .phone { height: min(50svh, 108vw); width: auto; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 22px 36px -22px rgba(0,0,0,.85); }
  .scene__info { justify-self: stretch; max-width: none; gap: .45rem; }
  .scene__name { font-size: clamp(2.6rem, 12vw, 3.6rem); line-height: 1.1; }
  .scene__desc { font-size: .98rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .scene .tags { display: flex; }
  .scene__row { flex-wrap: nowrap; gap: .6rem; margin-top: .3rem; }
  .scene__row .btn { min-height: 3.1rem; padding: 0 1rem; font-size: .98rem; flex: 1; }
  /* desktop-site stores: a tall window that slowly sweeps across the whole page */
  .browser__screen { aspect-ratio: 5 / 6; overflow: hidden; }
  .scene--desk .browser__screen img { animation: sweep 9s ease-in-out infinite alternate; }
  /* pager: vertical bars on the edge, only while the gallery is on screen */
  .gdots { position: fixed; z-index: 15; top: 50%; bottom: auto; inset-inline: auto; inset-inline-start: .1rem; translate: 0 -50%; flex-direction: column; justify-content: center; gap: .1rem; padding: 0; opacity: 0; pointer-events: none; transition: opacity .35s; }
  .gdots.is-vis { opacity: 1; }
  .gdots button { width: 1rem; height: 1.45rem; }
  .gdots button::after { inset: 2px auto 2px 50%; width: 4px; height: auto; translate: -50% 0; }
  .gdots button.is-on::after { width: 7px; height: auto; }
  .alist li { grid-template-columns: 1fr auto; }
  .alist .kd { grid-column: 1; }
  .alist .add { grid-row: 1 / span 2; grid-column: 2; }
  .ph { width: 150px; border-width: 5px; border-radius: 24px; }
  .wall__plane { gap: 18px; }
  .wcol { gap: 18px; }
}
@media (max-width: 640px) {
  .btn { padding: 0 1.4rem; }
  .hero__h1 { font-size: clamp(3.6rem, 17vw, 6rem); }
}

@media (max-width: 899px) {
  .browser { width: 100%; }
  .fly__t { font-size: clamp(2.5rem, 11vw, 3.8rem); }
  .vrow { font-size: 4.4rem; }
  .hero__h1 { font-size: clamp(3.2rem, 15vw, 5.6rem); }
  .hero__sub { font-size: 1rem; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .wcol, .scene--desk .browser__screen img, .scene.is-live .phone, .scene.is-live .browser, .pcard--voice::after { animation: none; }
  .gallery { overflow-x: auto; }
  * { transition-duration: .01ms !important; }
}

/* ===================================================================
   Rawda look: warm cream, vermilion, soft round shapes, pastel blobs
   =================================================================== */
.h2, .hero__h1, .nav__logo, .scene__name, .scene__bg, .more__n, .more__t, .alist .nm, .srow__h span, .pstep b, .footer__word, .shutter__num, .drawer__head h2, .ok h3, .ditem h3, .about__lead, .why__c h3, .fly__t { font-weight: 600; }
.vrow, .vrow span b { font-weight: 500; }
.hero__h1 { line-height: 1.18; }
.h2 { line-height: 1.3; }
.scene__name { line-height: 1.3; }

/* shapes */
.btn { border-radius: 999px; }
.btn--primary:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.cartbtn { border-radius: 999px; padding-inline-end: .55rem; }
.cartbtn b { border-radius: 50%; }
.chip span, .add, .refs li, .tags li, .vbtn { border-radius: 999px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea { border-radius: 16px; background: #fffafb; }
.ico, .x, .ditem .rm { border-radius: 50%; }
.ok { border-radius: 26px; }
.drawer { border-start-start-radius: 28px; border-end-start-radius: 28px; }
.toast { border-radius: 999px; }
.alist li { border-radius: 22px; }
.why__c { border-radius: 30px; border: 0; }
.why__c:nth-child(1) { background: var(--p1); }
.why__c:nth-child(2) { background: var(--p2); }
.why__c:nth-child(3) { background: var(--p3); }
.why__c:nth-child(4) { background: var(--p4); }
.why__c p { color: color-mix(in srgb, var(--fg) 78%, transparent); }
.why__c:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-6px) rotate(-1.2deg); }
.why__c:hover p { color: var(--on-accent); }

/* intro: a soft curtain instead of the shop shutter */
.shutter { background: radial-gradient(70% 60% at 50% 110%, var(--accent-2), transparent 70%), var(--accent); }
.shutter::after, .shutter__handle { display: none; }
.shutter__label, .shutter__num { color: var(--on-accent); }

/* nav */
.nav { background: color-mix(in srgb, var(--bg) 82%, transparent); }
.nav__logo span { color: var(--accent); }

/* hero: centered, flat tilted collage */
.hero { align-items: center; text-align: center; }
.hero__body { margin-inline: auto; justify-items: center; }
.hero__eyebrow { padding: .35rem 1rem; border-radius: 999px; background: var(--p1); color: var(--fg); font-weight: 500; }
.hero__sub { color: var(--dim); margin-inline: auto; }
.hero__cta { justify-content: center; }
.wall__plane { transform: rotateX(0deg) rotateZ(-11deg) scale(1.15); }
.ph { border-color: #fffafb; box-shadow: 0 18px 40px -22px rgba(58, 31, 51, .5); }
.hero__scrim { background: linear-gradient(0deg, var(--bg) 2%, rgba(255, 241, 243, .84) 40%, rgba(255, 241, 243, .74) 100%), radial-gradient(55% 50% at 50% 50%, rgba(255, 241, 243, .75), transparent 75%); }

/* marquee: ink band */
.vel { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.vrow--o span b { -webkit-text-stroke: 1.5px var(--bg); }
.vrow--f span b { color: var(--accent-2); }
.vrow .sq { background: var(--accent-2); transform: none; border-radius: 50%; }
.vrow--f .sq { background: var(--bg); }

/* gallery: pastel blob behind each device */
.scene__stage { isolation: isolate; }
.scene__stage::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; height: 88%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--blob, var(--p1)); }
.scene--desk .scene__stage::before { left: 4%; right: 4%; top: -9%; bottom: -9%; height: auto; aspect-ratio: auto; translate: none; border-radius: 44px; rotate: -3deg; }
.scene:nth-child(4n+2) { --blob: var(--p1); }
.scene:nth-child(4n+3) { --blob: var(--p2); }
.scene:nth-child(4n+4) { --blob: var(--p3); }
.scene:nth-child(4n+5) { --blob: var(--p4); }
.phone { box-shadow: 0 0 0 1px rgba(58, 31, 51, .12), 0 40px 70px -28px rgba(58, 31, 51, .55); }
.browser { box-shadow: 0 40px 70px -30px rgba(58, 31, 51, .55); }
.scene__kind { display: inline-block; justify-self: start; padding: .2rem .9rem; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: .92rem; }
.gdots button.is-on::after { background: var(--accent); }

/* closing statement: full vermilion */
.fly { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.fly__t .hl { color: var(--fg); }

/* footer */
.ico:hover img { filter: invert(1) brightness(2); }
.footer__word { color: var(--bg-3); }

@media (max-width: 899px) {
  .nav { background: rgba(255, 241, 243, .96); }
  .phone { box-shadow: 0 0 0 1px rgba(58, 31, 51, .12), 0 22px 36px -22px rgba(58, 31, 51, .6); }
  .scene__stage::before { height: 80%; }
  .scene--desk .scene__stage::before { left: 2%; right: 2%; top: -4%; bottom: -4%; }
  .hero__h1 { line-height: 1.2; }
  .scene + .scene { border-top: 0; }
}

/* ===== Softer, girly touches ===== */
.vrow .sq { width: auto; height: auto; background: none; border-radius: 0; color: var(--accent-2); font-size: .42em; line-height: 1; }
.vrow .sq::before { content: "\273F"; }
.vrow--f .sq { background: none; color: var(--bg); }
.hero::before, .hero::after { position: absolute; z-index: -1; color: var(--accent); pointer-events: none; animation: twinkle 5s ease-in-out infinite; }
.hero::before { content: "\2726"; top: 14%; inset-inline-start: 9%; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.hero::after { content: "\273F"; bottom: 16%; inset-inline-end: 8%; font-size: clamp(2.8rem, 6vw, 5.5rem); color: var(--accent-2); animation-delay: -2.4s; }
@keyframes twinkle { 0%, 100% { transform: rotate(0deg) scale(1); opacity: .9; } 50% { transform: rotate(18deg) scale(1.18); opacity: .5; } }
.hero__eyebrow::before { content: "\2661  "; }
.hero__eyebrow::after { content: "  \2661"; }
.scene__kind::before { content: "\273F  "; color: var(--accent-2); }
.btn--ghost { border-color: var(--accent); color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--on-accent); }
.fly__t .hl { color: #ffe3ec; }
.footer__word { color: var(--bg-3); }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }
.about__txt .about__lead { font-size: clamp(1.9rem, 3.2vw, 3rem); color: var(--accent); max-width: none; line-height: 1.5; }

/* ===== Extra polish ===== */
/* soft colour wash behind everything */
body { background: var(--bg); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 35% at 8% 12%, rgba(255, 190, 210, .55), transparent 70%), radial-gradient(38% 34% at 94% 30%, rgba(228, 212, 246, .6), transparent 70%), radial-gradient(45% 40% at 20% 92%, rgba(255, 227, 184, .5), transparent 70%); }
.about, .services, .process, .archive, .footer { position: relative; }

/* hero sticker */
.sticker { position: absolute; z-index: 1; width: clamp(96px, 12vw, 160px); aspect-ratio: 1; inset-inline-end: clamp(1rem, 7vw, 8rem); top: 18%; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 18px 40px -16px rgba(194, 37, 92, .6); rotate: 12deg; }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker text { fill: currentColor; font-size: 15.5px; font-family: var(--font); font-weight: 500; letter-spacing: 1.5px; }
.sticker i { font-style: normal; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* gallery: breathing blob + floating sparkle */
.scene.is-live .scene__stage::before { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.07; } }
.scene__stage::after { content: "\2726"; position: absolute; z-index: 2; top: 4%; inset-inline-end: -16%; font-size: clamp(2rem, 4vw, 3.6rem); color: var(--accent); animation: twinkle 4.5s ease-in-out infinite; pointer-events: none; }
.scene--desk .scene__stage::after { inset-inline-end: -3%; top: -12%; }
.scene--title .scene__stage::after, .scene--more .scene__stage::after { display: none; }

/* glassy nav */
.nav { box-shadow: 0 8px 30px -20px rgba(58, 31, 51, .35); }

/* process: numbered pill cards */
.pstep { background: rgba(255, 255, 255, .55); border-radius: 26px; padding: 1.8rem 1.5rem 2rem; box-shadow: 0 18px 40px -30px rgba(58, 31, 51, .45); transition: transform .35s var(--ease); }
.pstep:hover { transform: translateY(-6px) rotate(-.8deg); }
.pstep::before { top: 0; inset-inline: 1.5rem; border-radius: 0 0 6px 6px; }
.pstep b { color: var(--accent); }

/* services rows hover in a soft pink */
.srow__h:hover { color: var(--accent); }
.srows { border-top-color: var(--line); }

/* cursor + burst */
.cur { position: fixed; z-index: 90; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-2); mix-blend-mode: multiply; pointer-events: none; transition: width .25s var(--ease), height .25s var(--ease), background .25s; }
.cur.is-hot { width: 54px; height: 54px; background: var(--p1); }
.burst { position: fixed; z-index: 91; pointer-events: none; color: var(--accent); font-size: 1.1rem; translate: -50% -50%; line-height: 1; }
@media (hover: hover) and (pointer: fine) { body { cursor: auto; } }

/* footer: Seif smaller next to Rawda */
.footer__word { font-size: clamp(4.4rem, 15vw, 15rem); }
.footer__word small { font-size: .46em; color: var(--accent-2); }
.footer:hover .footer__word small { color: var(--fg); }

@media (max-width: 899px) {
  .sticker { top: 7%; width: 84px; inset-inline-end: .8rem; }
  .sticker text { font-size: 16px; }
  .scene__stage::after { inset-inline-end: -4%; font-size: 2rem; }
  body::before { background: radial-gradient(60% 30% at 0% 8%, rgba(255, 190, 210, .5), transparent 70%), radial-gradient(60% 30% at 100% 60%, rgba(228, 212, 246, .55), transparent 70%); }
}
@media (prefers-reduced-motion: reduce) { .sticker svg, .scene__stage::after, .scene.is-live .scene__stage::before { animation: none; } }
.sticker svg { direction: ltr; }
