/* ============================================================================
   BRAND TOKENS — Cooper's Hawk Brand Guide, Color section (confirmed).
   Names and hex values are the guide's own. Ratios in the comments are the
   guide's published figures; the few it doesn't list were computed and are
   marked "calc".

   THE KEY ONE: Dark Gold #99825D is only 3.68:1 on white, so it fails the
   4.5:1 AA minimum for normal text. The guide anticipates this with
   Web/Email Gold #7D6645 — the one swatch with no CMYK or PMS values, i.e.
   digital only, at 5.44:1. The live chwinery.com ships a third gold, #906F47,
   and that is what --web-gold below is set to, so this page matches the site
   rather than the document. See the note on that token.

   Either way, the rule holds: the interactive gold carries every button, link
   and small label, and Dark Gold is confined to rules and dots, where the
   3:1 graphics threshold applies instead of 4.5:1.

   Tertiary colors are used once, deliberately: Piccolo Red on the Piccolo Buco
   tag, since that's the sub-brand's own color. The guide asks for tertiary
   "sparingly."

   TYPE follows the Typography section. Three families, three jobs:
     Playfair Display SemiBold — headlines and titles, sentence case, large
       sizes only. The guide explicitly bars it from small text, so subheads
       and card labels are Libre Franklin, not Playfair.
     Libre Franklin — subheads and all body copy.
     Oswald Medium — eyebrows and labels, all caps, moderately wide tracking.
   Ratios: headline >= 3x body at 1.2 leading, subhead ~1.7x body at 1.3,
   body at 1.3. Eyebrow is half the headline size.

   NOTE the 1.3 body leading is the guide's figure and is tighter than the 1.5
   WCAG AAA suggests for visual presentation. It is one token (--lh-body) if
   Cooper's Hawk would rather open it up for the web.
   ========================================================================= */
:root{
  /* primary palette */
  --black:#000000;         /* documented primary. Unused: Charcoal reads better on
                              screen and still clears AAA at 12.55:1 on white */
  --charcoal:#363330;      /* 12.55:1 on white — body text, dark band */
  --dark-gold:#99825D;     /* 3.68:1 on white — NON-TEXT ONLY: rules and dots */
  --linen:#F7F5F3;         /* guide page field — kept for type on the dark bands */

  /* secondary palette */
  /* The gold chwinery.com actually ships. It is not in the brand guide, which
     documents Web/Email Gold #7D6645 (5.44:1 on white) as the digital gold —
     the live site diverges. Using the live value so the pages match; flip this
     one line back to #7D6645 if the brand team would rather follow the guide.
     It clears AA three ways: 4.61:1 on white, 4.55:1 on black, and 4.61:1
     carrying white text. */
  --web-gold:#906F47;
  --gold:#B69E7B;          /* 4.88:1 on charcoal */
  --dim-grey:#635E59;      /* guide secondary text — superseded by --site-ink-2 */
  --off-white:#EDEBE5;     /* guide hairline — superseded by --site-hair */
  --light-gold:#E6DCC6;    /* 9.21:1 on charcoal — type and CTA on the dark band */
  --silver:#BBB9B0;        /* 6.38:1 on charcoal. NOT text on light — 1.94:1 */

  /* tertiary — sparingly */
  --piccolo-red:#8B2F32;   /* 8.23:1 on white (calc) — Piccolo Buco tag */
  --olive:#9F922F;         /* 3.96:1 on charcoal (calc) — "now open" dot, 3:1 UI bar */

  --paper:#FFFFFF;

  /* LIVE-SITE NEUTRALS. chwinery.com ships these rather than the guide's Linen
     and Charcoal, same as it ships its own gold. Matching the site.
       #F2F2EA  page field  (guide: Linen #F7F5F3)
       #2E2E2E  body ink    (guide: Charcoal #363330) — 12.07:1 on the field
       #DBD7CD  hairline    (guide: Off White #EDEBE5) — decorative, 1.28:1
     Cards stay pure white deliberately: gold text is 4.61:1 on white but only
     4.10:1 on the page field, so gold-as-text belongs on a card, never on the
     background. */
  --site-bg:#F2F2EA;
  --site-ink:#2E2E2E;
  --site-hair:#DBD7CD;
  --site-ink-2:#635E59;    /* guide Dim Grey — 5.5:1 on the field, holds AA */

  /* type — confirmed, Typography section */
  --font-display:"Playfair Display",Georgia,"Times New Roman",serif;   /* headlines only */
  --font-text:"Libre Franklin",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-label:"Oswald","Libre Franklin",system-ui,sans-serif;         /* eyebrows */

  /* the guide's typesetting ratios, anchored on 17px body */
  --body:17px;
  --lh-body:1.3;           /* guide: body leading = size x 1.3 */
  --lh-sub:1.3;            /* guide: subhead leading = size x 1.3 */
  --lh-head:1.2;           /* guide headline leading — h1/h2/h3 set it directly now */
  --sub:1.7rem;            /* guide: subhead ~= body x 1.7 */

  /* form */
  --r:12px;
  --lift:0 1px 2px rgba(54,51,48,.04), 0 10px 28px rgba(54,51,48,.06);
  --lift-hover:0 2px 4px rgba(54,51,48,.05), 0 16px 40px rgba(54,51,48,.09);
  --wrap:1120px;
  --focus:0 0 0 3px var(--paper), 0 0 0 6px var(--web-gold);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{
  margin:0;background:var(--site-bg);color:var(--site-ink);
  font:400 var(--body)/var(--lh-body) var(--font-text);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--web-gold)}
