/* Tokens from the ArCompass Design System (dark is the default theme). Fonts are bundled: no third parties. */
@font-face { font-family: "Cairo"; font-weight: 400; font-display: swap; src: url("/assets/fonts/cairo-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-weight: 700; font-display: swap; src: url("/assets/fonts/cairo-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Cairo"; font-weight: 400; font-display: swap; src: url("/assets/fonts/cairo-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-weight: 700; font-display: swap; src: url("/assets/fonts/cairo-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --bg: #0b0b0b; --surface: #161d1c; --ink: #f2f2f2; --ink-muted: #a8a8a8; --control: #6b7472; --hairline: #585858; --teal: #3f8f87; --teal-text: #54a59c; --orange: #d98b34; --orange-text: #d98b34; --on-brand: #0b0b0b; --focus: #f59f26; }
@media (prefers-color-scheme: light) {
  :root { --bg: #ffffff; --surface: #f3f5f4; --ink: #111414; --ink-muted: #4f5856; --control: #8d9694; --hairline: #d5dad9; --teal-text: #2f6f69; --orange-text: #9a5a12; --focus: #9a5a12; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif; line-height: 1.8; }
body { min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top { display: flex; justify-content: flex-end; padding: 16px; }
.lang { background: none; border: 1px solid var(--control); color: var(--ink); border-radius: 4px; padding: 4px 12px; font: inherit; cursor: pointer; }
main { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 16px 48px; flex: 1; }
.hero { text-align: center; padding: 16px 0 32px; }
.logo { display: block; width: min(260px, 70vw); height: auto; margin: 0 auto 24px; }
.lead { font-size: 1.5rem; font-weight: 700; margin: 0 0 16px; }
.services { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0 0 24px; }
.services li { border: 1px solid var(--teal-text); color: var(--teal-text); border-radius: 999px; padding: 2px 14px; font-size: .875rem; font-weight: 700; }
.cta { display: inline-block; background: var(--orange); color: var(--on-brand); border: 0; border-radius: 999px; padding: 10px 28px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.cta[disabled] { opacity: .5; cursor: progress; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.cta-ghost { background: transparent; color: var(--teal-text); box-shadow: inset 0 0 0 2px currentColor; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px; padding: 24px 16px; }
.card h2 { margin: 0 0 4px; font-size: 1.5rem; }
.muted { color: var(--ink-muted); font-size: .875rem; }
form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
label { display: flex; flex-direction: column; gap: 4px; font-size: .875rem; font-weight: 700; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--control); border-radius: 4px; padding: 8px 12px; min-height: 44px; }
.check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; }
.check input { min-height: auto; margin-top: 6px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }
.msg { min-height: 1.8em; margin: 0; font-weight: 700; }
.msg.ok { color: var(--teal-text); }
.msg.err { color: var(--orange-text); }
footer { text-align: center; padding: 24px 16px; }
footer p { margin: 4px 0; }
.social a { color: var(--teal-text); text-decoration: none; unicode-bidi: isolate; }
.social a:hover, .social a:focus-visible { text-decoration: underline; }
/* /join and /privacy (CR-030 items 5 and 6) */
.top { align-items: center; gap: 12px; }
.home { margin-inline-end: auto; display: inline-flex; }
.title { margin: 0 0 4px; font-size: 1.5rem; }
.row3 { grid-template-columns: 1fr 1fr 1.4fr; }
@media (max-width: 560px) { .row3 { grid-template-columns: 1fr; } }
.check a, footer a { color: var(--teal-text); }
.doc { width: 100%; max-width: 760px; margin: 0 auto 48px; padding: 24px 16px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px; flex: none; }
.doc h1 { margin: 0; font-size: 1.75rem; line-height: 1.4; }
.doc h2 { font-size: 1.15rem; margin: 24px 0 0; padding-top: 12px; border-top: 1px solid var(--hairline); display: flex; gap: 10px; align-items: baseline; }
.doc h2 span { color: var(--teal-text); font-size: .95rem; }
.doc p { margin: 8px 0; }
.doc ul { margin: 8px 0; padding-inline-start: 22px; }
.doc .meta { color: var(--ink-muted); font-size: .875rem; }
.doc .lead { font-size: 1.05rem; }
.doc .contact { background: var(--bg); border-radius: 4px; padding: 10px 14px; margin-top: 8px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
/* «معرض الطرز» (CR-044) */
.gallery { width: 100%; max-width: 1100px; margin: 0 auto 48px; padding: 0 16px; box-sizing: border-box; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip { border: 1px solid var(--teal-text); color: var(--teal-text); border-radius: 999px; padding: 4px 14px; font-size: .875rem; text-decoration: none; }
.gallery-style { margin: 28px 0 0; padding-top: 12px; border-top: 1px solid var(--hairline); scroll-margin-top: 16px; }
.gallery-style h2 { margin: 0 0 12px; font-size: 1.3rem; }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: 4px; overflow: hidden; }
.gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg); }
.gallery-grid figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 8px 10px; font-size: .8rem; }
.gallery-grid .space { font-weight: 700; }
.gallery-grid .tag { color: var(--ink-muted); }
.gallery-ctas { margin-top: 32px; }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
