/* ==========================================================================================
   Sauce King skin (Claude Design direction C, "Shelf", chosen 2026-11-17)

   Tokens live in styles/saucekingnyc.json. Spec token names map to kit slugs:
   king-red = brand-red, king-red-dark = bark, char = ember, ember-red = flame, mustard = gold,
   cream = paper, label = butcher, plus ash and verde.
   The signature: every product stands on an 8px mustard shelf line. Winners sit on char, mustard is
   a surface (facts strip, signup) with ink on it, category chips are the only rounded thing.
   Structure is kit.css section 23; this file is only the look.
   ========================================================================================== */

.skin-saucekingnyc {
  --color-flame: var(--wp--preset--color--flame);
  --shelf: var(--wp--custom--shelf, 8px solid) var(--color-gold);
  --color-dark-bg: var(--color-ember);
  --color-dark-rule: color-mix(in srgb, var(--color-paper) 18%, transparent);
}

/* Plain-case labels, no letter-spacing */
.skin-saucekingnyc .kicker,
.skin-saucekingnyc .kicker p {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Header: cream with a 2px ink rule; stacked logo 64px tall, 80px on desktop */
.skin-saucekingnyc .site-header {
  background: var(--color-paper);
  border-bottom: var(--rule-strong) solid var(--color-ink);
}

.skin-saucekingnyc .site-header .wp-block-site-logo img {
  width: auto;
  height: 64px;
}

@media (min-width: 64em) {
  .skin-saucekingnyc .site-header .wp-block-site-logo img {
    height: 80px;
  }
}

/* Links a touch heavier */
.skin-saucekingnyc a {
  text-decoration-thickness: 0.08em;
}

.skin-saucekingnyc ::selection {
  background: var(--color-brand-red);
  color: var(--color-white);
}

/* Section surfaces */
.skin-saucekingnyc .surface-alt {
  background: var(--color-surface-alt);
}

.skin-saucekingnyc .surface-mustard {
  background: var(--color-gold);
  color: var(--color-ink);
}

/* How it works: steps on cream, then the mustard facts panel standing on nothing (it is the shelf) */
.skin-saucekingnyc .facts {
  margin-block-start: var(--space-xl);
  background: var(--color-gold);
  color: var(--color-ink);
}

/* Winners on char; award names in mustard, maker links in ember red, notes in ash */
.skin-saucekingnyc .winners-band {
  background: var(--color-ember);
  color: var(--color-paper);
  --color-text: var(--color-paper);
  --color-text-muted: var(--wp--preset--color--ash);
}

.skin-saucekingnyc .winners-band a:not(.wp-element-button) {
  color: var(--color-flame);
}

.skin-saucekingnyc .winners-band :focus-visible {
  outline-color: var(--color-flame);
}

.skin-saucekingnyc .winners-band .section-head p {
  color: var(--wp--preset--color--ash);
}

.skin-saucekingnyc .award-card {
  border-bottom: var(--shelf);
}

.skin-saucekingnyc .award-card__photo {
  filter: contrast(1.05);
}

.skin-saucekingnyc .award-card__award {
  color: var(--color-brand-red);
}

/* Mustard and ash are text colours only on char */
.skin-saucekingnyc .winners-band .award-card__award,
.skin-saucekingnyc .winners-band .champion__award,
.skin-saucekingnyc .winners-band .award-group {
  color: var(--color-gold);
}

.skin-saucekingnyc .winners-band :is(.award-card__note, .award-card__from, .maker__meta) {
  color: var(--wp--preset--color--ash);
}

/* Text-only cards stand on a hairline, not the shelf */
.skin-saucekingnyc .award-card--text {
  border-bottom: var(--hairline);
}

.skin-saucekingnyc .winners-band .award-card--text {
  border-bottom-color: var(--color-dark-rule);
}

/* The year sections on the Winners page are ruled in mustard on char */
.skin-saucekingnyc .winners-band .awards-year {
  border-top-color: var(--color-gold);
}

/* The Grand Champion and the champions shelf stand on the shelf line */
.skin-saucekingnyc .champion__photo,
.skin-saucekingnyc .champions-shelf__photo,
.skin-saucekingnyc .champions-shelf__plate {
  border-bottom: var(--shelf);
}

/* Category chips in ink; the aside on label with a shelf under it */
.skin-saucekingnyc .category-list li {
  border-color: var(--color-ink);
}

.skin-saucekingnyc .categories__aside {
  border-bottom: var(--shelf);
}

/* Judges: the pull quote sits under a shelf line */
.skin-saucekingnyc .judges-panel__quote {
  border-top: var(--shelf);
}

/* Cards with the photo on top stand on the shelf */
.skin-saucekingnyc .card .wp-block-post-featured-image {
  border-bottom: var(--shelf);
}

/* Signup on mustard, ink text */
.skin-saucekingnyc .signup.surface-mustard {
  --color-text: var(--color-ink);
  --color-text-muted: var(--color-ink);
  background: var(--color-gold);
  color: var(--color-ink);
}

.skin-saucekingnyc .signup.surface-mustard a {
  color: var(--color-ink);
}

/* Full-bleed bands: on pages whose content has .alignfull sections, main drops its padding,
   the content runs the full width with the root padding, and .alignfull pulls back to the edges.
   Scoped to the skin, so Rib King and Brisket King are untouched. */
.skin-saucekingnyc main.has-global-padding:has(> .wp-block-post-content > .alignfull) {
  padding-inline: 0;
}

.skin-saucekingnyc main > .wp-block-post-content:has(> .alignfull) {
  max-width: none;
  padding-inline: var(--wp--style--root--padding-left);
}

.skin-saucekingnyc main > .wp-block-post-content > .alignfull {
  max-width: none;
  margin-inline: calc(var(--wp--style--root--padding-left) * -1) !important;
}

/* Inner pages and posts share the 1200px container's left edge: title, intro and blocks start
   where the header logo does; running text stays at reading width. Pages with full-bleed bands
   also drop main's padding (above) and carry it here instead. */
.skin-saucekingnyc:not(.home) main > .wp-block-post-content {
  max-width: none;
}

.skin-saucekingnyc:not(.home) main > .entry-header > *,
.skin-saucekingnyc:not(.home) main > .wp-block-post-content > :not(.alignfull) {
  max-width: var(--wp--style--global--content-size, 82.5rem);
  margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 82.5rem)) / 2)) !important;
  margin-right: auto !important;
}
/* Lineup photos in posts show whole, capped so they do not dwarf the gallery under them (0.5.5). */
.skin-saucekingnyc:not(.home) main > .wp-block-post-content > .wp-block-image.is-lineup {
  max-width: 44rem;
}