:focus-visible{outline:none;box-shadow:var(--focus);border-radius:4px}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}

/* chwinery.com's own type scale, from their stylesheet:
     h1  Playfair Display ITALIC 400, line-height 1.2, no tracking
     h2  Playfair Display 400, UPPERCASE, letter-spacing .04em
     h3  Playfair Display 400, UPPERCASE, letter-spacing .03em
   The brand guide says headlines are Playfair SemiBold in sentence case; the
   live site runs italic 400 for the hero and uppercase 400 below it. Following
   the site, since that is what this page sits beside. */
h1{
  font-family:var(--font-display);
  font-style:italic;font-weight:400;
  line-height:1.2;letter-spacing:0;margin:0;
}
h2{
  font-family:var(--font-display);
  font-weight:400;text-transform:uppercase;
  line-height:1.1;letter-spacing:.04em;margin:0;
}
h3{
  font-family:var(--font-display);
  font-weight:400;text-transform:uppercase;
  line-height:1.1;letter-spacing:.03em;margin:0;
}

/* Eyebrow — Oswald Medium, all caps, moderately wide tracking. */
/* Oswald, at the site's own settings: 400 and .06em for label-level type,
   300 for anything running longer. The guide says Oswald Medium; the site
   loads only 300 and 400, so 500 would synthesise. */
