/* ================================================================
   THE WEDDING JO — site styles
   Palette : pure black & white only
   Fonts   : Cormorant Garamond (display) · Libre Baskerville (body) · Amiri (Arabic)
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg:        #000000;
  --bg-soft:   #050505;
  --ink:       #ffffff;
  --ink-dim:   rgba(255,255,255,0.55);
  --ink-mute:  rgba(255,255,255,0.28);
  --line:      rgba(255,255,255,0.14);
  --line-soft: rgba(255,255,255,0.06);
  --accent:    #ffffff;

  --f-display: 'Cormorant Garamond', 'Georgia', serif;
  --f-body:    'Libre Baskerville', 'Georgia', serif;
  --f-arabic:  'Amiri', 'Georgia', serif;

  --pad-x: clamp(20px, 5vw, 88px);
  --maxw:  1440px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body[dir="rtl"] { font-family: var(--f-arabic); }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: #fff; color: #000; }

/* ================================================================
   FORCE ALL TEXT WHITE — no exceptions
================================================================ */
*, *::before, *::after {
  color: inherit;
}
body, body * {
  color: #ffffff !important;
}
/* Keep interactive contrast states readable */
body .lang button.is-on,
body .btn-primary,
body .nav__cta:hover,
body .lb__close:hover,
body .lb__arrow:hover {
  color: #000000 !important;
}

/* ================================================================
   TYPOGRAPHY UTILITIES
================================================================ */
.eyebrow {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 400;
}
body[dir="rtl"] .eyebrow { font-family: var(--f-arabic); letter-spacing: 0.06em; }

.rule {
  display: inline-block;
  width: 48px; height: 1px;
  background: var(--ink-dim);
  vertical-align: middle;
  flex-shrink: 0;
}

/* ================================================================
   NAV — Desktop + Mobile Hamburger
================================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  /* Three equal columns: left-links | center-logo | right-actions */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--pad-x);
  transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease;
}
.nav.is-scrolled {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding-top: 13px; padding-bottom: 13px;
  border-bottom: 1px solid var(--line-soft);
}

/* Logo — always centred via grid */
.nav__brand {
  grid-column: 2;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; line-height: 1;
}
.nav__logo {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: height .4s ease;
}
.nav.is-scrolled .nav__logo { height: 28px; }

/* Desktop menu — left side */
.nav__menu {
  grid-column: 1;
  display: flex; gap: 40px; align-items: center;
  font-family: var(--f-body);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-dim);
}
.nav__menu a { position: relative; padding: 6px 0; transition: color .25s; }
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.nav__menu a:hover { color: var(--ink) !important; }
.nav__menu a:hover::after,
.nav__menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav__menu a[aria-current="page"] { color: var(--ink) !important; }
body[dir="rtl"] .nav__menu { font-family: var(--f-arabic); letter-spacing: 0.05em; }
body[dir="rtl"] .nav__menu a::after { transform-origin: right; }

