/* Rise Visual Identity Tokens (Official — 25 November 2026)
 * Measured directly from the owner's closing artwork: slate #404D4D & cream #F1ECE0 + oxblood #5C1422.
 * Zero pure white or pure black literals. Zero external CDNs. Modern minimalist Alexandria typography. */

@font-face {
  font-family: "Rise Alexandria";
  src: url("/rise-public/v20261126/assets/fonts/alexandria-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200F, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Rise Alexandria";
  src: url("/rise-public/v20261126/assets/fonts/alexandria-arabic-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200F, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Rise Alexandria";
  src: url("/rise-public/v20261126/assets/fonts/alexandria-arabic-600.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200F, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Rise Alexandria";
  src: url("/rise-public/v20261126/assets/fonts/alexandria-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: "Rise Alexandria";
  src: url("/rise-public/v20261126/assets/fonts/alexandria-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  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: "Rise Alexandria";
  src: url("/rise-public/v20261126/assets/fonts/alexandria-latin-600.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  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 {
  /* Core official palette */
  --ground: #F1ECE0;
  --sheet: #FBF8F1;
  --sheet-warm: #F6F2E7;
  --slate: #404D4D;
  --deep: #313C3C;
  --ink: #283232;
  --soft: #515D5C;
  --mist: #DCDDD3;
  --sage: #BDC6C3;
  --line: #CFC7B8;
  --line-dark: rgba(241, 236, 224, 0.22);
  --line-dark-soft: rgba(241, 236, 224, 0.12);
  --oxblood: #5C1422;
  --oxblood-dark: #8E2439;
  --oxblood-luminous: #B22E48;
  --oxblood-soft: #B22E48;
  --oxblood-tint: #EAE0DA;
  --present-bg: #DCE6DE;
  --present-ink: #244032;

  /* Typography */
  --font: "Rise Alexandria", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;

  /* Layout & radii */
  --bar-h: 64px;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 20px);
}

html.ready {
  scroll-behavior: smooth;
}

html.dir-switch, html.dir-switch * {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html.ready {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  overflow-x: clip;
  padding-top: var(--bar-h);
}

body.intro-lock {
  overflow: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

img, svg, canvas {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

main > section[id],
#roles {
  scroll-margin-top: calc(var(--bar-h) + 24px);
}

:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
  border-radius: 4px;
}

.band-dark :focus-visible,
.intro-overlay :focus-visible,
.tour-dock :focus-visible {
  outline-color: var(--ground);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  inset-inline-start: 16px;
  z-index: 200;
  background: var(--slate);
  color: var(--ground);
  padding: 12px 18px;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 500;
}

.skip-link:focus {
  top: 12px;
}

html:not([lang="en"]) .only-en { display: none !important; }
html[lang="en"] .only-ar { display: none !important; }