.eyebrow,.steps .num,.brandtag,.plate .stamp,.plate.nophoto .frame span,
.row .when,.utility a,.masthead a.alljobs{
  font-family:var(--font-label);
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.skip{position:absolute;left:-9999px;top:0;background:var(--paper);color:var(--charcoal);padding:12px 18px;z-index:100}
.skip:focus{left:12px;top:12px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:54px;padding:0 28px;
  font:500 16px/1.3 var(--font-text);
  text-decoration:none;text-align:center;
  border-radius:var(--r);border:1px solid transparent;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
@media (prefers-reduced-motion:reduce){.btn{transition:none}}
.btn-primary{background:var(--web-gold);color:var(--paper);box-shadow:0 1px 2px rgba(54,51,48,.08)}
.btn-primary:hover{background:var(--black)}
.btn-ghost{background:transparent;color:var(--charcoal);border-color:var(--silver)}
.btn-ghost:hover{border-color:var(--charcoal);background:var(--paper)}

/* ============================================================
   HEADER
   ============================================================ */
/* Matching chwinery.com: a gold utility strip, then a solid black nav bar
   with white type. The gold is a background there, never the nav text.
   Only the black bar sticks; the strip scrolls away, which keeps the fold
   tight for the location list. */
.utility{background:var(--web-gold)}
.utility .wrap{
  display:flex;justify-content:flex-end;gap:0;flex-wrap:wrap;min-height:30px;align-items:center;
}
.utility a{
  font-size:11.5px;color:var(--paper);text-decoration:none;   /* pure white: 4.61:1. Linen is 4.24 and misses AA */
  padding:8px 16px;border-left:1px solid rgba(255,255,255,.28);
}
.utility a:last-child{border-right:1px solid rgba(255,255,255,.28)}
.utility a:hover{background:rgba(0,0,0,.16)}
.utility :focus-visible{box-shadow:0 0 0 3px var(--web-gold),0 0 0 6px var(--paper)}

.masthead{
  position:sticky;top:0;z-index:40;
  background:var(--black);
}
.masthead .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px}
.masthead-logo{display:block;color:var(--paper)}
.masthead-logo .mark{height:44px}
.masthead a.alljobs{
  font-size:12.5px;color:var(--paper);text-decoration:none;
  border-bottom:1px solid transparent;padding-bottom:3px;transition:border-color .18s ease;
}
.masthead a.alljobs:hover{border-color:var(--web-gold)}
.masthead :focus-visible{box-shadow:0 0 0 3px var(--black),0 0 0 6px var(--paper)}
@media (prefers-reduced-motion:reduce){.masthead a.alljobs{transition:none}}

/* ============================================================
   SPLIT — intro rail beside the list, so a location card is on screen
   without scrolling. Nothing above this row but the masthead.
   ============================================================ */
.list{padding:44px 0 0}
/* The rail is fluid, not fixed, so the side-by-side survives a narrow window
   or a preview pane instead of collapsing the moment it gets tight. */
.split{
  display:grid;
  grid-template-columns:clamp(268px,30%,392px) 1fr;
  gap:clamp(26px,3.2vw,48px);
  align-items:start;
}

.intro{position:sticky;top:102px;padding-right:8px}
.intro h1{font-size:clamp(2rem,3vw,2.7rem);max-width:16ch}
.intro .lede{
  margin:18px 0 24px;font-size:1rem;line-height:1.5;
  color:var(--site-ink-2);max-width:42ch;
}
.intro .btn{width:100%;min-height:50px;font-size:15px;margin-bottom:12px;}
.intro__photo{
  width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;object-position:50% 30%;
  margin-top:22px;border-radius:var(--r);
  max-height:clamp(200px,26vh,290px);
}

/* ============================================================
   LOCATION LIST
   ============================================================ */
.group + .group{margin-top:44px}
.group > h2{font-size:1.5rem;font-weight:400;padding-bottom:11px;border-bottom:1px solid var(--silver)}
.group > p.note{margin:13px 0 0;color:var(--site-ink-2);max-width:60ch;font-size:15px;font-weight:300}
.rows{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:18px}
@media (min-width:841px){
  .rows{grid-auto-rows:1fr}   /* equal rows keep every photo identical */
}

.row{
  background:var(--paper);border:1px solid var(--site-hair);border-radius:var(--r);
  box-shadow:var(--lift);display:grid;grid-template-columns:224px 1fr;
  align-items:stretch;overflow:hidden;transition:box-shadow .2s ease;
}
.row:hover{box-shadow:var(--lift-hover)}
@media (prefers-reduced-motion:reduce){.row{transition:none}}

/* photo cell: a photo of the city, not the restaurant */
.plate{position:relative;background:var(--charcoal);min-height:194px;overflow:hidden}
.plate img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* light vignette: the city photos come from a dozen municipal sites at very
   different exposures, and this keeps the set looking of a piece */
.plate::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(54,51,48,.32),rgba(54,51,48,0) 60%);
}
.plate.nophoto{background:
  repeating-linear-gradient(135deg,rgba(153,130,93,.07) 0 2px,transparent 2px 9px),var(--charcoal)}
