/* ==========================================================================
   Guided Steps - site styles
   One stylesheet for the whole site. See prompts/STYLE_GUIDE.md for the rules.

   Contents
   1. Fonts
   2. Design tokens (colors, type, spacing)
   3. Base elements
   4. Layout helpers
   5. Buttons and links
   6. Top bar, header, navigation
   7. Home hero and hills
   8. Page hero (inner pages)
   9. Panels and icon lists
   10. Facts ribbon
   11. Steps path (How it works)
   12. Tiles, split blocks, value lists
   13. Call to action band
   14. FAQ
   15. Forms and contact rows
   16. Long text pages (privacy)
   17. Footer
   18. Utilities, print, reduced motion
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Design tokens -------------------------------------------------------- */
:root {
  /* Colors sampled from the workshop flyer */
  --cream: #f2f1ed;        /* page background */
  --paper: #fffdf7;        /* light surfaces, text on dark green */
  --forest: #2b5d4c;       /* main dark green: buttons, headings, CTA band */
  --forest-deep: #214a3c;  /* hover state for forest */
  --ink: #1f494f;          /* body text */
  --blue: #2970a6;         /* headline blue, blue icon circles */
  --blue-deep: #1f5c8c;    /* links and small blue text */
  --orange: #ff751f;       /* brand orange: large display text and accents only */
  --orange-deep: #b5500f;  /* orange for small text */
  --sage: #e1e9db;         /* light green panels */
  --sage-mid: #cbd8c1;     /* hills, borders */
  --sage-deep: #98b391;    /* dotted paths, decoration */
  --leaf: #658d66;         /* leaf accent */
  --green: #46714f;        /* green icon circles */
  --sky: #d6e3ec;          /* light blue panels */
  --sun: #f6b94a;          /* sun accent */
  --wave: #a7c4bd;         /* blue-green wave in the hills (used inside the hill SVG files) */
  --sun-soft: #fbebc8;     /* warm tile background */

  /* Type */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Shape and spacing */
  --radius-panel: 2.25rem;
  --radius-card: 1.5rem;
  --radius-pill: 999px;
  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(3.5rem, 8vw, 6rem);
  --focus: 3px solid var(--blue);
}

/* Text size control (set by the A / A+ / A++ buttons in the top bar) */
html { font-size: 100%; }
html[data-text="large"] { font-size: 112.5%; }
html[data-text="larger"] { font-size: 125%; }

