/* almutawaa.ai: the owner's navy and gold identity (tokens.css in the brand folder). Fonts are self-hosted. */
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url(fonts/plex-arabic-arabic-400.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url(fonts/plex-arabic-arabic-600.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url(fonts/plex-arabic-arabic-700.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url(fonts/plex-arabic-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url(fonts/plex-arabic-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url(fonts/plex-arabic-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2010-2027, U+20AC; }
@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url(fonts/playfair-latin-400.woff2) format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 400; font-display: swap; src: url(fonts/cinzel-latin-400.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --navy-950: #070C18; --navy-900: #0E1930; --navy-800: #1B2C52; --navy-700: #24365F;
  --gold-100: #F6DFA0; --gold-500: #D4AF37; --gold-700: #9C7A1E;
  --ink: #F2EADA; --ink-2: #C4CBD6; --ink-3: #A9B3C2;
  --line: rgba(212, 175, 55, .22);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-950); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 30% 0%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%); font: 17px/1.8 "IBM Plex Sans Arabic", -apple-system, "Segoe UI", Tahoma, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: var(--gold-100); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(7, 12, 24, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; direction: ltr; }
.wordmark { display: grid; line-height: 1.1; }
.wordmark b { font: 400 21px/1.15 "Playfair Display", Georgia, serif; color: var(--ink); letter-spacing: .5px; }
.wordmark i { font: 400 10px/1.4 "Cinzel", serif; color: var(--gold-500); letter-spacing: 4px; font-style: normal; }
.links { display: flex; align-items: center; gap: 22px; }
.links a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.links a:hover { color: var(--gold-100); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px; border-radius: 10px; border: 1px solid rgba(242, 234, 218, .25); color: var(--ink) !important; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--gold-500); background: rgba(212, 175, 55, .08); }
.btn.primary { background: linear-gradient(135deg, var(--gold-100) 0%, var(--gold-500) 50%, var(--gold-700) 100%); border: 0; color: var(--navy-950) !important; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.big { font-size: 18px; min-height: 54px; padding: 10px 28px; }

.hero { padding: 104px 0 88px; }
.eyebrow { color: var(--gold-500); font-weight: 600; font-size: 15px; letter-spacing: .5px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 56px); line-height: 1.35; font-weight: 700; max-width: 820px; }
.lead { color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); max-width: 680px; margin-top: 20px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.cta.center { justify-content: center; margin-top: 0; }
.cta.spaced { margin-top: 44px; }

.block { padding: 80px 0; }
.block.alt { background: rgba(7, 12, 24, .45); border-block: 1px solid var(--line); }
.block h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-bottom: 30px; }
.block h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--gold-500); }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: rgba(27, 44, 82, .55); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { color: var(--ink-2); font-size: 16px; }
.try { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 10px; border: 1px solid rgba(212, 175, 55, .55); color: var(--gold-100); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s; }
.try:hover { background: rgba(212, 175, 55, .1); }
.work a:not(.try), .soon { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.soon { color: var(--ink-3); }
.tag { align-self: flex-start; font-size: 13px; color: var(--gold-100); background: rgba(212, 175, 55, .12); border: 1px solid rgba(212, 175, 55, .3); border-radius: 99px; padding: 1px 12px; }

.back { display: inline-block; color: var(--ink-3); text-decoration: none; font-size: 15px; margin-bottom: 18px; }
.back:hover { color: var(--gold-100); }
.sub { font-size: 22px; font-weight: 700; margin-top: 44px; color: var(--gold-100); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 18px; }
.gallery figure { margin: 0; background: rgba(27, 44, 82, .55); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery a { display: block; line-height: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.02); }
.gallery figcaption { padding: 12px 16px; font-weight: 600; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 6px; padding-top: 18px; border-top: 2px solid var(--line); }
.steps li::before { content: counter(s); font: 400 30px/1 "Playfair Display", Georgia, serif; color: var(--gold-500); }
.steps b { font-size: 19px; }
.steps span { color: var(--ink-2); font-size: 16px; }

.contact { text-align: center; }
.contact h2::after { margin-inline: auto; }
.contact .lead { margin: 0 auto 30px; }

.foot { border-top: 1px solid var(--line); padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); color: var(--ink-3); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 12px; }

@media (max-width: 900px) {
  .grid.three { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .wrap { padding: 0 16px; }
  .links a:not(.btn) { display: none; }
  .links .btn { min-height: 40px; padding: 6px 16px; }
  .wordmark b { font-size: 19px; }
  .hero { padding: 64px 0 56px; }
  .hero h1 br { display: none; }
  .cta .btn { flex: 1 1 auto; }
  .block { padding: 56px 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .btn.big { font-size: 16px; width: 100%; }
}