/* Right side — lang + cta */
.nav__right {
  grid-column: 3;
  display: flex; align-items: center; gap: 20px;
  justify-content: flex-end;
  flex-shrink: 0;
}
.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px;
  font-family: var(--f-body); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
}
.lang button { padding: 5px 13px; border-radius: 999px; color: var(--ink) !important; transition: all .3s; }
.lang button.is-on { background: var(--ink); color: #000 !important; }
.nav__cta {
  font-family: var(--f-body);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.45); padding: 10px 20px; border-radius: 999px;
  color: var(--ink) !important; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.nav__cta:hover { background: var(--ink); color: #000 !important; border-color: var(--ink); }
body[dir="rtl"] .nav__cta { font-family: var(--f-arabic); letter-spacing: 0.05em; }

/* ── Hamburger button (hidden on desktop) ── */
.nav__hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--line); border-radius: 4px;
  cursor: pointer; transition: border-color .25s;
  grid-column: 3; justify-self: end;
}
.nav__hamburger span {
  display: block; width: 18px; height: 1px;
  background: var(--ink); border-radius: 1px;
  transition: transform .35s ease, opacity .35s ease;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile drawer ── */
.nav__drawer {
  display: flex;           /* always flex */
  visibility: hidden;      /* hidden by default */
  opacity: 0;
  pointer-events: none;
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 100px var(--pad-x) 48px;
  flex-direction: column; align-items: center; gap: 0;
  z-index: 49;
  border-bottom: 1px solid var(--line-soft);
  transition: opacity .3s ease, visibility .3s ease;
}
.nav__drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.nav__drawer a {
  font-family: var(--f-display);
  font-size: clamp(28px, 7vw, 42px);
  font-style: italic; font-weight: 300;
  color: var(--ink) !important;
  letter-spacing: 0.04em;
  padding: 14px 0;
  width: 100%; text-align: center;
  border-bottom: 1px solid var(--line-soft);
  transition: color .25s;
}
.nav__drawer a:last-child { border-bottom: none; }
.nav__drawer a:hover { color: var(--ink-dim) !important; }
body[dir="rtl"] .nav__drawer a { font-family: var(--f-arabic); font-style: normal; }
.nav__drawer .drawer-cta {
  margin-top: 28px;
  font-family: var(--f-body); font-size: 10px; font-style: normal;
  letter-spacing: 0.26em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.45); padding: 14px 32px; border-radius: 999px;
  color: var(--ink) !important; transition: background .25s, color .25s;
}
.nav__drawer .drawer-cta:hover { background: var(--ink); color: #000 !important; }
body[dir="rtl"] .nav__drawer .drawer-cta { font-family: var(--f-arabic); }

/* ── Responsive breakpoints ── */
@media (max-width: 980px) {
  .nav__menu { display: none; }
  .nav__right .nav__cta { display: none; }
  .nav__right .lang { display: none; }
  .nav__right { display: none; }
  .nav__hamburger { display: flex; }
  .nav { grid-template-columns: 1fr auto 1fr; }
}

/* ================================================================
   HERO — NO overlays, NO text
================================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0;
  overflow: hidden;
}

/* REMOVE all dark overlays from hero */
.hero__media { position: absolute; inset: 0; background: #000; }
.hero__media::before {
  content: none; /* ← overlay removed */
}
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  /* Remove desaturation — show the image as-is */
  filter: none;
  /*animation: slowZoom 22s ease-in-out infinite alternate;*/
}
@keyframes slowZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.14); }
}

/* Hide all hero text elements */
.hero__inner,
.hero__title,
.hero__eyebrow,
.hero__script,
.hero__sub,
.hero__meta,
.hero__scroll {
  display: none !important;
}

/* ================================================================
   MARQUEE
================================================================ */
.marquee {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 20px 0; overflow: hidden; background: #020202;
}
.marquee__track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: marquee 44s linear infinite;
  font-family: var(--f-display); font-style: italic; font-weight: 300;
  font-size: 18px; color: var(--ink); letter-spacing: 0.04em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee__track i   { font-style: normal; color: rgba(255,255,255,0.30); }