/* 3. Base elements -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--forest);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 3.75rem); color: var(--blue); }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.9vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 1.25rem + 0.5vw, 1.6rem); line-height: 1.25; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; max-width: 65ch; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; }
address { font-style: normal; }

a { color: var(--blue-deep); text-decoration-thickness: 0.09em; text-underline-offset: 0.18em; }
a:hover { color: var(--forest); text-decoration-thickness: 0.16em; }

:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }

.lead { font-size: 1.2em; line-height: 1.5; }

/* 4. Layout helpers ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 52rem; }

.section { padding-block: var(--section-space); }
.section--tight { padding-block: calc(var(--section-space) * 0.6); }
.section--sage { background: var(--sage); }
.section--sky { background: var(--sky); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head p { font-size: 1.1em; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 48rem) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 40rem) and (max-width: 47.99rem) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

.skip-link {
  position: absolute; left: 1rem; top: -10rem; z-index: 100;
  background: var(--paper); color: var(--forest); font-weight: 700;
  padding: 0.75rem 1.25rem; border-radius: 0.75rem; border: 2px solid var(--forest);
}
.skip-link:focus { top: 1rem; }

/* 5. Buttons and links ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0.7rem 1.7rem;
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  color: var(--paper); background: var(--forest);
  border: 2px solid var(--forest); border-radius: var(--radius-pill);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: var(--paper); }
.btn--outline { background: transparent; color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.btn--light:hover { background: var(--sage); border-color: var(--sage); color: var(--forest-deep); }
.btn--blue { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--blue:hover { background: #17486e; border-color: #17486e; }
.btn--big { font-size: 1.3rem; min-height: 3.9rem; padding-inline: 2.2rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

/* 6. Top bar, header, navigation ----------------------------------------- */
.topbar { background: var(--forest); color: var(--paper); font-size: 1rem; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 1.5rem; padding-block: 0.45rem; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.topbar__contact li { margin: 0; }
.topbar a { color: var(--paper); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; padding-block: 0.25rem; }
.topbar a:hover { text-decoration: underline; color: var(--paper); }
.topbar a img { width: 1.1rem; height: 1.1rem; }
.topbar :focus-visible { outline-color: var(--paper); }

.textsize { display: flex; align-items: center; gap: 0.4rem; }
.textsize__label { font-weight: 600; margin-right: 0.2rem; }
.textsize button {
  font-family: var(--font-display); font-weight: 700; line-height: 1; cursor: pointer;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: transparent; color: var(--paper); border: 2px solid rgba(255, 253, 247, 0.55);
}
.textsize button:nth-of-type(1) { font-size: 0.95rem; }
.textsize button:nth-of-type(2) { font-size: 1.2rem; }
.textsize button:nth-of-type(3) { font-size: 1.45rem; }
.textsize button:hover { border-color: var(--paper); }
.textsize button[aria-pressed="true"] { background: var(--paper); color: var(--forest); border-color: var(--paper); }

.site-header { background: var(--cream); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding-block: 0.9rem; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--forest); }
.brand:hover { color: var(--forest); }
.brand img { width: 3.5rem; height: 3.5rem; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1; letter-spacing: -0.01em; }
/* The name is two-tone to match the logo (option 3, Side by Side) */
.brand__a { color: var(--blue); }
.brand__b { color: var(--orange); }

.nav-toggle {
  display: none; align-items: center; gap: 0.6rem; cursor: pointer;
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 700;
  color: var(--forest); background: transparent;
  border: 2px solid var(--forest); border-radius: var(--radius-pill);
  min-height: 3rem; padding: 0.4rem 1.2rem;
}
.nav-toggle__bars { width: 1.3rem; height: 0.95rem; border-block: 2.5px solid currentColor; position: relative; }
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.5px; margin-top: -1.25px; background: currentColor; }

.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a:not(.btn) {
  display: block; padding: 0.55rem 0.8rem; border-radius: 0.75rem;
  color: var(--ink); font-weight: 600; font-size: 1.08rem; text-decoration: none;
}
.site-nav a:not(.btn):hover { background: var(--sage); color: var(--forest); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--forest); box-shadow: inset 0 -0.2rem 0 var(--orange); border-radius: 0.5rem 0.5rem 0 0; }
.site-nav .btn { margin-left: 0.5rem; min-height: 2.9rem; padding-block: 0.4rem; }

@media (max-width: 63.99rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.25rem; padding-block: 0.5rem 0.75rem; }
  .site-nav a:not(.btn) { padding: 0.85rem 1rem; font-size: 1.2rem; background: var(--paper); }
  .site-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0.3rem 0 0 var(--orange); border-radius: 0.75rem; }
  .site-nav .btn { margin: 0.4rem 0 0; width: 100%; }
}
@media (max-width: 40rem) {
  .topbar__contact li:nth-child(2) { display: none; } /* email stays in the footer and on the contact page */
}
@media (max-width: 30rem) {
  .brand img { width: 2.9rem; height: 2.9rem; }
  .brand__name { font-size: 1.45rem; }
  .textsize__label { display: none; }
}

