
:root {
  /* Base page & surfaces – very soft greens */
  --color-page: #f4fbf3;
  --color-page-alt: #eef8ec;
  --color-page-alt-2: #e8f5e6;

  --color-surface: rgba(248, 255, 247, 0.96);
  --color-surface-soft: rgba(245, 253, 243, 0.86);
  --color-panel: #ffffff;

  /* Text & green accents (from logo) */
  --color-text: #214123;          /* dark, slightly cool green */
  --color-muted: #5f7a60;

  --color-accent-dark: #71c637;   /* bright leaf green like logo stroke */
--color-accent-darker: #69a83e;   /* bright leaf green like logo stroke */
  --color-primary: #4fae27;
  --color-primary-hover: #3f8c20;

  /* Lines & borders – subtle green-grey */
  --color-line: rgba(79, 174, 39, 0.18);
  --color-border: rgba(79, 174, 39, 0.3);

  /* Section background washes – soft tints of logo greens */
  --section-1-bg: linear-gradient(180deg, #f3fde8 0%, #e2f8cf 100%);
  --section-2-bg: linear-gradient(180deg, #f4fff0 0%, #e7f9de 100%);
  --section-3-bg: linear-gradient(180deg, #eefcf1 0%, #dcf3e2 100%);
  --section-4-bg: linear-gradient(180deg, #f3fff5 0%, #e2f7e4 100%);

  /* Photo overlay tint */
  --photo-tint: rgba(255, 255, 255, 0.2);

  /* Shadows & radii */
  --shadow-soft: 0 20px 60px rgba(24, 60, 27, 0.12);
  --shadow-menu: 0 8px 24px rgba(24, 60, 27, 0.12);
  --shadow-menu-strong: 0 12px 26px rgba(24, 60, 27, 0.16);
  --radius: 0.75rem;
  --radius-sm: 0.5rem;

  --content-width: min(74vw, 760px);
  --section-overlap: clamp(3rem, 8vw, 6rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  color: var(--color-text);
  background: linear-gradient(
    180deg,
    var(--color-page-alt) 0%,
    var(--color-page-alt-2) 100%
  );
}

a {
  color: var(--color-accent-dark);
}

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

#top-menu {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: rgba(253, 255, 254, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-menu);
  transition: padding 180ms ease, box-shadow 180ms ease;
}

#top-menu.shrink {
  padding: 0.55rem 1.25rem;
  box-shadow: var(--shadow-menu-strong);
}

.brand {
  position: absolute;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
}

#menu-logo {
  width: auto;
  height: 1.1rem;
  transition: height 180ms ease;
}

#top-menu.shrink #menu-logo {
  height: 2.15rem;
}

#menu-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}

#menu-items a {
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-accent-darker);
}

.page-shell {
  padding: 1rem 0.5rem 2rem;
}

.band {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: clip;
  border-inline: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(
    180deg,
    #f6fdf2 0%,
    #e9f7e2 100%
  );
}

/* Sections & colorful per-section backgrounds via modifier classes */

.story-section {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-items: center;
  width: 100%;
  padding: 0;
}

/* Add section-specific wrapper backgrounds if you want: */
.section-1 .section-copy {
  background-image: var(--section-1-bg);
}

.section-2 .section-copy {
  background-image: var(--section-2-bg);
}

.section-3 .section-copy {
  background-image: var(--section-3-bg);
}

.section-4 .section-copy {
  background-image: var(--section-4-bg);
}

/* Soft photo gaps with tint */

.photo-gap {
  position: relative;
  z-index: 0;
  height: 50vw;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: min(74vw, 760px) auto;
  opacity: 0.8;
}

.photo-gap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      var(--photo-tint),
      rgba(255, 255, 255, 0.35)
    );
}

/* Make sure .gap-1 has an explicit height so it doesn't resize */
.gap-1 {
  position: relative;
/*  height: 50vw;*/
  height: 200px; /* or whatever you need; this is important */
  overflow: hidden;
}

/* Pseudo-element layer for fading */
.gap-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gap1-next-bg, none);
  /*background-size: cover;*/
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

