/* ==========================================================================
   CHEF'S SPECIALS

   The first version of this page opened the way About, Contact and Guides do:
   eyebrow, large serif title, italic lede on cream. Four pages arriving at the
   same masthead is a formula, not a design system, and this page carried the
   fewest images on the site (two, one of them borrowed from the menu page).

   So it opens on a photograph instead, with the title set on a slab that
   overlaps it, and the section's own photography does the work below. The full
   list is deliberately lighter than the menu page's bill of fare - this page is
   a showcase, the menu page is the price list, and they should not read alike.
   ========================================================================== */

.ck-specialspage {
  --ck-hair: rgba(36, 32, 29, .085);
  --ck-hair-mid: rgba(36, 32, 29, .16);
}

body.ck-has-specials .ck-pagehead { display: none; }

/* `.ck-page h1,h2,h3,h4` is (0,1,1) and outranks a lone class */
.ck-specialspage .ck-shero__title,
.ck-specialspage .ck-slist__title,
.ck-specialspage .ck-send__title { font-weight: 500; }
.ck-specialspage .ck-sfeature__name { font-weight: 600; }
.ck-specialspage ul, .ck-specialspage ol { margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   Hero — photograph, with the title on a slab that overlaps it
   ========================================================================== */

.ck-shero { position: relative; padding-bottom: clamp(30px, 4vw, 56px); }
.ck-shero__media {
  width: 100vw; max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  height: clamp(300px, 40vw, 560px);
  overflow: hidden;
  background: var(--ck-charcoal);
}
.ck-shero__media img { width: 100%; height: 100%; object-fit: cover; }

.ck-shero__panel {
  position: relative;
  margin-top: clamp(-140px, -13vw, -56px);
  max-width: 620px;
  background: var(--ck-warm-white);
  padding: clamp(28px, 3.6vw, 52px) clamp(26px, 3.4vw, 52px) clamp(26px, 3.2vw, 44px) 0;
  border-top: 2px solid var(--ck-gold);
}
/* the slab bleeds to the left edge of the container so it sits on the photo */
.ck-shero__panel::before {
  content: ""; position: absolute; top: -2px; bottom: 0; right: 100%;
  width: 50vw; background: var(--ck-warm-white);
  border-top: 2px solid var(--ck-gold);
}
.ck-shero__title {
  font-family: var(--ck-serif);
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: .92; letter-spacing: -.03em;
  color: var(--ck-charcoal); margin-top: 16px;
}
.ck-shero__lede {
  margin-top: 22px; max-width: 44ch;
  font-family: var(--ck-serif);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.55; font-style: italic;
  color: var(--ck-text-muted);
  text-wrap: pretty;
}

.ck-sfacts {
  display: flex; flex-wrap: wrap;
  margin-top: clamp(26px, 3vw, 36px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--ck-hair-mid);
}
.ck-sfacts li {
  display: flex; flex-direction: column; gap: 5px;
  padding-right: clamp(20px, 3vw, 40px);
  margin-right: clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--ck-hair-mid);
}
.ck-sfacts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.ck-sfacts__n {
  font-family: var(--ck-serif);
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1;
  font-weight: 500; color: var(--ck-charcoal);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.ck-sfacts__l {
  font-family: var(--ck-sans); font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ck-text-muted);
}

/* ==========================================================================
   Three dishes, photographed
   ========================================================================== */

.ck-specialspage__body { padding-block: clamp(48px, 6vw, 84px); }

