/* ==========================================================================================
   Event Kit: component CSS

   Tokens (colours, fonts, sizes, spacing) live in theme.json and arrive here as
   --wp--preset--* and --wp--custom--* variables. This file never hardcodes a brand value, so
   a style variation can reskin the whole site from theme.json alone.

   Component names follow the Claude Design "Ticket and menu board" page (2026-11-02) so the
   design file and the theme stay in step.

   Contents
     1. Tokens and roles      8. Podium                 15. Print (matted photo)
     2. Base                  9. Cards                  16. Order slip
     3. Header               10. Partners               17. Split hero
     4. Hero and ticket      11. Signup band            18. Pitmasters beside a print
     5. Photo band, winner   12. Footer                 19. Winner band (the one dark band)
     6. Essentials           13. Single posts and pages 20. Cards, photo beside
     7. Menu list (lineup)   14. Ledger (dot leaders)   21. Partners strip, light footer, page head

   Sections 14 to 21 were added 2026-11-10 for Brisket King (Claude Design direction B). They read
   only role variables and theme.json custom values, so every skin gets them and Rib King's
   sections 3 to 13 are untouched.

   Breakpoints: 48em (768px) tablet, 60em (960px) split layouts, 64em (1024px) desktop.
   ========================================================================================== */


/* 1. Tokens and roles
   Short names for theme.json values, plus roles (text, rule, surface) that dark sections
   swap in one place. ----------------------------------------------------------------------- */

:root {
  /* Palette */
  --color-brand-red: var(--wp--preset--color--brand-red);
  --color-gold:      var(--wp--preset--color--gold);
  --color-bark:      var(--wp--preset--color--bark);
  --color-ember:     var(--wp--preset--color--ember);
  --color-flame:     var(--wp--preset--color--flame, var(--color-brand-red));
  --color-ink:       var(--wp--preset--color--ink);
  --color-smoke:     var(--wp--preset--color--smoke);
  --color-paper:     var(--wp--preset--color--paper);
  --color-white:     var(--wp--preset--color--white);

  /* Fonts */
  --font-display: var(--wp--preset--font-family--display);
  --font-ui:      var(--wp--preset--font-family--ui);

  /* Roles on a light background */
  --color-text:       var(--color-ink);
  --color-text-muted: var(--color-smoke);
  --color-rule:       var(--color-ink);
  --color-surface:    var(--color-white);

  /* Roles on a dark background */
  --color-dark-bg:     var(--color-ember);
  --color-dark-bg-alt: var(--color-bark);
  --color-dark-text:   var(--color-paper);
  --color-dark-accent: var(--color-gold);
  --color-dark-rule:   var(--color-bark);

  /* Type */
  --text-s:          var(--wp--preset--font-size--small);
  --text-date:       var(--wp--preset--font-size--date);
  --tracking-ui:     0.04em;
  --leading-display: 0.92;

  /* Lines, targets, widths (theme.json settings.custom) */
  --rule-strong:     var(--wp--custom--rule);
  --rule-perforation: var(--wp--custom--perforation);
  --tap-min:         var(--wp--custom--tap);
  --width-reading:   var(--wp--custom--reading-width);
  --width-slip:      34rem;

  /* Skin-tunable values (theme.json settings.custom; the base theme sets neutral values) */
  --hairline:        var(--wp--custom--hairline) color-mix(in srgb, var(--color-ink) 16%, transparent);
  --leader:          var(--wp--custom--leader) var(--color-text-muted);
  --perforation:     var(--wp--custom--perforation) var(--color-text-muted);
  --tilt:            var(--wp--custom--tilt);
  --stretch-display: var(--wp--custom--stretch-display);
  --stretch-event:   var(--wp--custom--stretch-event);
  --stretch-ui:      var(--wp--custom--stretch-ui);
  --weight-display:  var(--wp--custom--weight-display);

  /* Alternate light surface: a skin that defines a "butcher" colour gets it, others fall back to paper */
  --color-surface-alt: var(--wp--preset--color--butcher, var(--color-paper));
  --text-caption:    0.8125rem;

  /* Spacing (theme.json slugs: "2xs" becomes "2-xs" in the variable name) */
  --space-3xs: var(--wp--preset--spacing--3-xs);
  --space-2xs: var(--wp--preset--spacing--2-xs);
  --space-xs:  var(--wp--preset--spacing--xs);
  --space-s:   var(--wp--preset--spacing--s);
  --space-m:   var(--wp--preset--spacing--m);
  --space-l:   var(--wp--preset--spacing--l);
  --space-xl:  var(--wp--preset--spacing--xl);
  --space-2xl: var(--wp--preset--spacing--2-xl);
}


/* 2. Base ---------------------------------------------------------------------------------- */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
}

p, li, dd {
  text-wrap: pretty;
}

a {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--color-text);
  outline-offset: 3px;
}

::selection {
  background: var(--color-gold);
  color: var(--color-ink);
}

.wp-block-image img:not([style*="aspect-ratio"]) {
  height: auto;
}

/* Header, main and footer sit flush; sections bring their own padding. */
.wp-site-blocks > * + * {
  margin-block-start: 0;
}

/* Small uppercase label above a heading */
.kicker,
.kicker p {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--text-s);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--color-text-muted);
}

/* Section heads: reading width, left-aligned inside a constrained (centred) layout */
.section-head {
  max-width: var(--width-reading);
}

.is-layout-constrained > .section-head,
.is-layout-constrained > .menu-list,
.is-layout-constrained > .section-foot {
  margin-left: 0 !important; /* beats core's auto margins on constrained children */
}

.section-head .section-head__link {
  font-family: var(--font-ui);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
}

.section {
  padding-block: var(--wp--preset--spacing--section);
}

.section--ruled {
  border-top: var(--rule-strong) solid var(--color-rule);
}

/* Dark sections: swap the roles, and every component inside follows. */
.site-footer,
.essentials,
.signup,
.section--band {
  --color-text:       var(--color-dark-text);
  --color-text-muted: var(--color-dark-text);
  --color-rule:       var(--color-dark-rule);
  --color-surface:    transparent;
}

:is(.site-footer, .essentials, .signup, .section--band) a {
  color: var(--color-dark-text);
}

:is(.site-footer, .essentials, .signup, .section--band) a:hover {
  color: var(--color-dark-accent);
}

:is(.site-footer, .essentials, .signup, .section--band) .kicker {
  color: var(--color-dark-accent);
}

:is(.site-footer, .essentials, .signup, .section--band) :focus-visible {
  outline-color: var(--color-dark-accent);
}

/* Buttons (base look is in theme.json styles.elements.button) */
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: 48px;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--color-text);
  border-color: currentColor;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--color-text);
  color: var(--color-paper);
}

.btn-lg .wp-block-button__link {
  min-height: 56px;
  font-size: 1.125rem;
}

.btn-block,
.btn-block .wp-block-button__link {
  width: 100%;
  justify-content: space-between;
}

/* Image cropping helpers (core/image with aspectRatio already crops; these set the focus) */
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-top img   { object-position: 50% 22%; }
.focus-upper img { object-position: 50% 35%; }


/* 3. Header -------------------------------------------------------------------------------- */

.site-header {
  background: var(--color-paper);
}

.site-header__bar {
  min-height: 64px;
}

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

.site-header .wp-block-navigation {
  font-size: 1rem;
}

.site-header .wp-block-navigation a {
  display: flex;
  align-items: center;
  min-height: var(--tap-min);
}

.site-header .wp-block-button__link {
  min-height: var(--tap-min);
  padding-inline: var(--space-s);
}

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

/* Phone menu (the navigation overlay): items left-aligned with a gutter, not pushed right */
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open {
  padding-left: var(--wp--preset--spacing--gutter);
  padding-right: var(--wp--preset--spacing--gutter);
}


