/* ==========================================================================
   Get Into Gulf design tokens
   Change colors, type, spacing, radius and shadows here only.

   Palette logic (colour theory, round 2: lighter and airier):
   - Base: sea mist (#F3F7F7), a very light blue-green grey, with white
     cards. Light and calm, never stark white or heavy.
   - Primary: ocean teal (hue ~190deg). Sea, trade, trust.
   - Secondary: warm Gulf sand and gold (hue ~40deg) for warm surfaces and
     highlights. Analogous warmth balances the cool base.
   - Accent: coral (hue ~14deg), the near-complement of teal. Used ONLY for
     primary calls to action so they stand out.
   - Dark sections use a lighter deep ocean blue (#174D62), never near-black,
     and only where a photo, the globe or the footer needs them.
   - WhatsApp green is reserved for WhatsApp actions.
   Every text pairing below was checked for WCAG AA (4.5:1 or better):
     ink #16313A on mist 12.7 | ink-700 on mist 7.2 | ink-500 on mist 4.9
     brand #0E6577 on mist 6.2, on white 6.7 | gold-700 on white 6.2
     white on ocean #174D62 9.2 | on-dark-2 7.0 | on-dark-3 5.6 | gold-400 5.7
     white on coral #BD4D2B 4.9 | white on WhatsApp #13814A 4.9
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License). Latin subset, woff2.
   Manrope is a variable font covering weights 400 to 700. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-600-latin.woff2") format("woff2");
}

:root {
  /* Ocean teal (primary). 950 and 900 are the dark section colours. */
  --teal-950: #133F51;   /* deepest ocean, gradient ends only */
  --teal-900: #174D62;   /* dark sections, footer */
  --teal-800: #1D5C73;
  --teal-700: #0E6577;   /* primary brand colour, 6.2:1 on mist */
  --teal-600: #127487;
  --teal-500: #1F8C9E;
  --teal-300: #8FD3DA;   /* accents on dark backgrounds, 5.5:1 */
  --teal-100: #D3ECEE;
  --teal-50:  #E1F0F1;

  /* Mist (base) and sand and gold (secondary) */
  --mist-50:  #F3F7F7;   /* page background */
  --mist-100: #E6EFEF;   /* soft panels */
  --sand-0:   #FFFFFF;   /* card surface */
  --sand-50:  #F6EFE2;   /* warm panel background */
  --sand-100: #EFE5D2;
  --sand-200: #D9E4E6;   /* lines */
  --sand-300: #BFD0D4;   /* strong lines */
  --gold-300: #F2D394;
  --gold-400: #EEC676;   /* gold on ocean, 5.7:1 */
  --gold-500: #D9A441;
  --gold-700: #81591A;   /* gold text on light, 6.2:1 */

  /* Coral (call to action accent) */
  --coral-500: #D2603F;
  --coral-600: #BD4D2B;  /* button fill, white text 4.9:1 */
  --coral-700: #A9411F;  /* hover, 6.1:1 */
  --coral-50:  #FBEAE3;

  /* WhatsApp (only for WhatsApp actions) */
  --wa-600: #13814A;     /* white text 4.9:1 */
  --wa-700: #0F6B3D;
  --wa-50:  #E3F3E9;

  /* Ink (text) */
  --ink-900: #16313A;    /* headings and body, 12.7:1 on mist */
  --ink-700: #3B5660;    /* secondary text, 7.2:1 */
  --ink-500: #566F78;    /* muted text, 4.9:1 on mist */
  --on-dark:   #FFFFFF;
  --on-dark-2: #D3E3E8;  /* secondary text on ocean, 7:1 */
  --on-dark-3: #B6CDD5;  /* muted text on ocean, 5.6:1 */
  --line-dark: rgba(255, 255, 255, .16);

  /* Feedback */
  --error: #A8261B;
  --success: #13814A;

  /* Semantic aliases (use these in components) */
  --bg: var(--mist-50);
  --surface: var(--sand-0);
  --surface-2: var(--mist-100);
  --warm: var(--sand-50);
  --line: var(--sand-200);
  --line-strong: var(--sand-300);
  --text: var(--ink-900);
  --text-2: var(--ink-700);
  --text-3: var(--ink-500);
  --brand: var(--teal-700);
  --brand-soft: var(--teal-50);
  --dark: var(--teal-900);
  --dark-2: var(--teal-800);
  --cta: var(--coral-600);
  --cta-hover: var(--coral-700);
  --focus: var(--gold-500);

  /* Typography */
  --font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* The type scale: every heading and text size on the site uses one of these. */
  --fs-h1: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);      /* 32 to 52 */
  --fs-h2: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);    /* 28 to 40, section titles */
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);     /* 20 to 24, card titles */
  --fs-lead: clamp(1rem, .95rem + .25vw, 1.125rem);   /* 16 to 18, intros under a heading */
  --fs-body: 1rem;                                    /* 16 */
  --fs-small: .875rem;                                /* 14 */
  --fs-eyebrow: .75rem;                               /* 12, upper case */
  /* Older names, kept as aliases of the scale above */
  --fs-xs: var(--fs-eyebrow);
  --fs-sm: var(--fs-small);
  --fs-base: var(--fs-body);
  --fs-md: var(--fs-lead);
  --fs-lg: 1.25rem;
  --fs-xl: var(--fs-h3);
  --fs-2xl: var(--fs-h2);
  --fs-3xl: var(--fs-h1);
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.6;

  /* Spacing scale (8 px based; 4 and 12 only for fine detail inside components) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --sec-pad: var(--s-9);      /* space above every section */
  --head-gap: var(--s-6);     /* section heading block to its content */

  /* Layout */
  --max: 1200px;
  --gutter: 24px;
  --header-h: 64px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows (tinted ocean, never pure black) */
  --shadow-sm: 0 1px 2px rgba(19, 63, 81, .06), 0 2px 8px rgba(19, 63, 81, .05);
  --shadow-md: 0 2px 4px rgba(19, 63, 81, .06), 0 12px 32px rgba(19, 63, 81, .10);
  --shadow-lg: 0 24px 64px rgba(19, 63, 81, .20);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .15s;
  --t-med: .3s;
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --header-h: 56px;
    --sec-pad: var(--s-8);
  }
}
