/* ==========================================================================
   Marketing-site design tokens (cream background, wax-burgundy headings and
   buttons, antique gold as a small accent; the --c-teal-* and --c-coral names are
   kept for stability and now hold burgundy and gold values, serif display + clean sans, plus the Arabic pairing).
   Used by site pages only. Invitations use engine/engine.css + their theme.
   Load fonts in each page <head>:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rufina:wght@400;700&family=Source+Sans+3:wght@300;400;600;700&family=Amiri:wght@400;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap">
   ========================================================================== */

:root {
  /* ---- Colour: neutrals ---- */
  --c-bg: #faf6ef;            /* page */
  --c-surface: #fffdf9;       /* cards, outline-button fill */
  --c-panel: #f1eadf;         /* card panels, marquee band */
  --c-chrome: #f3ece1;        /* sticky header + footer bar */
  --c-text: #4a4340;          /* body */
  --c-text-strong: #1f1b16;   /* card titles */
  --c-text-soft: #5a524c;     /* widget body */
  --c-text-muted: #6f665e;    /* labels */
  --c-text-faint: #a69c92;    /* dates, counters */
  --c-line: #e9e0d2;          /* hairlines, card borders */
  --c-line-soft: #f2ebdf;

  /* ---- Colour: brand burgundy (token names still say teal) ---- */
  --c-ink: #5e1620;           /* deep ink: FAQ / step titles, outline button */
  --c-teal-900: #5e1620;      /* heading gradient end */
  --c-teal-800: #6b1b26;      /* eyebrow text */
  --c-teal-700: #641824;      /* big numerals, hover dark */
  --c-teal-600: #7a1f2b;      /* primary accent: links, active, focus, icons */
  --c-teal-500: #a23a48;      /* heading gradient start */
  --c-teal-tint-1: #f6e9e8;   /* pills, icon chips */
  --c-teal-tint-2: #fbf3f1;   /* tinted cards */
  --c-teal-line: #e5c4c3;     /* borders on tinted cards */

  /* ---- Colour: warm accents ---- */
  --c-cta: #7a1f2b;           /* primary button (teal) */
  --c-cta-hover: #641824;
  --c-cta-ink: #ffffff;
  --c-cta-tint: #f6e9e8;
  --c-coral: #b8935a;         /* small accent only: stamp, hearts, tag sparkle */
  --c-coral-tint: #f7efe2;
  --c-teal-typed: #8e2a38;    /* typed word + cursor */
  --c-ink-footer: #6f665e;
  --c-gold: #b09848;          /* bespoke tier text */
  --c-gold-grad-a: #cebb78;
  --c-gold-grad-b: #b09848;
  --c-star: #fbbc04;          /* review stars */
  --c-cream: #fffff9;         /* rating badge */
  --c-cream-line: #f4f0d6;
  --c-danger: #b3261e;

  /* ---- Gradients ---- */
  --g-heading: linear-gradient(90deg, var(--c-teal-500), var(--c-teal-900));
  --g-cta: linear-gradient(90deg, #a23a48, #6b1b26);   /* primary button gradient */
  --g-teal-btn: linear-gradient(270deg, var(--c-ink), var(--c-teal-500));
  --g-gold: linear-gradient(90deg, var(--c-gold-grad-a), var(--c-gold-grad-b));

  /* ---- Type ---- */
  --f-display: 'Rufina', Georgia, serif;
  --f-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-num: 'Rufina', Georgia, serif;

  --fs-h1: clamp(43px, 4.2vw + 26px, 54px);
  --fs-h1-sub: clamp(37px, 3.2vw + 24px, 47px);
  --fs-h2: clamp(35px, 1.2vw + 30px, 41px);
  --fs-h2-sm: 25px;
  --fs-h3: 22px;
  --fs-h-item: 24px;          /* desktop difference list headings */
  --fs-title: 20px;           /* widget / card title */
  --fs-lead: clamp(18px, .5vw + 16px, 20px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-micro: 12px;
  --fs-eyebrow: 15px;
  --fs-btn: 18px;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --lh-tight: 1.2;
  --lh-heading: 1.25;
  --lh-body: 1.6;
  --ls-eyebrow: .1em;

  /* ---- Space, radii, shadows ---- */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-20: 80px;
  --gutter: 20px;
  --container: 1160px;
  --section-y: clamp(48px, 6vw, 88px);

  --r-pill: 999px;
  --r-card: 18px;
  --r-card-lg: 22px;
  --r-tile: 13px;
  --r-chip: 20px;
  --r-btn-sm: 8px;
  --r-arch: 300px 300px 0 0;   /* arch-shaped hero image */
  --r-gallery: 30px 30px 0 0;  /* gallery card image */

  --sh-none: none;
  --sh-hover: 0 5px 18px rgba(122, 31, 43, .07);
  --sh-card: 0 10px 36px rgba(122, 31, 43, .11);
  --sh-featured: 0 18px 52px rgba(122, 31, 43, .2);
  --sh-glow: 0 0 10px rgba(240, 231, 189, .59);
  --sh-cta: 0 10px 24px -12px rgba(122, 31, 43, .55);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(.4, 0, .2, 1);   /* carousels */
  --ease-spring: cubic-bezier(.34, 1.1, .64, 1); /* reveals */
  --ease-swipe: cubic-bezier(.25, .46, .45, .94);
  --dur-fast: .2s;
  --dur-reveal: .46s;
  --dur-slide: .48s;

  /* ---- Breakpoints (for reference; CSS vars cannot be used in @media) ----
     sm 480 · md 700 (marquee <-> swipe) · lg 960 · xl 1200 */

  /* ---- Layers ---- */
  --z-header: 990;
  --z-overlay: 2000;
}

/* Arabic pages: <html lang="ar" dir="rtl"> */
/* Until Amiri arrives, headings use a face of about the same width, so they keep their line count and
   nothing below them jumps on the swap: Times New Roman's Arabic (macOS, iOS, Windows; within 4% of
   Amiri), else the system Naskh scaled down (it runs about 1.3x wider than Amiri). */
@font-face { font-family: 'Amiri Fallback'; src: local('Noto Naskh Arabic'), local('Noto Naskh Arabic UI'), local('Geeza Pro'); size-adjust: 74%; }
:root:lang(ar) {
  --f-display: 'Amiri', 'Times New Roman', 'Amiri Fallback', 'Rufina', serif;
  --f-body: 'IBM Plex Sans Arabic', 'Source Sans 3', system-ui, sans-serif;
  --f-num: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ls-eyebrow: 0;
  --lh-body: 1.8;
}

/* ---- Minimal shared primitives (pages may extend) ---- */
.t-heading {
  font-family: var(--f-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  background: var(--g-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.t-eyebrow {
  font-family: var(--f-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-teal-800);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 52px; padding: 0 var(--space-8);
  border-radius: var(--r-pill); border: 2px solid transparent;
  font-family: var(--f-body); font-size: var(--fs-btn); font-weight: var(--fw-semibold);
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast) ease-in-out, color var(--dur-fast) ease-in-out, transform var(--dur-fast) ease-in-out, box-shadow var(--dur-fast) ease-in-out;
}
/* A solid colour sits under each gradient: on hover the gradient goes and the colour cross-fades,
   so the button never flashes transparent (which hid its white label). No hover lift: a button that
   moves away from the cursor at its edge flickers. */
.btn--cta { background: var(--g-cta); background-color: var(--c-cta); color: var(--c-cta-ink); box-shadow: var(--sh-cta); }
.btn--cta:hover { background-image: none; background-color: var(--c-cta-hover); }
.btn--cta:active { transform: none; }
.btn--outline { background: transparent; color: var(--c-teal-600); border-color: var(--c-teal-600); }
.btn--outline:hover { background: var(--c-teal-600); color: #fff; }
.btn--teal { background: var(--g-teal-btn); background-color: var(--c-teal-600); color: #fff; }
.btn--teal:hover { background-image: none; background-color: var(--c-teal-600); }
:focus-visible { outline: 2px solid var(--c-teal-600); outline-offset: 3px; }
