/* Green Pastures Austin design system: base.css, version 1.0, 2026-12-04
   Fonts, reset, page defaults, type roles and the page shell. Needs tokens.css first. */

/* ---- Fonts: the site's own files, served from this site --------------------- */
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Manrope-Regular.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/Manrope-Medium.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/Manrope-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/Manrope-Bold.woff2") format("woff2"); }
@font-face { font-family: "Nyght Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/NyghtSerif-Regular.woff2") format("woff2"); }
@font-face { font-family: "Nyght Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/NyghtSerif-RegularItalic.woff2") format("woff2"); }
@font-face { font-family: "Nyght Serif"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/NyghtSerif-Medium.woff2") format("woff2"); }
@font-face { font-family: "Nyght Serif"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/NyghtSerif-Bold.woff2") format("woff2"); }

/* ---- Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 100px; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---- Page ------------------------------------------------------------------- */
html, body { overflow-x: clip; }
body {
  background-color: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-tight-1);
  line-height: var(--leading-body);
}

/* Focus: a visible ring everywhere, forest on light surfaces, mint on dark ones. */
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.tone-forest :focus-visible, .tone-rosemary :focus-visible, .on-photo :focus-visible { outline-color: var(--color-focus-on-dark); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---- Type roles -------------------------------------------------------------
   Use the class, not the tag, so a heading's level and its look stay separate. */
.t-display { font-family: var(--font-display); font-size: var(--size-display); font-weight: var(--weight-regular); line-height: var(--leading-none); letter-spacing: var(--tracking-tight-2); color: var(--color-heading); }
.t-h2 { font-family: var(--font-display); font-size: var(--size-h2); font-weight: var(--weight-regular); line-height: var(--leading-heading-2); letter-spacing: var(--tracking-tight-2); color: var(--color-heading); }
.t-h3 { font-family: var(--font-display); font-size: var(--size-h3); font-weight: var(--weight-medium); line-height: var(--leading-none); letter-spacing: var(--tracking-tight-2); color: var(--color-heading); }
.t-h4 { font-family: var(--font-display); font-size: var(--size-h4); font-weight: var(--weight-medium); line-height: var(--leading-none); letter-spacing: var(--tracking-normal); color: var(--color-heading); }
.t-body { font-family: var(--font-body); font-size: var(--size-body); font-weight: var(--weight-regular); line-height: var(--leading-body); letter-spacing: var(--tracking-tight-1); }
.t-label-md { font-family: var(--font-body); font-size: var(--size-label-md); font-weight: var(--weight-semibold); line-height: var(--leading-label); letter-spacing: var(--tracking-tight-1); }
.t-label-sm { font-family: var(--font-body); font-size: var(--size-label-sm); font-weight: var(--weight-medium); line-height: 1.1; letter-spacing: var(--tracking-tight-2); }
.t-label-mini { font-family: var(--font-body); font-size: var(--size-label-mini); font-weight: var(--weight-medium); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight-2); }
.t-eyebrow { font-family: var(--font-body); font-size: var(--size-eyebrow); font-weight: var(--weight-regular); line-height: var(--leading-snug); letter-spacing: var(--tracking-normal); text-transform: uppercase; }

/* ---- Tones: a band's surface and the text on it ----------------------------- */
.tone-mint { background-color: var(--gp-mint); color: var(--color-text); }
.tone-rosemary { background-color: var(--color-band-rosemary); color: var(--color-on-rosemary); }
.tone-rosemary :is(.t-display, .t-h2, .t-h3, .t-h4) { color: var(--color-on-rosemary); }
.tone-forest { background-color: var(--color-footer); color: var(--gp-white); }

/* ---- Shell ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); position: relative; }
@media (max-width: 1269px) { .container { padding-inline: var(--gutter-narrow); } }

.skip-link {
  position: absolute; left: 8px; top: 8px; z-index: 100000;
  padding: 8px 12px; background: var(--gp-forest); color: var(--gp-mint);
  font-family: var(--font-body); font-size: var(--size-label-mini); font-weight: var(--weight-bold);
  text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Spacers: the site stacks fixed rhythm steps between parts of a block. */
.gap-2 { height: var(--space-2); } .gap-4 { height: var(--space-4); }
.gap-20 { height: var(--space-20); } .gap-24 { height: var(--space-24); }
.gap-30 { height: var(--space-30); } .gap-36 { height: var(--space-36); }
.gap-52 { height: var(--space-52); } .gap-80 { height: var(--space-80); }
.gap-128 { height: var(--space-128); } .gap-156 { height: var(--space-156); }
.gap-200 { height: var(--space-200); } .gap-236 { height: var(--space-236); }
