/* ==========================================================================
   GROWA Base Styles
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-gutter);
}

.section { padding-block: var(--space-section); }
.section--tight { padding-block: calc(var(--space-section) * 0.55); }
.section--dark { background: var(--c-forest); color: var(--c-paper); }
.section--stone { background: var(--c-stone); }

.eyebrow {
  font-family: var(--f-utility);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ochre-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section--dark .eyebrow { color: var(--c-sage); }

h1, .h1 { font-family: var(--f-display); font-weight: 560; font-size: var(--fs-5xl); line-height: 1.04; letter-spacing: -0.01em; }
h2, .h2 { font-family: var(--f-display); font-weight: 540; font-size: var(--fs-3xl); line-height: 1.1; letter-spacing: -0.01em; }
h3, .h3 { font-family: var(--f-display); font-weight: 520; font-size: var(--fs-2xl); line-height: 1.18; }
h4, .h4 { font-family: var(--f-display); font-weight: 500; font-size: var(--fs-xl); line-height: 1.25; }
.text-muted { color: var(--c-ink-muted); }
.section--dark .text-muted { color: var(--c-sage); }

@media (max-width: 640px) {
  h1, .h1 { font-size: var(--fs-4xl); }
  h2, .h2 { font-size: var(--fs-2xl); }
}

/* Section heading layout */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head__copy { max-width: 640px; }
.section-head__copy h2 { margin-top: 10px; }

/* ==========================================================================
   Signature motif: the root-line — a branching SVG divider used sparingly
   at rhythm points between sections, echoing root growth beneath the soil.
   ========================================================================== */
.root-line {
  display: block;
  width: 100%;
  height: 28px;
  color: var(--c-moss-light);
  opacity: 0.55;
}
.root-line--dark { color: var(--c-sage); opacity: 0.4; }

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--c-ochre);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--c-stone-dark) 25%, var(--c-stone) 37%, var(--c-stone-dark) 63%);
  background-size: 400% 100%;
  animation: skeleton-shine 1.4s ease infinite;
  border-radius: var(--r-sm);
}
@keyframes skeleton-shine { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* 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;
}
.visually-hidden { display: none; }
