/* ClipForte Studio page (rebuilt 2 Nov 2026 after the website research, "Creative studio website trends 2026").
   Concept: the work itself moves. A before/after lens in the hero, real pieces drifting in a wall, a style picker,
   a printed receipt. Charcoal + gold carry the page; the logo gradient stays inside the logo. English and Arabic
   (right to left) from one stylesheet: spacing uses logical properties (inline-start/end).
   Everything is self-hosted (fonts, video, images) to fit the site's security rules. */

@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff2?v=45e3f349") format("woff2"), url("fonts/bricolage.woff") format("woff"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Alexandria"; src: url("fonts/alexandria.woff2?v=b2773f9a") format("woff2"), url("fonts/alexandria.woff") format("woff"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #13110F; --bg2: #1A1714; --card: #211C18; --line: #3A332B; --line2: #2A241F;
  --text: #F6F1E9; --body: #CDC4B6; --muted: #9D9384;
  --gold: #D6B079; --gold2: #E9CFA0; --gold-ink: #13110F;
  --ember: #E0702F; --ember-deep: #B8382A;
  --paper: #F3EFE8; --ink: #1A1A1A; --ink-muted: #6B655C; --ink-line: #D9D2C5;
  --ok: #9CC28A; --err: #E2826E;
  --latin: "Bricolage", "Bricolage Fallback", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --arabic: "Alexandria", "SF Arabic", "Geeza Pro", "Segoe UI", Tahoma, Arial, sans-serif;
  --font: var(--latin);
  --max: 1200px; --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
:root[lang="ar"] { --font: var(--arabic); }

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
:lang(ar) { font-family: var(--arabic); }
:lang(en) { font-family: var(--latin); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

h1, h2, h3 { line-height: 1.06; font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, h1:lang(ar), h2:lang(ar), h3:lang(ar) { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
h2 { font-size: clamp(28px, 3.3vw, 48px); font-stretch: 88%; margin-block-end: 18px; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; margin-block-end: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-block-end: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
:lang(ar) .eyebrow, .eyebrow:lang(ar) { letter-spacing: 0; text-transform: none; font-size: 15px; }
.lead { color: var(--body); font-size: clamp(17px, 1.3vw, 19px); max-width: 640px; }
.note { color: var(--muted); font-size: 13.5px; }
.section { padding-block: clamp(48px, 5.5vw, 80px); position: relative; }
em { font-style: normal; color: var(--gold); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Film grain over everything (very light) */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* Language switch curtain (gold) */
.curtain { position: fixed; inset: 0; z-index: 95; pointer-events: none; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.curtain.go { animation: curtain .9s var(--ease) forwards; }
.curtain.go.rtl { transform-origin: right; animation-name: curtain-rtl; }
@keyframes curtain { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes curtain-rtl { 0% { transform: scaleX(0); transform-origin: right; } 45% { transform: scaleX(1); transform-origin: right; } 55% { transform: scaleX(1); transform-origin: left; } 100% { transform: scaleX(0); transform-origin: left; } }

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s var(--ease), color .2s; white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--gold-ink); }
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold2); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.2; background: rgba(19, 17, 15, .86); color: var(--text); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(246, 241, 233, .14); }
.pill-label { background: rgba(243, 239, 232, .9); color: var(--ink); border-color: transparent; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(19, 17, 15, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line2); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.logo { flex: none; }   /* never squeezed by the header: the logo keeps its own shape */
.logo img { height: 36px; width: auto; max-width: none; }
.nav ul { display: flex; gap: 28px; list-style: none; font-size: 15px; color: var(--body); }
.nav ul a { position: relative; padding-block: 6px; }
.nav ul a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav ul a:hover { color: var(--text); }
.nav ul a:hover::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang-btn { font-weight: 600; }
.nav .lang-btn { min-width: 42px; height: 42px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 15px; transition: border-color .2s; }
.nav .lang-btn:hover { border-color: var(--gold); }
.motion-btn .i-play { display: none; }
.calm .motion-btn .i-play { display: block; }
.calm .motion-btn .i-pause { display: none; }
@media (max-width: 960px) { .nav ul { display: none; } }
@media (max-width: 420px) { .logo img { height: 28px; } .nav { gap: 10px; } .nav .btn-sm { padding-inline: 12px; font-size: 13.5px; } .nav-end { gap: 6px; } .nav .icon-btn { width: 36px; height: 36px; } .nav .lang-btn { min-width: 36px; height: 36px; padding-inline: 10px; font-size: 13.5px; } }

/* Small phones (400 px and less): the header still fits without squeezing the logo */
@media (max-width: 400px) { .logo img { height: 24px; } .nav-end { gap: 4px; } .nav .btn-sm { padding-inline: 10px; font-size: 12.5px; min-height: 36px; } .nav .lang-btn { padding-inline: 8px; } .nav .icon-btn { width: 34px; height: 34px; } }
@media (max-width: 345px) { .nav .btn-sm { display: none; } }

/* Word reveal (headings): each word slides up from a mask; by word, so Arabic letters stay joined */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em; margin-block: -.06em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.in .w > span { transform: none; }
:lang(ar) .w, .w:lang(ar) { padding-block: .18em; margin-block: -.18em; }
[data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.motion [data-reveal]:not(.in) { opacity: 0; transform: translateY(26px); }

/* HERO */
.hero { position: relative; padding-block: clamp(36px, 6vw, 72px) 56px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); font-stretch: 84%; line-height: .98; margin-block-end: 18px; }
.hero h1:lang(ar), :lang(ar) .hero h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.3; }
.hero h1 em { font-stretch: 100%; display: inline-block; }
.motion .hero h1 em .w > span { animation: squeeze 5s var(--ease) 1.4s infinite; }
@keyframes squeeze { 0%, 100% { font-stretch: 100%; } 45%, 55% { font-stretch: 75%; } }
.h1-alt { color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; margin-block-end: 22px; max-width: 560px; }
.h1-alt em { color: var(--gold); }
.swap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: clamp(18px, 2vw, 24px); font-weight: 600; margin-block-end: 18px; min-height: 1.6em; }
.swap-from { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--ember); text-decoration-thickness: 2px; }
.swap-arrow { color: var(--gold); display: inline-block; }
[dir="rtl"] .swap-arrow { transform: scaleX(-1); }
.swap-to { color: var(--text); }
.swap span { transition: opacity .35s, transform .35s var(--ease); }
.swap.out span { opacity: 0; transform: translateY(-10px); }
.hero .lead { margin-block-end: 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* The lens */
.lens-card { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: end; border-radius: 26px; overflow: visible; touch-action: pan-y; cursor: none; --x: 50%; --y: 45%; --r: 0px; }
.lens-card > img, .lens-after { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 26px; }
.lens-card > img { object-fit: cover; filter: saturate(.85); }
.lens-after { clip-path: circle(var(--r) at var(--x) var(--y)); overflow: hidden; }
.lens-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.lens-after img.is-on { opacity: 1; }
.lens-card.full .lens-after { clip-path: circle(150% at var(--x) var(--y)); transition: clip-path .7s var(--ease); }
/* Moved with translate in pixels (set by studio.js), not left/top: same place on screen, but Google no longer counts the moving lens as a layout shift. */
.lens-ring { position: absolute; left: 0; top: 0; width: calc(var(--r) * 2); height: calc(var(--r) * 2); translate: calc(var(--px, 0px) - 50%) calc(var(--py, 0px) - 50%); border-radius: 50%; border: 2px solid var(--gold2); box-shadow: 0 0 0 1px rgba(19,17,15,.35), 0 20px 50px rgba(0,0,0,.35); pointer-events: none; }
.lens-card.full .lens-ring { opacity: 0; }
.lens-card .pill { position: absolute; z-index: 2; }
.pill-before { top: 16px; inset-inline-start: 16px; }
.pill-after { top: 16px; inset-inline-end: 16px; background: var(--gold); color: var(--gold-ink); border-color: transparent; }
.lens-card .pill-label { bottom: 16px; inset-inline-end: 16px; font-size: 11.5px; }
.lens-hint { position: absolute; bottom: -34px; inset-inline-start: 4px; font-size: 13px; color: var(--muted); }
.mini-receipt { position: absolute; z-index: 3; bottom: 56px; inset-inline-start: -28px; width: min(250px, 62%); background: var(--paper); color: var(--ink); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; box-shadow: 0 24px 50px rgba(0,0,0,.4); transform: rotate(-3deg); }
[dir="rtl"] .mini-receipt { transform: rotate(3deg); }
.mr-row { display: flex; justify-content: space-between; gap: 10px; padding-block: 6px; border-bottom: 1px dashed var(--ink-line); }
.mr-row:last-child { border-bottom: 0; }
.mr-row span { color: var(--ink-muted); white-space: nowrap; }
.mr-row b { font-weight: 650; text-align: end; }
.motion .mini-receipt .mr-row { opacity: 0; animation: mr-in .5s var(--ease) forwards; }
.motion .mini-receipt .mr-row:nth-child(1) { animation-delay: 1.2s; }
.motion .mini-receipt .mr-row:nth-child(2) { animation-delay: 1.9s; }
.motion .mini-receipt .mr-row:nth-child(3) { animation-delay: 2.6s; }
@keyframes mr-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .lens-card { justify-self: center; max-width: 440px; margin-block-start: 8px; } .mini-receipt { inset-inline-start: -8px; } }
@media (max-width: 520px) { .mini-receipt { width: min(215px, 66%); font-size: 11px; padding: 8px 10px; bottom: 48px; } .mr-row { padding-block: 4px; } }
@media (hover: none) { .lens-card { cursor: auto; } }

/* Facts */
.facts { position: relative; z-index: 1; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-block-start: clamp(64px, 8vw, 96px); border-top: 1px solid var(--line); }
.facts li { padding: 24px 24px 0 0; display: grid; gap: 6px; align-content: start; color: var(--body); font-size: 15px; }
[dir="rtl"] .facts li { padding: 24px 0 0 24px; }
.facts li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
.facts b { font-size: clamp(36px, 3.6vw, 52px); font-weight: 750; font-stretch: 80%; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.facts b small { font-size: .42em; color: var(--gold); margin-inline-start: 4px; font-stretch: 100%; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } .facts li { padding-block-end: 20px; } }

/* Ribbons */
.ribbons { position: relative; height: 170px; margin-block: 10px 0; overflow: hidden; direction: ltr; }  /* both languages run inside; the loop needs a fixed direction */
.ribbon { position: absolute; left: -5%; width: 110%; top: 50%; padding-block: 14px; overflow: hidden; }
.ribbon-gold { background: var(--gold); color: var(--gold-ink); transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.ribbon-ember { background: var(--ember-deep); color: var(--paper); transform: translateY(-50%) rotate(2.5deg); }
.ribbon .track { display: flex; width: max-content; direction: ltr; animation: ribbon var(--rs, 40s) linear infinite; }
.ribbon-ember .track { animation-direction: reverse; --rs: 46s; }
.ribbon span { font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; white-space: nowrap; padding-inline: 22px; display: inline-flex; align-items: center; gap: 44px; }
.ribbon span::after { content: "✦"; font-size: .7em; opacity: .7; }
.ribbon-ember .track[lang="ar"] span { font-family: var(--arabic); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* WORK WALL */
.work { padding-block-end: 0; }
.work-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-block-end: 48px; }
@media (max-width: 800px) { .work-head { grid-template-columns: 1fr; } }
.wall { position: relative; height: clamp(620px, 88vh, 900px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: min(1360px, calc(100% - 32px)); margin-inline: auto; overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.col { overflow: hidden; }
.col .track { display: grid; gap: 16px; padding-block-end: 16px; animation: drift var(--speed, 60s) linear infinite; }  /* the padding makes the two halves exactly equal, so the loop has no jump */
.dup { display: contents; }
.col-rev .track { animation-direction: reverse; }
.wall:hover .track { animation-play-state: paused; }
@keyframes drift { to { transform: translateY(-50%); } }
.tile { position: relative; display: block; width: 100%; border-radius: 18px; overflow: hidden; background: var(--card); text-align: start; }
.tile video, .tile img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .6s var(--ease); }
.tile.img img { aspect-ratio: 4 / 5; }
.tile:hover video, .tile:hover img { transform: scale(1.04); }
.tile .tile-cap { position: absolute; inset: auto 12px 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tile .play { position: absolute; top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(19,17,15,.78); display: grid; place-items: center; }
.tile .play svg { width: 16px; height: 16px; fill: var(--text); }
.tile .pill { font-size: 11.5px; }
@media (max-width: 1100px) { .wall { grid-template-columns: repeat(3, 1fr); } .wall .col:nth-child(4) { display: none; } }
@media (max-width: 700px) { .wall { grid-template-columns: 1fr 1fr; height: 640px; } .wall .col:nth-child(3) { display: none; } }

/* STORY */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); margin-block-start: 40px; }
.phone-stick { position: sticky; top: 110px; align-self: start; display: grid; justify-items: center; }
.phone { position: relative; width: min(320px, 100%); aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px; background: #0B0A09; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0,0,0,.5), inset 0 0 0 2px #26211B; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 84px; height: 22px; border-radius: 20px; background: #0B0A09; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: var(--card); }
.screen .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease), transform .9s var(--ease); transform: scale(1.04); }
.screen .layer.is-on { opacity: 1; transform: none; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.motion .slides.is-on img { animation: slide 12s infinite; }
html:not(.motion) .slides img:first-child { opacity: 1; }
.slides img:nth-child(2) { animation-delay: 2s !important; } .slides img:nth-child(3) { animation-delay: 4s !important; } .slides img:nth-child(4) { animation-delay: 6s !important; } .slides img:nth-child(5) { animation-delay: 8s !important; } .slides img:nth-child(6) { animation-delay: 10s !important; }
@keyframes slide { 0% { opacity: 0; transform: scale(1.08); } 4%, 16% { opacity: 1; } 22% { opacity: 0; transform: none; } 100% { opacity: 0; } }
/* four slides (the listing set): 2 s each over 8 s, with a short cross-fade */
.slides.four { background: #0B0A09; }
.slides.four img { object-fit: contain; }   /* story-size slides shown whole inside the taller phone */
.motion .slides.four.is-on img { animation: slide4 8s infinite; }
@keyframes slide4 { 0% { opacity: 0; transform: scale(1.06); } 6%, 25% { opacity: 1; } 31% { opacity: 0; transform: none; } 100% { opacity: 0; } }
/* a camera roll: the client's phone photos, two by two */
.roll { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; align-content: start; background: #0B0A09; }
.roll img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.screen .roll { padding-block-start: 44px; grid-template-rows: repeat(2, 1fr); }
.screen .roll img { aspect-ratio: auto; height: 100%; }
.phone .pill-label { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; z-index: 3; white-space: nowrap; font-size: 11px; }
.steps { list-style: none; display: grid; }
.step { min-height: 56vh; display: grid; align-content: center; gap: 4px; padding-block: 24px; opacity: .35; transition: opacity .5s; }
.step.is-on { opacity: 1; }
.step-n { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--gold); margin-block-end: 8px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); font-stretch: 88%; line-height: 1.08; }
.step:lang(ar) h3, :lang(ar) .step h3 { line-height: 1.4; }
.step p { color: var(--body); font-size: 18px; max-width: 460px; }
.step-media { display: none; }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .phone-stick { display: none; }
  .step { min-height: 0; opacity: 1; padding-block: 28px; border-top: 1px solid var(--line); }
  /* owner, 7 Nov: at 70% and pinned to one side, these left an empty band beside them. Videos sit centred; the photo grid takes the full width, like the strip in step 2. */
  .step-media { display: block; width: min(300px, 86%); margin-inline: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; margin-block-start: 16px; }
  .step-strip { display: flex; gap: 8px; width: 100%; aspect-ratio: auto; }
  .step-strip img { width: 32%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
  .step-strip.tall img { aspect-ratio: 9 / 16; }
  .step-media.roll { display: grid; width: 100%; aspect-ratio: auto; overflow: hidden; padding: 3px; }
}
@media (min-width: 560px) and (max-width: 860px) {   /* tablets: the four photos in one row, as tall as the strip in step 2 */
  .step-media.roll { grid-template-columns: repeat(4, 1fr); }
}

/* STYLES: the section takes on the chosen style */
.styles { --s-bg: var(--bg2); --s-fg: var(--text); --s-muted: var(--body); background: var(--s-bg); color: var(--s-fg); overflow: hidden; transition: background .6s, color .6s; }
.styles .lead, .styles .style-desc { color: var(--s-muted); transition: color .6s; }
.styles .eyebrow { color: var(--s-accent, var(--gold)); }
.styles-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) {
  /* on phones the phone sits right above the style buttons, so a tap shows its result on screen */
  .styles-grid { grid-template-columns: 1fr; gap: 0; }
  .styles-copy { display: contents; }
  .styles-grid .phone-lg { order: 4; width: min(250px, 68%); margin-block: 8px 4px; }
  .styles-grid .chips { order: 5; } .styles-grid .style-info { order: 6; } .styles-grid .note { order: 7; }
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 32px 24px; }
.chips button { min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--s-fg) 30%, transparent); font-size: 15px; font-weight: 600; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.chips button:hover { transform: translateY(-2px); border-color: var(--s-fg); }
.chips button[aria-checked="true"] { background: var(--s-fg); color: var(--s-bg); border-color: var(--s-fg); }
.style-info { min-height: 92px; }
.style-desc { font-size: 20px; margin-block-end: 6px; }
.style-best { font-size: 15px; color: var(--s-muted); }
.style-best b { color: var(--s-accent, var(--gold)); font-weight: 650; }
.styles .note { margin-block-start: 20px; color: var(--s-muted); opacity: .8; }
.phone-lg { width: min(340px, 100%); justify-self: center; aspect-ratio: auto; }
.phone-lg .screen { height: auto; aspect-ratio: 9 / 16; }  /* the clips are 9:16: shown whole, so no word at the edge is cut (owner, 7 Nov) */
.backdrop, .bd { position: absolute; inset: 0; pointer-events: none; }
.bd { opacity: 0; transition: opacity .6s; overflow: hidden; }
/* six styles, each made for a different business (owner, 7 Nov); each backdrop echoes its clip's style */
@keyframes kin { from { transform: translateY(0); } to { transform: translateY(-18%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* gym: kinetic type */
.styles[data-style="gym"] { --s-bg: #121110; --s-fg: #F3F5EE; --s-muted: #B9BFB0; --s-accent: #C5FD58; }
.styles[data-style="gym"] .bd-gym { opacity: 1; }
.bd-gym { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding-inline-end: 4vw; }
.bd-gym span { font-family: var(--latin); font-size: clamp(80px, 13vw, 200px); font-weight: 800; line-height: .82; font-stretch: 75%; color: transparent; -webkit-text-stroke: 1.5px rgba(197, 253, 88, .28); }
.bd-gym span:nth-child(3) { color: rgba(197, 253, 88, .2); -webkit-text-stroke: 0; }
.motion .bd-gym { animation: kin 14s linear infinite; }
/* florist: hand-drawn doodles */
.styles[data-style="florist"] { --s-bg: #FFC2D6; --s-fg: #1C1218; --s-muted: #4D2A3B; --s-accent: #8A1C4F; }
.styles[data-style="florist"] .bd-florist { opacity: 1; }
.bd-florist svg { position: absolute; inset: 6% 2%; width: 96%; height: 88%; fill: none; stroke: #8A1C4F; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: .3; }
.bd-florist path { stroke-dasharray: 600; stroke-dashoffset: 600; }
.styles[data-style="florist"] .bd-florist path { animation: draw 2.2s var(--ease) forwards; }
.styles[data-style="florist"] .bd-florist path:nth-child(2) { animation-delay: .4s; } .styles[data-style="florist"] .bd-florist path:nth-child(3) { animation-delay: .8s; } .styles[data-style="florist"] .bd-florist path:nth-child(4) { animation-delay: 1.2s; }
/* perfume: Arabic first */
.styles[data-style="perfume"] { --s-bg: #1B1714; --s-fg: #F6EEE3; --s-muted: #D9C8B4; --s-accent: #E8B98A; }
.styles[data-style="perfume"] .bd-perfume { opacity: 1; }
.bd-perfume { display: flex; align-items: center; justify-content: center; gap: .25em; direction: rtl; font-family: var(--arabic); font-weight: 800; font-size: clamp(90px, 16vw, 240px); color: rgba(232, 185, 138, .12); }
.styles[data-style="perfume"] .bd-perfume span { animation: ar-in 1.2s var(--ease) both; }
.styles[data-style="perfume"] .bd-perfume span + span { animation-delay: .35s; }
@keyframes ar-in { from { opacity: 0; filter: blur(14px); transform: translateY(20px); } to { opacity: 1; filter: none; transform: none; } }
/* jeweller: paper cut-out */
.styles[data-style="jewel"] { --s-bg: #1F4D43; --s-fg: #F7F1E3; --s-muted: #CFE0D8; --s-accent: #E8C15A; }
.styles[data-style="jewel"] .bd-jewel { opacity: 1; }
.tear { position: absolute; inset-inline: -2%; top: 58%; height: 26%; background: #F3EBDD; transform: rotate(-2deg);
  clip-path: polygon(0 8%, 4% 0, 9% 7%, 14% 1%, 20% 9%, 26% 2%, 31% 8%, 37% 0, 43% 7%, 49% 2%, 55% 9%, 61% 1%, 67% 8%, 73% 0, 79% 7%, 85% 2%, 91% 9%, 96% 1%, 100% 6%, 100% 92%, 95% 100%, 89% 93%, 83% 99%, 77% 92%, 71% 100%, 65% 93%, 59% 99%, 53% 91%, 47% 100%, 41% 93%, 35% 99%, 29% 92%, 23% 100%, 17% 93%, 11% 99%, 5% 92%, 0 99%); opacity: .16; }
.tape { position: absolute; top: 12%; inset-inline-end: 6%; padding: 8px 18px; background: rgba(232, 193, 90, .88); color: #1A1A1A; font-family: "Courier New", monospace; font-weight: 700; letter-spacing: .1em; transform: rotate(4deg); font-size: 14px; }
.motion .styles[data-style="jewel"] .tape { animation: jitter .5s steps(2) infinite; }
@keyframes jitter { 50% { transform: rotate(3deg) translate(1px, -1px); } }
/* hotel: retro film */
.styles[data-style="hotel"] { --s-bg: #241A12; --s-fg: #F3E6D2; --s-muted: #CDB89C; --s-accent: #F0A35A; }
.styles[data-style="hotel"] .bd-hotel { opacity: 1; }
.leak { position: absolute; inset: -20%; background: radial-gradient(40% 50% at 15% 30%, rgba(255, 140, 60, .32), transparent 70%), radial-gradient(30% 40% at 90% 80%, rgba(255, 90, 40, .22), transparent 70%); }
.motion .styles[data-style="hotel"] .leak { animation: leak 7s ease-in-out infinite alternate; }
@keyframes leak { to { transform: translate(6%, -4%) scale(1.1); opacity: .7; } }
.stamp { position: absolute; bottom: 8%; inset-inline-end: 6%; font-family: "Courier New", monospace; font-weight: 700; font-size: clamp(22px, 3vw, 36px); color: #F0A35A; text-shadow: 0 0 12px rgba(240, 163, 90, .6); direction: ltr; }
.styles[data-style="hotel"]::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 160px rgba(0,0,0,.65); }
/* car care: flip board */
.styles[data-style="carcare"] { --s-bg: #0E0D0C; --s-fg: #F6F1E9; --s-muted: #B9AF9F; --s-accent: #7AC7FE; }
.styles[data-style="carcare"] .bd-carcare { opacity: 1; }
.bd-carcare { display: flex; gap: 6px; align-items: flex-start; justify-content: flex-end; padding: 6% 5% 0; direction: ltr; }
.bd-carcare span { width: clamp(38px, 5vw, 64px); height: clamp(54px, 7vw, 90px); display: grid; place-items: center; border-radius: 6px; background: #1E1B18; color: #7AC7FE; font-family: "Courier New", monospace; font-weight: 700; font-size: clamp(28px, 4vw, 52px); opacity: .5; position: relative; }
.bd-carcare span::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: #0E0D0C; }
.styles[data-style="carcare"] .bd-carcare span { animation: flip .6s var(--ease) both; }
.bd-carcare span:nth-child(2) { animation-delay: .08s !important; } .bd-carcare span:nth-child(3) { animation-delay: .16s !important; } .bd-carcare span:nth-child(4) { animation-delay: .24s !important; } .bd-carcare span:nth-child(5) { animation-delay: .32s !important; } .bd-carcare span:nth-child(6) { animation-delay: .4s !important; } .bd-carcare span:nth-child(7) { animation-delay: .48s !important; }
@keyframes flip { 0% { transform: rotateX(90deg); } 100% { transform: none; } }
@media (max-width: 860px) { .bd-carcare { opacity: 0 !important; } }

/* WEBSITE DESIGN: a sample site builds itself inside one device that changes shape (phone -> browser -> phone).
   section[data-stage]: 1 the "before" (a social page) · 2 layout (wireframe) · 3 brand · 4 content · 5 the other language · 6 phone.
   The sample site sizes everything in cqw (its container's width), so it really reflows when the device narrows. */
.web { overflow: hidden; }
.web::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(var(--line2) 1px, transparent 1px), linear-gradient(90deg, var(--line2) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 55% 60% at 68% 52%, #000, transparent 75%); mask-image: radial-gradient(ellipse 55% 60% at 68% 52%, #000, transparent 75%); }
:root[dir="rtl"] .web::before { -webkit-mask-image: radial-gradient(ellipse 55% 60% at 32% 52%, #000, transparent 75%); mask-image: radial-gradient(ellipse 55% 60% at 32% 52%, #000, transparent 75%); }
.web .wrap { position: relative; }
.web-head { max-width: 780px; }
.web-grid { display: grid; grid-template-columns: minmax(250px, .75fr) 1.45fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-block: clamp(40px, 6vw, 72px); }
.web-steps { list-style: none; display: grid; gap: 4px; min-width: 0; }
.web-steps button { position: relative; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; width: 100%; text-align: start; padding: 14px 16px; border-radius: 14px; color: var(--muted); transition: background .3s, color .3s; }
.web-steps button:hover { color: var(--text); }
.web-steps .n { grid-row: span 2; padding-block-start: 4px; font: 600 12.5px/1.6 var(--latin); color: var(--gold); font-variant-numeric: tabular-nums; }
.web-steps b { font-size: 19px; font-weight: 650; }
.web-steps .d { display: none; margin-block-start: 4px; color: var(--body); font-size: 15px; line-height: 1.5; }
.web-steps [aria-checked="true"] { background: var(--card); color: var(--text); }
.web-steps [aria-checked="true"] .d { display: block; }
.web-steps .bar { position: absolute; inset-inline: 16px; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left center; }
:root[dir="rtl"] .web-steps .bar { transform-origin: right center; }
.web.ticking [aria-checked="true"] .bar { animation: web-bar 3.6s linear forwards; }
@keyframes web-bar { to { transform: scaleX(1); } }
.web-now { display: none; }

.web-stage { --H: clamp(440px, 40vw, 560px); position: relative; height: var(--H); display: grid; place-items: center; min-width: 0; }
.device { position: relative; display: flex; flex-direction: column; width: 100%; height: calc(var(--H) * .8); padding: 0; border-radius: 14px; overflow: hidden;
  background: #0B0A09; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 0 0 2px #26211B;
  transition: width .9s var(--ease), height .9s var(--ease), border-radius .9s var(--ease), padding .9s var(--ease); }
.device::before { content: ""; position: absolute; top: 18px; left: 50%; translate: -50% 0; z-index: 4; width: 70px; height: 20px; border-radius: 20px; background: #0B0A09; opacity: 0; transition: opacity .3s; }
.web[data-stage="1"] .device, .web[data-stage="6"] .device { width: calc(var(--H) * .47); height: var(--H); padding: 10px; border-radius: 40px; }
.web[data-stage="1"] .device::before, .web[data-stage="6"] .device::before { opacity: 1; transition-delay: .6s; }
.device-bar { flex: none; display: flex; align-items: center; gap: 6px; height: 36px; padding-inline: 14px; overflow: hidden; direction: ltr; background: #1C1815; border-block-end: 1px solid var(--line2); transition: height .6s var(--ease), opacity .4s; }
.device-bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #3A332B; }
.device-bar .url { flex: 0 1 260px; height: 22px; margin-inline-start: 14px; padding-inline: 10px; overflow: hidden; white-space: nowrap; border-radius: 6px; background: var(--bg); color: var(--muted); font: 500 11.5px/22px var(--latin); }
.web[data-stage="1"] .device-bar, .web[data-stage="6"] .device-bar { height: 0; opacity: 0; border: 0; }
.device-screen { position: relative; flex: 1; min-height: 0; overflow: hidden; container-type: inline-size; background: #171411; transition: border-radius .9s var(--ease); }
.web[data-stage="1"] .device-screen, .web[data-stage="6"] .device-screen { border-radius: 31px; }
.device-screen::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: var(--gold); transform: translateX(-101%); }
.web.wipe .device-screen::after { animation: web-wipe .8s var(--ease); }
@keyframes web-wipe { 0% { transform: translateX(-101%); } 45%, 55% { transform: translateX(0); } 100% { transform: translateX(101%); } }
.web-tag { position: absolute; bottom: 2px; inset-inline-end: 0; z-index: 5; font-size: 11px; }

/* stage 1: the business's social page today */
.social, .site { position: absolute; inset: 0 0 auto; min-height: 100%; transition: opacity .6s var(--ease); }
.social { padding: 46px 12px 0; background: #0E0C0B; color: var(--text); font-size: 11px; opacity: 0; }
.web[data-stage="1"] .social { opacity: 1; }
.s-head { display: flex; align-items: center; gap: 14px; }
.s-av { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #2A231C; color: var(--gold); font: 700 22px var(--latin); box-shadow: 0 0 0 2px #0E0C0B, 0 0 0 4px var(--gold); }
.s-stats { flex: 1; display: flex; justify-content: space-around; text-align: center; }
.s-stats span { display: grid; }
.s-stats b { font: 700 13px var(--latin); }
.s-stats i { font-style: normal; font-size: 10px; color: #B9AF9F; }
.s-name { margin-block: 10px 6px; font: 600 12px var(--latin); }
.s-bio { display: block; width: 80%; height: 6px; margin-block-end: 5px; border-radius: 3px; background: #2E2822; }
.s-bio.s-short { width: 50%; }
.s-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-block: 10px 12px; }
.s-btns span { padding: 6px; border-radius: 8px; background: #26211B; text-align: center; font-weight: 600; font-size: 10.5px; }
.s-btns span:first-child { background: var(--gold); color: var(--gold-ink); }
.s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-inline: -12px; }
.s-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

/* stages 2-6: the sample site (a made-up perfume brand) */
.site { --m-bg: #F4EDE3; --m-ink: #1E1712; --m-mute: #6F6152; --m-acc: #8A5A2B; --m-line: #E2D6C6;
  display: flex; flex-direction: column; gap: 3.2cqw; padding-block-end: 4cqw; background: var(--m-bg); color: var(--m-ink); font-size: 1.7cqw; line-height: 1.4; opacity: 0;
  transition: opacity .6s var(--ease), background-color .6s, color .6s; }
.web:not([data-stage="1"]) .site { opacity: 1; }
.motion .web.has-content .site { animation: site-scroll 8s ease-in-out 1.2s infinite alternate; }
@keyframes site-scroll { 0%, 15% { transform: none; } 85%, 100% { transform: translateY(var(--scroll, 0px)); } }
.m-top { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 4cqw; border-block-end: 1px solid var(--m-line); }
.m-logo { font-size: 2.4cqw; font-weight: 800; font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase; }
.m-nav { display: flex; gap: 2.6cqw; margin-inline-start: auto; color: var(--m-mute); }
.m-btn { padding: .9cqw 2cqw; border-radius: 99px; background: var(--m-ink); color: var(--m-bg); font-weight: 600; white-space: nowrap; }
.m-burger { display: none; }
.m-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; align-items: center; padding-inline: 4cqw; }
.m-copy { display: grid; gap: 1.6cqw; justify-items: start; }
.m-kicker { color: var(--m-acc); font-size: 1.4cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.m-title { font-size: 5cqw; line-height: 1.02; font-weight: 750; font-stretch: 85%; letter-spacing: -.02em; }
.m-text { color: var(--m-mute); font-size: 1.9cqw; }
.m-btn-lg { padding: 1.3cqw 2.8cqw; font-size: 1.8cqw; }
.m-media { aspect-ratio: 4 / 3.6; border-radius: 1.6cqw; overflow: hidden; }
.m-media video, .m-card img { width: 100%; height: 100%; object-fit: cover; }
.m-strip { margin-inline: 4cqw; padding: 1.4cqw; border-radius: 1.2cqw; background: var(--m-ink); color: var(--m-bg); text-align: center; font-size: 1.6cqw; font-weight: 600; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding-inline: 4cqw; }
.m-card { display: grid; gap: .8cqw; justify-items: start; }
.m-card .ph { width: 100%; aspect-ratio: 4 / 5; border-radius: 1.2cqw; overflow: hidden; }
.m-name { font-size: 1.8cqw; font-weight: 650; }
.m-link { color: var(--m-acc); font-size: 1.5cqw; font-weight: 600; }
.site:lang(ar) :is(.m-logo, .m-kicker) { letter-spacing: 0; }
.site:lang(ar) .m-title { font-size: 4.4cqw; line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.ph { position: relative; background: #E8DCCB; }
.ph > img, .ph > video { opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.web.has-content .ph > img, .web.has-content .ph > video { opacity: 1; transform: none; }
.ph::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0 8px, rgba(138, 90, 43, .16) 8px 9px); transition: opacity .6s; }
.web.has-content .ph::after { opacity: 0; }
/* stage 2, the wireframe: a dark blueprint where words are grey bars and pictures are crossed boxes */
.web[data-stage="2"] .site { --m-bg: #171411; --m-ink: #3A332B; --m-mute: #3A332B; --m-acc: #3A332B; --m-line: #2E2822; }
.site :is(.m-logo, .m-nav > span, .m-btn, .m-kicker, .m-title, .m-text, .m-strip, .m-name, .m-link) { transition: color .4s, background-color .6s; }
.web[data-stage="2"] .site :is(.m-logo, .m-nav > span, .m-btn, .m-kicker, .m-title, .m-text, .m-strip, .m-name, .m-link) { color: transparent; background: #2E2822; border-radius: 4px; }
.web[data-stage="2"] .ph { background: transparent; outline: 1px dashed rgba(214, 176, 121, .55); outline-offset: -1px; }
.web[data-stage="2"] .ph::after { background: linear-gradient(to top right, transparent calc(50% - .6px), rgba(214, 176, 121, .45) 50%, transparent calc(50% + .6px)),
  linear-gradient(to bottom right, transparent calc(50% - .6px), rgba(214, 176, 121, .45) 50%, transparent calc(50% + .6px)); }
/* the same site at phone width */
@container (max-width: 480px) {
  .site { gap: 5cqw; padding-block-end: 8cqw; font-size: 3.6cqw; }
  .m-top { padding: 4cqw 5cqw; }
  .m-logo { font-size: 5cqw; }
  .m-nav, .m-top > .m-btn { display: none; }
  .m-burger { display: grid; gap: 1.4cqw; margin-inline-start: auto; }
  .m-burger i { display: block; width: 6cqw; height: .7cqw; border-radius: 1px; background: currentColor; }
  .m-hero { grid-template-columns: 1fr; gap: 5cqw; padding-inline: 5cqw; }
  .m-media { order: -1; aspect-ratio: 4 / 4.2; border-radius: 4cqw; }
  .m-copy { gap: 3cqw; }
  .m-kicker { font-size: 3cqw; }
  .m-title { font-size: 10cqw; }
  .site:lang(ar) .m-title { font-size: 8.6cqw; }
  .m-text { font-size: 4cqw; }
  .m-btn-lg { padding: 3cqw 6cqw; font-size: 3.8cqw; }
  .m-strip { margin-inline: 5cqw; padding: 3cqw; border-radius: 3cqw; font-size: 3.4cqw; }
  .m-grid { grid-template-columns: 1fr 1fr; gap: 4cqw; padding-inline: 5cqw; }
  .m-card .ph { border-radius: 3cqw; }
  .m-name { font-size: 3.8cqw; }
  .m-link { font-size: 3.2cqw; }
}
.web[data-stage="6"] .m-top { padding-block-start: 12cqw; }

/* what every site gets */
.web-feats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.web-feats li { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line2); border-radius: var(--radius); background: rgba(33, 28, 24, .6); font-size: 16px; line-height: 1.4; }
.web-feats .ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #2A231C; }
.web-feats svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.web-feats svg > * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion .web-feats li:not(.in) svg > * { stroke-dashoffset: 1; }
.web-feats li.in svg > * { transition: stroke-dashoffset 1.4s var(--ease) .25s; }
.web-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-block-start: 36px; }
.web-cta .note { max-width: 520px; }
@media (max-width: 960px) { .web-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .web-grid { grid-template-columns: 1fr; gap: 18px; }
  .web-steps { grid-auto-flow: column; grid-auto-columns: max-content; gap: 6px; margin-inline: -16px; padding-inline: 16px; overflow-x: auto; scrollbar-width: none; }
  .web-steps::-webkit-scrollbar { display: none; }
  /* a soft fade on the side with more steps, so the last pill reads as "swipe for more", not as cut off (owner, 7 Nov) */
  .web-steps { --to: to right; }
  :root[dir="rtl"] .web-steps { --to: to left; }
  .web-steps.more-end { -webkit-mask-image: linear-gradient(var(--to), #000 calc(100% - 56px), transparent); mask-image: linear-gradient(var(--to), #000 calc(100% - 56px), transparent); }
  .web-steps.more-start { -webkit-mask-image: linear-gradient(var(--to), transparent, #000 56px); mask-image: linear-gradient(var(--to), transparent, #000 56px); }
  .web-steps.more-start.more-end { -webkit-mask-image: linear-gradient(var(--to), transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(var(--to), transparent, #000 56px, #000 calc(100% - 56px), transparent); }
  .web-steps button { grid-template-columns: auto auto; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; }
  .web-steps .n { grid-row: auto; padding: 0; }
  .web-steps b { font-size: 15px; }
  .web-steps [aria-checked="true"] .d { display: none; }
  .web-steps .bar { inset-inline: 14px; bottom: -1px; }
  .web-now { display: block; min-height: 3.2em; color: var(--body); font-size: 16px; }
  .web-stage { --H: min(480px, 120vw); }
}
@media (max-width: 560px) { .web-feats { grid-template-columns: 1fr; } .web-feats li { padding: 14px; } }

/* SERVICES */
.svc-list { list-style: none; margin-block-start: 40px; border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 8px 48px; align-items: center; padding-block: 26px; border-bottom: 1px solid var(--line); cursor: default; }
.svc h3 { font-size: clamp(22px, 2.4vw, 32px); font-stretch: 82%; margin: 0; transition: transform .45s var(--ease), color .3s; }
.svc:lang(ar) h3, :lang(ar) .svc h3 { font-size: clamp(20px, 2.2vw, 28px); }
.svc p { color: var(--body); font-size: 16px; }
.svc::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 0; height: 2px; background: var(--gold); transition: width .45s var(--ease); }
.svc:hover h3 { color: var(--gold2); transform: translateX(28px); }
[dir="rtl"] .svc:hover h3 { transform: translateX(-28px); }
.svc:hover::before { width: 18px; }
.svc-thumb { display: none; }
@media (max-width: 800px) {
  .svc { grid-template-columns: 1fr 64px; }
  .svc h3 { grid-column: 1; }
  .svc p { grid-column: 1; }
  .svc-thumb { display: block; grid-column: 2; grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
  .svc:hover h3 { transform: none; }
}
.float { position: fixed; z-index: 40; left: 0; top: 0; width: 240px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .3s var(--ease); background: var(--card); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.float.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.float img, .float video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.float.is-img img, .float.is-video video { display: block; }
.float .wave { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 5px; background: radial-gradient(circle at 50% 40%, #2A231C, #13110F); }
.float.is-wave .wave { display: flex; }
.wave i, .wave-mini i { display: block; width: 6px; height: 20%; border-radius: 4px; background: var(--gold); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: .15s; background: var(--gold2); } .wave i:nth-child(3n) { animation-delay: .3s; } .wave i:nth-child(5n) { animation-delay: .45s; background: var(--ember); }
.wave b { position: absolute; bottom: 18px; font-size: 14px; color: var(--text); }
@keyframes wave { 50% { height: 60%; } }
.float-tag { position: absolute; top: 10px; inset-inline-start: 10px; display: none; font-size: 11px; }
.float.is-tagged .float-tag { display: inline-flex; }
.wave-mini { align-items: center; justify-content: center; gap: 3px; background: var(--card); }
@media (max-width: 800px) { .wave-mini { display: flex; } .wave-mini i { width: 4px; } }
@media (hover: none) { .float { display: none; } }

/* HOW */
.timeline { position: relative; margin-block-start: 56px; padding-block-start: 44px; }
.tl-line { position: absolute; top: 9px; inset-inline: 0; height: 2px; background: var(--line); overflow: hidden; }
.tl-line i { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--p, 0) * 100%); background: var(--gold); }
.tl-end { position: absolute; top: -22px; font-size: 13px; color: var(--muted); }
.tl-start { inset-inline-start: 0; } .tl-finish { inset-inline-end: 0; color: var(--gold); }
.timeline ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.timeline li { position: relative; }
.dot { position: absolute; top: -44px; inset-inline-start: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); transition: border-color .4s, background .4s, transform .4s var(--ease); }
.timeline li.lit .dot { border-color: var(--gold); background: var(--gold); transform: scale(1.15); }
.timeline h3 { font-size: 22px; }
.timeline p { color: var(--body); font-size: 15.5px; }
@media (max-width: 800px) {
  .timeline { padding-block-start: 0; padding-inline-start: 40px; }
  .tl-line { top: 0; bottom: 0; inset-inline-start: 9px; inset-inline-end: auto; width: 2px; height: auto; }
  .tl-line i { inset-inline: 0; width: 100%; height: calc(var(--p, 0) * 100%); }
  .tl-end { display: none; }
  .timeline ol { grid-template-columns: 1fr; gap: 36px; }
  .dot { top: 4px; inset-inline-start: -40px; }
}

/* RECEIPT */
.receipt-sec { background: var(--bg2); border-block: 1px solid var(--line2); }
.receipt-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
@media (max-width: 860px) { .receipt-grid { grid-template-columns: 1fr; } }
.printer { position: relative; max-width: 420px; width: 100%; justify-self: center; padding-block-start: 14px; overflow: hidden; }
.slot { position: absolute; top: 0; inset-inline: -10px; height: 18px; border-radius: 10px; background: #0B0A09; box-shadow: inset 0 3px 6px rgba(0,0,0,.8); z-index: 2; }
.receipt { position: relative; background: var(--paper); color: var(--ink); padding: 26px 24px 30px; font-size: 15px; transform: translateY(0); }
.motion .printer:not(.printed) .receipt { transform: translateY(-101%); }
.printer.printed .receipt { transition: transform 2.2s steps(14, end); }
.r-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); padding-block-end: 14px; border-bottom: 2px dashed var(--ink-line); }
.r-top:lang(ar), :lang(ar) .r-top { letter-spacing: 0; font-size: 14px; }
.r-top img { width: 22px; height: 22px; }
.receipt .row { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--ink-line); }
.receipt dt { color: var(--ink-muted); font-size: 13px; font-weight: 600; }
.receipt dd { font-weight: 600; line-height: 1.45; }
.receipt dd span { display: block; }
.r-foot { padding-block-start: 14px; font-size: 13px; color: var(--ink-muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.r-foot span:last-child { direction: ltr; }
.r-zig { position: absolute; inset-inline: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 6px, var(--paper) 0) 0 0 / 12px 10px, linear-gradient(45deg, transparent 6px, var(--paper) 0) 0 0 / 12px 10px; }
.printer { padding-block-end: 12px; }
.why-list { display: grid; gap: 26px; margin-block-start: 34px; }
.why-item { display: flex; gap: 18px; }
.why-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); }
.why-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-item p { color: var(--body); font-size: 15.5px; }

/* ARABIC STATEMENT */
.statement { position: relative; min-height: 78vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.statement-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.8); }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(19,17,15,.2), rgba(19,17,15,.92) 70%); }
[dir="rtl"] .statement::before { background: linear-gradient(to right, rgba(19,17,15,.2), rgba(19,17,15,.92) 70%); }
@media (max-width: 700px) { .statement::before, [dir="rtl"] .statement::before { background: linear-gradient(to bottom, rgba(19,17,15,.55), rgba(19,17,15,.9) 55%); } }
.statement-in { padding-block: 100px; display: grid; justify-items: start; gap: 18px; }
.statement-line { font-family: var(--arabic); font-weight: 800; font-size: clamp(46px, 8.4vw, 124px); line-height: 1.25; max-width: 13ch; text-align: right; justify-self: start; }
[dir="ltr"] .statement-line { justify-self: start; }
.statement-en { font-family: var(--latin); font-size: clamp(18px, 2vw, 24px); color: var(--body); }
.statement-note { color: var(--muted); max-width: 520px; }
.statement .btn { margin-block-start: 10px; }

/* START A PROJECT (the form) */
.start { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .start { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin-block-start: 30px; display: grid; gap: 16px; color: var(--body); font-size: 15.5px; }
.contact-list b { display: block; color: var(--text); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-block-end: 2px; }
.contact-list b:lang(ar), :lang(ar) .contact-list b { letter-spacing: 0; font-size: 14px; }
.contact-list a { color: var(--text); border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: var(--gold); }
form.brief { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.4vw, 36px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.full { grid-column: 1 / -1; }
.field > span, legend { font-size: 14px; font-weight: 600; color: var(--text); }
.field small, .hint { color: var(--muted); font-size: 13px; font-weight: 400; }
.req { color: var(--gold); }
input[type=text], input[type=email], input[type=url], select, textarea { width: 100%; font: 400 16px/1.4 var(--font); color: var(--text); background: #171411; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D6B079' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px; }
[dir="rtl"] select { background-position: left 16px center; }
input::placeholder, textarea::placeholder { color: #7A7266; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 176, 121, .18); }
fieldset { border: 0; min-width: 0; }
legend { margin-block-end: 10px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: #171411; color: var(--body); font-size: 14.5px; cursor: pointer; user-select: none; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease); }
.pick span:hover { border-color: var(--muted); }
.pick input:checked + span { border-color: var(--gold); color: var(--text); background: rgba(214, 176, 121, .14); }
.pick input:checked + span::before { content: "✓"; color: var(--gold); margin-inline-end: 7px; font-weight: 700; }
.pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--body); }
.check input { flex: none; width: 20px; height: 20px; margin-block-start: 2px; accent-color: var(--gold); }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.tried input:invalid, .tried textarea:invalid { border-color: var(--err); }
.tried .check input:invalid { outline: 2px solid var(--err); outline-offset: 2px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }  /* not off to one side: in Arabic (right to left) that would make the page scroll sideways */
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-block-start: 26px; }
.btn-send { min-width: 210px; }
.btn-send svg { transition: transform .3s var(--ease); }
.btn-send:hover svg { transform: translateX(4px); }
[dir="rtl"] .btn-send:hover svg { transform: scaleX(-1) translateX(4px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.status { font-size: 15px; }
.status.err { color: var(--err); }
.done h3 { font-size: 28px; margin-block: 14px 10px; }
.done p { color: var(--body); }
.done .tick { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ok); color: var(--ok); display: grid; place-items: center; }
.done .tick svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s var(--ease) .2s forwards; }

/* FAQ */
.faq-sec { background: var(--bg2); border-block: 1px solid var(--line2); }
.faq { max-width: 860px; margin-block-start: 28px; }
details { border-bottom: 1px solid var(--line); padding-block: 22px; }
summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--gold); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--body); margin-block-start: 12px; font-size: 16px; max-width: 70ch; }

/* FOOTER */
.foot { padding-block: clamp(32px, 4vw, 56px) 36px; color: var(--muted); font-size: 14px; }
.foot-big { display: block; font-size: clamp(36px, 5vw, 72px); font-weight: 800; font-stretch: 78%; line-height: .95; letter-spacing: -0.03em; color: var(--text); margin-block-end: 40px; transition: color .3s; }
.foot-big:lang(ar), :lang(ar) .foot-big { letter-spacing: 0; line-height: 1.3; font-size: clamp(32px, 4.4vw, 60px); }
.foot-big:hover { color: var(--gold); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; padding-block-start: 32px; border-top: 1px solid var(--line); }
.foot .logo img { height: 34px; margin-block-end: 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a:hover { color: var(--text); }
.foot-small { margin-block-start: 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

/* Video viewer */
.viewer { margin: auto; padding: 0; border: 0; border-radius: 22px; background: #000; overflow: visible; max-height: 90vh; }
.viewer::backdrop { background: rgba(10, 9, 8, .86); backdrop-filter: blur(8px); }
.viewer video { max-height: 88vh; width: auto; max-width: 92vw; aspect-ratio: 9 / 16; border-radius: 22px; }
.viewer-close { position: absolute; top: -14px; inset-inline-end: -14px; background: var(--bg); }

/* Calm mode: "Pause motion" pressed, or the device asks for reduced motion */
.calm *, .calm *::before, .calm *::after { animation-play-state: paused !important; }
.calm .grain { display: none; }
.calm .w > span, .calm [data-reveal] { transform: none !important; opacity: 1 !important; transition: none !important; }
.calm .printer .receipt { transform: none !important; }
.calm .mini-receipt .mr-row { opacity: 1 !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* (kept last so it wins) Phones: headings at the font's normal width (the narrow cut reads as stretched on a small screen, owner 3 Nov) */
@media (max-width: 700px) {
  h1, h2, h3, .hero h1, .step h3, .svc h3, .facts b, .foot-big { font-stretch: 100%; }
  .motion .hero h1 em .w > span { animation: none; }
}

/* The website section's flames card: it opens the full-screen scroll sample */
.web-fire { position: relative; display: grid; align-content: end; min-height: min(135vw, 660px); margin-block-end: clamp(40px, 6vw, 72px); border-radius: var(--radius); overflow: hidden; background: #050404; isolation: isolate; color: var(--text); transition: transform .3s cubic-bezier(.2,.7,.1,1); }
.web-fire video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; background: #050404; }
.web-fire::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5,4,4,.94), rgba(5,4,4,.62) 40%, rgba(5,4,4,0) 68%); }
.web-fire > .pill-label { position: absolute; top: 14px; inset-inline-start: 14px; max-width: calc(100% - 28px); }
.web-fire-copy { display: grid; justify-items: start; gap: 12px; padding: clamp(20px, 4vw, 48px); }
.web-fire .eyebrow { margin: 0; color: var(--gold2); }
.web-fire-t { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; font-weight: 800; font-stretch: 75%; letter-spacing: -.012em; text-wrap: balance; }
:root[lang="ar"] .web-fire-t { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.3; font-stretch: 100%; letter-spacing: 0; }
.web-fire-p { max-width: 34em; color: var(--text); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.5; }
:root[lang="ar"] .web-fire-p { line-height: 1.75; }
.web-fire .btn { margin-block-start: 6px; }
@media (hover: hover) { .web-fire:hover { transform: translateY(-3px); } .web-fire:hover .btn { background: var(--gold2); } }
@media (min-width: 900px) {
  .web-fire { min-height: 600px; align-content: center; }
  .web-fire video { inset-inline-start: auto; width: 50%; -webkit-mask-image: linear-gradient(to right, transparent, #000 24%); mask-image: linear-gradient(to right, transparent, #000 24%); }
  :root[dir="rtl"] .web-fire video { -webkit-mask-image: linear-gradient(to left, transparent, #000 24%); mask-image: linear-gradient(to left, transparent, #000 24%); }
  .web-fire::after { display: none; }
  .web-fire-copy { max-width: 54%; }
  .web-fire > .pill-label { top: 20px; inset-inline-start: 24px; }
}

/* 11 Nov: the new direction. The showreel card in the hero, the three doors, and the product badges. */
.reel-card { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: end; border-radius: 26px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.reel-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-card .pill-label { position: absolute; z-index: 2; bottom: 16px; inset-inline-end: 16px; font-size: 11.5px; }
@media (max-width: 900px) { .reel-card { justify-self: center; max-width: 440px; margin-block-start: 8px; } }
.door-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-block-start: 34px; }
@media (max-width: 900px) { .door-grid { grid-template-columns: 1fr; } }
.door { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); color: var(--body); text-decoration: none; transition: transform .35s var(--ease), border-color .35s var(--ease); }
.door:hover { transform: translateY(-4px); border-color: var(--gold); }
.door-k { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 650; }
[dir="rtl"] .door-k { letter-spacing: 0; }
.door h3 { color: var(--text); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; margin: 0; }
.door p { margin: 0; line-height: 1.5; }
.door-list { margin-block-start: auto; padding-block-start: 12px; border-top: 1px dashed var(--line); color: var(--gold2); font-size: 14px; }
.door-go { color: var(--text); font-weight: 650; font-size: 14px; }
.soon { display: inline-block; margin-inline-start: 12px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--gold); font-size: 12px; letter-spacing: .04em; vertical-align: middle; font-weight: 600; white-space: nowrap; }
.addon { margin-block-start: 22px; color: var(--muted); font-size: 15px; }

/* 11 Nov speed fix: the grain is still (it moved and blended with every frame before), and labels no longer blur the video behind them. */
.grain { animation: none !important; }

/* 11 Nov: the new pages. Page heading, and the button under the shorter wall on the home page. */
.page-intro { padding-block: clamp(36px, 6vw, 72px) clamp(10px, 3vh, 30px); }  /* 11 Nov: the header is in the page flow, so no extra space above the heading */
.page-intro + .section { padding-block-start: clamp(36px, 6vw, 72px); }  /* and the first part follows the heading closely */
.page-intro h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -.02em; margin: .2em 0 .25em; max-width: 14ch; }
.page-intro .lead { max-width: 60ch; }
.workmore { display: flex; justify-content: center; margin-block: 34px 0; }

/* 11 Nov: navigation that is easy to find. Computer: larger pill links, the current page in gold.
   Phones and tablets: a gold Menu button, page tabs under the header, and a full-screen menu. Footer: links to every page. */
.nav ul { gap: 6px; font-size: 16px; }
.nav ul a { display: inline-block; padding: 9px 16px; border-radius: 999px; color: var(--text); transition: background .25s, color .25s; }
.nav ul a:hover { background: var(--card); }
.nav ul a[aria-current="page"] { background: rgba(214, 176, 121, .14); color: var(--gold2); box-shadow: inset 0 0 0 1px rgba(214, 176, 121, .45); }
.menu-btn { display: none; align-items: center; gap: 9px; height: 42px; padding-inline: 14px 16px; border-radius: 999px; border: 0; background: var(--gold); color: var(--gold-ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.menu-ico { display: grid; gap: 3px; }
.menu-ico i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.pagebar { display: none; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .pagebar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 10px; background: rgba(19, 17, 15, .95); border-bottom: 1px solid var(--line2); }
  .pagebar::-webkit-scrollbar { display: none; }
  .pagebar a { flex: none; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; }
  .pagebar a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
}
@media (max-width: 600px) { .nav .btn-sm { display: none; } }
.menu { position: fixed; inset: 0; z-index: 80; display: flex; overflow-y: auto; background: rgba(19, 17, 15, .98); }
.menu-in { width: 100%; max-width: 640px; margin-inline: auto; padding: 22px max(20px, env(safe-area-inset-left, 0px)) 40px; display: flex; flex-direction: column; gap: 26px; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-title { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
[dir="rtl"] .menu-title { letter-spacing: 0; }
.menu-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; }
.menu-list a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line2); color: var(--text); font-size: clamp(26px, 7vw, 36px); font-weight: 800; line-height: 1.05; }
.menu-list .mn { color: var(--gold); font-size: 14px; font-weight: 700; }
.menu-list a[aria-current="page"] { color: var(--gold2); }
.menu-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.menu-end .lang-btn { min-height: 46px; padding-inline: 18px; border-radius: 999px; border: 1px solid var(--line); display: inline-grid; place-items: center; color: var(--text); }
html.menu-open { overflow: hidden; }
.foot-pages { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 16px; }
.foot .foot-pages a { color: var(--text); font-weight: 600; }

/* 11 Nov: prices are quoted, not published; the line and button under the products */
.price-ask { margin-block-start: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; }
.price-ask p { margin: 0; max-width: 56ch; flex: 1 1 280px; }

/* 11 Nov: the form lives on the Contact page; every other page ends with this band */
.cta-band { padding-block: 0 clamp(40px, 5vw, 72px); }  /* the section above already gives the space */
.cta-in { display: grid; gap: 14px; justify-items: start; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.cta-in h2 { margin: 0; font-size: clamp(26px, 3vw, 40px); }
.cta-in p { margin: 0; max-width: 56ch; color: var(--muted); }
.start-h { font-size: clamp(32px, 4.2vw, 56px); font-stretch: 88%; margin-block-end: 18px; }
main > .start-sec:first-child { padding-block-start: clamp(36px, 6vw, 72px); }

/* 11 Nov: images carry width and height so the page does not jump; this keeps their shape set by the styles */
:where(img[width]) { height: auto; }

/* 11 Nov: the curtain only shows while it runs, so a browser add-on that moves fixed layers (seen with an SEO toolbar) cannot leave it covering the page */
.curtain { visibility: hidden; }
.curtain.go { visibility: visible; }

/* 12 Nov: no jumps while loading. The stand-in fonts are Arial sized to match Bricolage (measured on the site's own text),
   one for running text and one for the narrow bold headings. The Arabic button uses a tiny cut of Alexandria. */
@font-face { font-family: "Bricolage Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 105.1%; ascent-override: 88.5%; descent-override: 25.7%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Heading Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 900; size-adjust: 81%; ascent-override: 114.8%; descent-override: 33.3%; line-gap-override: 0%; }
:root:not([lang="ar"]) :is(.hero h1, .page-intro h1, h2, .start-h, .foot-big, .facts b, .web-fire-t, .step h3, .svc h3) { font-family: "Bricolage", "Bricolage Heading Fallback", var(--latin); }
@font-face { font-family: "Alexandria Label"; src: url("fonts/alexandria-label.woff2?v=3cc2e8cd") format("woff2"); font-weight: 100 900; font-display: swap; }
.lang-btn[lang="ar"] { font-family: "Alexandria Label", var(--arabic); }