/* 7. Home hero and hills -------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 56rem) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }

.hero__brand { font-family: var(--font-display); font-weight: 700; color: var(--orange); font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.25rem); line-height: 1; letter-spacing: -0.015em; margin: 0 0 0.2em; }
.hero__tagline { font-family: var(--font-display); font-weight: 600; color: var(--forest); font-size: clamp(1.55rem, 1.2rem + 1.7vw, 2.5rem); line-height: 1.15; margin: 0 0 0.9em; }
.hero h1 { margin-bottom: 0.45em; }
.hero .lead { max-width: 34rem; }

.hero__art { position: relative; max-width: 36rem; margin-inline: auto; width: 100%; }
.hero__photo { width: 100%; aspect-ratio: 735 / 652; object-fit: cover; border-radius: 46% 54% 44% 56% / 52% 44% 56% 48%; }
.hero__leaf { position: absolute; right: -3%; bottom: -5%; width: 36%; aspect-ratio: 1.15; background: var(--leaf); border-radius: 82% 6% 82% 6%; }
.hero__sun { position: absolute; left: 2%; top: 0; width: 15%; aspect-ratio: 1; background: var(--sun); border-radius: 50%; z-index: -1; }

/* Hills are built in three layers, like the flyer: a sage mound at the back, the sprouts
   planted on it, then a blue-green wave and the front hill drawn over the stems. */
.hills { position: relative; height: clamp(5rem, 12.5vw, 11.25rem); background: url("../img/hills-hero.svg") center bottom / 100% 100% no-repeat; }
.hills::after { content: ""; position: absolute; inset: 0; background: url("../img/hills-hero-front.svg") center bottom / 100% 100% no-repeat; }
.hills__sprout { position: absolute; left: clamp(0.25rem, 3vw, 3.5rem); bottom: 10%; height: 125%; width: auto; pointer-events: none; }
@media (max-width: 55.99rem) { .hills__sprout { height: 115%; } }

/* 8. Page hero (inner pages) ---------------------------------------------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero__inner { padding-block: clamp(2rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2rem); max-width: 50rem; }
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero .lead { color: var(--forest); font-weight: 500; }
/* Inner pages mirror the hills so the mound and sprouts sit on the right. */
.page-hero .hills { height: clamp(4rem, 9vw, 8rem); transform: scaleX(-1); }
.page-hero .hills__sprout { height: 135%; }

/* 9. Panels and icon lists ------------------------------------------------ */
.panel { background: var(--sage); border-radius: var(--radius-panel); padding: clamp(1.75rem, 4vw, 3rem); }
.panel--sky { background: var(--sky); }
.panel--paper { background: var(--paper); }
.panel--sun { background: var(--sun-soft); }
.panel > :last-child { margin-bottom: 0; }
.panel h2 { font-size: clamp(1.8rem, 1.5rem + 1.4vw, 2.5rem); }
.panel--sky h2 { color: var(--blue); }

.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.35rem; }
.icon-list li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center; margin: 0; }
.icon-list--top li { align-items: start; }
.icon-list strong { display: block; font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.icon-list strong + span { display: block; margin-top: 0.2rem; }

.icon-dot {
  display: inline-grid; place-items: center; flex: none;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--green);
}
.icon-dot img { width: 1.8rem; height: 1.8rem; }
.icon-dot--blue { background: var(--blue); }
.icon-dot--forest { background: var(--forest); }
.icon-dot--orange { background: #d9621a; }
.icon-dot--small { width: 2.6rem; height: 2.6rem; }
.icon-dot--small img { width: 1.3rem; height: 1.3rem; }
.icon-dot--large { width: 4.5rem; height: 4.5rem; }
.icon-dot--large img { width: 2.25rem; height: 2.25rem; }

/* 10. Facts ribbon -------------------------------------------------------- */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); }
.facts li { display: flex; align-items: center; gap: 0.8rem; margin: 0; background: var(--paper); border-radius: var(--radius-pill); padding: 0.55rem 1.2rem 0.55rem 0.55rem; font-weight: 700; color: var(--forest); line-height: 1.2; }