.plate.nophoto::after{background:none}
.plate.nophoto .frame{
  position:absolute;inset:14px;border:1px solid rgba(153,130,93,.4);border-radius:6px;
  display:grid;place-items:center;text-align:center;padding:12px;
}
.plate.nophoto .frame p{margin:0;font-family:var(--font-display);font-size:18px;color:var(--linen);line-height:1.25}
.plate.nophoto .frame span{
  display:block;font-size:11px;color:var(--light-gold);margin-top:8px;
}

.meat{padding:24px 26px;display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0}
/* The date is a headline-level fact for a candidate deciding whether to
   apply, so it carries gold and weight rather than sitting as grey meta. */
.row .when{
  margin:0;display:flex;align-items:center;gap:9px;
  color:var(--web-gold);font-size:12.5px;
}
.row .when .dot{width:8px;height:8px;border-radius:50%;flex:0 0 auto}
.when.soon .dot{background:var(--dark-gold)}
.when.open .dot{background:var(--olive)}
.row h3{font-size:clamp(1.5rem,1.9vw,1.85rem);font-weight:400;margin-top:5px;color:var(--charcoal)}
.brandtag{
  font-size:11px;color:var(--piccolo-red);background:rgba(139,47,50,.08);
  border-radius:20px;padding:3px 9px;margin-left:8px;vertical-align:4px;
}
.row .where{color:var(--site-ink-2);font-size:14.5px;margin:0}
.row .blurb{margin:0;font-size:15px;line-height:var(--lh-body);color:var(--site-ink-2);font-weight:300}
.actions{display:flex;align-items:center;gap:22px;margin-top:18px;flex-wrap:wrap}
.actions .btn{min-height:50px;padding:0 26px;font-size:15.5px}
.subs{display:flex;gap:16px}
.subs a{font-size:14px;color:var(--site-ink-2);text-decoration:none;border-bottom:1px solid var(--site-hair);padding-bottom:2px}
.subs a:hover{color:var(--web-gold);border-color:var(--web-gold)}

/* ============================================================
   EXISTING RESTAURANTS
   ============================================================ */
.existing{
  margin:66px 0 0;padding:40px 36px;background:var(--paper);
  border:1px solid var(--site-hair);border-radius:var(--r);box-shadow:var(--lift);
  display:flex;gap:32px;align-items:center;flex-wrap:wrap;
}
.existing div{flex:1 1 380px}
.existing h2{font-size:1.55rem;font-weight:400;margin-bottom:10px}
.existing p{margin:0;color:var(--site-ink-2);font-weight:300}
.existing .pair{display:flex;gap:12px;flex-wrap:wrap;flex:0 0 auto}

/* ============================================================
   PROCESS
   ============================================================ */
.process{padding:86px 0;border-top:1px solid var(--site-hair);margin-top:76px}
.process h2{font-size:clamp(1.85rem,4vw,2.5rem);max-width:20ch;font-weight:400}
.process > .wrap > p{max-width:58ch;color:var(--site-ink-2);margin:18px 0 50px;font-weight:300}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr)}
.steps li{border-top:1px solid var(--dark-gold);padding:20px 26px 0 0}
.steps li + li{padding-left:26px;border-left:1px solid var(--site-hair)}
.steps .num{font-size:13px;color:var(--web-gold);display:block;margin-bottom:12px}
.steps h3{font-family:var(--font-text);font-size:1.12rem;margin-bottom:9px;font-weight:600;line-height:var(--lh-sub)}
.steps p{margin:0;font-size:15px;color:var(--site-ink-2);line-height:1.6;font-weight:300}

/* ============================================================
   WHY — the one dark band, kept as a contrast anchor
   ============================================================ */