/* 4. Hero and ticket ----------------------------------------------------------------------- */

.hero {
  padding-block: var(--space-m) var(--space-l);
}

.hero .hero__wordmark img {
  width: 100%;
  max-width: 640px;
  height: auto;
}

.hero__lead {
  max-width: var(--width-reading);
  font-size: var(--wp--preset--font-size--lead);
}

.hero__credits {
  font-size: var(--text-s);
  color: var(--color-text-muted);
}

@media (min-width: 64em) {
  .hero {
    padding-top: var(--space-xl);
  }
}

/* The intro is two paragraphs. On desktop they read as one; on phones the ticket sits between
   them: logo, first part of the intro, ticket, rest of the intro, credits. Pure reordering with
   display: contents, so the text stays in reading order for search engines and screen readers. */
@media (min-width: 782px) {
  .hero__lead--a,
  .hero__lead--b {
    display: inline;
  }

  .hero__lead--a::after {
    content: " ";
  }
}

@media (max-width: 781px) {
  .hero__grid {
    flex-direction: column;
    gap: var(--space-m);
  }

  .hero__grid > .hero__intro {
    display: contents;
  }

  .hero__grid > *,
  .hero__intro > * {
    flex-basis: auto !important;
    width: 100%;
    margin-block: 0;
  }

  .hero__wordmark       { order: 1; }
  .hero__lead--a        { order: 2; }
  .hero__grid > .hero__ticket { order: 3; }
  .hero__lead--b        { order: 4; }
  .hero__credits        { order: 5; }
}

/* The ticket: main part on top, perforated stub below */
.ticket {
  background: var(--color-surface);
  border: var(--rule-strong) solid var(--color-rule);
}

.ticket__main {
  padding: var(--space-m);
}

.ticket__date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-date);
  line-height: var(--leading-display);
  text-transform: uppercase;
}

.ticket__place {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.35;
}

.ticket__stub {
  padding: var(--space-m);
  border-top: var(--rule-perforation) var(--color-rule);
}

.ticket__price {
  font-family: var(--font-ui);
  font-weight: 600;
}

.ticket__price .muted {
  color: var(--color-text-muted);
}


/* 5. Photo band and winner feature ---------------------------------------------------------- */

/* Winner feature: headline, one photo, a link to the recap. Sits under the hero between events. */
.winner-feature {
  margin-block: var(--space-l);
}

.winner-feature__title {
  max-width: 22ch;
  margin-left: 0 !important; /* left-aligned like section heads, not centred by the constrained layout */
  margin-bottom: var(--space-s);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
}

.winner-feature__link {
  margin-top: var(--space-s);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.125rem;
}

@media (max-width: 47.99em) {
  .winner-feature .wp-block-image {
    margin-inline: calc(-1 * var(--wp--preset--spacing--gutter));
  }
}

.photo-band {
  margin-block: var(--space-l);
}

/* Phones: bleed past the page gutter to the screen edge */
@media (max-width: 47.99em) {
  .photo-band,
  .photo-band.alignfull {
    margin-inline: calc(-1 * var(--wp--preset--spacing--gutter));
  }
}


/* 6. Essentials scoreboard (dark): 2 x 2 on phones, 4 across from tablet ------------------- */

.essentials {
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
}

.essentials__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

/* Grid cells line up at the top: drop the block-gap margin core adds to every cell after the first */
.essentials__list > * {
  margin-block: 0;
}

.essentials__item {
  display: grid;
  gap: var(--space-3xs);
  align-content: start;
  padding: var(--space-m) var(--space-s);
}

.essentials__item:nth-child(n+3) {
  border-top: var(--rule-strong) solid var(--color-dark-bg-alt);
}

.essentials__item:nth-child(odd) {
  border-right: var(--rule-strong) solid var(--color-dark-bg-alt);
}

.essentials__dt {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--text-s);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--color-dark-accent);
}

.essentials__dd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.essentials__small {
  font-size: var(--text-s);
  line-height: 1.4;
}

@media (min-width: 48em) {
  .essentials__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .essentials__item {
    border-top: 0 !important; /* undo the 2 x 2 row rule */
    border-right: var(--rule-strong) solid var(--color-dark-bg-alt);
    padding: var(--space-l) var(--space-m);
  }

  .essentials__item:last-child {
    border-right: 0;
  }

  .essentials__dd {
    font-size: 2.25rem;
  }
}


/* 7. Menu list (lineup): name, leader dots, detail. One column on phones, two from tablet. */

ul.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: var(--rule-strong) solid var(--color-rule);
  columns: 1;
  column-gap: var(--space-xl);
}

ul.menu-list li {
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  gap: var(--space-2xs);
  min-height: var(--tap-min);
  padding-block: var(--space-xs);
  border-bottom: 1px solid var(--color-rule);
}

ul.menu-list li strong {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: var(--space-2xs);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.3125rem; /* 10% up from 1.1875rem, Melvin 2026-11-03 */
  line-height: 1.2;
}

/* The leader dots fill the space after the name */
ul.menu-list li strong::after {
  content: "";
  flex: 1;
  min-width: var(--space-s);
  border-bottom: 2px dotted var(--color-text-muted);
  transform: translateY(-0.3em);
}

ul.menu-list li em {
  font-style: normal;
  font-size: var(--text-s);
  color: var(--color-text-muted);
  text-align: right;
}

@media (min-width: 48em) {
  ul.menu-list {
    columns: 2;
  }
}


/* 8. Podium -------------------------------------------------------------------------------- */

.podium__body {
  border-top: var(--rule-strong) solid var(--color-rule);
  padding-top: var(--space-s);
}

.podium__award {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--wp--preset--font-size--subheading); /* h3 size: one step below the section h2 */
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--color-brand-red);
}

.podium__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.podium__item--first .podium__name {
  font-size: 2.75rem;
}

.podium__meta {
  font-size: var(--text-s);
  color: var(--color-text-muted);
}

.podium__item img {
  object-fit: cover;
}


/* 9. Cards (query loop). The whole card is the click target via the title link's ::after. */

.card-grid .wp-block-post-template {
  gap: var(--space-l);
}

.card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  background: var(--color-surface);
  border: var(--rule-strong) solid var(--color-rule);
}

.card .wp-block-post-featured-image {
  margin: 0;
  background: var(--color-dark-bg-alt); /* shows while the image loads, or if there is none */
}

.card .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: var(--space-s) var(--space-s) var(--space-m);
}

.card__meta {
  font-size: var(--text-s);
}

.card__meta .wp-block-post-terms a {
  text-decoration: none;
  color: var(--color-text-muted);
}

.card__title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--wp--preset--font-size--subheading);
  line-height: 1.2;
  text-transform: none;
}

.card__title a {
  color: var(--color-text);
  text-decoration: none;
}

.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card:hover .card__title a {
  color: var(--color-brand-red);
  text-decoration: underline;
}

/* Keyboard focus outlines the whole card instead of the hidden title link */
.card:focus-within {
  outline: 3px solid var(--color-text);
  outline-offset: 3px;
}

.card:focus-within :focus-visible {
  outline: none;
}


/* 10. Partners: lead tiers in boxed tiles, supporting tier as a plain logo row ------------- */

.partner-tiers {
  border-top: var(--rule-strong) solid var(--color-rule);
}

.partner-tier {
  padding-block: var(--space-m);
  border-bottom: var(--rule-strong) solid var(--color-rule);
}

.partner-tier__label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--text-s);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--color-text-muted);
}

.partner-tier__logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-s);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.5rem;
  margin: 0;
  padding: var(--space-m);
  background: var(--color-surface);
  border: var(--rule-strong) solid var(--color-rule);
}