/* 11. Steps path (How it works) ------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2.25rem; counter-reset: step; }
.steps > li { position: relative; margin: 0; padding-left: 5.5rem; counter-increment: step; min-height: 4.25rem; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 4.25rem; height: 4.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest); color: var(--paper);
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1;
}
.steps > li:nth-child(3n + 2)::before { background: var(--blue); }
.steps > li:nth-child(3n + 3)::before { background: #d9621a; }
.steps > li:not(:last-child)::after {
  content: ""; position: absolute; left: 2.125rem; top: 4.6rem; bottom: -2rem;
  border-left: 0.35rem dotted var(--sage-deep); margin-left: -0.175rem;
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin-bottom: 0; }

@media (min-width: 56rem) {
  .steps--row { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2.5rem; }
  .steps--row > li { padding-left: 0; padding-top: 5.5rem; }
  .steps--row > li:not(:last-child)::after {
    left: 4.9rem; right: -2.1rem; top: 2.125rem; bottom: auto;
    border-left: 0; border-top: 0.35rem dotted var(--sage-deep); margin: -0.175rem 0 0;
  }
}

/* 12. Tiles, split blocks, value lists ------------------------------------ */
.tile { background: var(--paper); border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2rem); }
.tile--sage { background: var(--sage); }
.tile--sky { background: var(--sky); }
.tile--sun { background: var(--sun-soft); }
.tile > .icon-dot { margin-bottom: 1.1rem; }
.tile > .tile__art { width: 100%; border-radius: 1rem; margin-bottom: 1.1rem; }
.tile h3 { margin-bottom: 0.35em; }
.tile > :last-child { margin-bottom: 0; }

.split { display: grid; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
}
.split > * > :last-child { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 0.75rem; }
.check-list li { position: relative; padding-left: 2.4rem; margin: 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--green) url("../img/icons/check.svg") center / 1.05rem no-repeat;
}

.note { border-left: 0.4rem solid var(--sun); background: var(--paper); border-radius: 0 var(--radius-card) var(--radius-card) 0; padding: 1.25rem 1.5rem; }
.note > :last-child { margin-bottom: 0; }

.photo { width: 100%; border-radius: var(--radius-card); }
.split p + .photo { margin-top: 1.5rem; }
.photo--blob { border-radius: 46% 54% 44% 56% / 52% 44% 56% 48%; }

.quote-line { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.4rem); line-height: 1.25; color: var(--forest); max-width: 24ch; margin: 0; }

/* 13. Call to action band ------------------------------------------------- */
.cta-band { display: grid; background: var(--sky); border-radius: var(--radius-panel); overflow: hidden; }
.cta-band__main { background: var(--forest); color: var(--paper); padding: clamp(2rem, 5vw, 3.25rem); border-radius: 0 0 var(--radius-panel) var(--radius-panel); }
.cta-band__main h2 { color: var(--paper); margin-bottom: 0.4em; }
.cta-band__main p { color: var(--paper); }
.cta-band__main .btn-row { margin-top: 1.25rem; }
.cta-band__main :focus-visible { outline-color: var(--paper); }
.cta-band__side { padding: clamp(1.75rem, 4vw, 3rem); display: grid; align-content: center; }
@media (min-width: 56rem) {
  .cta-band { grid-template-columns: 1.1fr 0.9fr; }
  .cta-band__main { border-radius: 0 6rem 6rem 0; }
}

.contact-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-rows li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: center; margin: 0; }
.contact-rows a, .contact-rows span.contact-rows__text { font-weight: 700; font-size: 1.2rem; color: var(--forest); overflow-wrap: anywhere; }
.contact-rows small { display: block; font-size: 0.95rem; font-weight: 500; color: var(--ink); }