body[dir="rtl"] .marquee__track { font-family: var(--f-arabic); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================================
   SECTION SCAFFOLD
================================================================ */
section { position: relative; }
.sec {
  padding: clamp(80px,10vw,150px) var(--pad-x);
  max-width: var(--maxw); margin: 0 auto;
}
.sec__head {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: end; margin-bottom: 80px;
}
.sec__head .eyebrow { display: flex; align-items: center; gap: 14px; }
.sec__head h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(36px,5vw,66px);
  line-height: 1.06; letter-spacing: 0.01em; max-width: 20ch; color: var(--ink);
}
.sec__head h2 em {
  font-family: var(--f-display); font-style: italic;
  font-weight: 300; color: var(--ink); display: inline;
}
body[dir="rtl"] .sec__head h2 { font-family: var(--f-arabic); }
body[dir="rtl"] .sec__head h2 em { font-style: normal; }
@media (max-width: 780px) {
  .sec__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

/* ================================================================
   PHILOSOPHY
================================================================ */
.philosophy {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px,8vw,100px); align-items: center;
}
.philosophy__copy p {
  font-family: var(--f-body);
  font-size: clamp(15px,1.3vw,18px); line-height: 1.80;
  color: var(--ink); font-weight: 400; max-width: 48ch;
}
.philosophy__copy p + p { margin-top: 22px; color: var(--ink); }
body[dir="rtl"] .philosophy__copy p { font-family: var(--f-arabic); }
.philosophy__media { position: relative; aspect-ratio: 3/4; }
.philosophy__media img,
.philosophy__media img:hover {
  filter: none !important;
  -webkit-filter: none !important;
}

.philosophy__media::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--line); transform: translate(16px,16px); pointer-events: none;
}
.philosophy--reverse { direction: rtl; }
.philosophy--reverse > * { direction: ltr; }
body[dir="rtl"] .philosophy--reverse { direction: ltr; }
body[dir="rtl"] .philosophy--reverse > * { direction: rtl; }
.philosophy__close {
  margin-top: 32px !important; font-style: italic;
  color: var(--ink) !important;
  font-size: clamp(15px,1.3vw,18px) !important;
}
body[dir="rtl"] .philosophy__close { font-style: normal; }
@media (max-width: 780px) { .philosophy { grid-template-columns: 1fr; } }

/* ================================================================
   SERVICES
================================================================ */
.services {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft);
}
.service {
  padding: 44px 34px 52px;
  border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  transition: background .4s; display: flex; flex-direction: column; gap: 14px; min-height: 280px;
}
.service:hover { background: rgba(255,255,255,0.025); }
.service__num {
  font-family: var(--f-body); font-size: 10px;
  letter-spacing: 0.26em; color: var(--ink-mute);
}
.service__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: 28px; line-height: 1.12; margin-top: auto; color: var(--ink);
  letter-spacing: 0.02em;
}
.service__title em { font-style: italic; font-weight: 300; color: var(--ink); }
body[dir="rtl"] .service__title { font-family: var(--f-arabic); }
body[dir="rtl"] .service__title em { font-style: normal; }
.service__desc {
  font-family: var(--f-body); font-size: 13px;
  color: var(--ink); line-height: 1.75; max-width: 34ch;
}
body[dir="rtl"] .service__desc { font-family: var(--f-arabic); }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ================================================================
   PORTFOLIO
================================================================ */
.portfolio { background: linear-gradient(180deg,#000 0%,#040404 50%,#000 100%); padding-top: 0; }
.portfolio__grid {
  display: grid; grid-template-columns: repeat(12,1fr);
  grid-auto-rows: minmax(200px,auto); gap: 16px;
}
.tile { position: relative; overflow: hidden; background: #080808; cursor: pointer; }
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .8s;
  filter: brightness(0.70) saturate(0.45) contrast(1.1);
}
.tile:hover img { transform: scale(1.06); filter: brightness(0.88) saturate(0.6); }
.tile__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg,transparent 40%,rgba(0,0,0,0.88) 100%);
  z-index: 2;
}
.tile__cat {
  font-family: var(--f-body); font-size: 9px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.50) !important; margin-bottom: 5px;
}
.tile__name {
  font-family: var(--f-display); font-style: italic;
  font-size: 21px; font-weight: 400; color: var(--ink); line-height: 1.15;
  letter-spacing: 0.02em;
}
body[dir="rtl"] .tile__cat  { font-family: var(--f-arabic); letter-spacing: 0.04em; }
body[dir="rtl"] .tile__name { font-family: var(--f-arabic); font-style: normal; }
.tile__play {
  position: absolute; top: 20px; right: 20px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.30);
  display: grid; place-items: center;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(6px);
  z-index: 2; transition: background .3s, border-color .3s;
}
.tile:hover .tile__play { background: var(--ink); border-color: var(--ink); }
.tile__play svg { width: 12px; height: 12px; fill: var(--ink); transition: fill .3s; }
.tile:hover .tile__play svg { fill: #000; }
.tile.t-wide   { grid-column: span 7; grid-row: span 2; }
.tile.t-tall   { grid-column: span 5; grid-row: span 2; }
.tile.t-third  { grid-column: span 4; grid-row: span 1; }
.tile.t-half   { grid-column: span 6; grid-row: span 1; }
.tile.t-fourth { grid-column: span 8; grid-row: span 1; }
@media (max-width: 780px) {
  .portfolio__grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 220px; }
  .tile.t-wide,.tile.t-tall,.tile.t-third,.tile.t-half,.tile.t-fourth { grid-column: span 2; grid-row: span 1; }
}
.portfolio__cta { margin-top: 56px; text-align: center; }
.btn-line {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-body); font-size: 10px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink);
  padding: 16px 0; border-bottom: 1px solid var(--line);
  transition: border-color .3s, gap .3s;
}
.btn-line:hover { border-color: var(--ink); gap: 22px; }
.btn-line svg { width: 18px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1; }
body[dir="rtl"] .btn-line { font-family: var(--f-arabic); letter-spacing: 0.05em; }