/* Single tone: every logo rendered near-black, whatever its own colours */
.partner-logo img {
  max-height: 64px;
  width: auto;
  filter: grayscale(1) brightness(0.25);
}

.partner-logo .logo-text {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
}

.partner-tier--support .partner-tier__logos {
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: var(--space-s) var(--space-m);
}

.partner-tier--support .partner-logo {
  min-height: 4rem;
  padding: 0;
  justify-content: flex-start;
  background: transparent;
  border: 0;
}

.partner-tier--support .partner-logo img {
  max-height: 36px;
}

@media (min-width: 48em) {
  .partner-logo {
    min-height: 8rem;
  }
}

/* Desktop: tier label on the left, logos on the right */
@media (min-width: 64em) {
  .partner-tier {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    gap: var(--space-xl);
    align-items: center;
    padding-block: var(--space-l);
  }
}


/* 11. Signup band (dark) ------------------------------------------------------------------- */

.signup {
  background: var(--color-dark-bg-alt);
  color: var(--color-dark-text);
}

.signup iframe {
  width: 100%;
  max-width: var(--width-reading);
  border: 0;
}

.signup__note {
  font-size: var(--text-s);
}


/* 12. Footer (dark) ------------------------------------------------------------------------ */

.site-footer {
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
  padding-block: var(--space-xl) var(--space-l);
}

.site-footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: var(--space-2xs);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--text-s);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--color-dark-accent);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
}

.site-footer__legal {
  margin-top: var(--space-xl);
  padding-top: var(--space-s);
  border-top: var(--rule-strong) solid var(--color-dark-bg-alt);
  font-size: var(--text-s);
}

@media (min-width: 48em) {
  .site-footer__name {
    font-size: 3rem;
  }
}


/* Instagram feed (Smash Balloon). The section supplies the heading and follow link, so the
   plugin's own header and buttons stay hidden even if the feed settings turn them back on. */
.section-instagram #sb_instagram {
  padding-bottom: 0 !important;
}

.section-instagram .sb_instagram_header,
.section-instagram #sbi_load {
  display: none !important;
}

/* Embedded forms: tall enough that the form never scrolls inside its own frame */
.signup iframe {
  overflow: hidden;
}

.apply-form {
  display: block;
  height: 1150px; /* Airtable application form, measured at column width */
}

@media (max-width: 47.99em) {
  .apply-form {
    height: 1350px; /* fields stack on phones */
  }
}


/* 13. Single posts and pages --------------------------------------------------------------- */

.entry-header {
  padding-block: var(--space-xl) var(--space-l);
}

/* Inner pages read at article width; the home page uses full sections instead. */
body:not(.home) .entry-content {
  max-width: var(--width-reading);
}

.entry-content > .alignwide,
.entry-content > .alignfull {
  max-width: none;
}

.entry-content img {
  height: auto;
}

.entry-meta {
  font-size: var(--text-s);
}

.entry-meta .wp-block-post-terms a {
  text-decoration: none;
}


/* 14. Ledger: label, dot leader, value. The one pattern for every label-and-value row (prices on
   the order slip, years on the roll of champions, results in a recap). Three markups work:
   dl > div > dt + dd (shortcodes, HTML blocks), ol/ul > li > .ledger__key + .ledger__value
   (shortcodes), and a list block whose items are <strong>key</strong><em>value</em> (editable). */

.ledger {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ledger div,
.ledger li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-2xs);
  padding: var(--space-2xs) 0;
  margin: 0;
}

.ledger dt,
.ledger__key,
.ledger li > strong {
  display: flex;
  flex: 1 0 auto;
  align-items: baseline;
  gap: var(--space-2xs);
  font-weight: 400;
}

.ledger dt::after,
.ledger__key::after,
.ledger li > strong::after {
  content: "";
  flex: 1;
  min-width: var(--space-s);
  border-bottom: var(--leader);
  transform: translateY(-0.25em);
}

