/* 40daycampaigns.com, the public site only (linked from src/layouts/Base.astro when LT_PUBLIC_BUILD=1).
   Its own door in the LifeTogether family: forest, linen and ochre from the calendar mark (owner decision,
   December 3, 2026), Barlow Condensed for headlines and Atkinson Hyperlegible Next for reading and forms
   (December 3 launch brief), on a woven linen ground. Fonts: SIL Open Font License 1.1 (THIRD-PARTY-NOTICES.md). */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format('woff2-variations');
}

:root[data-build='public'] {
  --color-paper: #f3eee3;
  --color-linen-deep: #e7dfcf;
  --color-card: #fbf6ec;
  --color-forest: #173c32;
  --color-forest-2: #284638;
  --color-ochre: #c8902e;
  --color-ochre-text: #8a5f12;
  --color-sun: #e0b45a;
  --color-clay: #a8492b;
  --color-rule: #e2d6c1;
  --color-sage: #e6e3cf;
  --font-display: 'Barlow Condensed', 'Arial Narrow', ui-sans-serif, sans-serif;
  --font-serif: 'Barlow Condensed', 'Arial Narrow', ui-sans-serif, sans-serif;
  --font-ui: 'Atkinson Hyperlegible Next', ui-sans-serif, system-ui, sans-serif;
}
:root[data-build='public'] body {
  /* A woven linen ground: two faint crossing weaves, no lines heavier than the cloth itself. */
  background-color: var(--color-paper);
  background-image:
    repeating-linear-gradient(0deg, rgb(31 61 48 / 0.022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgb(172 112 43 / 0.03) 0 1px, transparent 1px 5px);
  line-height: 1.65;
}
:root[data-build='public'] h1,
:root[data-build='public'] h2,
:root[data-build='public'] h3,
:root[data-build='public'] h4 {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
:root[data-build='public'] h3,
:root[data-build='public'] h4 {
  font-weight: 600;
  line-height: 1.08;
}
:root[data-build='public'] .font-display {
  letter-spacing: 0;
}
/* The calendar's own ochre marks the label above a heading. */
:root[data-build='public'] .label {
  color: var(--color-ochre-text);
}
:root[data-build='public'] footer .label,
:root[data-build='public'] .rhythm-card .label {
  color: var(--color-forest);
}
/* The skip link moves focus to <main> (tabindex="-1"); the jump itself needs no ring around the whole page. */
:root[data-build='public'] main:focus {
  outline: none;
}