/* ================================================================
   PROCESS
================================================================ */
.process { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line-soft); }
.step { padding: 46px 26px 54px; border-right: 1px solid var(--line-soft); }
.step:last-child { border-right: none; }
.step__num {
  font-family: var(--f-display); font-size: 72px; font-style: italic; font-weight: 300;
  color: rgba(255,255,255,0.12) !important; line-height: 1; margin-bottom: 22px; display: block;
  letter-spacing: 0.04em;
}
body[dir="rtl"] .step__num { font-family: var(--f-arabic); font-style: normal; }
.step__title {
  font-family: var(--f-display); font-size: 22px; font-weight: 400;
  margin-bottom: 12px; color: var(--ink); letter-spacing: 0.02em;
}
body[dir="rtl"] .step__title { font-family: var(--f-arabic); }
.step__desc { font-family: var(--f-body); font-size: 13px; color: var(--ink); line-height: 1.80; }
body[dir="rtl"] .step__desc { font-family: var(--f-arabic); }
@media (max-width: 880px) {
  .process { grid-template-columns: repeat(2,1fr); }
  .step:nth-child(2) { border-right: none; }
  .step { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } .step { border-right: none; } }

/* ================================================================
   QUOTE / TESTIMONIAL
================================================================ */
.quote {
  background: #020202;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: clamp(80px,10vw,140px) var(--pad-x); text-align: center;
}
.quote__inner { max-width: 860px; margin: 0 auto; }
.quote__mark { font-family: var(--f-display); font-size: 120px; color: rgba(255,255,255,0.10) !important; line-height: 0.6; }
.quote__text {
  font-family: var(--f-display); font-style: italic; font-weight: 300;
  font-size: clamp(24px,3vw,40px); line-height: 1.45; margin-top: 10px; color: var(--ink);
  letter-spacing: 0.02em;
}
body[dir="rtl"] .quote__text { font-family: var(--f-arabic); font-style: normal; }
.quote__attr {
  margin-top: 32px; font-family: var(--f-body); font-size: 10px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-dim);
}
.quote__attr b { color: var(--ink); font-weight: 700; }
.quote__dots { margin-top: 30px; display: flex; gap: 8px; justify-content: center; }
.quote__dots button { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-mute) !important; transition: background .3s, transform .3s; }
.quote__dots button.is-on { background: var(--ink) !important; transform: scale(1.5); }

