/* Rooting for Earth: accent layer
   Loaded after style.css. Hand-painted brushstrokes under headings, in the colour of the swan's beak.
   Usage: <h2><span class="stroke">Title</span></h2>
   Variants (stroke-ochre, stroke-terracotta, stroke-moss) only change the brush shape now. */

:root { --color-beak: #DA8670; }

.stroke { position: relative; display: inline-block; z-index: 0; }
.stroke::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -0.15em; height: 0.35em; z-index: -1;
  background: var(--color-beak);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
          mask: var(--brush) center / 100% 100% no-repeat;
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M4 13 C70 4 150 6 296 9 C200 12 110 16 6 17 Z'/%3E%3C/svg%3E");
}
.stroke-terracotta::after {
  left: 4%; right: 4%;
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M296 12 C220 5 120 4 6 10 C90 13 190 15 294 17 Z'/%3E%3C/svg%3E");
}
.stroke-moss::after {
  left: 8%; right: 8%;
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M5 11 C80 6 170 3 295 8 C250 11 150 14 8 18 Z'/%3E%3C/svg%3E");
}

/* Slightly bolder on the smaller section headings */
h2 .stroke::after { height: 0.45em; bottom: -0.2em; }

/* Hero veil: fade out before the swan so its head and beak stay clear */
.hero-photo::before {
  background: linear-gradient(90deg, rgba(250,249,247,0.9) 0%, rgba(250,249,247,0.75) 28%, rgba(250,249,247,0.35) 38%, rgba(250,249,247,0) 44%);
}
.hero-photo-text { max-width: 27rem; }