.why{background:var(--black);color:var(--linen);padding:86px 0 78px}
.why h2{font-size:clamp(1.85rem,4vw,2.5rem);color:var(--linen);max-width:18ch;font-weight:400}
.why > .wrap > p{max-width:58ch;color:var(--silver);margin:18px 0 50px;font-weight:300}
.perks{list-style:none;margin:0;padding:0;display:grid;gap:1px;
       grid-template-columns:repeat(4,1fr);background:rgba(153,130,93,.32)}
.perks > li{background:var(--black);padding:28px 24px}
.perks h3{
  font-family:var(--font-display);font-weight:400;text-transform:uppercase;letter-spacing:.03em;
  font-size:1.08rem;color:var(--linen);margin:0 0 16px;line-height:1.2;
  display:flex;align-items:center;gap:11px;
}
/* Drawn inline rather than loaded: no icon font, no sprite, and they take the
   gold from CSS like the logos do. */
.perk-ico{display:inline-flex;flex:0 0 auto;color:var(--web-gold)}
.perk-ico svg{width:26px;height:26px;display:block}
.perks ul{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.perks ul li{
  font-size:14.5px;color:var(--silver);line-height:1.45;font-weight:300;
  padding-left:16px;position:relative;
}
.perks ul li::before{
  content:"";position:absolute;left:0;top:.56em;
  width:6px;height:6px;border-radius:50%;background:var(--web-gold);
}

/* Eligibility differs by hours worked. Stated plainly rather than buried. */
.eligibility{
  margin:34px 0 0;max-width:88ch;font-size:13.5px;line-height:1.6;
  color:var(--silver);font-weight:300;
}
.eligibility a{color:var(--light-gold);text-decoration:underline;text-underline-offset:3px}
.eligibility a:hover{color:var(--paper)}
.why .btn-primary{margin-top:32px;background:var(--light-gold);color:var(--black)}  /* 15.41:1 */
.why .btn-primary:hover{background:var(--light-gold)}

/* ============================================================
   VOICES — founder quote with photo.
   ============================================================ */
.voices{padding:0 0 78px}
.voices figure{
  margin:0;display:grid;grid-template-columns:minmax(0,420px) 1fr;
  gap:0;align-items:stretch;
  background:var(--paper);border:1px solid var(--site-hair);
  border-radius:var(--r);box-shadow:var(--lift);overflow:hidden;
}
.voices img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block;min-height:280px}
.voices__body{padding:clamp(28px,3.4vw,46px);display:flex;flex-direction:column;justify-content:center}
.voices blockquote{margin:0}
.voices blockquote p{
  margin:0;font-family:var(--font-display);font-style:italic;font-weight:400;
  font-size:clamp(1.25rem,2.1vw,1.7rem);line-height:1.35;color:var(--charcoal);
}
.voices figcaption{
  margin-top:22px;display:flex;flex-direction:column;gap:3px;
  font-family:var(--font-label);font-weight:400;text-transform:uppercase;letter-spacing:.06em;
  font-size:12.5px;color:var(--site-ink-2);
}
.voices figcaption strong{font-weight:400;color:var(--web-gold)}

/* ============================================================
   FOOTER — Black. Their table puts Charcoal on Black at 1.67:1, so a charcoal
   band butted against a black footer would read as one muddy slab. The
   benefits section is Black too, and the two form a single dark close split
   by a Dark Gold hairline.
   ============================================================ */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.mark{width:auto;fill:currentColor}

footer{background:var(--black);color:var(--silver);padding:0 0 46px;font-size:14.5px}