/* ================================================================
   PRESS
================================================================ */
.press {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 40px; padding: 56px var(--pad-x); max-width: var(--maxw); margin: 0 auto;
  border-bottom: 1px solid var(--line-soft);
}
.press__lbl { font-family: var(--f-body); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-mute); }
.press__name { font-family: var(--f-display); font-style: italic; font-size: clamp(18px,2vw,28px); color: var(--ink); font-weight: 300; transition: color .3s; letter-spacing: 0.02em; }
.press__name:hover { color: var(--ink); }

/* ================================================================
   CONTACT
================================================================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,7vw,100px); align-items: start; }
.contact__lead {
  font-family: var(--f-display); font-size: clamp(26px,3.2vw,46px);
  font-weight: 300; font-style: italic; line-height: 1.18;
  letter-spacing: 0.01em; margin-bottom: 26px; color: var(--ink);
}
.contact__lead em { font-style: italic; color: var(--ink); }
body[dir="rtl"] .contact__lead { font-family: var(--f-arabic); font-style: normal; }
body[dir="rtl"] .contact__lead em { font-style: normal; }
.contact__details {
  margin-top: 46px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  border-top: 1px solid var(--line-soft); padding-top: 28px;
}
.contact__details dt {
  font-family: var(--f-body); font-size: 9px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px;
}
body[dir="rtl"] .contact__details dt { font-family: var(--f-arabic); letter-spacing: 0.05em; }
.contact__details dd { font-family: var(--f-body); font-size: 15px; color: var(--ink); line-height: 1.65; }
body[dir="rtl"] .contact__details dd { font-family: var(--f-arabic); }
.form { display: flex; flex-direction: column; gap: 22px; }
.field { position: relative; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.field label {
  position: absolute; left: 0; top: 14px;
  font-family: var(--f-body); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute) !important; transition: transform .3s, color .3s, font-size .3s; pointer-events: none;
}
body[dir="rtl"] .field label { font-family: var(--f-arabic); left: auto; right: 0; letter-spacing: 0.04em; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: none; outline: none;
  padding: 24px 0 8px; font-family: var(--f-body); font-size: 16px; color: var(--ink); font-weight: 400;
}
body[dir="rtl"] .field input,
body[dir="rtl"] .field textarea,
body[dir="rtl"] .field select { font-family: var(--f-arabic); }
.field textarea { resize: vertical; min-height: 90px; }
.field select   { appearance: none; cursor: pointer; }
.field select option { background: #000; color: var(--ink); }
.field input:focus + label,
.field textarea:focus + label,
.field select:focus + label,
.field.is-filled label { transform: translateY(-18px); font-size: 9px; color: rgba(255,255,255,0.60) !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.btn-primary {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  padding: 17px 30px; border: 1px solid var(--ink); background: var(--ink); color: #000 !important;
  font-family: var(--f-body); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  border-radius: 999px; transition: background .3s, color .3s;
}
.btn-primary:hover { background: transparent; color: var(--ink) !important; }
body[dir="rtl"] .btn-primary { font-family: var(--f-arabic); letter-spacing: 0.05em; }
@media (max-width: 780px) {
  .contact { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact__details { grid-template-columns: 1fr; }
}

/* ================================================================
   FOOTER
================================================================ */
.footer { background: #020202; border-top: 1px solid var(--line-soft); padding: 78px var(--pad-x) 30px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px;
  padding-bottom: 56px; border-bottom: 1px solid var(--line-soft);
}
.footer__brand-block { display: flex; flex-direction: column; }
.footer__logo {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
}
.footer__tagline {
  margin-top: 14px; color: var(--ink-dim);
  font-family: var(--f-body); font-style: italic; font-size: 14px; max-width: 32ch; line-height: 1.7;
}
body[dir="rtl"] .footer__tagline { font-family: var(--f-arabic); font-style: normal; }
.footer__col h5 {
  font-family: var(--f-body); font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-mute) !important; font-weight: 700; margin-bottom: 18px;
}
body[dir="rtl"] .footer__col h5 { font-family: var(--f-arabic); letter-spacing: 0.05em; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--ink) !important; transition: color .25s; font-size: 14px; font-family: var(--f-body); }
body[dir="rtl"] .footer__col a { font-family: var(--f-arabic); }
.footer__col a:hover { color: var(--ink-dim) !important; }
.footer__bottom {
  max-width: var(--maxw); margin: 22px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-body); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}
