
* {
  box-sizing: border-box;
}

/* Scrollbars — the browser default is a bright slab against a dark page */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 164, 106, 0.32) transparent;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb {
  background: rgba(197, 164, 106, 0.3);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 164, 106, 0.55);
  background-clip: content-box;
}
::-webkit-scrollbar-corner { background: transparent; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-charcoal);
  direction: rtl;
  text-align: right;
  background:
    radial-gradient(circle at 8% 10%, rgba(197, 164, 106, 0.14), transparent 32%),
    radial-gradient(circle at 92% 90%, rgba(154, 122, 69, 0.16), transparent 36%),
    linear-gradient(160deg, #0b0b0c 0%, #121214 50%, #1a1715 100%);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(197, 164, 106, 0.9);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  right: 0;
  top: -48px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-gold);
  color: #1a1714;
  z-index: 500;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
