/* =========================================================
   AMRROU — styles
   ========================================================= */
:root {
  --bg: #0c0c0b;
  --bg-2: #151513;
  --bg-3: #1d1d1a;
  --ink: #eeeae3;
  --ink-2: #c4bfb5;
  --ink-3: #928d83;
  --line: rgba(238, 234, 227, .1);
  --line-2: rgba(238, 234, 227, .22);
  --grid: rgba(238, 234, 227, .04);
  --accent: #c9a46a;
  --display: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 3.4vw, 56px);
  --cols: 6;
  --ease: cubic-bezier(.22, .8, .12, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}
html[lang="ar"] {
  --display: "IBM Plex Sans Arabic", "Instrument Serif", serif;
  --sans: "IBM Plex Sans Arabic", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
html[lang="ar"] em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }

.label { font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
html[lang="ar"] .label { letter-spacing: 0; font-size: 13px; }
.label .idx { color: var(--accent); margin-inline-end: 6px; }

/* ---------- Grid lines ---------- */
.grid-lines {
  position: fixed; inset: 0 var(--gutter); z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(var(--cols), 1fr);
}
.grid-lines i { border-inline-start: 1px solid var(--grid); }
.grid-lines i:last-child { border-inline-end: 1px solid var(--grid); }
main, .footer { position: relative; z-index: 1; }

/* ---------- Curtain (preloader + transitions) ---------- */
.curtain { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: repeat(var(--cols), 1fr); pointer-events: none; }
.curtain i { background: var(--bg-2); transform: translateY(101%); transition: transform .7s var(--ease-io); }
.curtain i:nth-child(2) { transition-delay: .04s; } .curtain i:nth-child(3) { transition-delay: .08s; }
.curtain i:nth-child(4) { transition-delay: .12s; } .curtain i:nth-child(5) { transition-delay: .16s; }
.curtain i:nth-child(6) { transition-delay: .2s; }
.curtain.cover i { transform: translateY(0); }
.curtain.lift i { transform: translateY(-101%); }
.curtain-logo {
  position: absolute; left: 50%; top: 50%; width: min(300px, 58vw); transform: translate(-50%, -50%);
  filter: url(#logoWhite); opacity: 0; transition: opacity .6s;
}
body.is-loading .curtain i { transform: none; transition: none; }
body.is-loading .curtain-logo { opacity: 1; animation: sign 1.6s var(--ease) both; }
@keyframes sign { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 70; height: 84px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter);
  transition: transform .5s var(--ease), background .4s;
}
.header.hidden { transform: translateY(-100%); }
.header.solid { background: linear-gradient(to bottom, rgba(12,12,11,.92), rgba(12,12,11,0)); }
.logo img { height: 46px; width: auto; filter: url(#logoWhite); }
.header-links { display: flex; gap: 34px; font-size: 14px; letter-spacing: .04em; }
.header-links a { position: relative; color: var(--ink-2); transition: color .3s; }
.header-links a:hover { color: var(--ink); }
.header-links a::after { content: ""; position: absolute; inset: auto 0 -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.header-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 12px; }
.lang { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); font: 500 14px/1 "IBM Plex Sans Arabic", var(--sans); transition: background .3s, color .3s; }
.lang:hover { background: var(--ink); color: var(--bg); }
.menu-toggle { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 8px 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; letter-spacing: .04em; transition: background .3s, color .3s; }
.menu-toggle:hover { background: var(--ink); color: var(--bg); }
.menu-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); position: relative; transition: background .3s; }
.menu-toggle:hover .menu-icon { background: var(--bg); }
.menu-icon i { position: absolute; left: 7px; right: 7px; height: 1.5px; background: var(--bg); transition: transform .4s var(--ease); }
.menu-toggle:hover .menu-icon i { background: var(--ink); }
.menu-icon i:first-child { top: 10px; } .menu-icon i:last-child { top: 14.5px; }
body.menu-open .menu-icon i:first-child { transform: translateY(2.25px) rotate(45deg); }
body.menu-open .menu-icon i:last-child { transform: translateY(-2.25px) rotate(-45deg); }
body.menu-open .header { background: none; }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; pointer-events: none; visibility: hidden; }
body.menu-open .menu { pointer-events: auto; visibility: visible; }
.menu-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols), 1fr); }
.menu-cols i { background: var(--bg-2); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease-io); }
.menu-cols i:nth-child(2) { transition-delay: .03s; } .menu-cols i:nth-child(3) { transition-delay: .06s; }
.menu-cols i:nth-child(4) { transition-delay: .09s; } .menu-cols i:nth-child(5) { transition-delay: .12s; }
.menu-cols i:nth-child(6) { transition-delay: .15s; }
body.menu-open .menu-cols i { transform: scaleY(1); }
.menu-inner {
  position: relative; height: 100%; padding: 130px var(--gutter) 40px;
  display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: end; overflow-y: auto;
}
.menu-nav { display: grid; }
.menu-nav a { display: flex; align-items: baseline; gap: 18px; padding: 4px 0; overflow: hidden; }
.menu-nav small { font: 500 12px var(--sans); color: var(--accent); width: 24px; }
.menu-nav span {
  font: 400 clamp(56px, 9vw, 132px)/1 var(--display); letter-spacing: -.01em;
  transform: translateY(105%); transition: transform .8s var(--ease), color .3s; display: inline-block;
}
html[lang="ar"] .menu-nav span { line-height: 1.25; font-size: clamp(44px, 7vw, 100px); font-weight: 300; }
.menu-nav a:hover span { color: var(--accent); font-style: italic; }
body.menu-open .menu-nav span { transform: none; }
body.menu-open .menu-nav a:nth-child(1) span { transition-delay: .25s; }
body.menu-open .menu-nav a:nth-child(2) span { transition-delay: .3s; }
body.menu-open .menu-nav a:nth-child(3) span { transition-delay: .35s; }
body.menu-open .menu-nav a:nth-child(4) span { transition-delay: .4s; }
.menu-side { display: grid; gap: 14px; align-content: end; opacity: 0; transition: opacity .5s .1s; }
body.menu-open .menu-side { opacity: 1; transition-delay: .45s; }
.menu-projects { list-style: none; margin: 0 0 22px; padding: 0; columns: 2; column-gap: 24px; font-size: 14px; }
.menu-projects li { break-inside: avoid; padding: 3px 0; }
.menu-projects a { color: var(--ink-2); transition: color .25s; }
.menu-projects a:hover { color: var(--ink); }
.menu-contact { display: grid; gap: 6px; font-size: 15px; }
.menu-contact a { color: var(--ink); width: fit-content; border-bottom: 1px solid transparent; transition: border-color .3s; }
.menu-contact a:hover { border-color: currentColor; }
.menu-contact small { color: var(--ink-3); margin-inline-end: 8px; font-size: 12px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; padding: 116px 0 30px; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; overflow: hidden; }
.hero-text { padding: 0 var(--gutter); }
.hero-kicker { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-kicker .dot { color: var(--accent); }
.hero-title { font: 400 clamp(60px, min(9.4vw, 15vh), 170px)/.88 var(--display); letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > * { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.hero-title .line:nth-child(2) { padding-inline-start: 12vw; }
.hero-title .line:nth-child(3) { text-align: end; }
.hero-title em { color: var(--accent); }
body.ready .hero-title .line > * { transform: none; }
body.ready .hero-title .line:nth-child(2) > * { transition-delay: .1s; }
body.ready .hero-title .line:nth-child(3) > * { transition-delay: .2s; }
html[lang="ar"] .hero-title { line-height: 1.15; font-size: clamp(52px, 9vw, 150px); font-weight: 300; }

.ribbon { position: relative; height: clamp(200px, 32vh, 360px); perspective: 1400px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; align-self: center; }
.ribbon.drag { cursor: grabbing; }
.ribbon-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.ribbon-card {
  position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 4 / 3; margin-left: calc(var(--w) / -2);
  border-radius: 4px; overflow: hidden; background: var(--bg-3); will-change: transform;
  opacity: 0; transition: opacity 1s;
}
body.ready .ribbon-card { opacity: 1; }
.ribbon-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1s var(--ease), filter .6s; filter: grayscale(.15) brightness(.88); }
.ribbon-card:hover img { transform: scale(1.06); filter: none; }
.ribbon-card span {
  position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; font: 400 22px/1.1 var(--display);
  background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .4s;
}
.ribbon-card:hover span { opacity: 1; }
.hero-foot { padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: end; gap: 24px; color: var(--ink-2); font-size: 15px; }
.hero-foot p { margin: 0; max-width: 360px; }
.scroll-link { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; letter-spacing: .04em; }
.scroll-link i { font-style: normal; display: inline-block; animation: bob 2s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0 var(--gutter); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.numbers > div { padding: 40px 24px 44px 0; }
.numbers > div + div { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.numbers b { font: 400 clamp(56px, 7vw, 108px)/1 var(--display); display: flex; align-items: flex-start; }
.numbers sup { font-size: .4em; color: var(--accent); margin-inline-start: 4px; top: .2em; position: relative; }
.numbers p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Section heads ---------- */
section { position: relative; }
.work, .about, .process, .contact { padding: clamp(90px, 13vw, 180px) var(--gutter) 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .label { grid-column: 1 / -1; }
.section-head h2, .about h2, .contact h2 { font: 400 clamp(48px, 7vw, 112px)/.95 var(--display); letter-spacing: -.015em; }
html[lang="ar"] .section-head h2, html[lang="ar"] .about h2, html[lang="ar"] .contact h2 { line-height: 1.25; font-size: clamp(38px, 5.4vw, 84px); font-weight: 300; }
h2 em { color: var(--accent); }

.view-toggle { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; }
.view-toggle button { padding: 8px 18px; border-radius: 999px; font-size: 13px; color: var(--ink-2); transition: .3s; }
.view-toggle button.on { background: var(--ink); color: var(--bg); }

/* ---------- Work index: list ---------- */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.index li { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 64px 1fr 220px 90px; align-items: center; gap: 20px;
  padding: 26px 0; width: 100%; text-align: start; position: relative;
}
.row::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: -1; }
.row-num { font: 500 12px var(--sans); color: var(--ink-3); transition: color .3s; }
.row-title { font: 400 clamp(36px, 5.2vw, 84px)/1 var(--display); letter-spacing: -.01em; transition: transform .6s var(--ease), color .3s; }
html[lang="ar"] .row-title { font-size: clamp(28px, 3.8vw, 60px); line-height: 1.3; font-weight: 400; }
.row-loc, .row-count { font-size: 14px; color: var(--ink-2); transition: color .3s; }
.row-count { text-align: end; }
.row-thumb { display: none; }
@media (hover: hover) {
  .row:hover::before { transform: scaleY(1); }
  .row:hover .row-title { color: var(--bg); transform: translateX(14px); font-style: italic; }
  html[dir="rtl"] .row:hover .row-title { transform: translateX(-14px); }
  .row:hover .row-num, .row:hover .row-loc, .row:hover .row-count { color: var(--bg); }
}
.cursor-preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: 340px; aspect-ratio: 4/3; pointer-events: none;
  border-radius: 4px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85);
  transition: opacity .35s, transform .5s var(--ease);
}
.cursor-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Work index: grid ---------- */
.index.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 18px; border: 0; }
.index.grid li { border: 0; }
.index.grid .row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "thumb thumb" "title count" "loc loc"; gap: 6px 12px; padding: 0; }
.index.grid .row::before { display: none; }
.index.grid .row-num { display: none; }
.index.grid .row-thumb { display: block; grid-area: thumb; aspect-ratio: 4/3; overflow: hidden; border-radius: 3px; margin-bottom: 12px; background: var(--bg-3); }
.index.grid .row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.index.grid .row:hover .row-thumb img { transform: scale(1.05); }
.index.grid .row-title { grid-area: title; font-size: clamp(26px, 2.4vw, 36px); color: var(--ink) !important; transform: none !important; }
.index.grid .row-loc { grid-area: loc; color: var(--ink-2) !important; }
.index.grid .row-count { grid-area: count; align-self: center; color: var(--ink-2) !important; }