.ledger dd,
.ledger__value,
.ledger li > em {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.ledger__note {
  flex-basis: 100%;
  text-align: right;
  color: var(--color-text-muted);
  font-size: var(--text-s);
}

/* Roll of champions: the year is the key, set in the UI face */
.ledger--roll .ledger__key {
  font-family: var(--font-ui);
  font-stretch: var(--stretch-ui);
  font-weight: var(--weight-display);
  font-size: 1.25rem;
}

.ledger--roll .is-off .ledger__value {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Two columns from tablet; a row never splits across columns */
.ledger--columns {
  columns: 1;
  column-gap: var(--wp--preset--spacing--2-xl);
}

.ledger--columns > * {
  break-inside: avoid;
}

@media (min-width: 48em) {
  .ledger--columns {
    columns: 2;
  }
}


/* 15. Print: a photo in a white mat with a hairline and an italic caption. Tilt modifiers apply
   from 960px only, and only when the skin sets a tilt (the base theme's tilt is 0deg). */

.print,
.wp-block-image.print {
  margin: 0;
  padding: var(--space-2xs);
  background: var(--color-surface);
  border: var(--hairline);
}

.print img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.print--4x3 img {
  aspect-ratio: 4 / 3;
}

.print figcaption,
.print .wp-element-caption {
  margin: var(--space-3xs) var(--space-3xs) 0;
  font-size: var(--text-caption);
  font-style: italic;
  line-height: 1.6;
  text-align: left;
  color: var(--color-text-muted);
}

.section--band .print {
  border: 0;
}

@media (min-width: 60em) {
  .print--tilt-right {
    transform: rotate(var(--tilt));
  }

  .print--tilt-left {
    transform: rotate(calc(var(--tilt) * -0.8));
  }
}


/* 16. Order slip: a white slip centred on the alternate surface, perforated top and bottom, holding
   the slip ledger, a note and one full-width button. */

.section--alt {
  background: var(--color-surface-alt);
}

.section .slip {
  max-width: var(--width-slip);
  margin-inline: auto;
  padding: var(--space-l) var(--space-m);
  background: var(--color-surface);
  border-top: var(--perforation);
  border-bottom: var(--perforation);
}

.slip__title {
  margin-bottom: var(--space-s);
  font-size: 2rem;
}

.slip__note {
  margin-block: var(--space-s);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}


/* 17. Split hero: logo, hidden H1, event line, lead and actions on the left; one matted print on the
   right. One column on phones, 5/6 from 960px. */

.hero__split {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}

.hero__split > * {
  margin-block: 0;
}

.hero__logo img {
  width: 7.5rem;
  height: auto;
}

.hero__event {
  max-width: 20ch;
  margin-top: var(--space-m);
  font-family: var(--font-display);
  font-stretch: var(--stretch-event);
  font-weight: var(--weight-display);
  font-size: var(--text-date);
  line-height: 1.02;
}

.hero--split .hero__lead {
  max-width: 36rem;
  margin-top: var(--space-s);
}

.hero__actions {
  margin-top: var(--space-l);
  gap: var(--space-xs) !important; /* two buttons side by side on a 390px screen */
}

.hero--split .print img {
  aspect-ratio: 4 / 3;
  object-position: 45% 50%;
}

@media (min-width: 60em) {
  .hero__split {
    grid-template-columns: 5fr 6fr;
    gap: var(--wp--preset--spacing--2-xl);
  }

  .hero__logo img {
    width: 9rem;
  }
}

/* A bold text link that meets the tap target */
.text-link,
.text-link a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-weight: 700;
  text-decoration: underline;
}


/* 18. Pitmasters beside a print: section head, then a print on the left and a ruled list of
   text-only pitmaster cards on the right. */

.pitmasters__grid {
  display: grid;
  gap: var(--space-l);
}

.pitmasters__grid > * {
  margin-block: 0;
}

.pitmasters__list {
  border-top: var(--rule-strong) solid var(--color-rule);
}

.pitmaster {
  padding: var(--space-s) 0;
  border-bottom: var(--hairline);
}

.pitmaster > * {
  margin-block: 0;
}

.pitmaster__name {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.pitmaster__credits {
  margin-top: var(--space-3xs);
  color: var(--color-text-muted);
}

@media (min-width: 60em) {
  .pitmasters__grid {
    grid-template-columns: 5fr 6fr;
    column-gap: var(--wp--preset--spacing--2-xl);
    align-items: start;
  }
}


/* 19. Winner band: the page's one dark band (roles swapped in section 2), the champion's name
   large, the print tilted left and on the right from 960px. */

.section--band {
  background: var(--color-dark-bg-alt);
  color: var(--color-dark-text);
}

.winner-band__grid {
  display: grid;
  gap: var(--space-l);
  align-items: center;
}

.winner-band__grid > * {
  margin-block: 0;
}

.winner-band__year {
  font-weight: 700;
}

.winner-band__title {
  margin-top: var(--space-2xs);
  font-size: clamp(3rem, 10vw, 5rem);
}

.winner-band__who {
  margin-bottom: var(--space-s);
  font-size: 1.125rem;
}

.winner-band__also {
  margin-top: var(--space-m);
  max-width: 24rem;
}

.winner-band__also li > em {
  font-size: 1.25rem;
}

@media (min-width: 60em) {
  .winner-band__grid {
    grid-template-columns: 5fr 6fr;
    gap: var(--wp--preset--spacing--2-xl);
  }

  .winner-band__grid .print {
    order: 2;
  }
}


/* 20. Cards with the photo beside the text (query loop). Thumbnail left in a thin mat, meta, title
   and excerpt right, a hairline under each. 112px square on phones, 256px at 4:3 from tablet. */

.updates__list .wp-block-post-template {
  display: grid;
  gap: var(--space-m);
  max-width: 56rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-beside {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: var(--space-s);
  align-items: start;
  padding-bottom: var(--space-m);
  border-bottom: var(--hairline);
}

.card-beside > * {
  margin-block: 0;
}

/* A post with no featured image still keeps its text in the second column */
.card-beside .wp-block-post-featured-image {
  grid-column: 1;
}

.card-beside__body {
  grid-column: 2;
}

.card-beside:not(:has(.wp-block-post-featured-image)) .card-beside__body {
  grid-column: 1 / -1;
}

.card-beside .wp-block-post-featured-image {
  margin: 0;
  padding: var(--space-3xs);
  background: var(--color-surface);
  border: var(--hairline);
}

.card-beside .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.card-beside__meta {
  font-size: var(--text-s);
  color: var(--color-text-muted);
}

.card-beside__meta a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  text-decoration: underline;
}

.card-beside__title {
  margin: var(--space-3xs) 0 var(--space-2xs);
  font-size: clamp(1.375rem, 3.5vw, 1.875rem);
}

.card-beside__title a {
  display: inline-block;
  min-height: var(--tap-min);
  color: var(--color-text);
  text-decoration: none;
}

.card-beside__title a:hover {
  text-decoration: underline;
}

@media (min-width: 48em) {
  .card-beside {
    grid-template-columns: 16rem 1fr;
    gap: var(--space-l);
  }

  .card-beside .wp-block-post-featured-image img {
    aspect-ratio: 4 / 3;
  }
}


/* 21. Partners strip, light footer, page head ---------------------------------------------- */

/* Partners as one wrapping strip of greyscale logos, 40px tall, never full colour */
.partners--strip {
  color: var(--color-text-muted);
}

.partners--strip .partners__title {
  font-size: 1.5rem;
  color: var(--color-text);
}

.partners__strip {
  margin-top: var(--space-m);
  gap: var(--space-s) var(--space-xl) !important;
}

.partners__strip > * {
  margin: 0;
}

/* Also outranks the general .wp-block-image img:not([style*="aspect-ratio"]) rule in section 2,
   which otherwise sets height: auto and lets a logo fill the strip (fixed 0.4.2) */
.partners__logo img,
.wp-block-image.partners__logo img:not([style*="aspect-ratio"]) {
  height: 2.5rem;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
}

.partners__logo .logo-text {
  font-family: var(--font-ui);
  font-stretch: var(--stretch-ui);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Light footer and signup: back to the light roles on the alternate surface, with a strong top rule */
.site-footer.site-footer--light,
.signup.signup--light {
  --color-text:       var(--color-ink);
  --color-text-muted: var(--color-smoke);
  --color-rule:       var(--color-ink);
  --color-surface:    var(--color-white);
  background: var(--color-surface-alt);
  color: var(--color-text);
  border-top: var(--rule-strong) solid var(--color-rule);
}

:is(.site-footer--light, .signup--light) a {
  color: var(--color-text);
}

:is(.site-footer--light, .signup--light) a:hover {
  color: var(--color-brand-red);
}

:is(.site-footer--light, .signup--light) :focus-visible {
  outline-color: var(--color-text);
}

.site-footer--light .site-footer__logo img {
  width: 5.5rem;
  height: auto;
}

.site-footer--light .site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-m);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer--light .site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-weight: 600;
}

.site-footer--light .site-footer__line,
.site-footer--light .site-footer__legal {
  color: var(--color-text-muted);
}

.site-footer--light .site-footer__legal {
  margin-top: var(--space-l);
  padding-top: var(--space-s);
  border-top: var(--hairline);
  font-size: var(--text-s);
}

/* Signup copy at reading width, left-aligned */
.signup--reading .signup__inner > * {
  max-width: var(--width-reading);
  margin-left: 0 !important;
}

/* Inner pages: H1 and an intro, finished with a hairline. Replaces the hero below the header. */
.page-head {
  padding: var(--space-xl) 0 var(--space-l);
  border-bottom: var(--hairline);
}

.page-head p {
  max-width: var(--width-reading);
  margin-top: var(--space-xs);
  font-size: 1.125rem;
}


/* 22. Winners and Pitmasters pages: a year-jump nav (wrapping row on mobile, sticky column from
   60em) beside one section per year. Markup comes from [winners_page] or the Pitmasters page
   blocks (01_Working/brisketking-kit/tools/build-pitmasters.py). */

/* These two pages read wider than an article: the nav column plus the reading width */
body:not(.home) .entry-content:has(> .winners, > .pitmasters-page) {
  max-width: calc(var(--width-reading) + 10rem + var(--space-xl));
}

.year-jump ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-m);
}

.year-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-ui);
  font-stretch: var(--stretch-ui);
  font-weight: var(--weight-display);
  text-decoration: none;
}

.year-jump a:hover,
.year-jump a:focus-visible {
  text-decoration: underline;
}

.winners-year {
  padding: var(--space-l) 0;
  border-top: var(--rule-strong) solid var(--color-rule);
  scroll-margin-top: var(--space-m);
}

.winners-year > *,
.pitmasters-page__body > * {
  margin-block: 0;
}

.winners-year h2 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

/* Winner photo (0.4.2): a small print beside the year and note, stacked on phones */
.winners-year__head {
  display: grid;
  gap: var(--space-m);
  margin-bottom: var(--space-s);
}

.winners-year__head > div > * {
  margin-block: 0;
}

.winners-year__head h2 {
  margin-bottom: var(--space-xs);
}

.winners-year__photo {
  max-width: 17.5rem;
}

@media (min-width: 48em) {
  .winners-year__head {
    grid-template-columns: minmax(0, 1fr) 17.5rem;
    gap: var(--space-l);
    align-items: start;
  }
}

