/* ===================================================================
   SHAYAN BOUSHEHRI — Photographer & Videographer
   Built on the DASHTIPRO design system: dark warm-black canvas,
   cinematic-orange & gold accents, REC viewfinder, circle nav,
   quote cards and fire effects. Fully responsive · EN / AR (RTL)
   =================================================================== */

:root {
  /* Palette */
  --bg:          #0a0807;
  --bg-2:        #110d0b;
  --bg-card:     #141110;
  --ink:         #f5f0e8;
  --muted:       #9b938a;
  --muted-2:     #6c645c;

  --orange:      #e07b29;
  --orange-2:    #f6a44b;
  --orange-deep: #b85d18;
  --orange-glow: rgba(224, 123, 41, .55);
  --rec:         #ff3b30;

  --line:        rgba(224, 123, 41, .22);
  --hair:        rgba(255, 255, 255, .07);

  /* Type */
  --display: "Bebas Neue", "Oswald", sans-serif;
  --head:    "Oswald", sans-serif;
  --body:    "Montserrat", sans-serif;
  --serif:   "Cormorant Garamond", serif;
  --script:  "Great Vibes", cursive;
  --arabic:  "Tajawal", sans-serif;

  --maxw: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Warm cinematic backdrop wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 18% 12%, rgba(224, 123, 41, .14), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(120, 60, 20, .12), transparent 55%),
    linear-gradient(180deg, #0c0908 0%, #080605 100%);
  z-index: -3;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Film grain + vignette ---------- */
.grain {
  position: fixed; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .045;
  pointer-events: none;
  z-index: 9998;
  animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  10% { transform: translate(-3%,-4%); }
  30% { transform: translate(2%,-2%); }
  50% { transform: translate(-2%,3%); }
  70% { transform: translate(3%,2%); }
  90% { transform: translate(-3%,1%); }
}
.vignette {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9997;
  box-shadow: inset 0 0 220px 60px rgba(0,0,0,.85);
}

/* ---------- Viewfinder corner brackets ---------- */
.viewfinder { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.corner {
  position: absolute; width: 34px; height: 34px;
  border: 2px solid rgba(255,255,255,.45);
}
.corner.tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.corner.br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

/* ---------- Top bar ---------- */
.topbar {
  position: relative; z-index: 60;
  display: flex; align-items: center; gap: 18px;
  padding: 30px clamp(26px, 5vw, 60px) 0;
  font-family: var(--head);
  letter-spacing: .28em; font-size: 12px; text-transform: uppercase;
}
.rec { display: flex; align-items: center; gap: 9px; color: #efe9e0; font-weight: 600; }
.rec__dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--rec); box-shadow: 0 0 10px var(--rec);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{ opacity:1 } 50%{ opacity:.25 } }
.timecode { color: var(--muted-2); font-size: 11px; letter-spacing: .2em; margin-inline-start: auto; }
.badge-4k {
  border: 1px solid var(--hair); border-radius: 4px;
  padding: 3px 7px; font-size: 10px; color: var(--muted); letter-spacing: .15em;
}
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--head); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange-2);
  background: rgba(224,123,41,.08); border: 1px solid var(--line);
  border-radius: 50px; padding: 6px 14px; cursor: pointer;
  transition: .28s ease; line-height: 1;
}
.lang-toggle svg { width: 15px; height: 15px; }
.lang-toggle__txt { min-width: 30px; text-align: center; }
.lang-toggle:hover {
  color: #fff; border-color: var(--orange);
  box-shadow: 0 0 16px var(--orange-glow);
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative; z-index: 10;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(20px, 4vw, 50px) clamp(26px, 5vw, 60px) 30px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  min-height: 74vh;
}

/* Full-bleed cinematic banner behind the hero */
.hero__bg {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover; z-index: 0;
  filter: grayscale(.5) sepia(.3) saturate(1.1) brightness(.34) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
  pointer-events: none;
}
.hero__bg-tint {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 100%;
  transform: translate(-50%, -50%); z-index: 1;
  background:
    radial-gradient(60% 80% at 30% 45%, rgba(224,123,41,.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, transparent 25%, transparent 70%, var(--bg) 100%);
  pointer-events: none;
}

.hero__visual { position: relative; z-index: 2; min-height: 440px; display: flex; align-items: flex-end; justify-content: center; }

.glow {
  position: absolute; top: 50%; left: 46%;
  width: 360px; height: 360px; transform: translate(-50%, -54%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(246,164,75,.95) 0%, rgba(224,123,41,.85) 18%,
    rgba(184,93,24,.45) 42%, rgba(120,60,20,.12) 66%, transparent 75%);
  filter: blur(6px);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ transform: translate(-50%,-54%) scale(1); opacity:.95 } 50%{ transform: translate(-50%,-54%) scale(1.05); opacity:1 } }

.hex {
  position: absolute; top: 50%; left: 46%;
  width: 320px; height: 320px; transform: translate(-50%, -54%);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 0l14 8v16l-14 8L0 24V8z' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 26px 44px;
  opacity: .22; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%);
          mask-image: radial-gradient(circle, #000 55%, transparent 72%);
}

.portrait { position: relative; z-index: 3; width: 100%; max-width: 400px; }
.portrait__silhouette { width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)); }
.portrait img { width: 100%; border-radius: 12px; }

.signature {
  position: absolute; left: -6px; bottom: 40px; z-index: 4;
  font-family: var(--script); font-size: 64px; color: var(--orange-2);
  text-shadow: 0 4px 20px rgba(224,123,41,.5);
  transform: rotate(-6deg);
}