/* ---------- Clients ---------- */
.clients { padding: clamp(90px, 12vw, 160px) 0 0; text-align: center; }
.clients .label { margin-bottom: 26px; }
.marquee { overflow: hidden; direction: ltr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 400 clamp(32px, 4vw, 58px)/1 var(--display); padding: 0 clamp(22px, 2.6vw, 44px); color: var(--ink-2); white-space: nowrap; transition: color .3s; }
.marquee-track span:hover { color: var(--ink); font-style: italic; }
.marquee-track span::after { content: "✦"; font-size: .32em; color: var(--accent); margin-inline-start: clamp(44px, 5.2vw, 88px); vertical-align: middle; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 var(--gutter); align-items: end; }
.about-img { grid-column: 1 / 3; aspect-ratio: 4/5; overflow: hidden; border-radius: 3px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 1s; }
.about-img:hover img { filter: none; }
.about-text { grid-column: 3 / 7; display: grid; gap: 22px; }
.about-text h2 { margin-bottom: 6px; }
.about-text p { margin: 0; color: var(--ink-2); max-width: 620px; font-size: 17px; }
.about-text p.big { color: var(--ink); font: 400 clamp(24px, 2.4vw, 34px)/1.25 var(--display); max-width: 760px; }
html[lang="ar"] .about-text p.big { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.6; font-weight: 300; }

