/* k-dgtal draft skin, loaded after styles.css on every page.
   A Dubai street at night: navy, warm white, sodium-lamp amber. WhatsApp green is used only for WhatsApp actions. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap; src: url("fonts/ibm-plex-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap; src: url("fonts/ibm-plex-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-400-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-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: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-600-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-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: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-arabic-700-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --bg: #060a14;
  --bg-frame: #0b1120;
  --surface: #111a2c;
  --surface-raised: #152037;
  --surface-hover: #1b2843;
  --slate-fill: #131d31;
  --slate-fill-hover: #1a2640;
  --pill-bg: #16213a;
  --pill-bg-hover: #1d2a47;

  --ink: #f4efe6;
  --ink-secondary: #d6cfc3;
  --ink-muted: #a9afbb;
  --ink-faint: #949aa8;

  --line: rgba(244, 239, 230, 0.13);
  --line-subtle: rgba(244, 239, 230, 0.07);
  --line-strong: rgba(244, 239, 230, 0.26);
  --line-bright: rgba(244, 239, 230, 0.5);

  --accent: #f4efe6;
  --accent-hover: #fff;
  --lamp: #f3b660;
  --focus-ring: #f3b660;
  --live: #f3b660;
  --live-bg: rgba(243, 182, 96, 0.12);
  --live-line: rgba(243, 182, 96, 0.4);
  --danger: #f08a7a;
  --danger-bg: rgba(240, 138, 122, 0.1);

  --wa: #25d366;
  --wa-hover: #3ddc78;
  --wa-ink: #05341a;
  --clay: #d97a4f;

  --font-title: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-display: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html { color-scheme: dark; }
::selection { background: var(--lamp); color: #0b1120; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
a { text-underline-offset: 0.18em; }

.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--bg-frame); }
.btn-primary:hover { background: #fff; border-color: #fff; color: #0b1120; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); color: var(--wa-ink); }
.btn-wa svg { width: 18px; height: 18px; flex: none; }

/* Plex is wider than the old condensed face: sentence case, sensible sizes */
.h1, .page-hero .h1, .detail-hero .h1 { font-size: clamp(2.3rem, 4.8vw, 4.6rem); line-height: 1.04; letter-spacing: -0.025em; text-transform: none; font-weight: 700; }
.h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; text-transform: none; font-weight: 700; }
.display { text-transform: none; letter-spacing: -0.025em; }

.brand-tag { letter-spacing: 0.02em; text-transform: none; font-family: var(--font-body); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.site-footer a:hover, .link-arrow:hover { color: var(--live); }
img { color: var(--ink-muted); }

/* The live header hard-codes a dark glass bar */
.site-header { background: rgba(11, 17, 32, 0.86); }
.site-header.is-scrolled { background: rgba(11, 17, 32, 0.94); }
.site-header, .site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