.brandbar{
  border-top:1px solid var(--dark-gold);
  padding:46px 0 44px;text-align:center;color:var(--linen);
}
.brandbar .mark--wordmark{height:15px;margin:0 auto}
.brandbar__grid{
  display:flex;align-items:center;justify-content:center;
  gap:46px;margin-top:38px;flex-wrap:wrap;
}
.brandbar__logo{display:block;color:var(--linen);text-decoration:none;transition:opacity .18s ease}
.brandbar__logo:hover{opacity:.65}
@media (prefers-reduced-motion:reduce){.brandbar__logo{transition:none}}
.brandbar__divider{width:1px;height:52px;background:var(--dark-gold);opacity:.55}
.mark--seal{height:64px}
.mark--ch{height:60px}
.mark--pb{height:30px}

.footnav{
  display:flex;gap:26px;flex-wrap:wrap;justify-content:center;
  padding:34px 0;border-top:1px solid rgba(153,130,93,.28);
}
.footnav a{color:var(--linen);text-decoration:none;border-bottom:1px solid transparent;padding-bottom:2px}
.footnav a:hover{color:var(--dark-gold);border-color:var(--dark-gold)}   /* 5.7:1 on black */

footer .legal{
  padding-top:26px;border-top:1px solid rgba(153,130,93,.28);
  line-height:var(--lh-body);max-width:78ch;margin:0 auto;text-align:center;
  color:var(--silver);font-weight:300;                                    /* 10.67:1 on black */
}
footer .legal p{margin:0 0 10px}
footer .legal a{color:var(--linen)}
footer .legal a:hover{color:var(--dark-gold)}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Between these two widths the layout stays side by side; only the card's
   own photo column gives ground. */
@media (max-width:1100px){
  .row{grid-template-columns:186px 1fr}
  .plate{min-height:170px}
  .meat{padding:20px 22px}
  .steps{grid-template-columns:1fr 1fr}
  .steps li + li{border-left:0;padding-left:0}
  .steps li{padding-right:22px}
  .steps li:nth-child(n+3){margin-top:34px}
  .perks{grid-template-columns:1fr 1fr}
  .perks > li{padding:26px 22px}
}
/* Below this the rail genuinely has nowhere to go, so it stacks. */
@media (max-width:840px){
  .split{grid-template-columns:1fr;gap:26px}
  .intro{position:static;padding-right:0}
  /* stacked, the rail photo only delays the list */
  .intro__photo{display:none}
  .intro .btn{width:auto}
  .intro .lede{max-width:60ch}
  .row{grid-template-columns:170px 1fr}
  .plate{min-height:0}
}
@media (max-width:620px){
  body{--body:16px}
  .brandbar__grid{gap:32px}
  .brandbar__divider{display:none}
  .mark--seal{height:56px}
  .mark--ch{height:50px}
  .mark--pb{height:26px}
  .footnav{gap:18px}
  .masthead-logo .mark{height:34px}
  .masthead .wrap{min-height:62px}
  .masthead a.alljobs{font-size:11px;letter-spacing:.1em}
  .utility .wrap{justify-content:center;padding:0}
  .utility a{font-size:10.5px;padding:7px 11px;letter-spacing:.08em}
  .utility a:first-child{border-left:0}
  .utility a:last-child{border-right:0}
  .list{padding:26px 0 0}
  .intro h1{font-size:1.65rem}
  .intro .lede{margin:14px 0 18px;font-size:1rem;max-width:none}
  .row{grid-template-columns:1fr}
  .plate{min-height:156px}
  .meat{padding:20px}
  .existing{padding:30px 24px}
  .existing .pair{flex:1 1 100%;flex-direction:column}
  .steps,.perks{grid-template-columns:1fr}
  .voices figure{grid-template-columns:1fr}
  .voices img{min-height:200px;max-height:240px}
  .steps li:nth-child(n+2){margin-top:30px}
  .actions{gap:14px}
  .actions .btn{width:100%}
}
@media (prefers-reduced-motion:no-preference){
  .intro h1,.intro .lede,.intro .btn{animation:rise .7s cubic-bezier(.22,.7,.3,1) both}
  .intro .lede{animation-delay:.09s}
  .intro .btn{animation-delay:.18s}
  @keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
}