.reel {
  position: absolute; top: 6px; right: -4px; z-index: 2;
  width: clamp(70px, 11vw, 116px); opacity: .8;
  animation: spin 24s linear infinite;
  filter: drop-shadow(0 0 14px rgba(0,0,0,.6));
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero text */
.hero__content { position: relative; z-index: 5; }
.title {
  font-family: var(--display);
  font-size: clamp(60px, 11vw, 132px);
  line-height: .9; letter-spacing: .04em;
  background: linear-gradient(180deg, #ffffff 0%, #cfc8be 48%, #8c857c 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.role {
  font-family: var(--head); font-weight: 500;
  color: var(--orange-2); text-transform: uppercase;
  letter-spacing: .42em; font-size: clamp(14px, 1.8vw, 22px);
  margin: 10px 0 26px;
}
.tagline {
  font-family: var(--body); font-weight: 300;
  text-transform: uppercase; letter-spacing: .26em;
  font-size: clamp(13px, 1.5vw, 17px); color: #e9e3d9; line-height: 1.9;
}
.tagline span { color: var(--orange); font-weight: 500; }

.social {
  display: flex; align-items: center; gap: 14px;
  margin-top: 30px; flex-wrap: wrap;
}
.social__ico {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--orange-2);
  transition: .28s ease;
}
.social__ico svg { width: 19px; height: 19px; fill: currentColor; }
.social__ico:hover {
  color: #fff; border-color: var(--orange);
  box-shadow: 0 0 18px var(--orange-glow);
  transform: translateY(-3px);
}
.social__sep { width: 1px; height: 22px; background: var(--hair); }
.social__handle {
  font-family: var(--head); letter-spacing: .12em; font-size: 15px;
  color: #efe9e0; transition: color .25s;
}
.social__handle:hover { color: var(--orange-2); }

.snap {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px;
}
.snap__ico {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fffc00; box-shadow: 0 0 16px rgba(255,252,0,.35);
}
.snap__ico svg { width: 22px; height: 22px; fill: #0a0807; }
.snap__handle { font-family: var(--head); letter-spacing: .1em; color: #efe9e0; }

/* ===================================================================
   CIRCLE NAV
   =================================================================== */
.circlenav {
  position: relative; z-index: 10;
  max-width: var(--maxw); margin: 10px auto 0;
  padding: 36px clamp(20px, 5vw, 60px) 46px;
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: clamp(8px, 1.5vw, 20px);
  border-top: 1px solid var(--hair);
}
.cnav {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; color: var(--ink);
}
.cnav__ring {
  --size: clamp(56px, 7vw, 78px);
  width: var(--size); height: var(--size); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--orange-2);
  background:
    radial-gradient(circle at 50% 38%, rgba(224,123,41,.18), transparent 70%),
    #100c0a;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), inset 0 0 14px rgba(0,0,0,.6);
  position: relative; transition: .3s ease;
}
.cnav__ring::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid transparent; transition: .3s ease;
}
.cnav__ring svg { width: 46%; height: 46%; }
.cnav__label {
  font-family: var(--head); font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: clamp(9px, 1vw, 11px); color: var(--muted); line-height: 1.35;
  transition: color .3s;
}
.cnav:hover .cnav__ring,
.cnav.is-active .cnav__ring {
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 22px var(--orange-glow), inset 0 0 16px rgba(224,123,41,.25);
  transform: translateY(-4px);
}
.cnav:hover .cnav__ring::after,
.cnav.is-active .cnav__ring::after { border-color: rgba(224,123,41,.4); }
.cnav:hover .cnav__label,
.cnav.is-active .cnav__label { color: #efe9e0; }
.cnav.is-active .cnav__label { position: relative; }
.cnav.is-active .cnav__label::after {
  content: ""; position: absolute; left: 50%; bottom: -8px;
  width: 26px; height: 2px; background: var(--orange);
  transform: translateX(-50%); box-shadow: 0 0 8px var(--orange);
}

/* ===================================================================
   QUOTE GRID
   =================================================================== */
.quotes {
  max-width: var(--maxw); margin: 0 auto;
  padding: 10px clamp(16px, 4vw, 40px) 40px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.6vw, 18px);
}

.card {
  position: relative;
  grid-column: span 4;        /* top two rows: 3 cards across */
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--hair);
  isolation: isolate;
}
/* Bottom row: 4 narrower portrait cards (matches reference) */
.card.tone-quote,
.card.tone-car,
.card.tone-reel,
.card.tone-sunset {
  grid-column: span 3;
  aspect-ratio: 4 / 5;
}

.card__inner {
  position: absolute; inset: 0; z-index: 3;
  padding: clamp(18px, 2.4vw, 30px);
  display: flex; flex-direction: column; justify-content: flex-end;
}

/* Real photo layer — cinematic warm/grayscale treatment, full colour on hover */
.card__img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.4) sepia(.22) saturate(1.1) contrast(1.05) brightness(.74);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
.card:hover .card__img { transform: scale(1.07); filter: grayscale(0) sepia(0) brightness(.95); }

/* Gradient "tone" sits behind the photo as a fallback / load shimmer */
.card--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
/* Legibility overlay above the photo */
.card--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(224,123,41,.12), transparent 45%),
    linear-gradient(180deg, rgba(8,6,5,.1) 0%, rgba(8,6,5,.5) 52%, rgba(8,6,5,.92) 100%);
}