.winners-year__note {
  color: var(--color-text-muted);
  margin-bottom: var(--space-s);
}

.winners-year .ledger + .text-link,
.winners-year .pitmasters__list + .text-link {
  margin-top: var(--space-s);
}

.pitmasters__also {
  margin-top: var(--space-m);
  margin-bottom: var(--space-xs);
  color: var(--color-text-muted);
  font-size: var(--text-s);
}

.pitmasters__letter {
  margin-top: var(--space-m);
  font-size: 1.25rem;
  color: var(--color-text-muted);
}

.pitmasters-year .pitmaster__name {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

@media (min-width: 48em) {
  .pitmasters-year .pitmasters__list {
    columns: 2;
    column-gap: var(--space-xl);
  }

  .pitmasters-year .pitmaster {
    break-inside: avoid;
  }
}

@media (min-width: 60em) {
  .winners,
  .pitmasters-page {
    display: grid;
    grid-template-columns: 10rem 1fr;
    gap: var(--space-xl);
    align-items: start;
  }

  .year-jump {
    position: sticky;
    top: var(--space-m);
  }

  .year-jump ul {
    flex-direction: column;
  }
}


/* 23. Competition components (theme 0.5.0, Sauce King first). Award cards, the Grand Champion,
   the champions shelf, numbered steps, the facts strip, category chips, the judges panel and a
   full-bleed photo hero. Structure only: colour comes from the roles, the look from a skin. --- */

/* Full-bleed hero: photo under a solid scrim, words at the bottom. Roles swap to dark. */
.hero-fullbleed {
  --color-text:       var(--color-dark-text);
  --color-text-muted: var(--color-dark-text);
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(86svh, 50rem);
  color: var(--color-dark-text);
}
.hero-fullbleed > .wp-block-image,
.hero-fullbleed > .hero-fullbleed__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}
.hero-fullbleed > .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.hero-fullbleed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--color-ember) 70%, transparent);
}
.hero-fullbleed__body {
  align-self: end;
  width: 100%;
  padding-block: var(--space-2xl) var(--space-xl);
}
.hero-fullbleed :focus-visible {
  outline-color: var(--color-flame);
}
.hero-fullbleed .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--color-dark-text);
  color: var(--color-ink);
}
.hero-fullbleed__kicker {
  color: var(--color-dark-accent);
  font-weight: 600;
}
.hero-fullbleed__name {
  margin-block-start: var(--space-s);
  font-size: 1.25rem;
  letter-spacing: 0;
}
.hero-fullbleed__state {
  max-width: 10ch;
  margin-block-start: var(--space-2xs);
  font-size: clamp(3rem, 13vw, 7.5rem);
  line-height: 0.88;
}
.hero-fullbleed__line {
  max-width: 34rem;
  font-size: 1.1875rem;
}
.hero-fullbleed__lead {
  max-width: 36rem;
  font-size: 1rem;
  color: var(--wp--preset--color--ash, var(--color-dark-text));
}

/* Numbered steps: a real ordered list, numbers drawn by a counter */
.steps {
  display: grid;
  gap: var(--space-m);
  margin: var(--space-l) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps > li {
  counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  display: block;
  margin-block-end: var(--space-2xs);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 4rem;
  line-height: 0.9;
  color: var(--color-brand-red);
}
.steps h3 {
  margin: 0 0 var(--space-3xs);
}
.steps p {
  margin: 0;
}
@media (min-width: 48em) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64em) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Facts strip: label over value, two across on phones, up to six on desktop */
.facts {
  padding: var(--space-l) var(--space-m);
}
.facts__title {
  font-size: 1.5rem;
  letter-spacing: 0;
}
.facts__note {
  margin-block-start: var(--space-3xs);
  font-size: 0.9375rem;
}
.facts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-s);
  margin: var(--space-s) 0 0;
}
.facts__list div {
  margin: 0;
}
.facts__list dt {
  font-size: var(--text-s);
}
.facts__list dd {
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
}
@media (min-width: 64em) {
  .facts__list {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  }
}

/* Award cards: photo beside the text, one column, two from 48em, three from 72em */
.award-cards {
  display: grid;
  gap: var(--space-l);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48em) {
  .award-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 72em) {
  .award-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.award-card {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: var(--space-s);
  align-items: end;
  scroll-margin-top: var(--space-xl);
}
.award-card__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.award-card__body {
  padding-block-end: var(--space-s);
}
.award-card__body > * {
  margin: 0;
}
.award-card__award {
  font-size: var(--text-s);
  font-weight: 600;
  line-height: 1.35;
}
.award-card__product {
  margin-block-start: var(--space-3xs) !important;
  font-size: 1.5rem;
}
.award-card__maker a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-weight: 700;
}
.award-card__note {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.45;
}

/* The Grand Champion: big bottle beside the name, note and buy button */
.champion {
  display: grid;
  gap: var(--space-l);
  align-items: end;
  scroll-margin-top: var(--space-xl);
}
.champion__photo {
  max-width: 20rem;
  margin: 0;
}
.champion__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.champion__award {
  margin: 0;
  font-weight: 700;
  color: var(--color-brand-red);
}
.champion__title {
  margin: var(--space-xs) 0 var(--space-m);
  font-size: clamp(2.75rem, 10vw, 5.5rem);
  line-height: 0.9;
}
.champion__note {
  max-width: 38rem;
  margin: 0 0 var(--space-l);
  padding: 0;
  border: 0;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  line-height: 1.5;
}
@media (min-width: 64em) {
  .champion {
    grid-template-columns: 20rem minmax(0, 1fr);
    gap: var(--space-2xl);
  }
}

/* Champions shelf: one item per year, photo or a year plate, three across then six */
.champions-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-l) var(--space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 64em) {
  .champions-shelf {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-s);
  }
}
.champions-shelf__item {
  display: flex;
  flex-direction: column;
}
.champions-shelf__photo,
.champions-shelf__plate {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  margin-block-end: var(--space-xs);
}
.champions-shelf__plate {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-paper);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  color: var(--color-smoke);
}
.champions-shelf__year {
  font-weight: 900;
  font-size: 1.25rem;
}
.champions-shelf__maker {
  font-weight: 700;
  line-height: 1.25;
}
.champions-shelf__product {
  font-size: 0.9375rem;
}
.champions-shelf__from {
  font-size: var(--text-s);
  color: var(--color-text-muted);
}

/* Category chips and the aside beside them */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin: var(--space-m) 0 0;
  padding: 0;
  list-style: none;
}
.category-list li {
  padding: var(--space-2xs) var(--space-s);
  border: var(--rule-strong) solid var(--color-rule);
  border-radius: 999px;
  font-weight: 700;
}
.categories__aside {
  padding: var(--space-l) var(--space-m);
  background: var(--color-surface-alt);
}
.categories__aside ul {
  padding-left: var(--space-m);
}
.categories__small {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Judges: a ruled name-and-role list, a photo, and a pull quote across the bottom */
.judges-panel__list {
  margin: var(--space-m) 0 0;
  padding: 0;
  list-style: none;
}
.judges-panel__list li {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--space-xs);
  padding: var(--space-2xs) 0;
  border-bottom: var(--hairline);
}
.judges-panel__list strong {
  font-weight: 700;
}
.judges-panel__list span {
  color: var(--color-text-muted);
}
.judges-panel__quote {
  margin: var(--space-xl) 0 0;
  padding: var(--space-m) 0 0;
  border: 0;
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.judges-panel__quote cite {
  display: block;
  margin-block-start: var(--space-xs);
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--color-text-muted);
}

