/* Yellow Bird West | Revision 04 | 6 October 2026
   Approved visual reference. Yellow headings on white need a contrast
   treatment agreed with Rouham before production (1.78:1 as supplied).
   Font licences: ../Licences/. Keep this file beside the fonts/ directory. */
@font-face {
  font-family: "YBW Bricolage";
  src: url("fonts/BricolageGrotesque-Bold-700-opsz48.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "YBW Roboto";
  src: url("fonts/Roboto-Regular-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "YBW Roboto";
  src: url("fonts/Roboto-SemiBold-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --ybw-blue-grey: #263b46;
  --ybw-yellow: #e2bf4f;
  --ybw-sage-grey: #d6dbd5;
  --ybw-stone: #b6bfba;
  --ybw-dark-ink: #263026;
  --ybw-white: #ffffff;
  --ybw-font-heading: "YBW Bricolage", sans-serif;
  --ybw-font-body: "YBW Roboto", sans-serif;
}
:root, [data-ybw-theme="light"] {
  --ybw-background: var(--ybw-white);
  --ybw-heading: var(--ybw-yellow);
  --ybw-subheading: var(--ybw-blue-grey);
  --ybw-body: var(--ybw-dark-ink);
  --ybw-list-marker: var(--ybw-yellow);
}
[data-ybw-theme="dark"] {
  --ybw-background: var(--ybw-blue-grey);
  --ybw-heading: var(--ybw-sage-grey);
  --ybw-subheading: var(--ybw-yellow);
  --ybw-body: var(--ybw-sage-grey);
  --ybw-list-marker: var(--ybw-yellow);
}
[data-ybw-theme] {
  background-color: var(--ybw-background);
  color: var(--ybw-body);
  font-family: var(--ybw-font-body);
  font-weight: 400;
}
.ybw-heading {
  color: var(--ybw-heading);
  font-family: var(--ybw-font-heading);
  font-weight: 700;
  line-height: .96;
  /* Set responsive sizes in the site's component system.
     Reference display size: 66.67px with 64px leading.
     Write Title Case in the content; do not auto-capitalise with CSS. */
}
.ybw-subheading {
  color: var(--ybw-subheading);
  font-family: var(--ybw-font-body);
  font-weight: 600;
  font-size: 1.25rem;
}
.ybw-body, .ybw-list {
  color: var(--ybw-body);
  font-family: var(--ybw-font-body);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5;
}
.ybw-list {
  list-style: none;
  padding: 0;
  margin-block: 1em;
}
.ybw-list > li {
  position: relative;
  padding-inline-start: 1.388889em;
}
.ybw-list > li + li { margin-block-start: .777778em; }
.ybw-list > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .8em;
  width: .666667em;
  height: .111111em;
  background: var(--ybw-list-marker);
}
