/* عُمان كما تُروى — display: Amiri (AR) / Playfair (EN); body: IBM Plex Sans Arabic.
   Self-hosted subsets; rollback: git checkpoint-pre-oman-design. */
@font-face { font-family:'Amiri'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/amiri-400-normal-arabic.woff2') format('woff2'); unicode-range:U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family:'Amiri'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/amiri-400-normal-latin.woff2') format('woff2'); unicode-range:U+0000-00FF, U+2000-206F, U+FEFF, U+FFFD; }
@font-face { font-family:'Amiri'; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/amiri-700-normal-arabic.woff2') format('woff2'); unicode-range:U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family:'Amiri'; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/amiri-700-normal-latin.woff2') format('woff2'); unicode-range:U+0000-00FF, U+2000-206F, U+FEFF, U+FFFD; }
@font-face { font-family:'IBM Plex Sans Arabic'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/plexar-400-normal-arabic.woff2') format('woff2'); unicode-range:U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family:'IBM Plex Sans Arabic'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/plexar-400-normal-latin.woff2') format('woff2'); unicode-range:U+0000-00FF, U+2000-206F, U+FEFF, U+FFFD; }
@font-face { font-family:'IBM Plex Sans Arabic'; font-style:normal; font-weight:500; font-display:swap; src:url('/assets/fonts/plexar-500-normal-arabic.woff2') format('woff2'); unicode-range:U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family:'IBM Plex Sans Arabic'; font-style:normal; font-weight:500; font-display:swap; src:url('/assets/fonts/plexar-500-normal-latin.woff2') format('woff2'); unicode-range:U+0000-00FF, U+2000-206F, U+FEFF, U+FFFD; }
@font-face { font-family:'IBM Plex Sans Arabic'; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/plexar-700-normal-arabic.woff2') format('woff2'); unicode-range:U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family:'IBM Plex Sans Arabic'; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/plexar-700-normal-latin.woff2') format('woff2'); unicode-range:U+0000-00FF, U+2000-206F, U+FEFF, U+FFFD; }
@font-face { font-family:'Playfair Display'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/playfair-400-normal-latin.woff2') format('woff2'); unicode-range:U+0000-00FF, U+2000-206F, U+FEFF, U+FFFD; }
@font-face { font-family:'Playfair Display'; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/playfair-700-normal-latin.woff2') format('woff2'); unicode-range:U+0000-00FF, U+2000-206F, U+FEFF, U+FFFD; }

body { font-family: 'IBM Plex Sans Arabic', 'Inter', 'Noto Sans Arabic', sans-serif !important; }
h1, h2, h3, .h1ar { font-family: 'Amiri', 'Playfair Display', Georgia, serif !important; font-weight: 700; }
[dir="rtl"] h1, [dir="rtl"] h2 { line-height: 1.4 !important; }


/* portfolio (deliberately dark) aligned to the night/brass family */
body.oman-night {
  --green: #175c43; --green-dark: #123f30; --green-deeper: #10201b;
  --green-light: #2f7d5f; --hero-bg: #10201b;
  --gold: #d9b25f; --gold-soft: #d9b25f;
  --orange: #d9b25f; --orange-dark: #b8923f; --orange-light: #e5c77e;
  background: #10201b !important;
}


/* portfolio hero: Wadi Shab behind the ink — depth beneath a plain surface */
body.oman-night .hero { position: relative; isolation: isolate; }
body.oman-night .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: url('/assets/places/wadi-1280.jpg');
  background-image: image-set(url('/assets/places/wadi-1280.avif') type('image/avif'), url('/assets/places/wadi-1280.webp') type('image/webp'));
  background-size: cover; background-position: 50% 55%;
}
@media (max-width: 640px) { body.oman-night .hero::before { background-image: image-set(url('/assets/places/wadi-960.avif') type('image/avif'), url('/assets/places/wadi-960.webp') type('image/webp')); } }
body.oman-night .hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, #10201b 0%, rgba(16,32,27,.86) 55%, rgba(16,32,27,.62) 100%);
}
body.oman-night .hero .orb, body.oman-night .hero-orb { display: none !important; }


/* portfolio hero joins the full-bleed rule */
body.oman-night .hero {
  width: 100vw; max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 !important;
}
body.oman-night .hero > * { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); box-sizing: border-box; }
body.oman-night { overflow-x: clip; }
