.template-root[data-brand="ballantyne-beacon"] {
  --brand-tokens-brand-50: #e6f9f0;
  --brand-tokens-brand-100: #c3f1de;
  --brand-tokens-brand-200: #86e3bf;
  --brand-tokens-brand-300: #45cf9d;
  --brand-tokens-brand-400: #16bd85;
  --brand-tokens-brand-500: #12b47e;
  --brand-tokens-brand-600: #12bd83;
  --brand-tokens-brand-700: #0a5c42;
  --brand-tokens-brand-800: #07422f;
  --brand-tokens-brand-900: #052c20;
  --brand-tokens-brand-950: #031b14;
  --brand-tokens-greyscale-10: #ffffff;
  --brand-tokens-greyscale-50: #f5f7f7;
  --brand-tokens-greyscale-100: #e8ecec;
  --brand-tokens-greyscale-200: #d1d7d7;
  --brand-tokens-greyscale-300: #a9b2b3;
  --brand-tokens-greyscale-400: #818c8d;
  --brand-tokens-greyscale-500: #545f61;
  --brand-tokens-greyscale-600: #444e50;
  --brand-tokens-greyscale-700: #333b3d;
  --brand-tokens-greyscale-800: #232929;
  --brand-tokens-greyscale-900: #191d1e;
  --brand-tokens-greyscale-950: #111414;
  --brand-tokens-greyscale-1000: #080a0a;
  --brand-tokens-typography-body: "Google Sans Flex";
  --brand-tokens-typography-labels: "DM Mono";
  --brand-tokens-typography-titles-a: "Space Grotesk";
  --brand-tokens-typography-titles-b: "Space Grotesk";
  --tint-light: #ecf8f3; /* mint wash */
}

/* 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="ballantyne-beacon"] .block-container--bg-default,
.template-root[data-brand="ballantyne-beacon"] .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="ballantyne-beacon"] .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="ballantyne-beacon"] .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="ballantyne-beacon"] {
  /* 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="ballantyne-beacon"] .block-container--bg-brand,
.template-root[data-brand="ballantyne-beacon"] .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="ballantyne-beacon"] .block-container--bg-brand .block-cta__input,
.template-root[data-brand="ballantyne-beacon"] .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="ballantyne-beacon"] .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="ballantyne-beacon"] .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: one clean mint sweep off the top right — corporate, not sunny. */
.template-root[data-brand="ballantyne-beacon"] .block-container--bg-default:has(.block-header) {
  background-image: radial-gradient(
    88% 132% at 98% -28%,
    color-mix(in srgb, var(--brand-tokens-brand-400) 28%, transparent) 0%,
    transparent 62%
  );
}
/* Meta and kickers stay graphite; the mint is a surface, never small type. */
.template-root[data-brand="ballantyne-beacon"] .block-container--bg-default .card-section-label,
.template-root[data-brand="ballantyne-beacon"] .block-container--bg-tint .card-section-label {
  color: var(--brand-tokens-brand-800);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.template-root[data-brand="ballantyne-beacon"] .block-container--bg-default .card-meta,
.template-root[data-brand="ballantyne-beacon"] .block-container--bg-tint .card-meta {
  color: var(--brand-tokens-greyscale-600);
}
.template-root[data-brand="ballantyne-beacon"] .block-section-title {
  letter-spacing: -0.02em;
}
.template-root[data-brand="ballantyne-beacon"] :where(.block-menubar:not([data-bg="inverted"], [data-bg="brand"])) .block-menubar__link[aria-current="page"] {
  color: var(--brand-tokens-brand-800);
}

/* 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="ballantyne-beacon"] .block-hero__overlay-kicker.card-section-label,
.template-root[data-brand="ballantyne-beacon"] .block-feature-card__overlay-kicker.card-section-label,
.template-root[data-brand="ballantyne-beacon"] .block-article-hero__overlay-kicker {
  color: var(--brand-tokens-greyscale-10);
}
.template-root[data-brand="ballantyne-beacon"] .block-hero__overlay-meta.card-meta,
.template-root[data-brand="ballantyne-beacon"] .block-feature-card__meta--overlay.card-meta,
.template-root[data-brand="ballantyne-beacon"] .block-article-hero__overlay-meta {
  color: var(--brand-tokens-greyscale-200);
}
