/* =============================================================================
   ROOT TOKENS — The Helen Cabin Co.
   Every colour, typeface, spacing step and radius the site uses is declared
   here and nowhere else. Change a value in this file and it changes
   everywhere; no section file should ever hardcode one of these.

   Four groups: colour, type, space, shape.
   ========================================================================== */
:root{

  /* ---- 1. COLOUR ---------------------------------------------------- */
  --forest:#173d2f;        /* primary brand green  */
  --forest-deep:#0d2a20;   /* darkest ground       */
  --band:#15352a;          /* section band green   */
  --moss:#91a874;
  --sage:#78945d;          /* sage: icons, rules, accents on dark */

  /* The primary button's fill is NOT --sage. White 12px bold on #78945d
     measures 3.39:1 from rendered pixels, and 12px bold is not large text,
     so it needs 4.5:1. #5f7847 is the same hue two steps down and measures
     4.92:1; the hover is 6.19:1. This is the site's main call to action and
     it now appears on seventeen pages, so it was worth the two steps. */
  --sage-btn:#5f7847;
  --sage-btn-hover:#51683c;
  --accent:#b7c896;        /* heading accent       */
  --cream:#f5f0e6;         /* light section ground */
  --cream-warm:#f2eee5;    /* guest stories ground */
  --rust:#b95b35;          /* brand rust           */
  --rust-deep:#8b371d;     /* rust on light ground */
  --white:#ffffff;
  --ink:#18221c;           /* body text on light   */
  --ink-soft:#5d6759;      /* secondary text       */
  --tan:#c2a17b;
  --placeholder:#736d64;   /* every "not filled in yet" field. 4.5:1 on both
                              the hero card's cream and the dock's plate;
                              the old #9d978e measured 2.55:1 */

  /* ---- 2. TYPE ------------------------------------------------------- */
  --font-display:"Newsreader",Georgia,serif;      /* headings, decorative italics */
  --font-body:"Manrope",Arial,sans-serif;         /* body, nav, buttons, labels   */

  --fw-regular:400;
  --fw-medium:500;   /* display headings, intro copy */
  --fw-semi:600;     /* nav                          */
  --fw-bold:700;     /* buttons, kickers, labels     */

  --lh-tight:1.06;   /* display headings */
  --lh-snug:1.2;
  --lh-body:1.6;
  --lh-relaxed:1.65;

  --track-kicker:.28em;   /* uppercase kickers */
  --track-label:.17em;    /* nav, buttons      */

  /* ---- 3. SPACE ------------------------------------------------------
     A six-step scale for the small, repeated gaps. The section rhythm
     below stays in clamp() because each band was tuned to its own content;
     forcing those onto one scale would change the layout, so they are
     named here rather than flattened. */
  --space-2xs:4px;
  --space-xs:8px;
  --space-sm:12px;
  --space-md:16px;
  --space-lg:24px;
  --space-xl:32px;
  --space-2xl:48px;

  --container:1320px;
  --gutter:56px;

  /* section vertical rhythm — one knob per band */
  --sec-pad-cabins:clamp(72px,9vw,104px);
  --sec-pad-amenities:clamp(66px,7.6vw,116px) clamp(50px,5.3vw,78px);
  --sec-pad-todo:clamp(64px,12vw,96px);
  --sec-pad-stories:clamp(52px,5.2vw,74px) clamp(30px,3vw,44px);

  /* ---- 4. SHAPE ------------------------------------------------------
     Two values with a reason behind them. PHOTOGRAPHS get soft corners,
     because they are images sitting in a frame. ACTIONS get sharp corners,
     because they are type sitting in a box. The page previously carried
     eight different radii, which is what read as unconsidered. */
  --r-ctl:0px;     /* buttons, inputs, fields */
  --r-card:12px;   /* cards, panels, media wells, the floating dock */
  --r-round:50%;   /* genuinely circular things only */

  /* ---- 5. MOTION ----------------------------------------------------- */
  --ease-out:cubic-bezier(.22,1,.36,1);
  --season-open:.9s;   /* cabin panel expand */
}
