.template-root[data-brand="the-waxhaws-dispatch"] {
  --brand-tokens-brand-50: #faf3e6;
  --brand-tokens-brand-100: #f2e4c9;
  --brand-tokens-brand-200: #e4cb99;
  --brand-tokens-brand-300: #d3b06a;
  --brand-tokens-brand-400: #c69a4a;
  --brand-tokens-brand-500: #bf9241;
  --brand-tokens-brand-600: #b98d3c;
  --brand-tokens-brand-700: #6f5220;
  --brand-tokens-brand-800: #4f3a16;
  --brand-tokens-brand-900: #35270f;
  --brand-tokens-brand-950: #1f1709;
  --brand-tokens-greyscale-10: #fdfaf3;
  --brand-tokens-greyscale-50: #f8f4ea;
  --brand-tokens-greyscale-100: #efe9db;
  --brand-tokens-greyscale-200: #dcd5c3;
  --brand-tokens-greyscale-300: #b9b09b;
  --brand-tokens-greyscale-400: #918873;
  --brand-tokens-greyscale-500: #63594a;
  --brand-tokens-greyscale-600: #514940;
  --brand-tokens-greyscale-700: #3d3730;
  --brand-tokens-greyscale-800: #2a2622;
  --brand-tokens-greyscale-900: #1f1c18;
  --brand-tokens-greyscale-950: #151311;
  --brand-tokens-greyscale-1000: #0a0a09;
  --brand-tokens-typography-body: "Source Serif 4";
  --brand-tokens-typography-labels: "DM Mono";
  --brand-tokens-typography-titles-a: "Merriweather";
  --brand-tokens-typography-titles-b: "Merriweather";
  --tint-light: #f6efe0; /* saddle cream */
  --accent-hunt: #2f5d3a; /* hunt green for rules and kickers - 7.3:1 on the page, 6.7:1 on the tint */
}

/* The anchor (brand-600) is a surface colour, too light to carry type: marks
   and links come off the deep end of the ramp instead. Declared per painted
   surface — Container.css remaps text tokens on a painted band but not the
   interactive ones, so a root declaration would land dark-on-dark. */
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-default,
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-tint {
  --interactive-text-primary-idle: var(--brand-tokens-brand-800);
  --interactive-text-primary-hover: var(--brand-tokens-brand-900);
  --interactive-text-primary-pressed: var(--brand-tokens-brand-800);
  --text-default-4: var(--brand-tokens-brand-800);
  /* Section-title bars and squares carry a label, so the fill obeys 4.5:1. */
  --elevation-fill-default-4: var(--brand-tokens-brand-700);
}
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-brand {
  --interactive-text-primary-idle: var(--brand-tokens-brand-100);
  --interactive-text-primary-hover: var(--brand-tokens-brand-50);
  --interactive-text-primary-pressed: var(--brand-tokens-brand-200);
}
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-inverted {
  --interactive-text-primary-idle: var(--brand-tokens-brand-300);
  --interactive-text-primary-hover: var(--brand-tokens-brand-200);
  --interactive-text-primary-pressed: var(--brand-tokens-brand-100);
  --text-default-4: var(--brand-tokens-brand-300);
}
.template-root[data-brand="the-waxhaws-dispatch"] {
  /* A white label needs the deep end of the ramp under it, at every state. */
  --interactive-contained-primary-idle: var(--brand-tokens-brand-700);
  --interactive-contained-primary-hover: var(--brand-tokens-brand-800);
  --interactive-contained-primary-pressed: var(--brand-tokens-brand-900);
}
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-brand,
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-inverted {
  --interactive-contained-primary-idle: var(--brand-tokens-greyscale-10);
  --interactive-contained-primary-hover: var(--brand-tokens-greyscale-100);
  --interactive-contained-primary-pressed: var(--brand-tokens-greyscale-200);
  --interactive-contained-primary-on-idle: var(--brand-tokens-brand-900);
}
/* Painted containers otherwise render typed input text on the field's light fill. */
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-brand .block-cta__input,
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-inverted .block-cta__input {
  color: var(--brand-tokens-greyscale-900);
}

/* Depth moves the surface away from the type's luminance: light type on a dark
   band means darkening from below. */
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-brand {
  background-image: radial-gradient(
    132% 80% at 50% 126%,
    color-mix(in srgb, var(--brand-tokens-brand-950) 24%, transparent) 0%,
    transparent 74%
  );
}
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-inverted {
  background-image: radial-gradient(
    132% 76% at 50% 124%,
    color-mix(in srgb, var(--brand-tokens-greyscale-1000) 26%, transparent) 0%,
    transparent 72%
  );
}

/* Header wash: saddle tan, the weight of a country weekly's nameplate stock. */
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-default:has(.block-header) {
  background-image:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--brand-tokens-brand-400) 30%, transparent) 0%,
      color-mix(in srgb, var(--brand-tokens-brand-400) 10%, transparent) 60%,
      transparent 100%
    ),
    radial-gradient(
      64% 116% at 6% -18%,
      color-mix(in srgb, var(--accent-hunt) 16%, transparent) 0%,
      transparent 62%
    );
}
/* Hunt green does the rule work; walnut does the type. */
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-default .block-section-title__line,
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-tint .block-section-title__line {
  border-top-color: var(--accent-hunt);
  border-top-width: 2px;
}
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-default .block-section-title--v1,
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-tint .block-section-title--v1 {
  border-bottom-color: var(--accent-hunt);
}
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-default .card-section-label,
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-tint .card-section-label {
  color: var(--accent-hunt);
  letter-spacing: 0.1em;
}
.template-root[data-brand="the-waxhaws-dispatch"] .block-section-title {
  letter-spacing: 0.02em;
}
.template-root[data-brand="the-waxhaws-dispatch"] .article-body .payload-richtext > p:first-of-type {
  font-size: 21px;
  line-height: 34px;
  color: var(--brand-tokens-greyscale-800);
}

/* The article page's own kicker element, so the outlet's kicker colour is the
   same on a card and above a headline. */
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-default .article-kicker,
.template-root[data-brand="the-waxhaws-dispatch"] .block-container--bg-tint .article-kicker {
  color: var(--accent-hunt);
}

/* Overlay forms set type on a photo, so the recoloured kicker/meta above would
   land on the scrim. These keep the fleet's light overlay ramp. */
.template-root[data-brand="the-waxhaws-dispatch"] .block-hero__overlay-kicker.card-section-label,
.template-root[data-brand="the-waxhaws-dispatch"] .block-feature-card__overlay-kicker.card-section-label,
.template-root[data-brand="the-waxhaws-dispatch"] .block-article-hero__overlay-kicker {
  color: var(--brand-tokens-greyscale-10);
}
.template-root[data-brand="the-waxhaws-dispatch"] .block-hero__overlay-meta.card-meta,
.template-root[data-brand="the-waxhaws-dispatch"] .block-feature-card__meta--overlay.card-meta,
.template-root[data-brand="the-waxhaws-dispatch"] .block-article-hero__overlay-meta {
  color: var(--brand-tokens-greyscale-200);
}