/* ---------- Process ---------- */
.process ol { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.process li { padding: 30px 26px 10px 0; }
.process li + li { padding-inline-start: 26px; border-inline-start: 1px solid var(--line); }
.process b { font: 500 12px var(--sans); color: var(--accent); }
.process h3 { font: 400 clamp(28px, 2.6vw, 40px)/1.1 var(--display); margin: 22px 0 12px; }
html[lang="ar"] .process h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.4; }
.process p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- Contact / brief ---------- */
.contact-head { margin-bottom: 50px; display: grid; gap: 20px; }
.brief { display: grid; gap: 34px; }
.sentence { margin: 0; font: 400 clamp(26px, 3.3vw, 50px)/1.6 var(--display); color: var(--ink-2); max-width: 1200px; }
html[lang="ar"] .sentence { font-size: clamp(21px, 2.5vw, 38px); line-height: 1.9; font-weight: 300; }
.sentence input {
  font: inherit; color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 0 4px; margin: 0 .15em; outline: none; min-width: 3ch; max-width: 100%; transition: border-color .3s;
  field-sizing: content;
}
.sentence input + span { margin-inline-start: -.2em; }
.sentence input::placeholder { color: var(--ink-3); font-style: italic; }
html[lang="ar"] .sentence input::placeholder { font-style: normal; }
.sentence input:focus { border-color: var(--accent); }
.needs { display: grid; gap: 12px; max-width: 1200px; }
.needs textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; color: var(--ink);
  font: 400 17px/1.6 var(--sans); padding: 18px 20px; outline: none; resize: vertical; min-height: 140px; transition: border-color .3s;
}
.needs textarea:focus { border-color: var(--accent); }
.needs textarea::placeholder { color: var(--ink-3); }
.invalid { border-color: #d0806f !important; }
.brief-foot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; padding-top: 30px; border-top: 1px solid var(--line); }
.draft { background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px; }
.draft pre { margin: 10px 0 0; white-space: pre-wrap; font: 400 14px/1.7 var(--sans); color: var(--ink-2); min-height: 80px; }
.brief-actions { display: grid; gap: 14px; justify-items: start; }
.btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 20px 34px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: 15px; letter-spacing: .02em; transition: transform .4s var(--ease), background .3s;
}
.btn i { font-style: normal; transition: transform .4s var(--ease); }
.btn:hover { background: var(--accent); }
.btn:hover i { transform: translateX(6px); }
html[dir="rtl"] .btn i { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover i { transform: scaleX(-1) translateX(6px); }
.btn-ghost { background: none; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.form-error { margin: 0; color: #e3917f; font-size: 14px; min-height: 1em; }
.note { margin: 0; color: var(--ink-3); font-size: 13px; max-width: 380px; }
.sent { padding: 60px 0; display: grid; gap: 14px; justify-items: start; }
.sent h3 { font: 400 clamp(48px, 6vw, 90px)/1 var(--display); color: var(--accent); }
.sent p { margin: 0 0 16px; color: var(--ink-2); font-size: 18px; }
.direct { margin-top: clamp(70px, 9vw, 120px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.direct a { padding: 22px 20px 26px 0; display: grid; gap: 6px; transition: color .3s; }
.direct a + a { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.direct a:hover { color: var(--accent); }
.direct span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
html[lang="ar"] .direct span { letter-spacing: 0; font-size: 13px; }
.direct b { font-weight: 400; font-size: 16px; direction: ltr; unicode-bidi: plaintext; word-break: break-word; }

/* ---------- Footer ---------- */
.footer { padding: clamp(110px, 15vw, 200px) var(--gutter) 30px; }
.footer-cta { display: block; font: 400 clamp(56px, 10vw, 170px)/.92 var(--display); letter-spacing: -.02em; transition: color .4s; }
.footer-cta em { color: var(--accent); display: block; }
.footer-cta:hover { color: var(--accent); }
.footer-cta:hover em { color: var(--ink); }
html[lang="ar"] .footer-cta { line-height: 1.25; font-size: clamp(44px, 7.6vw, 130px); font-weight: 300; }
.footer-row { margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.footer-row p { margin: 0; }
.footer-logo { height: 40px; width: auto; filter: url(#logoWhite); }

/* ---------- Project view ---------- */
.project { position: fixed; inset: 0; z-index: 80; background: var(--bg); visibility: hidden; outline: none; }
.project.open { visibility: visible; }
.project-bar {
  position: absolute; inset: 0 0 auto; z-index: 3; height: 76px; padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: center; pointer-events: none;
}
.project-bar > * { pointer-events: auto; }
.project-close {
  display: inline-flex; gap: 10px; align-items: center; height: 42px; padding: 0 20px; border-radius: 999px;
  background: rgba(12,12,11,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); font-size: 13px; transition: background .3s, color .3s;
}
.project-close:hover { background: var(--ink); color: var(--bg); }
.project-close i { font-style: normal; }
html[dir="rtl"] .project-close i { transform: scaleX(-1); }
.project-count { font-size: 12px; letter-spacing: .14em; color: var(--ink-2); background: rgba(12,12,11,.55); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(10px); }
.project-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; }
.project-hero { position: relative; height: 92svh; min-height: 480px; overflow: hidden; }
.project-hero img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.project.open .project-hero img { transform: none; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 60%, rgba(12,12,11,1) 100%); }
.project-hero-text { position: absolute; z-index: 1; inset: auto var(--gutter) 40px; display: grid; gap: 14px; }
.project-hero-text h2 { font: 400 clamp(64px, 12vw, 210px)/.88 var(--display); letter-spacing: -.02em; }
html[lang="ar"] .project-hero-text h2 { line-height: 1.2; font-size: clamp(48px, 8vw, 140px); font-weight: 300; }
.project-intro { padding: 60px var(--gutter) 70px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 var(--gutter); }
.project-intro .label { grid-column: 1 / 3; padding-top: 10px; }
.project-intro p:last-child { grid-column: 3 / 7; margin: 0; font: 400 clamp(22px, 2.3vw, 34px)/1.35 var(--display); }
html[lang="ar"] .project-intro p:last-child { font-size: clamp(18px, 1.7vw, 25px); line-height: 1.8; font-weight: 300; }
.project-photos { padding: 0 var(--gutter); display: grid; gap: clamp(14px, 1.8vw, 26px); }
.ph-row { display: grid; gap: clamp(14px, 1.8vw, 26px); }
.ph-row.pair { grid-template-columns: 1fr 1fr; }
.ph-row.single-portrait { grid-template-columns: repeat(6, 1fr); }
.ph-row.single-portrait .ph { grid-column: 2 / 6; }
.ph-row.single-portrait:nth-child(4n+3) .ph { grid-column: 3 / 7; }
.ph { overflow: hidden; border-radius: 3px; background: var(--bg-3); cursor: zoom-in; position: relative; }
.ph img { width: 100%; height: auto; opacity: 0; transform: scale(1.04); transition: opacity 1s, transform 1.4s var(--ease); }
.ph.in img { opacity: 1; transform: none; }
.project-next { display: block; margin: clamp(90px, 12vw, 160px) 0 0; padding: 70px var(--gutter) 90px; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.project-next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; transform: scale(1.05); transition: opacity .6s, transform 1.4s var(--ease); }
.project-next:hover img { opacity: .5; transform: none; }
.project-next .label, .project-next b { position: relative; }
.project-next b { display: block; margin-top: 12px; font: 400 clamp(56px, 9vw, 150px)/.95 var(--display); }
html[lang="ar"] .project-next b { line-height: 1.25; font-size: clamp(40px, 6.4vw, 110px); font-weight: 300; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(8,8,7,.97); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; transition: filter .4s; }
.lightbox img.loading { filter: blur(2px); }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 12px; letter-spacing: .14em; color: var(--ink-2); }
.lb-close { position: absolute; top: 18px; right: 24px; font-size: 38px; line-height: 1; color: var(--ink); opacity: .7; }
html[dir="rtl"] .lb-close { right: auto; left: 24px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 26px; line-height: 1; transition: background .3s; }
.lb-nav:hover, .lb-close:hover { background: rgba(255,255,255,.1); opacity: 1; }
.lb-prev { left: 22px; } .lb-next { right: 22px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .row { grid-template-columns: 48px 1fr 160px 70px; }
  .index.grid { grid-template-columns: 1fr 1fr; }
  .process ol { grid-template-columns: 1fr 1fr; }
  .process li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .process li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .direct { grid-template-columns: 1fr 1fr; }
  .direct a:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .direct a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .menu-inner { grid-template-columns: 1fr; align-content: end; }
}
@media (max-width: 760px) {
  :root { --cols: 4; }
  .grid-lines i:nth-child(n+5), .curtain i:nth-child(n+5), .menu-cols i:nth-child(n+5) { display: none; }
  .header { height: 70px; grid-template-columns: 1fr auto; }
  .header-links { display: none; }
  .logo img { height: 38px; }
  .menu-label { display: none; }
  .menu-toggle { padding: 0 6px; }
  .menu-inner { padding-top: 110px; }
  .menu-projects { display: none; }
  .menu-side .label:first-child { display: none; }
  .hero { padding-top: 110px; }
  .hero-title .line:nth-child(2) { padding-inline-start: 0; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .numbers { grid-template-columns: 1fr; }
  .numbers > div + div { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .numbers > div { padding: 28px 0; }
  .section-head { grid-template-columns: 1fr; }
  .row { grid-template-columns: 76px 1fr; grid-template-areas: "thumb title" "thumb meta"; gap: 4px 16px; padding: 16px 0; }
  .row-num { display: none; }
  .row-thumb { display: block; grid-area: thumb; width: 76px; height: 76px; border-radius: 3px; overflow: hidden; }
  .row-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .row-title { grid-area: title; font-size: 30px; align-self: end; }
  .row-loc { grid-area: meta; align-self: start; }
  .row-count { display: none; }
  .index.grid { grid-template-columns: 1fr; }
  .index.grid .row { grid-template-columns: 1fr auto; grid-template-areas: "thumb thumb" "title count" "loc loc"; }
  .index.grid .row-thumb { width: auto; height: auto; }
  .index.grid .row-count { display: block; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about-img, .about-text { grid-column: auto; }
  .about-img { max-width: 360px; }
  .process ol { grid-template-columns: 1fr; }
  .process li, .process li + li { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .process li:first-child { border-top: 0; }
  .brief-foot { grid-template-columns: 1fr; }
  .direct { grid-template-columns: 1fr; }
  .direct a, .direct a + a { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .direct a:first-child { border-top: 0; }
  .project-intro { grid-template-columns: 1fr; gap: 16px; padding-top: 34px; }
  .project-intro .label, .project-intro p:last-child { grid-column: auto; }
  .ph-row.pair { grid-template-columns: 1fr; }
  .ph-row.single-portrait .ph, .ph-row.single-portrait:nth-child(4n+3) .ph { grid-column: 1 / -1; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 70px); } .lb-next { right: calc(50% - 70px); }
  .lb-count { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .ph img { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Brief form: steps, options, files
   ========================================================= */
.step { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.step::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step-n { font: 400 30px/1 var(--display); color: var(--accent); }
.opts { display: grid; gap: 26px; }
.opt-group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.opt-group legend { width: 100%; padding: 0; margin-bottom: 12px; font-size: 14px; color: var(--ink-2); }
.opt-group.invalid legend { color: #e3917f; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.opt span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); transition: background .25s, box-shadow .25s; }
.opt:hover span { color: var(--ink); border-color: var(--ink-2); }
.opt input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.opt input:checked + span::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(201,164,106,.25); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt:active span { transform: scale(.96); }
.needs textarea { min-height: 120px; }

.files { display: grid; gap: 14px; max-width: 1200px; }
.drop {
  position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 38px 20px;
  border: 1px dashed var(--line-2); border-radius: 6px; cursor: pointer; transition: border-color .3s, background .3s;
}
.drop:hover, .drop.over { border-color: var(--accent); background: rgba(201,164,106,.05); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 22px; color: var(--accent); margin-bottom: 6px; transition: transform .4s var(--ease); }
.drop:hover .drop-icon, .drop.over .drop-icon { transform: rotate(90deg); }
.drop b { font-weight: 400; font-size: 17px; }
.drop small { color: var(--ink-3); font-size: 13px; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-list:empty { display: none; }
.file-list li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; }
.fl-ext { font: 500 10px/1 var(--sans); letter-spacing: .08em; padding: 6px 7px; border-radius: 3px; background: var(--accent); color: var(--bg); }
.file-list b { font-weight: 400; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list small { color: var(--ink-3); font-size: 12px; }
.file-list button { width: 28px; height: 28px; border-radius: 50%; font-size: 18px; color: var(--ink-2); transition: background .2s; }
.file-list button:hover { background: var(--bg-3); color: var(--ink); }
.link-input { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font: 400 15px/1.5 var(--sans); padding: 10px 0; outline: none; }
.link-input:focus { border-color: var(--accent); }
.link-input::placeholder { color: var(--ink-3); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn.busy i { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sent { padding: 40px 0; }
.sent .label { color: var(--accent); }
.sent-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Photographer touches: viewfinder cursor + shutter
   ========================================================= */
body.vf-on .ph, body.vf-on .ribbon-card, body.vf-on .row-thumb, body.vf-on .project-hero { cursor: none; }
.viewfinder {
  position: fixed; left: 0; top: 0; z-index: 85; width: 0; height: 0; pointer-events: none;
  opacity: 0; transition: opacity .25s;
}
.viewfinder.on { opacity: 1; }
.vf-c { position: absolute; width: 18px; height: 18px; border: 0 solid var(--ink); transition: transform .45s var(--ease), border-color .3s; filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); }
.vf-c.tl { left: -44px; top: -32px; border-width: 1.5px 0 0 1.5px; }
.vf-c.tr { right: -44px; top: -32px; border-width: 1.5px 1.5px 0 0; }
.vf-c.bl { left: -44px; bottom: -32px; border-width: 0 0 1.5px 1.5px; }
.vf-c.br { right: -44px; bottom: -32px; border-width: 0 1.5px 1.5px 0; }
.vf-x { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); }
.vf-x::before, .vf-x::after { content: ""; position: absolute; background: var(--ink); }
.vf-x::before { left: 6.5px; top: 0; width: 1px; height: 14px; }
.vf-x::after { top: 6.5px; left: 0; height: 1px; width: 14px; }
.vf-label {
  position: absolute; left: -44px; top: 42px; white-space: nowrap; font: 500 10px/1 var(--sans); letter-spacing: .14em;
  color: var(--ink); text-shadow: 0 0 6px rgba(0,0,0,.8);
}
.viewfinder.focus .vf-c { animation: af .55s var(--ease); border-color: var(--accent); }
.viewfinder.focus .vf-label { animation: blink .55s steps(2) 1; }
@keyframes af { 0% { transform: scale(1.5); } 60% { transform: scale(.82); } 100% { transform: scale(1); } }
@keyframes blink { 50% { opacity: 0; } }
.viewfinder.click .vf-c { animation: press .35s var(--ease); }
@keyframes press { 50% { transform: scale(.7); } }

.shutter { position: fixed; inset: 0; z-index: 99; pointer-events: none; display: grid; grid-template-columns: repeat(var(--cols), 1fr); }
.shutter i { background: #000; transform: scaleY(0); }
.shutter.snap i { animation: blade .85s var(--ease-io) both; }
.shutter.snap::after { content: ""; position: fixed; inset: 0; background: #fff; animation: flash .85s ease-out both; }
.shutter i:nth-child(odd) { transform-origin: top; } .shutter i:nth-child(even) { transform-origin: bottom; }
@keyframes blade { 0% { transform: scaleY(0); } 40%, 55% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes flash { 0%, 45% { opacity: 0; } 55% { opacity: .9; } 100% { opacity: 0; } }

@media (max-width: 760px) {
  .shutter i:nth-child(n+5) { display: none; }
  .opt span { padding: 10px 16px; font-size: 14px; }
  .file-list li { grid-template-columns: auto 1fr auto; }
  .file-list small { display: none; }
}

[hidden] { display: none !important; }

/* ---------- Header: Request a shoot button ---------- */
.header-cta {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 20px; border-radius: 999px;
  background: var(--accent); color: var(--bg); font-size: 14px; font-weight: 500; letter-spacing: .02em;
  transition: background .3s, transform .3s var(--ease);
}
.header-cta:hover { background: var(--ink); transform: translateY(-1px); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--bg); position: relative; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--bg); opacity: .6; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
body.menu-open .header-cta { opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .header-cta { height: 36px; padding: 0 14px; font-size: 13px; gap: 8px; }
  .header-tools { gap: 8px; }
}
@media (max-width: 380px) { .header-cta .dot-live { display: none; } .header-cta { padding: 0 12px; } }

/* moved from inline styles (keeps the Content-Security-Policy strict) */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
figure.ph { margin: 0; }

/* =========================================================
   Projects: image-only grid with a camera "focus pull" reveal
   ========================================================= */
.tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense;
  grid-auto-rows: calc((100vw - 2 * var(--gutter) - 3 * 14px) / 4 * .78); gap: 14px;
}
.tile { position: relative; overflow: hidden; border-radius: 3px; background: var(--bg-3); display: block; isolation: isolate; }
.tile.big  { grid-column: span 2; grid-row: span 2; }
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(16px) saturate(.4) brightness(.7); transform: scale(1.14);
  transition: filter 1.1s var(--ease), transform 1.6s var(--ease);
}
.tile.in img { filter: none; transform: none; }
@media (hover: hover) { .tile.in:hover img { transform: scale(1.05); filter: brightness(1.05); } }
/* focus brackets: appear big, snap tight and turn gold, then fade */
.tile .af { position: absolute; z-index: 2; width: 22px; height: 22px; border: 0 solid #fff; opacity: 0; pointer-events: none; }
.tile .af.tl { left: 14px; top: 14px; border-width: 2px 0 0 2px; }
.tile .af.tr { right: 14px; top: 14px; border-width: 2px 2px 0 0; }
.tile .af.bl { left: 14px; bottom: 14px; border-width: 0 0 2px 2px; }
.tile .af.br { right: 14px; bottom: 14px; border-width: 0 2px 2px 0; }
.tile.in .af { animation: afSnap 1.4s var(--ease) both; }
@keyframes afSnap {
  0%   { opacity: 0; transform: scale(2.2); border-color: #fff; }
  35%  { opacity: 1; transform: scale(.85); border-color: #fff; }
  55%  { opacity: 1; transform: scale(1); border-color: var(--accent); }
  80%  { opacity: 1; border-color: var(--accent); }
  100% { opacity: 0; transform: scale(1); border-color: var(--accent); }
}
.tile-hud {
  position: absolute; z-index: 2; left: 16px; bottom: 14px; display: flex; gap: 10px; align-items: center;
  font: 500 10px/1 var(--sans); letter-spacing: .16em; color: #fff; text-shadow: 0 0 8px rgba(0,0,0,.8);
  opacity: 0; transition: opacity .4s;
}
html[dir="rtl"] .tile-hud { left: auto; right: 16px; direction: ltr; }
.tile-hud b { font-weight: 500; color: var(--accent); }
.tile.in .tile-hud { animation: hudBlink 1.4s steps(1) both; }
@keyframes hudBlink { 0%, 30% { opacity: 0; } 31%, 45% { opacity: 1; } 46%, 52% { opacity: 0; } 53%, 80% { opacity: 1; } 100% { opacity: 0; } }
@media (hover: hover) { .tile.in:hover .tile-hud { animation: none; opacity: 1; } .tile.in:hover .af { animation: none; opacity: 1; border-color: var(--accent); } }
/* shutter flash when the photo locks focus */
.tile::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #fff; opacity: 0; pointer-events: none; }
.tile.in::after { animation: tileFlash .9s ease-out .45s both; }
@keyframes tileFlash { 0% { opacity: 0; } 12% { opacity: .55; } 100% { opacity: 0; } }
/* tap / click: quick shutter close before opening the project */
.tile.snap::after { animation: tileSnap .5s ease-out both; }
@keyframes tileSnap { 0% { opacity: 0; } 30% { opacity: .9; } 100% { opacity: 0; } }

@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(3, 1fr); grid-auto-rows: calc((100vw - 2 * var(--gutter) - 2 * 12px) / 3 * .8); gap: 12px; }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: calc((100vw - 2 * var(--gutter) - 10px) / 2 * .9); gap: 10px; }
  .tile.wide { grid-column: span 2; }
  .tile .af { width: 16px; height: 16px; }
  .tile .af.tl, .tile .af.bl { left: 10px; } .tile .af.tr, .tile .af.br { right: 10px; }
  .tile .af.tl, .tile .af.tr { top: 10px; } .tile .af.bl, .tile .af.br { bottom: 10px; }
  .tile-hud { left: 12px; bottom: 11px; font-size: 9px; }
}

/* =========================================================
   Hero: camera viewfinder HUD over the moving strip
   ========================================================= */
.hud { position: absolute; inset: -14px max(var(--gutter), 6vw); z-index: 150; pointer-events: none; }
.hud-c { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(238,234,227,.85); }
.hud-c.tl { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; }
.hud-c.tr { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; }
.hud-c.bl { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; }
.hud-c.br { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.hud-thirds {
  position: absolute; inset: 0; opacity: .14;
  background:
    linear-gradient(90deg, transparent calc(33.33% - .5px), #fff calc(33.33% - .5px), #fff calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), #fff calc(66.66% - .5px), #fff calc(66.66% + .5px), transparent calc(66.66% + .5px)),
    linear-gradient(180deg, transparent calc(33.33% - .5px), #fff calc(33.33% - .5px), #fff calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), #fff calc(66.66% - .5px), #fff calc(66.66% + .5px), transparent calc(66.66% + .5px));
}
.hud-focus {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px;
  border: 1.5px solid var(--accent); border-radius: 2px; animation: hudAF 3.2s var(--ease) infinite;
}
@keyframes hudAF {
  0%, 100% { transform: scale(1.35); border-color: rgba(238,234,227,.8); }
  18% { transform: scale(.92); border-color: var(--accent); }
  26%, 70% { transform: scale(1); border-color: var(--accent); }
}
.hud-t { position: absolute; font: 500 10px/1 var(--sans); letter-spacing: .18em; color: rgba(238,234,227,.9); text-shadow: 0 0 8px rgba(0,0,0,.7); direction: ltr; }
.hud-tl { left: 46px; top: 12px; display: flex; align-items: center; gap: 6px; }
.hud-tr { right: 46px; top: 12px; }
.hud-bl { left: 46px; bottom: 12px; font-variant-numeric: tabular-nums; }
.hud-br { right: 46px; bottom: 12px; color: var(--accent); }
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blinkDot 1.2s steps(2) infinite; }
@keyframes blinkDot { 50% { opacity: 0; } }
@media (max-width: 760px) {
  .hud { inset: -10px 12px; }
  .hud-c { width: 22px; height: 22px; }
  .hud-t { font-size: 8.5px; letter-spacing: .14em; }
  .hud-tl, .hud-bl { left: 30px; } .hud-tr, .hud-br { right: 30px; }
  .hud-focus { width: 48px; height: 34px; margin: -17px 0 0 -24px; }
}

/* hero title: slightly smaller so the new, longer line fits */
.hero-title { font-size: clamp(52px, min(8.4vw, 14vh), 150px); }
@media (max-width: 760px) { .hero-title { font-size: clamp(42px, 12.5vw, 64px); } }

/* =========================================================
   Camera effects removed: plain, clean fade-in for project tiles
   (overrides the earlier focus / flash rules above)
   ========================================================= */
.tile img { filter: none; transform: none; opacity: 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.tile.in img { opacity: 1; }
@media (hover: hover) { .tile.in:hover img { transform: scale(1.04); filter: none; } }
.tile::after, .tile.in::after, .tile.snap::after { content: none; animation: none; }
.tile .af, .tile-hud, .hud, .viewfinder, .shutter { display: none !important; }
body.vf-on .ph, body.vf-on .ribbon-card, body.vf-on .row-thumb, body.vf-on .project-hero, body.vf-on .tile { cursor: pointer; }
.ph { cursor: zoom-in; }

/* =========================================================
   Big centered "Request a shoot" + projects-first layout
   ========================================================= */
.hero-cta { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 6px var(--gutter) 0; }
.hero-cta p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 460px; }
.big-cta {
  display: inline-flex; align-items: center; gap: 16px; padding: 24px 46px; border-radius: 999px;
  background: var(--accent); color: var(--bg); font: 500 clamp(18px, 1.6vw, 22px)/1 var(--sans); letter-spacing: .02em;
  box-shadow: 0 0 0 0 rgba(201,164,106,.55); animation: ctaPulse 2.6s ease-out infinite;
  transition: transform .4s var(--ease), background .3s;
}
.big-cta i { font-style: normal; font-size: 1.15em; transition: transform .4s var(--ease); }
.big-cta:hover { transform: translateY(-3px) scale(1.02); background: var(--ink); }
.big-cta:hover i { transform: translateX(6px); }
html[dir="rtl"] .big-cta i { transform: scaleX(-1); }
html[dir="rtl"] .big-cta:hover i { transform: scaleX(-1) translateX(6px); }
.big-cta .dot-live { background: var(--bg); }
.big-cta .dot-live::after { border-color: var(--bg); }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(201,164,106,.5); } 70% { box-shadow: 0 0 0 22px rgba(201,164,106,0); } 100% { box-shadow: 0 0 0 0 rgba(201,164,106,0); } }
html[lang="ar"] .big-cta { font-size: clamp(19px, 1.7vw, 23px); }

.work { padding-top: clamp(40px, 6vw, 80px); }
.work-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.work-head-cta { font-size: 14px; color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s; }
.work-head-cta:hover { color: var(--ink); }

.cta-band {
  margin: clamp(80px, 11vw, 150px) var(--gutter) 0; padding: clamp(60px, 8vw, 110px) 20px;
  border: 1px solid var(--line-2); border-radius: 8px; text-align: center; display: grid; justify-items: center; gap: 22px;
  background: radial-gradient(ellipse at 50% 120%, rgba(201,164,106,.16), transparent 60%);
}
.cta-band h2 { font: 400 clamp(46px, 7vw, 110px)/.95 var(--display); letter-spacing: -.015em; }
.cta-band h2 em { color: var(--accent); }
html[lang="ar"] .cta-band h2 { line-height: 1.3; font-size: clamp(38px, 5.6vw, 84px); font-weight: 300; }
.cta-types { margin: 0; color: var(--ink-2); font-size: 15px; letter-spacing: .04em; }
.numbers { display: none; }

@media (max-width: 760px) {
  .big-cta { padding: 20px 34px; font-size: 18px; gap: 12px; }
  .hero-cta p { font-size: 14px; }
  .cta-band { border-radius: 6px; }
}
/* keep the big Request button fully visible on the first screen */
.hero { gap: 16px; padding-bottom: 26px; }
.ribbon { height: clamp(170px, 27vh, 320px); }
