/* =========================================================
   NOOR JABAL DECORATION — Base & Reset
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Manrope:wght@300;400;500;600;700&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--clr-charcoal);
  background-color: var(--clr-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ───────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--clr-mid);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

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

ul, ol { list-style: none; }

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
}

/* ── Layout Utilities ─────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1600px;
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.section--lg {
  padding-block: clamp(var(--space-20), 10vw, var(--space-40));
}

/* ── Eyebrow / Label ──────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-5);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--clr-gold);
  flex-shrink: 0;
}

/* ── Section Headings ─────────────────────── */
.section-heading {
  margin-bottom: var(--space-6);
}

.section-heading h2 {
  color: inherit;
}

.section-heading p {
  margin-top: var(--space-4);
  max-width: 55ch;
  font-size: var(--fs-xl);
}

/* ── Gold Divider ─────────────────────────── */
.gold-line {
  width: 48px;
  height: 2px;
  background: var(--clr-gold);
  margin-bottom: var(--space-6);
}

.gold-line--center {
  margin-inline: auto;
}

/* ── Dark Section ─────────────────────────── */
.dark-section {
  background-color: var(--clr-charcoal);
  color: var(--clr-ivory);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4 {
  color: var(--clr-ivory);
}

.dark-section p {
  color: var(--clr-light-mid);
}

/* ── Ivory Section ───────────────────────── */
.ivory-section {
  background-color: var(--clr-ivory);
}

/* ── Image Wrapper ───────────────────────── */
.img-wrap {
  overflow: hidden;
  position: relative;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-xslow) var(--ease-out);
}

.img-wrap:hover img {
  transform: scale(1.04);
}

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

/* ── Skip link ───────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--clr-gold);
  color: var(--clr-black);
  font-weight: 700;
  font-size: var(--fs-sm);
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

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

/* ── Reduced Motion ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