.skin-saucekingnyc:not(.home) main:has(> .wp-block-post-content > .alignfull) > .entry-header {
  /* main is a constrained layout, so the header was capped at the container AND padded: the
     title sat one padding in from the text and table under it (Melvin, 2026-11-23). */
  max-width: none;
  padding-inline: var(--wp--style--root--padding-left);
}

.skin-saucekingnyc:not(.home) main > .wp-block-post-content > :is(p, .wp-block-list, .page-intro) {
  max-width: 45rem;
}

/* Posts: running text takes the whole container, edge to edge with the title above and the
   winners table or galleries below, like the home intro (Melvin, 2026-11-23). Pages keep 45rem. */
.skin-saucekingnyc.single-post main > .wp-block-post-content > :is(p, .wp-block-list) {
  max-width: var(--wp--style--global--content-size, 82.5rem);
}

.skin-saucekingnyc:not(.home) main > .wp-block-post-content > h2:not(.is-style-subheading) {
  margin-top: var(--space-2xl);
}

.skin-saucekingnyc:not(.home) main > .wp-block-post-featured-image {
  max-width: 60rem;
  margin-inline: auto;
  border-bottom: var(--shelf);
}

/* Post cards: no frame, photo on the shelf, text on the page */
.skin-saucekingnyc .card {
  border: 0;
  background: transparent;
}

.skin-saucekingnyc .card .card__body {
  padding-inline: 0;
}

/* Section links set bold, like the reference's text links */
.skin-saucekingnyc .section-head__link a {
  font-weight: 700;
}