/* Instagram tiles without the plugin: four square photos linking to the profile */
.insta-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xs);
  margin: var(--space-m) 0 0;
  padding: 0;
  list-style: none;
}
.insta-tiles a {
  display: block;
}
.insta-tiles img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
@media (min-width: 48em) {
  .insta-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Two-part section: main column and an aside, side by side from 64em */
.split-7-5 {
  display: grid;
  gap: var(--space-xl);
}
@media (min-width: 64em) {
  .split-7-5 {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}
.split-6-5 {
  display: grid;
  gap: var(--space-l);
}
@media (min-width: 64em) {
  .split-6-5 {
    grid-template-columns: 6fr 5fr;
    column-gap: var(--space-2xl);
  }
}
.split-7-5 > *,
.split-6-5 > * {
  margin-block: 0;
}

/* Award cards and the champion without a photo: text only, a hairline instead of the photo row */
.award-card--text {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.award-card__from {
  font-size: var(--text-s);
  color: var(--color-text-muted);
}
.champion--text {
  grid-template-columns: minmax(0, 1fr);
}
.award-group {
  margin: var(--space-xl) 0 var(--space-m);
  font-size: 1.5rem;
}
.award-group__note {
  /* Full container width, so a constrained layout centres it on the same edge as the heading
     and the table; the inner span holds the reading measure. */
  margin-block: calc(-1 * var(--space-2xs)) var(--space-m) !important;
  font-size: 1.0625rem;
  line-height: 1.55;
}
.award-group__note > span {
  display: block;
  max-width: 52rem;
}

/* Winners page: the year jump list and one section per year */
.awards-year {
  padding-block: var(--space-xl);
  border-top: var(--rule-strong) solid var(--color-rule);
  scroll-margin-top: var(--space-l);
}
.awards-year > h2 {
  margin: 0 0 var(--space-l);
  font-size: clamp(3rem, 10vw, 5rem);
}
.year-jump--row ul,
.letter-jump ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-s);
  margin: 0 0 var(--space-l);
  padding: 0;
  list-style: none;
}
.year-jump--row a,
.letter-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  font-weight: 700;
}

/* Makers page: A to Z list, two columns from 64em */
.makers {
  display: grid;
  gap: var(--space-l) var(--space-xl);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 64em) {
  .makers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.maker {
  padding-block-end: var(--space-m);
  border-bottom: var(--hairline);
  scroll-margin-top: var(--space-l);
}
.maker__name {
  margin: 0;
  font-size: 1.5rem;
}
.maker__meta {
  margin: var(--space-3xs) 0 var(--space-xs);
  font-size: var(--text-s);
  color: var(--color-text-muted);
}
.maker__awards {
  margin: 0;
  padding: 0;
  list-style: none;
}
.maker__awards li {
  padding-block: var(--space-3xs);
}
.maker__year {
  font-weight: 800;
}
.maker__buy a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-weight: 700;
}

/* Judges page: one section per year */
.judges-year {
  padding-block: var(--space-l);
}
.judges-year h2 {
  font-size: 2rem;
}

/* Entry form and checkout (WooCommerce classic markup), the spec's .form: visible labels,
   2px ink inputs, no radius, 48px tall */
.woocommerce form .form-row label {
  display: block;
  margin-block-end: var(--space-2xs);
  font-weight: 700;
}
.woocommerce form .form-row :is(input.input-text, textarea, select),
.woocommerce .select2-container .select2-selection--single {
  width: 100%;
  min-height: 3rem;
  padding: var(--space-2xs) var(--space-s);
  font: inherit;
  color: var(--color-ink);
  background: var(--color-white);
  border: var(--rule-strong) solid var(--color-ink);
  border-radius: 0;
}
.woocommerce form .form-row textarea {
  min-height: 7rem;
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 2.5rem;
  padding: 0;
}
.woocommerce form .form-row {
  margin-block-end: var(--space-m);
}
.woocommerce :is(#place_order, .button) {
  min-height: 48px;
  padding: var(--space-2xs) var(--space-m);
  font-family: var(--font-ui);
  font-weight: 800;
  color: var(--color-white);
  background: var(--color-brand-red);
  border: 2px solid var(--color-brand-red);
  border-radius: 0;
}
.woocommerce :is(#place_order, .button):hover {
  background: var(--color-bark);
  border-color: var(--color-bark);
}
.woocommerce table.shop_table {
  border-radius: 0;
  border-color: var(--color-ink);
}
body .woocommerce-info,
body .woocommerce-message,
body .woocommerce-error {
  border-top-color: var(--color-brand-red);
  background: var(--color-surface-alt);
}
.woocommerce form .form-row .required {
  color: var(--color-brand-red);
}

/* Results post: the full write-up reads at body size, roman */
.award-card__note--long {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.55;
}
.award-cards--full {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 50rem;
  margin-left: 0 !important;
}
.award-cards--full .award-card {
  align-items: start;
}

/* Inner page intro under the title */
.page-intro {
  max-width: var(--width-reading);
  font-size: 1.1875rem;
}

/* Category definitions: name over description, two columns from 48em */
.category-defs {
  display: grid;
  gap: var(--space-s) var(--space-l);
  margin: var(--space-m) 0 0;
}
.category-defs div {
  margin: 0;
}
.category-defs dt {
  font-weight: 800;
}
.category-defs dd {
  margin: 0;
  color: var(--color-text-muted);
}
@media (min-width: 48em) {
  .category-defs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The shipping address block */
.ship-to {
  max-width: var(--width-reading);
  margin-block: var(--space-l);
  padding: var(--space-m);
  background: var(--color-surface-alt);
}
.ship-to p {
  margin: 0;
  font-weight: 700;
}

/* 24. Winners table (theme 0.5.1, Sauce King; Claude Design "winners section" 2026-11-17).
   [award_cards ballot="1" grand="1"]: one table under an ink rule. Each row is name | judges' note
   | bottle; the Grand Champion is the first row, same grid, bigger. Phones: name and thumbnail
   across the top, note underneath. The note folds to four lines; an empty <details> opens it with
   :has(), no script, and the clamp is visual only (screen readers get the whole note). --- */
.award-cards--ballot {
  display: block;
  margin: var(--space-l) 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--rule-strong) solid var(--color-ink);
}
.award-card--ballot {
  grid-template-columns: minmax(0, 1fr) 4.5rem;
  grid-template-areas: "name photo" "note note";
  column-gap: var(--space-s);
  row-gap: var(--space-xs);
  align-items: start;
  padding-block: 1.75rem;
  border-bottom: var(--rule-strong) solid color-mix(in srgb, var(--color-ink) 55%, transparent);
}
.award-card--ballot > * {
  margin: 0;
}
.award-card--ballot .award-card__name {
  grid-area: name;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.award-card--ballot .award-card__name > * {
  margin: 0 !important;
}
.award-card--ballot .award-card__note {
  grid-area: note;
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
}
.award-card--ballot .award-card__photo {
  grid-area: photo;
  justify-self: end;
  width: 4.5rem;
  margin: 0;
}
.award-card--ballot .award-card__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.award-card--ballot .award-card__award {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-muted);
}
.award-card--ballot .award-card__product {
  font-size: 1.625rem;
  line-height: 1.05;
}
.award-card--ballot .award-card__maker {
  font-size: 0.9375rem;
}
.award-card--ballot .award-card__place {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}
.award-card__buy {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  margin-top: var(--space-xs) !important;
  padding: 0 1.125rem;
  background: var(--color-brand-red);
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}
.award-card__buy:hover,
.award-card__buy:focus-visible {
  background: var(--color-bark);
  color: var(--color-white);
}
.award-card__judges {
  margin: 0 0 var(--space-3xs);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
}
.award-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  margin: 0;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.55;
}
.award-card__note:has(.award-card__more[open]) .award-card__text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}
.award-card__more summary {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}
.award-card__more summary::-webkit-details-marker {
  display: none;
}
.award-card__more .less,
.award-card__more[open] .more {
  display: none;
}
.award-card__more[open] .less {
  display: inline;
}

