/* ==========================================================================
   Base: tokens, reset, typography, utilities
   ========================================================================== */

:root {
  --cream: #f5f2eb;
  --cream-2: #fbf9f4;
  --paper: #ffffff;
  --ink: #1f201c;
  --ink-2: #2a2b26;
  --ink-3: #34352f;
  --ink-deep: #171814;
  --bronze: #a7835a;
  --bronze-2: #c29d73;
  --bronze-deep: #8a6846;
  --bronze-soft: rgba(167, 131, 90, 0.12);
  --muted: #6d685f;
  --muted-dark: #b9b3a7;
  --line: rgba(31, 32, 28, 0.1);
  --line-dark: rgba(245, 242, 235, 0.12);
  --shadow: 0 30px 60px rgba(31, 32, 28, 0.14);

  --container: 1280px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 20px;
  --radius-lg: 28px;
  --header-offset: 6.5rem;

  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Outfit", "Segoe UI", sans-serif;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  background: none;
  border: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 0.85rem 0 1rem;
}

[dir="ltr"] {
  unicode-bidi: isolate;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.bronze {
  color: var(--bronze);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bronze);
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  right: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--bronze);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* Reveal on scroll (enabled by JS adding .js to <html>) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