/* ==========================================================================================
   Round 4, 2026-11-17 (Melvin's notes from the Jimmy and Nick calls): direction B's champion and
   ballot rows, direction A's category list, half-size ®, full-bleed hero photo, the horizontal logo,
   numbered steps reworked, and section heads lined up with the 1200px container on the home page.
   ========================================================================================== */

/* ® in headings at half size, raised */
.skin-saucekingnyc .reg {
  font-size: 0.5em;
  vertical-align: 0.9em;
  line-height: 0;
  margin-inline-start: 0.04em;
}

/* Header: the horizontal logo */
.skin-saucekingnyc .site-header .wp-block-site-logo img {
  height: 60px;
}
@media (min-width: 64em) {
  .skin-saucekingnyc .site-header .wp-block-site-logo img {
    height: 76px;
  }
}
.skin-saucekingnyc .site-header__bar {
  padding-block: var(--space-2xs);
}

/* Hero: the photo runs edge to edge, not just the scrim */
.skin-saucekingnyc .hero-fullbleed > .wp-block-image {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
}

/* Home: section heads inside full-width bands start on the container's left edge */
.skin-saucekingnyc main .alignfull.is-layout-constrained > .section-head {
  margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 82.5rem)) / 2)) !important;
}

/* Intro text under the hero */
.skin-saucekingnyc .home-intro .home-intro__body {
  max-width: 52rem;
  margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 82.5rem)) / 2)) !important;
}
.skin-saucekingnyc .home-intro .home-intro__body > p:not(.post-byline) {
  font-size: 1.25rem;
  line-height: 1.5;
}
.skin-saucekingnyc .home-intro .post-byline {
  font-size: var(--text-s);
  color: var(--color-text-muted);
}

/* How it works: number beside the step, each step under an ink rule, four across on desktop */
.skin-saucekingnyc .steps {
  gap: var(--space-l) var(--space-xl);
}
.skin-saucekingnyc .steps > li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: var(--space-s);
  align-content: start;
  padding-block-start: var(--space-s);
  border-top: var(--rule-strong) solid var(--color-ink);
}
.skin-saucekingnyc .steps > li::before {
  grid-row: 1 / span 2;
  margin: 0;
  font-size: 3.5rem;
  line-height: 0.85;
}
.skin-saucekingnyc .steps h3 {
  align-self: end;
  font-size: 1.25rem;
}

/* Winners table: one label-coloured section; bottles on the mustard shelf (5px, 8px for the champion) */
.skin-saucekingnyc .ballot-band {
  background: var(--color-surface-alt);
}
.skin-saucekingnyc .award-card--ballot {
  border-bottom: var(--rule-strong) solid color-mix(in srgb, var(--color-ink) 55%, transparent);
}
.skin-saucekingnyc .award-card--grand {
  border-bottom-color: var(--color-ink);
}
.skin-saucekingnyc .award-card--ballot .award-card__photo img {
  border-bottom: 5px solid var(--color-gold);
}
.skin-saucekingnyc .award-card--grand .award-card__photo img {
  border-bottom-width: 8px;
}
.skin-saucekingnyc .ballot-band .award-card__maker a {
  color: var(--color-brand-red);
}

/* Categories, direction A: a ruled two-column list, not chips */
.skin-saucekingnyc .category-list {
  display: block;
  columns: 1;
  column-gap: var(--space-xl);
  margin-top: var(--space-m);
}
@media (min-width: 48em) {
  .skin-saucekingnyc .category-list {
    columns: 2;
  }
}
.skin-saucekingnyc .category-list li {
  break-inside: avoid;
  padding: var(--space-xs) 0;
  border: 0;
  border-bottom: var(--hairline);
  border-radius: 0;
  font-size: 1.125rem;
  font-weight: 600;
}


/* Width (2026-11-17, Melvin: "a little more wide"): the container is 1320px on Sauce King
   (styles/saucekingnyc.json); the hero copy and section intros get a little more line length too. */
.skin-saucekingnyc .hero-fullbleed__line {
  max-width: 40rem;
}
.skin-saucekingnyc .hero-fullbleed__lead {
  max-width: 44rem;
}
.skin-saucekingnyc .hero-fullbleed__state {
  max-width: 12ch;
}
.skin-saucekingnyc .section-head {
  max-width: 52rem;
}