body[dir="rtl"] .footer__bottom { font-family: var(--f-arabic); letter-spacing: 0.04em; }
@media (max-width: 980px) {
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .footer__brand-block { grid-column: span 3; }
}
@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand-block { grid-column: span 2; }
}

/* ================================================================
   REVEAL
================================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ================================================================
   LIGHTBOX
================================================================ */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.94); backdrop-filter: blur(12px);
  z-index: 100; display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__inner {
  position: relative; width: min(1100px,94vw); aspect-ratio: 16/9;
  background: #000; overflow: hidden; border: 1px solid var(--line);
}
.lightbox__inner img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px; background: linear-gradient(180deg,transparent,rgba(0,0,0,0.88));
}
.lightbox__cap .tile__name { font-size: 28px; }
.lightbox__close {
  position: absolute; top: -48px; right: 0;
  font-family: var(--f-body); font-size: 10px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink);
}
.lightbox__close::after {
  content: ""; display: inline-block; width: 13px; height: 13px;
  margin-left: 10px; vertical-align: -3px;
  background:
    linear-gradient(45deg,  transparent 46%, var(--ink) 46% 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, var(--ink) 46% 54%, transparent 54%);
}
body[dir="rtl"] .lightbox__close { font-family: var(--f-arabic); letter-spacing: 0.04em; }

/* ================================================================
   NAV LOGO sizing (also declared in index.html <style> block)
================================================================ */
.nav__logo {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.nav.is-scrolled .nav__logo {
  height: 30px;
  transition: height .4s ease;
}
.footer__logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* ================================================================
   RTL GLOBAL FIXES
================================================================ */
body[dir="rtl"] .hero__inner   { direction: rtl; }
body[dir="rtl"] .footer__inner { direction: rtl; }

/* ================================================================
   WEDDING.HTML — Mobile fixes
   Fixes solo-frame cropping, parallax bleed, trio row heights,
   and iOS Safari 100vh address-bar overflow
================================================================ */
@media (max-width: 600px) {

  /* ── Back button & counter ── */
  .back-btn        { bottom: 20px; left: 20px; }
  .gallery-counter { bottom: 20px; right: 20px; }
  body[dir="rtl"] .back-btn        { left: auto; right: 20px; }
  body[dir="rtl"] .gallery-counter { right: auto; left: 20px; }

  /* ── Hero label ── */
  .hero-label       { bottom: 10%; width: 92%; }
  .hero-label__name { font-size: clamp(38px, 11vw, 72px); }

  /* ── Solo full-screen frames (image 1, 5, etc.)
        100svh respects mobile browser chrome; 100vh does not ── */
  .gallery-frame:not(.gallery-row .gallery-frame) {
    height: 100svh;
  }

  /* ── Fallback for browsers without svh support ── */
  @supports not (height: 100svh) {
    .gallery-frame:not(.gallery-row .gallery-frame) {
      height: calc(var(--vh, 1vh) * 100);
    }
  }

  /* ── Kill the parallax bleed on mobile ──
        top:-10% + height:120% causes misframing on small screens ── */
  .gallery-frame__img {
    top: 0 !important;
    height: 100% !important;
    object-position: center center;
    will-change: auto;
    transition: none !important;
  }

  /* ── Trio rows — stack vertically, taller cells ── */
  .gallery-row {
    flex-direction: column;
    height: auto;
  }
  .gallery-row .gallery-frame {
    flex: none;
    height: 72vw;
  }

  /* ── Image number & caption nudge ── */
  .gallery-frame__num { bottom: 14px; right: 16px; }
  .gallery-frame__cap { bottom: 14px; }
}