/* ============================================================================
 * engine-tokens.css - callable values
 * ---------------------------------------------------------------------------
 * Named values the other modules call, so a decision is made once and referenced
 * rather than retyped. Add here instead of hardcoding a number twice.
 *
 * LOAD ORDER: 1 of 5. First - everything downstream may reference these.
 *
 * ADDITIVE. Existing rules still carry their literal values; migrate them onto these
 * tokens as each is next touched, so nothing needs a sweeping rewrite.
 * ==========================================================================*/


:root {
  /* -- MOTION ---------------------------------------------------------------
     One tempo for the whole engine (see engine-motion.css). Anything that
     repeats uses this or an exact multiple; nothing invents its own clock. */
  --sh-tempo:     2.6s;
  --sh-tempo-2x:  5.2s;   /* the logo mark's breath + wiggle gesture */
  --sh-ease-out:  cubic-bezier(0.16, 1, 0.3, 1);

  /* -- THE CONTROL GRAMMAR --------------------------------------------------
     The header's boxes - stay dates, guests, the amenity chips, Guest Support -
     are one visual object doing different jobs. These are the values that make
     them agree. Anything new in that row should CALL these rather than restate
     them: restating is exactly how the chips and Guest Support drifted apart. */
  --sh-ctl-bg:        var(--forest);
  --sh-ctl-border:    var(--gold);
  --sh-ctl-radius:    var(--radius-sm);
  --sh-ctl-ink:       rgba(245,240,232,0.82);
  --sh-ctl-ink-hover: var(--parchment);
  --sh-ctl-wash:      rgba(201,169,110,0.14);  /* the ON state */
  --sh-ctl-hover:     rgba(201,169,110,0.08);
  --sh-ctl-pad-y:     8.8px;
  --sh-ctl-track:     0.09em;

  /* -- SEAMS ----------------------------------------------------------------
     Columns meet with no rule between them: the overlay wears its neighbour's
     own background and fades only its alpha. Widths live here so both seams
     stay in proportion if either is retuned. */
  --sh-seam-map:  132px;  /* centre -> map blend width */
  --sh-seam-attr:  86px;  /* bottom inset kept clear of Google's REQUIRED
                             attribution - see engine-surface.css */
}