/* Winners table: award names in smoke, not red (only the Grand Champion line is red) */
.skin-saucekingnyc .award-card--ballot .award-card__award {
  color: var(--color-text-muted);
}

/* ==========================================================================================
   Round 6, 2026-11-17: sections alternate cream / label down every page, the Winners page
   year menu gets a solid bar, reading columns on How to Enter, and the profile pages.
   ========================================================================================== */

/* Year plates (no photo) need contrast on a cream section */
.skin-saucekingnyc .section:not(.surface-alt) .champions-shelf__plate {
  background: var(--color-surface-alt);
}

/* Winners page: the sticky year menu sits on a solid bar the colour of its section */
.skin-saucekingnyc .year-jump--row {
  position: sticky;
  top: calc(var(--sk-admin) + var(--sk-stuck));
  z-index: 5;
  margin-inline: calc(var(--wp--style--root--padding-left) * -1);
  padding: var(--space-2xs) var(--wp--style--root--padding-left);
  background: var(--color-surface-alt);
  border-bottom: var(--rule-strong) solid var(--color-ink);
}
.skin-saucekingnyc .year-jump--row ul {
  margin: 0;
}
.skin-saucekingnyc .awards-year {
  scroll-margin-top: 4.5rem;
}
/* The year menu wraps to two rows below 520px and three below 340px; a year heading lands
   just under it (the sticky header's height is added by scroll-padding, end of file) */
@media (max-width: 32.49em) {
  .skin-saucekingnyc .awards-year { scroll-margin-top: 7.75rem; }
}
@media (max-width: 21.24em) {
  .skin-saucekingnyc .awards-year { scroll-margin-top: 11rem; }
}
.skin-saucekingnyc .ballot-band .awards-year {
  border-top: 0;
}

/* Inner pages built from bands (How to Enter): intro and rules read at a wider measure,
   starting on the container edge */
.skin-saucekingnyc .page-band > .page-intro,
.skin-saucekingnyc .alignfull > .reading-col {
  max-width: 52rem;
  margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 82.5rem)) / 2)) !important;
}
.skin-saucekingnyc .reading-col > h2:first-child {
  margin-top: 0;
}
.skin-saucekingnyc .alignfull.page-band:first-child {
  padding-block-start: var(--space-m);
}

/* Profiles: facts on label with mustard ticks, photos on the shelf */
.skin-saucekingnyc .profile-facts {
  background: var(--color-surface-alt);
}
.skin-saucekingnyc .profile-facts dl > div {
  border-left: 4px solid var(--color-gold);
}
.skin-saucekingnyc .profile-head__photo img {
  border-bottom: 8px solid var(--color-gold);
}
.skin-saucekingnyc .profile .award-card--ballot .award-card__photo img {
  border-bottom: 5px solid var(--color-gold);
}
.skin-saucekingnyc .judges-panel__list strong a {
  color: inherit;
}
.skin-saucekingnyc .surface-alt .ship-to {
  background: var(--color-paper);
}

/* Width (2026-11-19, Melvin's width notes): the hero copy and the intro under it run the full
   container width, matching the winners table below. Overrides the 11-17 caps above. */
.skin-saucekingnyc .hero-fullbleed__line,
.skin-saucekingnyc .hero-fullbleed__lead,
.skin-saucekingnyc .hero-fullbleed__state {
  max-width: none;
}
.skin-saucekingnyc .home-intro .home-intro__body {
  max-width: var(--wp--style--global--content-size, 82.5rem);
}
.skin-saucekingnyc .hero-fullbleed__state {
  text-wrap: balance;
}

/* Sticky header (0.5.9). The header stays on top while you scroll and, where the browser
   supports scroll-driven animation (Chrome, Edge, Safari 26), shrinks over the first 80px of
   scroll. Elsewhere (Firefox) it stays full size and every offset below uses the full height.
   --sk-stuck is the header's height once scrolled: the year menu sits under it and anchor
   jumps land below it. Bar heights are set outright so those offsets are exact. */
