/* ==========================================================================
   Eon Echelon design tokens. Read this file first.

   The look: cream paper, brown ink and one green, all from the Benjamin Moore
   Color Trends 2027 palette. Titles are set in Libre Baskerville; everything
   else in a plain sans. The page is a ruled grid: hairlines box the header,
   and every tea sits on its own card with the leaf photographed from above.
   ========================================================================== */

/* Libre Baskerville, self-hosted (Open Font License). */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/libre-baskerville-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/libre-baskerville-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter Tight, self-hosted (Open Font License). It stands in for Neue
   Montreal, the brand's sans, which needs a paid licence before it may be
   served from a website. To switch: add the licensed .woff2 files to
   assets/fonts, declare them here as "Neue Montreal", and put that name first
   in --ee-sans below. Nothing else changes. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colour: the palette, named by the job each colour does here. */
  --ee-paper: #EBE6D7;    /* White Down OC-131: the page */
  --ee-ink: #634543;      /* Townsend Harbor Brown HC-64: all text. On paper 6.8:1 */
  --ee-soft: #645D4E;     /* Durango 2137-30: secondary text. On paper 5.2:1 */
  --ee-green: #64806C;    /* Webster Green HC-130: the logo, focus rings, large shapes.
                             Only 3.5:1 on paper, so never small text */
  --ee-mist: #CED6D0;     /* Nelson Blue CW-635: the footer's left block. Ink on it 5.7:1 */
  --ee-blush: #E8D9D4;    /* Wild Aster 1240: notices. Ink on it 6.2:1 */
  --ee-copper: #9C7059;   /* Antique Copper 1169: the mark on error notices. 3.4:1 on paper, never small text */
  /* The palette's eighth colour, Shakespeare Tan 228 (#CAB88C), is not used on
     the site: ink on it is 4.4:1, just under what small text needs. */

  /* Two working tints mixed from the palette. */
  --ee-card: #F5F2E9;     /* White Down, lightened: cards and form fields. Ink on it 7.6:1 */
  --ee-line: #CBC0B4;     /* ink at a quarter strength on paper: hairlines, never text */

  /* Type */
  --ee-serif: "Libre Baskerville", Baskerville, "Times New Roman", serif;
  --ee-sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ee-text-label: 0.75rem;                                    /* 12px: the small capitals on menu cells, pills and add buttons */
  --ee-text-small: 0.875rem;                                   /* 14px */
  --ee-text-base: 1rem;                                        /* 16px */
  --ee-text-lead: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);      /* 16 to 18px */
  --ee-text-subtitle: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);/* 20 to 26px */
  --ee-text-title: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);       /* 36 to 56px: page titles */
  --ee-label-tracking: 0.09em;

  /* Layout */
  --ee-width: 72rem;                              /* the page's widest content */
  --ee-edge: clamp(1rem, 4vw, 3rem);              /* space left and right of it */
  --ee-gap: clamp(0.75rem, 2vw, 1.5rem);          /* between cards */
  --ee-pad: clamp(0.875rem, 1.6vw, 1.25rem);      /* inside cards and menu cells */
  --ee-section-space: clamp(3rem, 7vw, 6rem);
  --ee-cell-height: 2.75rem;                      /* one menu cell; the logo box is two of them */
  --ee-control-height: 3.25rem;                   /* buttons and form fields */

  /* Motion */
  --ee-duration-quick: 140ms;
}