.tone-spot::before    { background: radial-gradient(120% 90% at 75% 10%, rgba(255,240,210,.9), rgba(120,90,50,.5) 30%, #0c0a08 70%); }
.tone-street::before  { background: linear-gradient(180deg, #4a4f55 0%, #2a2d31 45%, #0d0e10 100%); }
.tone-profile::before { background: radial-gradient(110% 100% at 18% 50%, rgba(246,164,75,.85), rgba(140,70,25,.5) 35%, #0b0907 75%); }
.tone-tripod::before  { background: linear-gradient(160deg, #3a3a40 0%, #1c1c20 50%, #090807 100%); }
.tone-quote::before   { background: linear-gradient(150deg, #1a1512 0%, #100c0a 100%); }
.tone-car::before     { background: radial-gradient(90% 80% at 60% 70%, rgba(255,60,40,.45), rgba(30,20,25,.7) 40%, #070506 80%); }
.tone-reel::before    { background: conic-gradient(from 0deg at 65% 50%, #2a2520, #14110e, #2a2520, #100d0a, #2a2520); }
.tone-sunset::before  { background: linear-gradient(180deg, #c8732f 0%, #7a4a26 30%, #2a1d16 65%, #0a0706 100%); }
.tone-dark { background: linear-gradient(160deg, #141110 0%, #0c0908 100%); }

/* Quote typography */
.q {
  font-family: var(--display);
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.04; letter-spacing: .04em;
  text-transform: uppercase; color: #f3ede3;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
}
.q span { color: var(--orange); }
.q.ar {
  font-family: var(--arabic); direction: rtl;
  text-transform: none; letter-spacing: 0;
  font-weight: 500; line-height: 1.5;
  font-size: clamp(22px, 2.6vw, 34px);
}
.q.serif {
  font-family: var(--serif); text-transform: none;
  font-weight: 600; font-size: clamp(24px, 3vw, 38px);
  letter-spacing: .01em; line-height: 1.12;
}
.q-sub {
  margin-top: 12px;
  font-family: var(--head); font-weight: 300;
  text-transform: uppercase; letter-spacing: .26em;
  font-size: clamp(9px, 1vw, 11px); color: var(--muted);
}
.quotemark {
  font-family: var(--serif); font-size: 70px; line-height: .2;
  color: var(--orange); height: 28px; margin-bottom: 6px;
}
.bar { display: block; width: 46px; height: 2px; background: var(--orange); margin-top: 18px; opacity: .85; }

.wm {
  position: absolute; left: clamp(18px, 2.4vw, 30px); bottom: clamp(14px, 1.8vw, 22px);
  font-family: var(--head); font-weight: 500;
  letter-spacing: .35em; font-size: 9px; color: rgba(245,240,232,.5);
}
.card__inner .wm { position: static; margin-top: 18px; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact {
  max-width: 760px; margin: 30px auto 0;
  padding: clamp(50px, 9vw, 110px) 24px;
  text-align: center;
}
.contact__eyebrow {
  font-family: var(--head); text-transform: uppercase;
  letter-spacing: .3em; font-size: 12px; color: var(--orange-2); margin-bottom: 18px;
}
.contact__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 7vw, 78px); line-height: 1; letter-spacing: .02em;
  color: #f3ede3;
}
.contact__title span { color: var(--orange); }
.contact__cta {
  display: inline-block; margin-top: 34px;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .2em;
  font-size: 14px; color: #0a0807;
  background: linear-gradient(180deg, var(--orange-2), var(--orange-deep));
  padding: 16px 40px; border-radius: 50px;
  box-shadow: 0 10px 30px rgba(224,123,41,.35);
  transition: .3s ease;
}
.contact__cta:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(224,123,41,.5); }
.contact__socials {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px;
  margin-top: 44px;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .16em;
  font-size: 12px; color: var(--muted);
}
.contact__socials a { transition: color .25s; }
.contact__socials a:hover { color: var(--orange-2); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--hair);
  padding: 26px clamp(26px, 5vw, 60px);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .16em;
  font-size: 11px; color: var(--muted-2);
}
.footer__mid { color: var(--orange-2); }

/* ===================================================================
   Reveal on scroll
   =================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   ARABIC  +  RTL
   =================================================================== */
/* Arabic typography — switch to Arabic face, kill letter-spacing
   (it breaks Arabic letter-joining) and the uppercase transform. */
body.is-ar .role,
body.is-ar .tagline,
body.is-ar .cnav__label,
body.is-ar .q,
body.is-ar .q-sub,
body.is-ar .contact__eyebrow,
body.is-ar .contact__title,
body.is-ar .contact__cta,
body.is-ar .footer__mid,
body.is-ar .footer span[data-en] {
  font-family: var(--arabic);
  letter-spacing: 0 !important;
  text-transform: none;
}
body.is-ar .q { line-height: 1.5; font-weight: 500; }
body.is-ar .role { font-weight: 700; letter-spacing: .12em !important; }
body.is-ar .tagline { line-height: 2; font-weight: 400; }

/* Layout mirroring */
[dir="rtl"] .hero__content { text-align: right; }
[dir="rtl"] .card__inner { text-align: right; }
[dir="rtl"] .signature { left: auto; right: -6px; transform: rotate(6deg); }
[dir="rtl"] .reel { right: auto; left: -4px; }
[dir="rtl"] .wm { left: auto; right: clamp(18px, 2.4vw, 30px); }
[dir="rtl"] .card__inner .wm { right: auto; }

@media (max-width: 980px) {
  [dir="rtl"] .hero__content { text-align: center; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; gap: 10px; }
  .hero__visual { order: -1; min-height: 360px; }
  .role, .tagline { margin-left: auto; margin-right: auto; }
  .social, .snap { justify-content: center; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card,
  .card.tone-quote, .card.tone-car, .card.tone-reel, .card.tone-sunset {
    grid-column: auto; aspect-ratio: 1 / 1;
  }
}

@media (max-width: 760px) {
  /* Nav becomes one horizontal, swipeable row (no wrapping) */
  .circlenav {
    display: flex; flex-wrap: nowrap; justify-content: flex-start;
    gap: 20px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;            /* Firefox */
    padding: 30px clamp(16px, 5vw, 40px) 38px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }
  .circlenav::-webkit-scrollbar { display: none; } /* Chrome/Safari */
  .cnav { flex: 0 0 auto; width: 92px; scroll-snap-align: center; }
  .cnav__ring { --size: 64px; }
  .timecode, .badge-4k { display: none; }
  .footer { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .corner { width: 22px; height: 22px; }
  .corner.tl,.corner.tr { top: 12px; } .corner.tl,.corner.bl { left: 12px; }
  .corner.tr,.corner.br { right: 12px; } .corner.bl,.corner.br { bottom: 12px; }
  .grid { grid-template-columns: 1fr; }
  .card,
  .card.tone-quote, .card.tone-car, .card.tone-reel, .card.tone-sunset {
    grid-column: auto; aspect-ratio: 16 / 11;
  }
  .signature { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .glow, .reel, .rec__dot { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   INNER PAGES  (Projects, Filmmaking, Contact, …)
   =================================================================== */
.brand {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: max-content; margin: 8px auto 0; position: relative; z-index: 10;
}
.brand__name {
  font-family: var(--display); font-size: clamp(30px, 5vw, 48px); letter-spacing: .08em;
  background: linear-gradient(180deg, #fff 0%, #cfc8be 55%, #8c857c 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand__role {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .42em;
  font-size: 11px; color: var(--orange-2); margin-top: 2px;
}
.inner-nav { margin-top: 14px; border-top: 0; }

/* Page header banner */
.pagehead {
  position: relative; max-width: var(--maxw); margin: 4px auto 0;
  padding: clamp(44px, 7vw, 96px) clamp(26px, 5vw, 56px);
  border-radius: var(--radius); overflow: hidden;
}
.pagehead__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  filter: grayscale(.5) sepia(.28) brightness(.4) contrast(1.05);
}
.pagehead__tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(80% 110% at 18% 25%, rgba(224,123,41,.22), transparent 60%),
    linear-gradient(180deg, rgba(8,6,5,.45), rgba(8,6,5,.86));
}
.pagehead__content { position: relative; z-index: 2; }
.pagehead__crumb {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .2em;
  font-size: 11px; color: var(--muted); margin-bottom: 14px;
}
.pagehead__crumb a { color: var(--muted); transition: color .25s; }
.pagehead__crumb a:hover { color: var(--orange-2); }
.pagehead__title {
  font-family: var(--display); font-size: clamp(44px, 9vw, 92px);
  line-height: .95; letter-spacing: .03em; color: #f3ede3;
}
.pagehead__sub {
  font-family: var(--body); font-weight: 300; color: #d8d0c6;
  max-width: 560px; margin-top: 14px; letter-spacing: .03em;
}

/* Generic content section */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(36px, 6vw, 70px) clamp(26px, 5vw, 56px); }
.section__eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .3em; font-size: 12px; color: var(--orange-2); margin-bottom: 10px; }
.section__title { font-family: var(--display); font-size: clamp(30px, 5vw, 52px); letter-spacing: .03em; color: #f3ede3; margin-bottom: 8px; }
.section__lead { color: var(--muted); max-width: 640px; margin-bottom: 36px; }

/* Work / portfolio grid */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 22px); }
.work { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hair); background: var(--bg-card); aspect-ratio: 3 / 4; }
.work__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) sepia(.18) brightness(.78); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
.work:hover .work__img { transform: scale(1.07); filter: none; }
.work__veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(8,6,5,.92)); }
.work__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 2; }
.work__cat { font-family: var(--head); text-transform: uppercase; letter-spacing: .2em; font-size: 10px; color: var(--orange-2); }
.work__name { font-family: var(--display); font-size: 27px; letter-spacing: .03em; color: #f3ede3; line-height: 1; margin: 4px 0; }
.work__year { font-family: var(--head); font-size: 11px; color: var(--muted); letter-spacing: .15em; }

/* Feature cards (services / highlights) */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 20px); }
.feature { border: 1px solid var(--hair); border-radius: var(--radius); padding: 30px; background: linear-gradient(160deg, #141110, #0c0908); transition: .3s ease; }
.feature:hover { border-color: var(--line); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.feature__ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--orange-2); border: 1px solid var(--line); margin-bottom: 18px; background: radial-gradient(circle at 50% 35%, rgba(224,123,41,.16), transparent 70%); }
.feature__ico svg { width: 26px; height: 26px; }
.feature__title { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 16px; color: #f3ede3; margin-bottom: 8px; }
.feature__desc { color: var(--muted); font-size: 14px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { border-top: 2px solid var(--line); padding-top: 16px; }
.step__n { font-family: var(--display); font-size: 34px; color: var(--orange); line-height: 1; }
.step__t { font-family: var(--head); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: #f3ede3; margin: 8px 0 6px; }
.step__d { color: var(--muted); font-size: 13px; }

/* Showreel feature */
.reel-feature { position: relative; max-width: var(--maxw); margin: 0 auto; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--hair); }
.reel-feature > img, .reel-feature > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.5); transition: filter .5s; }
.reel-feature.is-playing > video { filter: none; }
.reel-feature.is-playing .reel-feature__overlay { opacity: 0; pointer-events: none; transition: opacity .4s; }
.reel-feature__overlay { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, rgba(8,6,5,.15), rgba(8,6,5,.72)); }
.play-btn { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid var(--orange); background: rgba(224,123,41,.18); box-shadow: 0 0 30px var(--orange-glow); transition: .3s ease; cursor: pointer; }
.play-btn:hover { transform: scale(1.08); background: rgba(224,123,41,.34); }
.play-btn svg { width: 32px; height: 32px; margin-inline-start: 4px; }

/* Articles (thoughts) */
.articles { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
.article { display: grid; grid-template-columns: 200px 1fr; gap: 24px; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); transition: .3s ease; }
.article:hover { border-color: var(--line); transform: translateY(-3px); }
.article__img { position: relative; min-height: 170px; }
.article__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) sepia(.2) brightness(.78); }
.article__body { padding: 26px 26px 26px 0; }
.article__date { font-family: var(--head); text-transform: uppercase; letter-spacing: .2em; font-size: 10px; color: var(--orange-2); }
.article__title { font-family: var(--display); font-size: 26px; letter-spacing: .02em; color: #f3ede3; margin: 6px 0 8px; }
.article__excerpt { color: var(--muted); font-size: 14px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 50px); max-width: var(--maxw); margin: 0 auto; padding: clamp(36px, 6vw, 64px) clamp(26px, 5vw, 56px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; background: #100c0a; border: 1px solid var(--hair); border-radius: 10px; padding: 14px 16px; color: var(--ink); font-family: var(--body); font-size: 15px; transition: .25s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(224,123,41,.15); }
.field textarea { min-height: 140px; resize: vertical; }
.contact-side { border: 1px solid var(--hair); border-radius: var(--radius); padding: 30px; background: linear-gradient(160deg, #141110, #0c0908); height: max-content; }
.contact-row { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.contact-row svg { width: 20px; height: 20px; color: var(--orange-2); flex: 0 0 auto; }
.contact-row a, .contact-row span { color: #e7e0d6; font-size: 14px; }
.contact-row a:hover { color: var(--orange-2); }
.form-note { font-size: 12px; color: var(--muted-2); margin-top: 14px; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; color: #0a0807; background: linear-gradient(180deg, var(--orange-2), var(--orange-deep)); padding: 15px 34px; border: 0; border-radius: 50px; cursor: pointer; box-shadow: 0 10px 30px rgba(224,123,41,.3); transition: .3s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(224,123,41,.45); }

/* CTA strip */
.cta-strip { text-align: center; padding: clamp(40px, 7vw, 80px) 24px; border-top: 1px solid var(--hair); margin-top: 20px; }
.cta-strip h2 { font-family: var(--display); font-size: clamp(32px, 6vw, 60px); color: #f3ede3; letter-spacing: .02em; }
.cta-strip h2 span { color: var(--orange); }
.cta-strip p { color: var(--muted); margin: 10px 0 26px; }

/* Inner responsive */
@media (max-width: 900px) {
  .work-grid, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .work-grid, .cards-3, .steps { grid-template-columns: 1fr; }
  .article { grid-template-columns: 1fr; }
  .article__img { min-height: 210px; }
  .article__body { padding: 24px; }
}

/* Inner RTL + Arabic */
[dir="rtl"] .pagehead__content, [dir="rtl"] .section, [dir="rtl"] .work__meta, [dir="rtl"] .contact-side, [dir="rtl"] .feature, [dir="rtl"] .step { text-align: right; }
[dir="rtl"] .article { grid-template-columns: 1fr 200px; }
[dir="rtl"] .article__body { padding: 26px 0 26px 26px; }
@media (max-width: 560px) { [dir="rtl"] .article { grid-template-columns: 1fr; } [dir="rtl"] .article__body { padding: 24px; } }
body.is-ar .brand__role, body.is-ar .pagehead__crumb, body.is-ar .pagehead__title, body.is-ar .pagehead__sub,
body.is-ar .section__eyebrow, body.is-ar .section__title, body.is-ar .section__lead,
body.is-ar .work__cat, body.is-ar .work__name, body.is-ar .work__year,
body.is-ar .feature__title, body.is-ar .feature__desc, body.is-ar .step__t, body.is-ar .step__d,
body.is-ar .article__date, body.is-ar .article__title, body.is-ar .article__excerpt,
body.is-ar .field label, body.is-ar .contact-row a, body.is-ar .contact-row span, body.is-ar .form-note,
body.is-ar .btn, body.is-ar .cta-strip h2, body.is-ar .cta-strip p {
  font-family: var(--arabic); letter-spacing: 0 !important; text-transform: none;
}
body.is-ar .brand__role { letter-spacing: .3em !important; }

/* ===================================================================
   FIERY TOUCH  — embers, firelight flicker, flame-gradient accents
   =================================================================== */
/* Drifting embers (particles injected by js/main.js) */
.embers { position: fixed; inset: 0; z-index: 9990; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -12px; border-radius: 50%;
  background: radial-gradient(circle, #ffe2b0 0%, #ff8a2b 45%, rgba(224,123,41,0) 72%);
  filter: blur(.4px); opacity: 0;
  animation: ember-rise linear infinite;
  will-change: transform, opacity;
}
@keyframes ember-rise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  70%  { opacity: .85; }
  100% { transform: translateY(-104vh) translateX(var(--drift, 24px)) scale(.35); opacity: 0; }
}

/* Flame-gradient accent on the key headline words */
@keyframes flame-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.tagline span,
.contact__title span,
.cta-strip h2 span,
.pagehead__title span {
  background: linear-gradient(90deg, #ffd27a 0%, #ff8a2b 30%, #ff4d2e 50%, #ff8a2b 70%, #ffd27a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: flame-shift 4s ease-in-out infinite;
}

/* Firelight flicker on the hero halo */
@keyframes firelight {
  0%, 100% { filter: blur(6px) brightness(1); }
  20% { filter: blur(6px) brightness(1.14); }
  40% { filter: blur(7px) brightness(.93); }
  55% { filter: blur(6px) brightness(1.1); }
  75% { filter: blur(6.5px) brightness(.97); }
}
.glow { animation: pulse 6s ease-in-out infinite, firelight 2.6s ease-in-out infinite; }

/* Fire glow rising under the banner (home + inner page headers) */
.hero::after, .pagehead::after {
  content: ""; position: absolute; left: 50%; bottom: -30px;
  width: 92%; height: 170px; transform: translateX(-50%); z-index: 1; pointer-events: none;
  background: radial-gradient(58% 100% at 50% 100%, rgba(255,120,30,.4), rgba(224,123,41,.13) 42%, transparent 72%);
  filter: blur(22px); animation: firelight 3.2s ease-in-out infinite;
}
.pagehead { isolation: isolate; }

@media (prefers-reduced-motion: reduce) {
  .embers { display: none; }
  .tagline span, .contact__title span, .cta-strip h2 span, .pagehead__title span,
  .glow, .hero::after, .pagehead::after { animation: none; }
}

/* ===================================================================
   SHAYAN BOUSHEHRI — photographer & videographer additions
   Built on the DASHTIPRO design system above (same palette, type,
   circle nav, cards and fire effects).
   =================================================================== */

/* ---------- Top bar: live exposure readout ---------- */
.exposure {
  display: flex; gap: 14px; margin-inline-start: auto;
  color: var(--muted-2); font-size: 11px; letter-spacing: .2em;
}
.exposure span:first-child { color: var(--orange-2); }
.exposure + .timecode { margin-inline-start: 10px; }

/* ---------- Hero: name on two lines + camera art ---------- */
.title { font-size: clamp(54px, 8.4vw, 112px); line-height: .88; }
.title span { display: block; }
.title span + span { letter-spacing: .02em; }
.camera-art { overflow: visible; }
.camera-iris { transform-origin: 200px 278px; animation: spin 30s linear infinite; }
.camera-rec { animation: blink 1.4s ease-in-out infinite; }
.aperture-ring { animation-duration: 40s; }

.focus-tag {
  position: absolute; z-index: 5; left: 4%; top: 40px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: 10px; letter-spacing: .24em; color: var(--orange-2);
  text-transform: uppercase;
}
.focus-tag__box { width: 30px; height: 22px; position: relative; border: 1px solid transparent;
  background:
    linear-gradient(var(--orange), var(--orange)) top left / 8px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top left / 1.5px 8px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top right / 8px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top right / 1.5px 8px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom left / 8px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom left / 1.5px 8px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom right / 8px 1.5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom right / 1.5px 8px no-repeat;
  animation: af-lock 3.4s ease-in-out infinite;
}
@keyframes af-lock { 0%, 30% { transform: scale(1.5); opacity: .4; } 45%, 100% { transform: scale(1); opacity: 1; } }
[dir="rtl"] .focus-tag { left: auto; right: 4%; }

/* ---------- Focus brackets on hover (cards, work tiles, crafts) ---------- */
.af {
  position: absolute; z-index: 4; top: 50%; left: 50%; width: 74px; height: 54px; margin: -27px 0 0 -37px;
  pointer-events: none; opacity: 0; transform: scale(1.6);
  transition: opacity .3s ease, transform .45s cubic-bezier(.2,.7,.2,1);
}
.af i { position: absolute; width: 14px; height: 14px; border: 0 solid #fff; transition: border-color .2s ease .4s; }
.af i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.af i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.af i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.af i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
@media (hover: hover) {
  .card:hover .af, .work:hover .af, .craft:hover .af { opacity: 1; transform: scale(1); }
  .card:hover .af i, .work:hover .af i, .craft:hover .af i { border-color: var(--orange); }
}
.card .af { top: 38%; }

/* Subtle lift on the quote cards */
.card { transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s, box-shadow .5s; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 18px 46px -20px rgba(224,123,41,.45); }
}

/* ---------- Two crafts (home) ---------- */
.crafts { max-width: var(--maxw); margin: 0 auto; padding: clamp(30px, 6vw, 70px) clamp(16px, 4vw, 40px) 0; }
.crafts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.6vw, 18px); }
.craft {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--hair); background: var(--bg-card);
  transition: border-color .4s, box-shadow .5s;
}
.craft:hover { border-color: var(--orange); box-shadow: 0 0 30px -6px var(--orange-glow); }
.craft__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  filter: grayscale(.4) sepia(.22) saturate(1.1) brightness(.62); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s; }
.craft:hover .craft__img { transform: scale(1.06); filter: grayscale(0) sepia(0) brightness(.85); }
.craft__veil { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 120% at 50% 0%, rgba(224,123,41,.14), transparent 45%), linear-gradient(180deg, rgba(8,6,5,.1) 30%, rgba(8,6,5,.92)); }
.craft__hud { position: absolute; z-index: 3; top: 18px; inset-inline-start: 20px; display: flex; align-items: center; gap: 8px;
  font-family: var(--head); font-size: 10px; letter-spacing: .24em; color: rgba(245,240,232,.78); }
.craft__hud .rec__dot { width: 8px; height: 8px; }
.craft__body { position: absolute; z-index: 3; inset-inline: 0; bottom: 0; padding: clamp(20px, 3vw, 36px); }
.craft__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--orange-2);
  border: 1px solid var(--line); background: radial-gradient(circle at 50% 38%, rgba(224,123,41,.2), transparent 70%), rgba(16,12,10,.7); margin-bottom: 14px; }
.craft__ico svg { width: 24px; height: 24px; }
.craft__kicker { font-family: var(--head); text-transform: uppercase; letter-spacing: .3em; font-size: 11px; color: var(--orange-2); }
.craft__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: .95; letter-spacing: .03em; color: #f3ede3; }
.craft__title span {
  background: linear-gradient(90deg, #ffd27a 0%, #ff8a2b 30%, #ff4d2e 50%, #ff8a2b 70%, #ffd27a 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: flame-shift 4s ease-in-out infinite;
}
.craft__desc { color: #d8d0c6; font-size: 14px; margin: 6px 0 14px; }
.craft__link { font-family: var(--head); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--orange-2); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.craft:hover .craft__link { color: #fff; border-color: var(--orange); }

/* ---------- Work tiles: badges, video preview ---------- */
.work { cursor: pointer; transition: border-color .4s, box-shadow .5s; }
.work:hover { border-color: var(--line); box-shadow: 0 18px 46px -22px rgba(224,123,41,.5); }
.work__vid { opacity: 0; transition: opacity .5s ease, transform .7s cubic-bezier(.2,.7,.2,1); filter: none; }
.work.is-playing .work__vid { opacity: 1; }
.work__badge {
  position: absolute; z-index: 3; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 50px; background: rgba(10,8,7,.62); border: 1px solid var(--line);
  font-family: var(--head); font-size: 10px; letter-spacing: .16em; color: #efe9e0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.work__badge .rec__dot { width: 7px; height: 7px; }
.work__play {
  position: absolute; z-index: 3; top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; border: 1px solid var(--orange); background: rgba(224,123,41,.22);
  box-shadow: 0 0 18px var(--orange-glow); transition: transform .3s ease;
}
.work__play svg { width: 15px; height: 15px; margin-inline-start: 2px; }
.work:hover .work__play { transform: scale(1.1); }
.work__meta { z-index: 3; }
.work__veil { z-index: 2; }
.work__img { z-index: 1; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.chip {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .16em; font-size: 11px;
  color: var(--muted); background: rgba(224,123,41,.05); border: 1px solid var(--line); border-radius: 50px;
  padding: 9px 16px; cursor: pointer; transition: .28s ease; line-height: 1;
}
.chip:hover { color: #fff; border-color: var(--orange); box-shadow: 0 0 14px var(--orange-glow); }
.chip.is-on, .chip[aria-pressed="true"] { color: #0a0807; background: linear-gradient(180deg, var(--orange-2), var(--orange-deep)); border-color: transparent; box-shadow: 0 6px 20px rgba(224,123,41,.3); }
.filters__count { margin-inline-start: auto; font-family: var(--display); font-size: 26px; color: var(--orange); letter-spacing: .04em; }

/* ---------- Masonry photo gallery ---------- */
.masonry { columns: 3 260px; column-gap: clamp(12px, 1.8vw, 22px); }
.work--masonry { aspect-ratio: auto; display: block; margin-bottom: clamp(12px, 1.8vw, 22px); break-inside: avoid; }
.work--masonry .work__img { position: relative; height: auto; display: block; }
.work.is-hidden { display: none; }
.work.is-shown { animation: tile-in .6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }

/* ---------- RAW vs Edited ---------- */
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--hair); background: var(--bg-card); user-select: none; touch-action: pan-y; cursor: ew-resize; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__raw { filter: saturate(.3) contrast(.75) brightness(1.08); }
.compare__edit { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__edit img { filter: sepia(.25) saturate(1.35) contrast(1.15) brightness(.95); }
.compare__edit::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 15%, rgba(246,164,75,.35), transparent 60%), radial-gradient(90% 90% at 50% 50%, transparent 50%, rgba(0,0,0,.45)); mix-blend-mode: soft-light; pointer-events: none; }
.compare__tag { position: absolute; z-index: 3; top: 16px; padding: 6px 12px; border-radius: 50px; background: rgba(10,8,7,.62); border: 1px solid var(--line);
  font-family: var(--head); font-size: 10px; letter-spacing: .24em; color: #efe9e0; pointer-events: none; }
.compare__tag--l { left: 60px; }
.compare__tag--r { right: 60px; color: var(--orange-2); }
.compare__handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: linear-gradient(var(--orange-2), var(--orange)); box-shadow: 0 0 14px var(--orange-glow); cursor: ew-resize; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #100c0a; border: 1px solid var(--orange); box-shadow: 0 0 22px var(--orange-glow); transition: transform .25s; }
.compare__handle span svg { width: 22px; height: 22px; }
.compare.is-drag .compare__handle span, .compare__handle:focus-visible span { transform: scale(1.12); }
.compare .corner, .reel-feature .corner { z-index: 3; pointer-events: none; }

/* ---------- Lightbox + shutter ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 9995; display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 70px clamp(16px, 7vw, 100px) calc(24px + env(safe-area-inset-bottom));
  background: radial-gradient(70% 60% at 50% 40%, rgba(224,123,41,.12), transparent 70%), rgba(6,5,4,.96);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__frame { position: relative; padding: 14px; max-width: 100%; }
.lightbox__frame .corner { width: 24px; height: 24px; border-color: var(--orange); }
.lightbox__frame .corner.tl { top: 0; left: 0; } .lightbox__frame .corner.tr { top: 0; right: 0; }
.lightbox__frame .corner.bl { bottom: 0; left: 0; } .lightbox__frame .corner.br { bottom: 0; right: 0; }
.lightbox__stage img, .lightbox__stage video {
  display: block; max-width: min(1200px, 86vw); max-height: calc(100vh - 230px); max-height: calc(100svh - 230px);
  border-radius: 8px; object-fit: contain; background: #0c0908; animation: lb-in .5s cubic-bezier(.2,.7,.2,1);
}
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }
.lightbox__bar { width: min(1200px, 86vw); display: flex; justify-content: space-between; align-items: flex-end; gap: 10px 24px; flex-wrap: wrap; margin-top: 16px; }
.lightbox__cat { font-family: var(--head); text-transform: uppercase; letter-spacing: .24em; font-size: 10px; color: var(--orange-2); }
.lightbox__title { font-family: var(--display); font-size: clamp(24px, 3vw, 36px); letter-spacing: .03em; color: #f3ede3; line-height: 1; }
.lightbox__exif { font-family: var(--head); letter-spacing: .16em; font-size: 11px; color: var(--muted); }
.lightbox__count { font-family: var(--display); font-size: 22px; color: var(--orange); letter-spacing: .06em; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: var(--orange-2); background: radial-gradient(circle at 50% 38%, rgba(224,123,41,.18), transparent 70%), #100c0a; border: 1px solid var(--line); transition: .3s ease; }
.lb-btn:hover { color: #fff; border-color: var(--orange); box-shadow: 0 0 22px var(--orange-glow); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-btn--close { top: 16px; inset-inline-end: 16px; }
.lb-btn--prev { top: 50%; margin-top: -26px; left: clamp(10px, 2vw, 30px); }
.lb-btn--next { top: 50%; margin-top: -26px; right: clamp(10px, 2vw, 30px); }
[dir="rtl"] .lb-btn--prev { left: auto; right: clamp(10px, 2vw, 30px); transform: scaleX(-1); }
[dir="rtl"] .lb-btn--next { right: auto; left: clamp(10px, 2vw, 30px); transform: scaleX(-1); }
body.lb-lock { overflow: hidden; }

.shutter { position: fixed; inset: 0; z-index: 9996; pointer-events: none; }
.shutter span { position: absolute; left: 0; right: 0; height: 50.5%; background: #050403; transform: scaleY(0); transition: transform .16s ease-in; }
.shutter span:first-child { top: 0; transform-origin: top; border-bottom: 1px solid var(--orange); }
.shutter span:last-child { bottom: 0; transform-origin: bottom; border-top: 1px solid var(--orange); }
.shutter.is-closed span { transform: scaleY(1); }

/* ---------- Contact form extras ---------- */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field select { width: 100%; background: #100c0a; border: 1px solid var(--hair); border-radius: 10px; padding: 14px 16px; color: var(--ink);
  font-family: var(--body); font-size: 15px; transition: .25s ease; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--orange-2) 50%), linear-gradient(135deg, var(--orange-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] .field select { background-position: 15px 52%, 20px 52%; }
.field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(224,123,41,.15); }
.field input[type="date"] { color-scheme: dark; }
.field .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field input.is-err, .field textarea.is-err { border-color: var(--rec); }
.contact-row--social { gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.contact-row--social svg { width: 20px; height: 20px; fill: currentColor; }
.contact-row--social a { color: var(--orange-2); transition: color .25s, transform .25s; }
.contact-row--social a:hover { color: #fff; transform: translateY(-2px); }

/* ---------- Arabic for new parts ---------- */
body.is-ar .craft__kicker, body.is-ar .craft__title, body.is-ar .craft__desc, body.is-ar .craft__link,
body.is-ar .chip, body.is-ar .lightbox__cat, body.is-ar .lightbox__title, body.is-ar .focus-tag {
  font-family: var(--arabic); letter-spacing: 0 !important; text-transform: none;
}
body.is-ar .craft__title { line-height: 1.25; font-weight: 700; }
body.is-ar .work__name, body.is-ar .section__title, body.is-ar .pagehead__title { line-height: 1.3; }
[dir="rtl"] .craft__body, [dir="rtl"] .lightbox__bar { text-align: right; }

/* ---------- Responsive for new parts ---------- */
@media (max-width: 980px) {
  .focus-tag { display: none; }
  .title { font-size: clamp(54px, 13vw, 104px); }
}
@media (max-width: 900px) {
  .exposure { display: none; }
  .exposure + .timecode { margin-inline-start: auto; }
  .masonry { columns: 2; }
}
@media (max-width: 760px) {
  .crafts__grid { grid-template-columns: 1fr; }
  .craft { aspect-ratio: 4 / 3.4; }
  .field-row { grid-template-columns: 1fr; }
  .compare { aspect-ratio: 4 / 3.2; }
  .compare__tag--l { left: 14px; } .compare__tag--r { right: 14px; }
  .compare__tag { top: auto; bottom: 14px; }
  .compare .corner { display: none; }
  .lightbox { padding: 70px 12px calc(84px + env(safe-area-inset-bottom)); }
  .lightbox__stage img, .lightbox__stage video { max-width: calc(100vw - 52px); max-height: calc(100svh - 280px); }
  .lightbox__bar { width: 100%; }
  .lb-btn--prev, .lb-btn--next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); margin-top: 0; }
  .lb-btn--prev { left: calc(50% - 64px); }
  .lb-btn--next { right: calc(50% - 64px); }
  [dir="rtl"] .lb-btn--prev { right: calc(50% - 64px); left: auto; }
  [dir="rtl"] .lb-btn--next { left: calc(50% - 64px); right: auto; }
  .filters__count { display: none; }
}
@media (max-width: 380px) {
  .masonry { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .camera-iris, .camera-rec, .focus-tag__box, .craft__title span { animation: none; }
  .shutter { display: none; }
}
.section__title span {
  background: linear-gradient(90deg, #ffd27a 0%, #ff8a2b 30%, #ff4d2e 50%, #ff8a2b 70%, #ffd27a 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: flame-shift 4s ease-in-out infinite;
}

/* ---------- Logo ---------- */
.portrait--logo { max-width: 320px; margin-bottom: 44px; }
.portrait--logo::before { content: ""; position: absolute; inset: -10% -16%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(10,8,7,.72), rgba(10,8,7,.35) 60%, transparent); }
.portrait--logo ~ .reel { opacity: .5; }
.logo-art { width: 100%; height: auto; overflow: visible;
  filter: drop-shadow(0 3px 0 rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(255,170,80,.4)) drop-shadow(0 18px 40px rgba(0,0,0,.7));
  animation: logo-breathe 6s ease-in-out infinite; }
@keyframes logo-breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.logo-eye-glow { animation: eye-glow 2.6s ease-in-out infinite; transform-origin: 578px 362px; }
@keyframes eye-glow { 0%,100% { opacity: .85; transform: scale(1); } 40% { opacity: 1; transform: scale(1.12); } 60% { opacity: .7; transform: scale(.95); } }
.brand__mark { width: 44px; height: auto; margin-bottom: 10px; filter: drop-shadow(0 0 10px rgba(224,123,41,.45)); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand__mark { transform: translateY(-3px) scale(1.06); }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.footer__mark { width: 18px; height: auto; opacity: .85; }
@media (max-width: 980px) { .portrait--logo { max-width: 250px; margin-bottom: 26px; } }
@media (max-width: 540px) { .portrait--logo { max-width: 210px; } .brand__mark { width: 38px; } }
@media (prefers-reduced-motion: reduce) { .logo-art, .logo-eye-glow { animation: none; } }