/* The Grand Champion row */
.award-card--grand {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "photo" "name" "note";
  row-gap: 1.25rem;
  padding-block: var(--space-l) 2.25rem;
  border-bottom: var(--rule-strong) solid var(--color-ink);
}
.award-card--grand .award-card__photo {
  justify-self: start;
  width: 100%;
  max-width: 13rem;
}
.award-card__crown-line {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand-red);
}
.award-card--grand .award-card__award {
  font-size: 0.875rem;
}
.award-card--grand .award-card__product {
  margin-top: var(--space-2xs) !important;
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  line-height: 0.95;
}
.award-card--grand .award-card__text {
  font-size: 1.1875rem;
  line-height: 1.5;
}
.award-card--grand .award-card__buy {
  min-height: 3rem;
  margin-top: var(--space-s) !important;
  padding: 0 1.375rem;
  font-size: 1rem;
}

/* 760px and up: three columns, the notes line up from the Grand Champion down */
@media (min-width: 47.5em) {
  .award-card--ballot,
  .award-card--grand {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 8rem;
    grid-template-areas: "name note photo";
    column-gap: var(--space-l);
  }
  .award-card--ballot .award-card__note {
    padding-left: var(--space-m);
    border-left: 1px solid color-mix(in srgb, var(--color-ink) 18%, transparent);
  }
  .award-card--grand .award-card__photo {
    justify-self: end;
  }
}
/* 1024px and up: room for the full-size Grand Champion bottle */
@media (min-width: 64em) {
  .award-card--ballot,
  .award-card--grand {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 13rem;
    column-gap: 2.5rem;
  }
}
.award-card__buy {
  padding-block: 0.5rem;
  line-height: 1.2;
}

/* 0.5.8: two bottles for one award (photo2), side by side, with an optional caption under both.
   The Grand Champion's photo column widens to hold the pair. */