/* 14. FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: 0.9rem; }
.faq details { background: var(--paper); border-radius: var(--radius-card); border: 2px solid transparent; }
.faq details[open] { border-color: var(--sage-mid); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.15rem 4rem 1.15rem 1.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.3; color: var(--forest);
  border-radius: var(--radius-card);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage); color: var(--forest); font-family: var(--font-body); font-weight: 700; font-size: 1.5rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .faq__body { padding: 0 1.5rem 1.35rem; }
.faq .faq__body > :last-child { margin-bottom: 0; }

/* 15. Forms and contact rows ---------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; color: var(--forest); }
.field .hint { display: block; font-size: 0.95rem; margin-top: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid #6f8f86; border-radius: 0.9rem; padding: 0.8rem 1rem; min-height: 3.25rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: var(--focus); outline-offset: 2px; border-color: var(--blue); border-radius: 0.9rem; }
.form__status { background: var(--paper); border-left: 0.4rem solid var(--green); border-radius: 0 1rem 1rem 0; padding: 1rem 1.25rem; font-weight: 600; }
.form__status[hidden] { display: none; }

/* 16. Long text pages (privacy) ------------------------------------------- */
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.9rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { max-width: 70ch; }
.prose li { margin-bottom: 0.55em; }
.updated { font-weight: 600; color: var(--forest); }

/* 17. Footer -------------------------------------------------------------- */
.footer-hills { position: relative; height: clamp(4.5rem, 10vw, 9rem); overflow: hidden; }
.footer-hills::before { content: ""; position: absolute; right: 9.5%; bottom: 36%; width: clamp(3rem, 6.5vw, 5.5rem); aspect-ratio: 1; border-radius: 50%; background: var(--sun); }
.footer-hills::after { content: ""; position: absolute; inset: 0; background: url("../img/hills-footer.svg") center bottom / 100% 100% no-repeat; }
.textsize[hidden] { display: none; }

.site-footer { background: var(--sage); font-size: 1.05rem; }
.site-footer__grid { display: grid; gap: 2.25rem; padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2.25rem, 5vw, 3.25rem); }
@media (min-width: 40rem) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .site-footer__grid { grid-template-columns: 1.35fr 0.8fr 1.15fr 1.1fr; gap: 2.75rem; } }
.site-footer h2 { font-size: 1.35rem; margin-bottom: 0.9rem; color: var(--forest); }
.site-footer p { margin-bottom: 0.8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.15rem; }
.site-footer a { color: var(--forest); font-weight: 600; }
.footer-menu a, .footer-news a { display: inline-block; padding-block: 0.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.footer-brand img { width: 3rem; height: 3rem; }
.footer-brand .brand__name { font-size: 1.5rem; }
.site-footer .contact-rows { gap: 0.8rem; }
.site-footer .contact-rows a, .site-footer .contact-rows span.contact-rows__text { font-size: 1.05rem; }
.footer-news li { margin-bottom: 0.9rem; }
.footer-news small { display: block; color: var(--ink); font-size: 0.95rem; }

.site-footer__bottom { background: var(--forest); color: var(--paper); font-size: 0.98rem; }
.site-footer__bottom .wrap { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; justify-content: space-between; padding-block: 1rem; }
.site-footer__bottom p { margin: 0; max-width: none; }
.site-footer__bottom a { color: var(--paper); }
.site-footer__bottom :focus-visible { outline-color: var(--paper); }
.site-footer__bottom .accent { color: #ffc299; font-weight: 700; }

/* 18. Utilities, print, reduced motion ------------------------------------ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: clamp(1.25rem, 3vw, 2rem); }
.text-orange { color: var(--orange-deep); }
.text-blue { color: var(--blue); }
.nowrap { white-space: nowrap; }
.mx-auto { margin-inline: auto; }
.mt-2 { margin-top: 2rem; }
.btn-row--center { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .topbar, .nav-toggle, .site-nav, .footer-hills, .hills, .textsize, .hero__leaf, .hero__sun { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .panel, .tile, .cta-band, .cta-band__main { background: #fff !important; color: #000 !important; border: 1px solid #999; }
  .cta-band__main h2, .cta-band__main p { color: #000 !important; }
}
