/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
  /* Brand palette */
  --ink: #21151f; /* Caviar Ink: wordmark and lettering */
  --porcelain: #f6f4ef; /* main light foundation */
  --water: #dceaf0; /* Open Water: larger areas of colour */
  --mousse: #f2e1ae; /* Champagne Mousse: occasional warm accent */
  --rose: #e3b3be; /* Rose Satin: small details */

  /* Derived */
  --ink-2: #5a4d56; /* secondary text on light grounds (7.6:1 on porcelain) */
  --line: rgba(33, 21, 31, 0.16);
  --line-strong: rgba(33, 21, 31, 0.42);
  --on-dark: #f6f4ef;
  --on-dark-2: #c9c1c5; /* secondary text on ink (9:1) */
  --dusk: #2c5495; /* the evening sky where the night photograph begins */
  --dusk-clear: rgba(44, 84, 149, 0);
  --sea: #0d6a8c; /* hero background until its photograph has loaded */
  --blush-1: #f3ebe8; /* the page warming toward evening */
  --blush-2: #ead9da;
  --blush-3: #e0c9ce;
  --dusk-1: #a893ac; /* the ramp from blush down into the night sky */
  --dusk-2: #6e7aa4;
  --dusk-3: #3f5e98;
  --field-bg: rgba(246, 244, 239, 0.72);
  --shadow-ink: rgba(33, 21, 31, 0.14); /* soft shadow under cut-out pictures */
  --shadow-text: 0 1px 18px rgba(4, 40, 60, 0.28);

  /* Type */
  --font: "Cala Sans", "Hanken Grotesk", "Helvetica Neue", arial, sans-serif;
  --fs-small: 0.875rem; /* practical details, Medium */
  --fs-body: 1.0625rem; /* reading text, Regular */
  --fs-lead: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  --fs-h3: clamp(1.625rem, 1.25rem + 1.3vw, 2.5rem);
  --fs-statement: clamp(
    1.75rem,
    1.15rem + 1.9vw,
    3rem
  ); /* hero statement, voice lines */

  --fs-h2: clamp(2.375rem, 1.3rem + 3.9vw, 5.25rem); /* the day's sentences */
  --fs-index: clamp(1.625rem, 1rem + 2.2vw, 3.25rem);
  --fs-ui: 0.9375rem; /* navigation, text links, menu buttons */
  --fs-field: 1rem; /* form fields: 16px stops iOS zooming in on focus */
  --fs-menu: clamp(2.25rem, 1.5rem + 4vw, 3rem); /* phone menu links */
  --fs-yacht: clamp(3rem, 2rem + 4vw, 6rem); /* the two yacht names */
  --fs-isle: clamp(2.75rem, 1rem + 4.6vw, 5.25rem); /* the island names */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --lh-tight: 1.04;
  --lh-display: 1.12;
  --lh-body: 1.55;
  --lh-snug: 1.1; /* figures and prices set at heading size */
  --lh-menu: 1.15;
  --lh-index: 1.18;
  --lh-compact: 1.4;
  --lh-small: 1.45;
  --lh-lead: 1.5;
  --lh-name: 0.95; /* yacht names */
  --lh-isle: 0.98; /* island names */
  --track-display: -0.028em;
  --track-statement: -0.024em; /* hero line, voice lines, the day index, phone menu */
  --track-heading: -0.02em; /* h3, prices, rate table */
  --track-name: -0.035em; /* yacht names */
  --track-label: 0.005em; /* practical details */

  /* Space */
  --edge: clamp(1.25rem, 0.6rem + 3.2vw, 3.5rem);
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.25rem;
  --s-5: 3.5rem;
  --s-6: 5.5rem;
  --s-7: clamp(5rem, 3rem + 7vw, 10rem);
  --s-0: 0.25rem;
  --s-hair: 0.35rem;
  --s-1-5: 0.75rem;
  --s-2-5: 1.25rem; /* the small steps between */
  --s-baseline: 0.6rem; /* lines a paragraph's last baseline up with its neighbour */
  --gap-nav: clamp(1.25rem, 0.5rem + 1.8vw, 2.5rem);
  --gap-fleet: clamp(2rem, 1rem + 4vw, 6rem);
  --field-icon-room: 2.5rem; /* leaves the select's chevron clear of its text */
  --night-lead: 19rem;
  --night-lead-sm: 16rem; /* the sky above the night headline, desktop and phone */
  --radius-pill: 999px;
  --radius-field: 0.75rem;
  --radius-focus: 2px;

  /* Motion: one unhurried character; a quick acknowledgement, a soft settle, a long editorial arrival */
  --ease-quick: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-settle: cubic-bezier(0.33, 0, 0.2, 1);
  --ease-tide: cubic-bezier(0.625, 0.05, 0, 1);
  --t-quick: 180ms;
  --header-h: 4.25rem;
}

@media (min-width: 720px) {
  :root {
    --header-h: 5rem;
  }
}