/* When active, fade the new image in over the old one */
.gap-1.gap1-fading-in::before {
  opacity: 1;
}

.gap-2 {
  background-image: url("images/photos/_RMF0081MEDIUM.JPG");
}

.gap-3 {
  background-image: url("images/photos/_RMF0665MEDIUM.JPG");
}

.gap-1,
.gap-2,
.gap-3 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-copy {
  position: relative;
  z-index: 2;
  width: var(--content-width);
  margin: calc(var(--section-overlap) * -1) auto 0;
  padding: 3rem 2.5rem;
  text-align: center;
  border-radius: var(--radius);
  background-color: none; /*var(--color-surface-soft);*/
  background-blend-mode: soft-light;
}
.section-copy h1,
.section-copy h2 {
  margin: 0 0 1.2rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--color-accent-dark);   /* new */
}

/* first section should stay fully visible */
#welcome .section-copy {
  margin-top: 0;
	color: var(--color-accent-dark); 
}

.section-copy-inner {
  position: relative;
  z-index: 2;
}

.has-contour {
  padding-top: clamp(6rem, 14vw, 9rem);
}

.section-contour {
  position: absolute;
  left: 50%;
  z-index: 1;
  width: min(80%, 512px);
  transform: translateX(-50%) translateY(-40%);
  opacity: 0.32;
  pointer-events: none;
}

.hero-copy,
.contact-copy,
.section-copy p {
  max-width: 34rem;
  margin-inline: auto;
}

.faq-copy {
  text-align: left;
}

.faq-copy h2 {
  text-align: center;
}

.section-copy h1,
.section-copy h2 {
  margin: 0 0 1.2rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.section-copy li,
.section-copy summary,
.section-copy a,
.section-copy i {
  font-size: clamp(1rem, 1rem + 0.2vw, 1.08rem);
  line-height: 1.65;
}

/* Hero text */

.big-line {
  margin: 0;
  text-align: center;
  line-height: 1.1;
}

.big1 {
  font-size: clamp(2.4rem, 6vw, 3.5rem);
}

.big2 {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
}

.big3 {
  font-size: clamp(1.3rem, 4vw, 1.9rem);
}

.big-line b {
  font-size: 1.2em;
	color: var(--color-accent-darker);
}

/* FAQ details */

.section-copy details {
  margin-bottom: 0.9rem;
  padding: 0.95rem 0.5rem;
  border-radius: var(--radius-sm);
	  border: 1px solid rgba(45, 120, 103, 0.22);
  background: rgba(255, 255, 255, 0.86);
}

.section-copy summary {
  cursor: pointer;
  font-weight: 600;
}

.section-copy ul {
  padding-left: 1.25rem;
}

/* Form */

form {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

form p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 0.6rem;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(43, 133, 119, 0.2);
  border-color: var(--color-primary);
}

button {
  cursor: pointer;
  padding: 0.75rem 1.1rem;
  font: inherit;
  font-weight: 700;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--color-primary);
}

button:hover {
  background: var(--color-primary-hover);
}

.site-footer {
  padding: 2rem 1rem 3rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--color-text);
}

/* Mobile */


@media (max-width: 820px) {
  #top-menu {
    justify-content: flex-end;
    min-height: 4.4rem;
    padding-left: 5.2rem;
  }

  .brand {
    left: 0.9rem;
  }

  #menu-logo {
    height: 2.4rem;
  }

  #top-menu.shrink #menu-logo {
    height: 1.9rem;
  }

  #menu-items {
    gap: 0.8rem 1rem;
  }

  .photo-gap {
    background-size: 84vw auto;
    /*background-attachment: scroll;*/
  }

  .section-copy {
    width: calc(100% - 1.2rem);
    margin-top: calc(var(--section-overlap) * -0.75);
    padding: 1.5rem 1rem;
  }

  .has-contour {
    padding-top: 4.75rem;
  }

  .section-contour {
    width: min(82%, 320px);
    transform: translateX(-50%) translateY(-50%);
  }

  form {
    padding: 1.25rem;
  }
}