/* ============================================================
   BASE.CSS - Reset, body, typography, utilities
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #F5FFF0;
  color: #191919;
  font-family: 'Source Serif 4', serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  color: #77BD43;
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.12;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---- Containers ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Sections ---- */
.section {
  padding: 74px 0;
}

.section.tint {
  background: #EAF7DE;
}

/* ---- Eyebrow / kicker ---- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #77BD43;
  display: block;
  margin-bottom: 8px;
}

.eyebrow.on-dark {
  color: #E8C9C2;
}

/* ---- Woven stripe rule (brand motif) ---- */
.woven-rule {
  border-bottom:  2px solid #77BD43;
 
}

.woven-rule.small {
  height: 4px;
}

/* ---- Page header (used on inner pages) ---- */
.page-head {
  padding: 56px 0 10px;
}

.page-head h1 {
  font-size: 46px;
}

/* ---- Section header row ---- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: 34px;
  margin: 8px 0 0;
}

.section-intro {
  max-width: 60ch;
  color: #2A2A2A;
}

/* ---- Toast notification ---- */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #191919;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 30px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 10px 30px rgba(18,18,18,0.10);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- Skip link (accessibility) ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #77BD43;
  color: #fff;
  padding: 10px 18px;
  z-index: 999;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---- Utilities ---- */
.hidden {
  display: none !important;
}

.text-red {
  color: #77BD43;
}

/* ---- Responsive ---- */
@media (max-width: 680px) {
  .section {
    padding: 54px 0;
  }

  .page-head h1 {
    font-size: 32px;
  }

  .section-head h2 {
    font-size: 26px;
  }
}

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

/* ---- Accessibility: Skip link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  background: #77BD43;
  color: #191919;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #191919;
  outline-offset: 2px;
}

/* ---- Keyboard focus visible ---- */
:focus-visible {
  outline: 3px solid #77BD43;
  outline-offset: 3px;
}

/* ---- Colour contrast safe link style ---- */
a:focus-visible {
  outline: 3px solid #77BD43;
  border-radius: 2px;
}

/* ---- Screen reader only utility ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