.award-card__photo--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xs);
  align-content: start;
}
.award-card__photo--pair img {
  aspect-ratio: 3 / 4;
}
.award-card__photo--pair figcaption {
  grid-column: 1 / -1;
  margin-top: var(--space-2xs);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.award-card__photo.award-card__photo--wide {
  aspect-ratio: auto;
  height: auto;
}
.award-card--ballot .award-card__photo--wide img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.award-card__photo--wide figcaption {
  margin-top: var(--space-2xs);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.award-card--grand .award-card__photo--pair,
.award-card--grand .award-card__photo--wide {
  max-width: 24rem;
}
@media (min-width: 47.5em) {
  .award-card--grand:has(.award-card__photo--pair),
  .award-card--grand:has(.award-card__photo--wide) {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 16rem;
  }
}
@media (min-width: 64em) {
  .award-card--grand:has(.award-card__photo--pair),
  .award-card--grand:has(.award-card__photo--wide) {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 20rem;
  }
}

/* 24b. Winners shortlist (theme 0.5.7; [award_cards home="1" groups="1" more="1"], the home page).
   The Grand Champion stands alone as a framed panel with a filled label; a "Category winners" bar
   and a closing headline link the full results; each category is a ruled heading with its own
   "See all N" link. The results post and Winners page (no more="1") are unchanged. --- */
.award-cards--champion {
  border-top: 0;
}
.award-cards--champion .award-card--grand {
  padding: var(--space-m);
  background: var(--color-paper);
  border: var(--rule-strong) solid var(--color-ink);
  border-top: 8px solid var(--color-gold);
}
.award-cards--champion .award-card__crown-line {
  align-self: flex-start;
  margin-bottom: var(--space-xs) !important;
  padding: 0.375rem 0.75rem;
  background: var(--color-brand-red);
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.2;
}
.award-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s) var(--space-l);
}
.award-more--lead {
  margin-top: var(--space-xl);
}
.award-more__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1.05;
}
.award-more__text {
  max-width: 44rem;
  margin: var(--space-2xs) 0 0 !important;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.award-more__headline {
  margin: var(--space-xl) 0 0;
  font-family: var(--wp--preset--font-family--display);
  font-size: var(--wp--preset--font-size--heading);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.award-more__headline a {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  color: inherit;
  text-decoration: none;
}
.award-more__headline a:hover,
.award-more__headline a:focus-visible {
  color: var(--color-brand-red);
}
.award-more__headline .award-more__arrow {
  width: 1em;
  height: 0.72em;
  margin-left: 0.3em;
  transition: transform 0.15s ease;
}
.award-more__headline a:hover .award-more__arrow {
  transform: translateX(0.15em);
}
@media (prefers-reduced-motion: reduce) {
  .award-more__headline .award-more__arrow {
    transition: none;
  }
}
.award-more__all {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 3.25rem;
  padding: 0.5rem 1.5rem;
  background: var(--color-brand-red);
  border: 2px solid var(--color-brand-red);
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.award-group__all::after {
  content: "\2192";
  margin-left: 0.5em;
}
.award-more__arrow {
  flex: none;
  width: 1.1em;
  height: 0.8em;
  margin-left: 0.5em;
}
.award-more__all:hover,
.award-more__all:focus-visible {
  background: var(--color-bark);
  border-color: var(--color-bark);
  color: var(--color-white);
}
.award-more__all--outline {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.award-more__all--outline:hover,
.award-more__all--outline:focus-visible {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}
.award-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 var(--space-m);
  margin-top: var(--space-l);
  padding-top: var(--space-xs);
  border-top: 6px solid var(--color-ink);
}
.award-group-head .award-group {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.1;
}
.award-group-head + .award-cards--ballot {
  margin-top: var(--space-2xs);
  border-top: 0;
}
.award-group-head + .award-cards--ballot > .award-card--ballot:last-child {
  border-bottom: 0;
}
.award-group__all {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 700;
  text-underline-offset: 3px;
}
.award-group[id] {
  scroll-margin-top: var(--space-l);
}

/* 24c. A headline link above a page intro (Makers: "The 2026 entries"). */
.page-lead-link {
  margin: 0 0 var(--space-s) !important;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.1;
}
.page-lead-link a {
  text-underline-offset: 4px;
}
.page-lead-link a::after {
  content: "\2192";
  margin-left: 0.4em;
}

/* 25. Profiles (theme 0.5.2; Claude Design "profile template" 2026-11-17): breadcrumb, head
   (text 7 : photo 5 from 60em), a facts strip, an optional quote, the award rows or the years
   judged, and a list of related people. Structure only; the skin colours it. --- */
.profile-wrap {
  max-width: var(--wp--style--global--content-size, 75rem);
  margin-inline: auto;
  padding-inline: var(--wp--style--root--padding-left, 1.5rem);
  box-sizing: content-box;
}
.profile .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0 1.25rem;
  border: 2px solid transparent;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}
.profile .btn--primary {
  background: var(--color-brand-red);
  color: var(--color-white);
}
.profile .btn--primary:hover {
  background: var(--color-bark);
  color: var(--color-white);
}
.profile .btn--ghost {
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.profile .btn--ghost:hover {
  background: var(--color-ink);
  color: var(--color-paper);
}
.profile .breadcrumb {
  padding-block-start: var(--space-m);
  font-size: 0.9375rem;
}
.profile .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin: 0;
  padding: 0;
  list-style: none;
}
.profile .breadcrumb li + li::before {
  content: "/";
  margin-right: var(--space-2xs);
  color: var(--color-text-muted);
}
.profile .breadcrumb a,
.profile .breadcrumb [aria-current] {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
}
.profile .breadcrumb a {
  font-weight: 600;
}
.profile .breadcrumb [aria-current] {
  color: var(--color-text-muted);
}
.profile-head {
  display: grid;
  gap: var(--space-l);
  padding-block: var(--space-m) var(--space-2xl);
}
.profile-head > * > *,
.profile-head figure {
  margin: 0;
}
.profile-head__kicker {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-brand-red);
}
.profile-head__name {
  margin-top: var(--space-2xs) !important;
  font-size: clamp(2.75rem, 10vw, 5.5rem);
  line-height: 0.92;
}
.profile-head__role {
  margin-top: var(--space-s) !important;
  font-size: 1.25rem;
  font-weight: 600;
}
.profile-head__place {
  color: var(--color-text-muted);
}
.profile-head__bio {
  max-width: 38rem;
  margin-top: var(--space-m) !important;
}
.profile-head__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-l) !important;
}
.profile-head__photo {
  max-width: 15rem;
}
.profile-head__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.profile-head__photo figcaption {
  margin-top: var(--space-2xs);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
@media (min-width: 60em) {
  .profile-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: var(--space-2xl);
    align-items: start;
  }
  .profile-head--no-photo {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-head__photo {
    justify-self: end;
    width: 100%;
    max-width: 26rem;
  }
}
.profile-facts {
  border-block: var(--rule-strong) solid var(--color-ink);
}
.profile-facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-s) var(--space-m);
  margin-block: 0;
  padding-block: var(--space-m);
}
.profile-facts dl > div {
  padding-left: var(--space-xs);
}
.profile-facts dt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.profile-facts dd {
  margin: 0;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.3;
}
@media (min-width: 60em) {
  .profile-facts dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.profile-section {
  padding-block-start: var(--space-2xl);
}
.profile-section__title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
}
.profile-section__intro {
  max-width: var(--width-reading);
  margin: var(--space-2xs) 0 0;
  color: var(--color-text-muted);
}
.profile-section .award-cards--ballot,
.profile-section .year-list,
.profile-section .people-list {
  margin-top: var(--space-l);
}
.award-card__year {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.25rem;
  line-height: 1;
}
.award-card__results {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
}
.award-card__more + .award-card__results,
.award-card__text + .award-card__results {
  margin-inline-start: var(--space-s);
}
.year-list,
.people-list {
  padding: 0;
  list-style: none;
  border-top: var(--rule-strong) solid var(--color-ink);
}
.year-list li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: var(--space-s);
  align-items: baseline;
  padding-block: var(--space-s);
  border-bottom: var(--rule-strong) solid color-mix(in srgb, var(--color-ink) 55%, transparent);
}
.year-list__year {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 1.75rem;
  line-height: 1;
}
.year-list a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-weight: 700;
}
.people-list {
  display: grid;
  gap: 0 var(--space-l);
}
@media (min-width: 48em) {
  .people-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64em) {
  .people-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.people-list li {
  border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 20%, transparent);
}
.people-list a,
.people-list__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4rem;
  padding-block: var(--space-2xs);
  color: var(--color-ink);
  text-decoration: none;
}
.people-list a:hover .people-list__name {
  text-decoration: underline;
}
.people-list__name {
  font-weight: 700;
}
.people-list__role {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.profile-quote {
  max-width: 52rem;
  margin: 0;
  padding: var(--space-m) 0 0;
  border: 0;
  border-top: 8px solid var(--color-gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  line-height: 1.2;
}
.profile-quote footer {
  margin-top: var(--space-xs);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
}
.profile-back {
  margin-block: 0;
  padding-block: var(--space-xl) var(--space-2xl);
}
.profile-back a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-weight: 700;
}
/* On a maker's own page the place is in the head; the rows leave it out */
.profile .award-card__place {
  display: none;
}

/* 26. Signup form: email and button in one row from 40em, thanks line in place. --- */
.signup-form {
  max-width: 36rem;
  margin-top: var(--space-m);
}
.signup-form__label {
  display: block;
  margin-bottom: var(--space-3xs);
  font-family: var(--font-ui);
  font-weight: 700;
}
.signup-form__row {
  display: grid;
  gap: var(--space-2xs);
}
.signup-form__input {
  min-height: var(--tap-min);
  padding: 0 var(--space-s);
  border: var(--rule-strong) solid var(--color-ink);
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font: inherit;
}
.signup-form__button {
  min-height: var(--tap-min);
  padding: 0 1.375rem;
  border: 0;
  background: var(--color-ink);
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.signup-form__button:hover,
.signup-form__button:focus-visible {
  background: var(--color-brand-red);
}
.signup-form__button:disabled {
  opacity: 0.6;
}
.signup-form__trap {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.signup-form__thanks {
  margin: 0;
  font-weight: 700;
  font-size: 1.125rem;
}
@media (min-width: 40em) {
  .signup-form__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Fixed-width gallery (0.5.2, Sauce King 2026 entries): every tile keeps its column width, so a maker
   with one or two photos does not get stretched full-width bottles. Add class "gallery--fixed". */
.wp-block-gallery.has-nested-images.gallery--fixed figure.wp-block-image:not(#individual-image) {
  flex-grow: 0;
  width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) * 0.5);
}
.wp-block-gallery.gallery--fixed figure.wp-block-image img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
@media (min-width: 40em) {
  .wp-block-gallery.has-nested-images.gallery--fixed figure.wp-block-image:not(#individual-image) {
    width: calc(25% - var(--wp--style--unstable-gallery-gap, 16px) * 0.75);
  }
}

/* Slideshow (0.5.3): [slideshow ids=""]. Scroll-snap strip, arrows and dots below. */
.slideshow { position: relative; }
.slideshow__track {
  display: flex; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.slideshow__track::-webkit-scrollbar { display: none; }
.slideshow__slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.slideshow__slide figure { margin: 0; }
.slideshow__slide img { display: block; width: 100%; height: auto; aspect-ratio: var(--slide-ratio, 4/3); object-fit: cover; }
.slideshow__slide figcaption { margin-top: .5rem; font-size: .9rem; }
.slideshow__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .75rem; }
.slideshow__btn {
  width: 2.5rem; height: 2.5rem; border: 2px solid currentColor; border-radius: 50%;
  background: transparent; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.slideshow__btn:hover, .slideshow__btn:focus-visible { background: color-mix(in srgb, currentColor 15%, transparent); }
.slideshow__track:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.slideshow__dots { display: flex; }
/* 44px tap target, the visible dot is the ::before */
.slideshow__dot { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; }
.slideshow__dot::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid currentColor; }
.slideshow__dot[aria-current="true"]::before { background: currentColor; }
.slideshow__btn { flex: none; width: 2.75rem; height: 2.75rem; }

/* Subheading (0.5.4): an H2 that looks like an H3. Its type comes from the skin's own H3
   settings, printed by functions.php section 26b; only the spacing lives here. */
.wp-block-post-content > h2.is-style-subheading { margin-block-start: var(--space-m); }

/* Maker profile entries (0.5.3): the year's entry photos, four across, each links to the full photo. */
.entry-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-s, 1rem); margin: 0; padding: 0; list-style: none; }
@media (min-width: 40em) { .entry-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.entry-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.entry-photos__cap { margin: .4rem 0 0; font-size: var(--text-s, .875rem); }
/* Landscape lineup shots: whole photo, full row, never cropped (0.5.5). */
.entry-photos__wide { grid-column: span 2; }
.is-layout-constrained > .wp-block-image.is-lineup { max-width: 44rem; }
.entry-photos__wide img { aspect-ratio: 4 / 3; object-fit: contain; }
.profile-head__photo--wide { max-width: none; }
.profile-head__photo--wide img { aspect-ratio: 4 / 3; object-fit: contain; }