.ck-sfeature {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 52px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.ck-sfeature__item { margin: 0; }
.ck-sfeature__media {
  overflow: hidden; border-radius: var(--ck-radius);
  margin-bottom: 22px;
}
.ck-sfeature__media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .6s var(--ck-ease);
}
.ck-sfeature__item:hover .ck-sfeature__media img { transform: scale(1.03); }
.ck-sfeature__code {
  font-family: var(--ck-sans); font-size: 10px; font-weight: 700;
  letter-spacing: .2em; color: var(--ck-gold-muted);
}
.ck-sfeature__name {
  display: block; margin-top: 10px;
  font-family: var(--ck-serif); font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.15; letter-spacing: -.015em; color: var(--ck-charcoal);
  text-wrap: balance;
}
.ck-sfeature__desc {
  margin-top: 12px;
  font-size: 14px; line-height: 1.7; color: var(--ck-text-muted);
}
.ck-sfeature__price {
  display: inline-block; margin-top: 16px;
  font-family: var(--ck-sans); font-size: 15px; font-weight: 600;
  color: var(--ck-charcoal); font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   The whole section
   ========================================================================== */

.ck-slist__head {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: baseline; gap: 18px;
  padding-bottom: 18px; margin-bottom: 6px;
}
.ck-slist__title {
  font-family: var(--ck-serif);
  font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05;
  letter-spacing: -.02em; color: var(--ck-charcoal);
}
.ck-slist__rule { height: 1px; background: var(--ck-hair-mid); align-self: center; }
.ck-slist__count {
  font-family: var(--ck-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: .16em; color: #9A9088; font-variant-numeric: tabular-nums;
}

/* Flowing columns, not a grid: a grid with full-width rows mixed in leaves a
   hole beside every described dish, and packing those holes would shuffle
   S01-S32 out of the menu's own order. */
.ck-slist__items {
  columns: 25rem;
  column-gap: clamp(34px, 4.6vw, 72px);
}
.ck-special {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr) auto;
  align-items: baseline; gap: 0 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ck-hair);
}
.ck-special__code {
  font-family: var(--ck-sans);
  font-size: 10px; font-weight: 600; letter-spacing: .09em;
  color: var(--ck-gold-muted); font-variant-numeric: tabular-nums;
  padding-top: 5px;
}
.ck-special__name {
  display: block;
  font-family: var(--ck-serif); font-size: 19px; line-height: 1.3;
  font-weight: 600; color: var(--ck-charcoal);
}
.ck-special__desc {
  display: block; margin-top: 5px; max-width: 46ch;
  font-family: var(--ck-sans); font-size: 12.5px; line-height: 1.6;
  color: var(--ck-text-muted);
}
.ck-special__price {
  font-family: var(--ck-sans); font-size: 14.5px; font-weight: 600;
  color: var(--ck-charcoal); font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* the spicy marker is defined in ck-menu.css, which this page does not load */
.ck-specialspage .ck-hot {
  display: inline-block; margin-left: 9px;
  font-family: var(--ck-sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ck-red); vertical-align: 2px; white-space: nowrap;
}

/* ==========================================================================
   Provenance
   ========================================================================== */

.ck-sprov {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: 13.5px; line-height: 1.75; font-style: italic;
  color: var(--ck-text-muted); max-width: 64ch;
  padding-left: 20px; border-left: 1px solid var(--ck-gold);
}
.ck-sprov a { color: var(--ck-red); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   The guide panel — typographic, so no image is borrowed from another page
   ========================================================================== */

.ck-spanel {
  margin-top: clamp(52px, 6.5vw, 88px);
  background: var(--ck-charcoal); color: var(--ck-warm-white);
  border-radius: var(--ck-radius);
  box-shadow: var(--ck-shadow-md);
  padding: clamp(36px, 5vw, 68px) clamp(28px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end; gap: 24px clamp(32px, 5vw, 72px);
}
.ck-spanel .ck-eyebrow { grid-column: 1; margin-bottom: 0; }
.ck-spanel__text { grid-column: 1; }
.ck-spanel .ck-slink { grid-column: 2; justify-self: end; white-space: nowrap; }
.ck-spanel__text {
  font-family: var(--ck-serif); font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1.4; font-style: italic; color: rgba(255, 253, 249, .88);
  max-width: 34ch; text-wrap: pretty;
}
.ck-slink {
  font-family: var(--ck-sans); font-size: 14px; font-weight: 600;
  letter-spacing: .04em; color: var(--ck-gold);
  border-bottom: 1px solid rgba(201, 151, 69, .4); padding-bottom: 2px;
}
.ck-slink::after { content: "\2009\2192"; }
.ck-slink:hover { color: var(--ck-gold); border-color: currentColor; }

/* ==========================================================================
   Close
   ========================================================================== */

.ck-send {
  text-align: center;
  margin-top: clamp(56px, 7vw, 92px);
  padding-top: clamp(44px, 5.5vw, 72px);
  border-top: 1px solid var(--ck-hair-mid);
}
.ck-send .ck-eyebrow { justify-content: center; }
.ck-send__title {
  font-family: var(--ck-serif); font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08; margin-bottom: 28px; color: var(--ck-charcoal);
}
.ck-send__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  .ck-sfeature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the third dish takes the full width rather than sitting alone */
  .ck-sfeature__item:last-child { grid-column: 1 / -1; }
  .ck-sfeature__item:last-child .ck-sfeature__media img { aspect-ratio: 21 / 9; }
}

@media (max-width: 760px) {
  .ck-spanel { grid-template-columns: minmax(0, 1fr); }
  .ck-spanel .ck-slink { grid-column: 1; justify-self: start; }
  .ck-shero__panel {
    margin-top: clamp(-70px, -9vw, -34px);
    max-width: none;
    padding-right: 0;
  }
  .ck-shero__panel::before { display: none; }
  .ck-sfeature { grid-template-columns: minmax(0, 1fr); }
  .ck-sfeature__item:last-child { grid-column: auto; }
  .ck-sfeature__item:last-child .ck-sfeature__media img { aspect-ratio: 4 / 3; }
  .ck-slist__items { columns: auto; }
  .ck-send__actions .ck-btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .ck-special { grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: 0 10px; }
  .ck-sfacts li { padding-right: 16px; margin-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ck-sfeature__media img { transition: none; }
  .ck-sfeature__item:hover .ck-sfeature__media img { transform: none; }
}