:root:has(> body.skin-saucekingnyc) {
  --sk-logo: 52px;
  --sk-logo-small: 44px;
  --sk-bar: 68px;
  --sk-bar-small: 56px;
  --sk-admin: 0px;
  --sk-stuck: calc(var(--sk-bar) + var(--rule-strong));
}
@media (min-width: 64em) {
  :root:has(> body.skin-saucekingnyc) {
    --sk-logo: 76px;
    --sk-logo-small: 56px;
    --sk-bar: 92px;
    --sk-bar-small: 68px;
  }
}
@supports (animation-timeline: scroll()) {
  :root:has(> body.skin-saucekingnyc) {
    --sk-stuck: calc(var(--sk-bar-small) + var(--rule-strong));
  }
}
/* Logged-in admin bar: 32px, 46px on tablets, and below 600px it scrolls away, so 0 there */
:root:has(> body.skin-saucekingnyc.admin-bar) { --sk-admin: 32px; }
@media (max-width: 782px) {
  :root:has(> body.skin-saucekingnyc.admin-bar) { --sk-admin: 46px; }
}
@media (max-width: 600px) {
  :root:has(> body.skin-saucekingnyc.admin-bar) { --sk-admin: 0px; }
}

.skin-saucekingnyc .wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: var(--sk-admin);
  z-index: 50;
}
.skin-saucekingnyc .site-header__bar {
  min-height: var(--sk-bar);
  padding-block: 0;
}
.skin-saucekingnyc .site-header .wp-block-site-logo img {
  height: var(--sk-logo);
}

@supports (animation-timeline: scroll()) {
  .skin-saucekingnyc .site-header__bar {
    animation: sk-bar-shrink linear both;
    animation-timeline: scroll(root);
    animation-range: 0 80px;
  }
  .skin-saucekingnyc .site-header .wp-block-site-logo img {
    animation: sk-logo-shrink linear both;
    animation-timeline: scroll(root);
    animation-range: 0 80px;
  }
}
@keyframes sk-bar-shrink { to { min-height: var(--sk-bar-small); } }
@keyframes sk-logo-shrink { to { height: var(--sk-logo-small); } }

/* Anchor jumps (#links, year menu, award groups) land below the header */
:root:has(> body.skin-saucekingnyc) {
  scroll-padding-top: calc(var(--sk-stuck) + 2px);
}

/* Phones: logo, menu button and Enter Your Sauce stay on one row (they wrapped to two before
   0.5.9, about 130px of pinned header). Tighter gaps and button padding below 60em. */
@media (max-width: 59.99em) {
  .skin-saucekingnyc .site-header__bar {
    flex-wrap: nowrap;
    gap: var(--space-xs);
  }
  .skin-saucekingnyc .site-header__actions {
    gap: var(--space-2xs);
  }
  .skin-saucekingnyc .site-header .wp-block-button__link {
    padding-inline: var(--space-xs);
    white-space: nowrap;
  }
}

/* Tablets and narrow windows (600px to 60em): the full menu does not fit beside the logo and
   wrapped the header to two rows, so the menu button carries on up to 60em, as on phones.
   WordPress switches to the inline menu at 600px; these two rules move that switch. */
@media (min-width: 600px) and (max-width: 59.99em) {
  .skin-saucekingnyc .site-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
  .skin-saucekingnyc .site-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none;
  }
}

/* ==========================================================================================
   0.5.11, 2026-11-25 (Nick's note, Melvin chose look D): the award name leads on a gold plaque,
   the sauce name stays a big black headline under it, maker links and the Grand Champion line larger.
   ========================================================================================== */
.skin-saucekingnyc .award-card--ballot .award-card__award {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-ink);
  background: var(--color-gold);
  padding: 0.4em 0.7em;
  margin-bottom: var(--space-xs);
  text-wrap: balance;
}
.skin-saucekingnyc .award-card--ballot .award-card__product {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.05;
  font-weight: 700;
  color: var(--color-ink);
  text-wrap: balance;
}
.skin-saucekingnyc .award-card--ballot .award-card__maker {
  font-size: 1.25rem;
}
.skin-saucekingnyc .award-card--grand .award-card__crown-line {
  font-size: 1.25rem;
}
.skin-saucekingnyc .award-card--grand .award-card__award {
  font-size: 1.375rem;
  margin-top: var(--space-2xs);
}
.skin-saucekingnyc .award-card--grand .award-card__product {
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  line-height: 0.95;
}
