/* base.css - reset, text styles and small helpers. Written for phones first. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--brown); background: var(--cream); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }   /* 16px inputs: stops phones zooming in */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--brown); }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.1rem; }
p { color: var(--brown-soft); }
:focus-visible { outline: 3px solid var(--tan); outline-offset: 2px; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--s3); }
.section { padding-block: var(--s6); }
.section.tint { background: var(--cream-deep); }
.section-head { text-align: center; margin-bottom: var(--s4); }
.section-head p { margin-top: var(--s2); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 768px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .container { padding-inline: var(--s4); }
  .section { padding-block: var(--s7); }
  .section-head { margin-bottom: var(--s5); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
