/* tokens.css - every colour, font, size step, spacing step, radius, line and timing used by the approved Chefs Table homepage.
   Values are taken unchanged from build-a2-saison/styles.css. Load this first, then system.css.
   Values that change with the screen width are re-set at the bottom of this file (same breakpoints as the homepage),
   so system.css never needs a number of its own. */
:root{
  /* colours (brand guide section 7) */
  --black:#161514;         /* Pass Black: page ground, header, button text on hover */
  --linen:#EFE8DC;         /* Linen: text on dark, linen outline button */
  --brass:#B38B4D;         /* Brass: pass line, labels, buttons, arrows */
  --oak:#5A4535;           /* Smoked Oak: the warm glow behind the chef story */
  --frost:#C9CCC6;         /* Frost: glass panel tint, to-confirm text */
  --leaf:#2F4A3A;          /* Kokomo Leaf: not used on the homepage, kept for the brand */
  --garnet:#5C1A28;        /* Garnet: the statement band ground */
  --line-brass:rgba(179,139,77,.45);        /* header rule, chef section top, list rows, award dividers on phones */
  --line-brass-soft:rgba(179,139,77,.35);   /* phone-menu rows */
  --line-brass-strong:rgba(179,139,77,.6);  /* underline of footer links */
  --shade-hero-1:rgba(22,21,20,.55);        /* left shade over the first-screen photograph */
  --shade-hero-2:rgba(22,21,20,.25);
  --shade-hero-3:rgba(22,21,20,0);
  --shade-stop-mid:45%;
  --shade-stop-end:70%;
  --glass-fill:rgba(201,204,198,.10);       /* frosted panel tint */
  --glass-fill-hero:rgba(201,204,198,.05);  /* frosted panel tint on the first screen */
  --glow:rgba(90,69,53,.55);                /* warm glow behind the chef story */
  --glow-clear:rgba(90,69,53,0);
  --glow-size:46% 58%;
  --glow-at:66% 52%;
  --glass-blur:18px;
  --glass-dim:.5;                           /* brightness behind a frosted panel */
  --glass-dim-tile:.32;                     /* brightness behind a photograph-tile panel */

  /* font families */
  --font-display:"Cormorant Garamond",serif;
  --font-body:"Jost",sans-serif;

  /* font weights */
  --weight-light:300;
  --weight-medium:500;

  /* type size steps */
  --text-body:18px;        /* body (17 on phones) */
  --text-statement:19px;   /* paragraphs in the statement band (17 on phones) */
  --text-label:15px;       /* eyebrow, buttons, links, menu (13 on phones) */
  --text-small:16px;       /* secondary line, footer text */
  --text-tile-p:17px;      /* sentence on a photograph tile */
  --text-endorse:12px;     /* endorsement line under the footer logo */
  --text-footer-btn:13px;  /* footer link buttons (12 on phones) */
  --text-h1-min:44px;      /* first-screen headline: clamp(min, vw, max) */
  --text-h1-vw:4.2vw;
  --text-h1-max:60px;
  --text-h2:56px;          /* section heading (48 tablet, 38 phone) */
  --text-tile:34px;        /* heading on a photograph tile (30 on phones) */
  --text-list:25px;        /* list lines (22 on phones) */
  --text-award:28px;       /* award lines (24 tablet, 22 phone) */
  --text-footer-name:26px; /* footer name line */
  --text-menu-phone:36px;  /* phone-menu links */

  /* line heights */
  --lh-body:1.6;
  --lh-heading:1.08;
  --lh-eyebrow:1.4;
  --lh-award:1.3;
  --lh-list:1.3;
  --lh-footer-name:1.2;
  --lh-endorse:1.7;
  --lh-link:24px;          /* footer link rows on phones */

  /* letter spacing */
  --track-label:.2em;      /* eyebrow, buttons, links, menu (.18em on phones) */
  --track-endorse:.18em;
  --track-none:0;

  /* spacing steps (px value in the name) */
  --space-0:0px;   --space-3:3px;   --space-4:4px;   --space-5:5px;   --space-6:6px;   --space-8:8px;   --space-10:10px;
  --space-12:12px; --space-14:14px; --space-16:16px; --space-17:17px; --space-18:18px; --space-20:20px; --space-22:22px;
  --space-24:24px; --space-26:26px; --space-27:27px; --space-28:28px; --space-30:30px; --space-32:32px; --space-34:34px;
  --space-36:36px; --space-40:40px; --space-44:44px; --space-48:48px; --space-52:52px; --space-56:56px; --space-60:60px;
  --space-64:64px; --space-68:68px; --space-72:72px; --space-80:80px; --space-84:84px; --space-110:110px; --space-150:150px; --space-220:220px;

  /* layout */
  --container:1200px;      /* content width inside the side gutters */
  --gutter:48px;           /* side gutter (20 on phones) */
  --pad:110px;             /* section padding above and below (80 tablet, 68 phone) */
  --statement-w:780px;     /* statement text column */
  --bar-h:88px;            /* header bar height (68 on phones) */
  --bar-gap:40px;          /* gap between logo, menu and button (16 tablet, 10 phone) */
  --hero-offset:89px;      /* bar plus its line, taken off the first-screen height */
  --hero-min:700px;
  --hero-max:860px;
  --hero-panel-w:560px;
  --hero-panel-vw:44vw;
  --hero-bottom:64px;      /* space under the first-screen panel (52 on phones) */
  --hero-photo-min:250px;  /* phones: photograph above the words */
  --hero-photo-vw:64vw;
  --hero-photo-max:520px;
  --band-h:760px;          /* photograph band with panel, standard height */
  --band-h-tall:860px;     /* photograph band with panel, tall */
  --band-still-h:600px;    /* photograph-only band */
  --band-still-vw:62vw;
  --band-panel-w:560px;
  --band-photo-max:2650px; /* a band photograph stops growing here and centres */
  --band-photo-vw:74vw;    /* phones: band photograph height */
  --band-top-phone:220px;  /* tablet: photograph shows above the panel */
  --tile-vw:56.4vw;        /* tile height at desktop: min(vw, max) */
  --tile-max:900px;
  --tile-vw-stack:125vw;   /* tile height when stacked */
  --tile-max-stack:600px;
  --tile-panel-min:196px;
  --tile-lift-h:130%;      /* option: tile picture lifted to hide the top of the photograph */
  --tile-lift-top:-30%;
  --bleed-max:120px;       /* how far the chef photograph runs past the container edge */
  --bleed-photo-h:560px;
  --bleed-photo-top:150px;
  --inset-w:250px;         /* small picture under the chef text (190 on phones) */
  --inset-h:330px;         /* (250 on phones) */
  --inset-top:56px;        /* space above the small picture (36 on phones) */
  --list-photo-h:700px;
  --logo-w:190px;          /* header logo (160 on phones) */
  --footer-logo-w:220px;
  --footer-logo-shift:-12px;
  --toggle:44px;           /* phone-menu button */
  --btn-h:56px;            /* button height (44 on phones) */
  --btn-pad:30px;          /* button side padding (20 on phones) */
  --btn-head-pad:30px;     /* header button side padding (14 on phones) */
  --tap:44px;              /* minimum tap target */
  --rule-w:56px;           /* pass line under an eyebrow */
  --arrow-w:28px;
  --arrow-head:7px;
  --award-pad-x:48px;      /* award line side padding (28 tablet, 0 phone) */
  --recognition-pad:84px;  /* (64 on phones) */
  --footer-pad:84px;       /* (60 on phones) */
  --footer-gap:56px;       /* (48/56 tablet, 40 phone) */
  --col-gap:72px;          /* gap between two columns (56 tablet; 40 stacked) */

  /* radius, lines, timing */
  --radius-btn:2px;
  --line:1px;
  --time-hover:.6s;
  --time-photo:.9s;
}

/* tablet and below: same breakpoints as the approved homepage */
@media (max-width:1099px){
  :root{
    --bar-gap:16px;
    --text-h2:48px;
    --col-gap:56px;
    --text-award:24px;
    --award-pad-x:28px;
    --footer-gap:48px 56px;
  }
}
@media (max-width:899px){
  :root{ --pad:80px; --col-gap:40px; }
}
/* phone */
@media (max-width:599px){
  :root{
    --gutter:20px;
    --pad:68px;
    --text-body:17px;
    --text-statement:17px;
    --text-label:13px;
    --track-label:.18em;
    --text-h2:38px;
    --text-tile:30px;
    --text-list:22px;
    --text-award:22px;
    --award-pad-x:0px;
    --text-footer-btn:12px;
    --btn-h:44px;
    --btn-pad:20px;
    --btn-head-pad:14px;
    --bar-h:68px;
    --bar-gap:10px;
    --logo-w:160px;
    --hero-bottom:52px;
    --inset-w:190px;
    --inset-h:250px;
    --inset-top:36px;
    --recognition-pad:64px;
    --footer-pad:60px;
    --footer-gap:40px;
  }
}
