@font-face { font-family: 'Teachers'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/teachers-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/teachers-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/teachers-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/teachers-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/teachers-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/teachers-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/teachers-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/teachers-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/teachers-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Teachers'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/teachers-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Carlito'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/carlito-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/carlito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Carlito'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/carlito-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/carlito-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f3f8f1;
  --fg-light-base-body: #1b2a1d;
  --fg-light-base-heading: #1b2a1d;
  --fg-light-base-muted: #47594a;
  --fg-light-base-link: #296a32;
  --fg-light-base-inverse: #1b2a1d;
  --bg-light-card: #e1eedc;
  --fg-light-card-body: #1b2a1d;
  --fg-light-card-heading: #1b2a1d;
  --fg-light-card-muted: #47594a;
  --fg-light-card-link: #296a32;
  --fg-light-card-inverse: #1b2a1d;
  --bg-light-elevated: #fbfdfa;
  --fg-light-elevated-body: #1b2a1d;
  --fg-light-elevated-heading: #1b2a1d;
  --fg-light-elevated-muted: #47594a;
  --fg-light-elevated-link: #296a32;
  --fg-light-elevated-inverse: #1b2a1d;
  --brand-light-accent: #296a32;
  --brand-light-accent-hover: #1b5025;
  --brand-light-on-accent: #fbfdfa;
  --focus-light-ring: #296a32;
  --border-light-default: #6f8571;
  --border-light-subtle: #c6d9c1;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Restorative hydration: pale fern washes, soft rounded panels, droplet line work. */
:root {
  --fern-pale: var(--bg-light-base);
  --fern-wash: var(--bg-light-card);
  --sheet: var(--bg-light-elevated);
  --fern: var(--brand-light-accent);
  --fern-deep: var(--brand-light-accent-hover);
  --on-fern: var(--brand-light-on-accent);
  --rule: var(--border-light-default);
  --rule-soft: var(--border-light-subtle);
  --round: 'Teachers', 'Trebuchet MS', sans-serif;
  --text: 'Carlito', 'Calibri', sans-serif;
  --measure: 40rem;
  --gutter: clamp(1rem, 5vw, 4rem);
  --wide: 78rem;
  --panel-radius: 2rem;
  --tile-radius: 1.5rem;
}

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

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

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  background: var(--fern-pale);
}

h1, h2, h3, h4 {
  font-family: var(--round);
  color: var(--fg-heading);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 1.2rem; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 2.4rem 0 0.7rem; font-weight: 600; }
h3 { font-size: 1.2rem; margin: 1.8rem 0 0.5rem; font-weight: 600; }

p { margin: 0 0 1.1rem; }

a { color: var(--fg-link); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--fern-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--fern);
  outline-offset: 3px;
  border-radius: 0.5rem;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Header: static, centred wordmark over a ruled line holding a vial tab ---------- */
.site-header { position: static; border-bottom: 1px solid var(--rule-soft); }

.header-stack {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 0;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
}

.brand { display: block; max-width: 100%; text-decoration: none; }
.brand .site-logo { display: block; width: min(100%, 300px); height: auto; }

.menu-rule {
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: 2px solid var(--fern);
}

.site-menu > summary {
  position: relative;
  z-index: 41;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.5rem 1.4rem 0.65rem;
  border-radius: 0 0 0.9rem 0.9rem;
  background: var(--fern);
  color: var(--on-fern);
  font-family: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary:hover { background: var(--fern-deep); }
.menu-icon {
  width: 9px; height: 18px;
  border: 2px solid currentColor;
  border-top-width: 0;
  border-radius: 0 0 5px 5px;
  box-shadow: inset 0 -7px 0 0 currentColor;
}
.site-menu[open] > summary {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.site-menu[open] .menu-icon { box-shadow: inset 0 -14px 0 0 currentColor; }

.site-menu > ul {
  position: fixed;
  inset: 0;
  z-index: 40;
  margin: 0;
  padding: 5.5rem var(--gutter) 3rem;
  list-style: none;
  overflow-y: auto;
  background: var(--sheet);
  border-top: 6px solid var(--fern);
  display: grid;
  align-content: start;
  justify-content: center;
  grid-template-columns: minmax(0, 40rem);
  counter-reset: menu;
}
.site-menu > ul > li {
  counter-increment: menu;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
}
.site-menu > ul > li::before {
  content: counter(menu, decimal-leading-zero);
  font-family: var(--text);
  font-size: 0.95rem;
  color: var(--fern);
}
.site-menu a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--text);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  font-weight: 400;
  text-decoration: none;
  line-height: 1.25;
}
.site-menu a:hover { text-decoration: underline; }
.site-menu ul ul {
  grid-column: 2;
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
}
.site-menu ul ul a { font-size: 1.05rem; padding: 0.35rem 0; }

/* ---------- Page frame ---------- */
.page-frame { min-height: 60vh; }

.breadcrumbs { max-width: var(--wide); margin: 0 auto; padding: 0.25rem var(--gutter) 0; }
.breadcrumbs ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem;
  font-size: 0.98rem;
}
.breadcrumbs li + li::before { content: "\203A"; margin-right: 0.6rem; color: var(--fg-muted); }

main { display: block; padding: 0 var(--gutter); }

.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }

.photo-hero { margin: 0 0 2rem; }
.photo-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--panel-radius);
}

.column { max-width: var(--measure); margin: 0 auto; padding: clamp(1.75rem, 5vw, 3.5rem) 0 5rem; }

/* ---------- Home: welcome header over a grid of rounded tiles ---------- */
.home {
  max-width: var(--wide);
  margin: 0 auto;
  padding-bottom: 5rem;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.welcome { padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(0.5rem, 2vw, 1.5rem); max-width: 50rem; }
.welcome-title h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 18ch; }
.display-line { font-size: 1.25rem; line-height: 1.5; max-width: 36rem; margin: 0 0 0.5rem; color: var(--fg-muted); }
.display-line:first-child { color: var(--fg-body); }

.topic-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 12rem;
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: var(--tile-radius);
  text-decoration: none;
  border: 2px solid transparent;
}
.tile:hover { border-color: var(--fern); }
.tile-icon { width: 56px; height: 56px; }
.tile-name { font-family: var(--round); font-size: 1.5rem; font-weight: 700; line-height: 1.15; }

.home-panel {
  border-radius: var(--panel-radius);
  padding: clamp(1.5rem, 5vw, 4rem);
}
.home-panel .prose { margin: 0 auto; }
.home-panel .photo-hero img { aspect-ratio: 21 / 9; }

@media (min-width: 900px) {
  .tile-infusion { min-height: 15rem; }
}

/* ---------- Topic hub: droplet panel beside the topic list ---------- */
.hub { max-width: var(--wide); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 5rem; }
.hub-split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
.hub-art {
  border-radius: var(--panel-radius);
  display: grid;
  place-items: center;
  padding: 2rem;
  min-height: 14rem;
}
.hub-art svg { width: min(100%, 12rem); height: auto; }
.hub-title h1 { max-width: 22ch; }
.hub-list {
  margin-top: 2.5rem;
  border-radius: var(--panel-radius);
  padding: clamp(1rem, 3vw, 1.75rem);
  max-width: var(--measure);
}
.hub-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.hub-list li { border-radius: var(--tile-radius); background: var(--fern-pale); }
.hub-list a {
  display: block;
  padding: 1rem 1.25rem;
  font-family: var(--round);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  border-radius: var(--tile-radius);
}
.hub-list a:hover { text-decoration: underline; }

@media (min-width: 900px) {
  .hub-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .hub-art { position: sticky; top: 2rem; min-height: 30rem; }
  .hub-art svg { width: min(100%, 15rem); }
}

/* ---------- Article: one open column with rounded pull panels ---------- */
.article-title h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.article-prose > p:first-of-type { font-size: 1.25rem; }
.article-prose ul, .article-prose ol {
  margin: 1.6rem 0;
  padding: 1.4rem 1.6rem 1.2rem 2.8rem;
  border-radius: var(--tile-radius);
  background: var(--fern-wash);
}
.article-prose ul { list-style: none; }
.article-prose ul > li { position: relative; }
.article-prose ul > li::before {
  content: "";
  position: absolute;
  left: -1.3rem;
  top: 0.45em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--fern);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
}

/* ---------- About: stepped story, one rounded panel per step ---------- */
.steps { counter-reset: step; }
.steps > h2 ~ * {
  margin: 0;
  padding: 0 1.75rem 0.9rem 4.75rem;
  background: var(--fern-wash);
}
.steps > h2 {
  counter-increment: step;
  position: relative;
  margin: 1.5rem 0 0;
  padding: 1.6rem 1.75rem 0.7rem 4.75rem;
  border-radius: var(--panel-radius) var(--panel-radius) 0 0;
}
.steps > h2::before {
  content: counter(step);
  position: absolute;
  left: 1.5rem;
  top: 1.45rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--fern);
  color: var(--on-fern);
  font-size: 1.05rem;
}
.steps > h2 ~ *:has(+ h2), .steps > h2 ~ *:last-child {
  padding-bottom: 1.6rem;
  border-radius: 0 0 var(--panel-radius) var(--panel-radius);
}
.steps > h2:nth-of-type(2), .steps > h2:nth-of-type(2) ~ * { margin-left: clamp(0rem, 3vw, 1.5rem); }
.steps > h2:nth-of-type(3), .steps > h2:nth-of-type(3) ~ * { margin-left: clamp(0rem, 6vw, 3rem); }
.steps > h2:nth-of-type(n+4), .steps > h2:nth-of-type(n+4) ~ * { margin-left: clamp(0rem, 9vw, 4.5rem); }
@media (max-width: 599px) {
  .steps > h2, .steps > h2 ~ * { padding-left: 1.25rem; padding-right: 1.25rem; }
  .steps > h2 { padding-top: 4rem; }
  .steps > h2::before { left: 1.25rem; top: 1.2rem; }
}

/* ---------- Contact: one rounded panel with a vial header ---------- */
.contact-panel {
  margin-top: 2.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--panel-radius);
  display: grid;
  gap: 1.25rem;
}
.vial-head { width: 40px; height: 54px; }
.field { display: grid; gap: 0.4rem; }
.field-label { font-family: var(--round); font-weight: 600; }
.field input {
  font: inherit;
  min-height: 48px;
  padding: 0.6rem 1rem;
  border: 2px solid var(--rule);
  border-radius: 1rem;
  background: var(--sheet);
  color: var(--fg-body);
}
.field input:focus-visible { border-color: var(--fern); }
.form-button {
  justify-self: start;
  font-family: var(--round);
  font-size: 1.05rem;
  font-weight: 700;
  min-height: 48px;
  padding: 0.65rem 1.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--fern);
  color: var(--on-fern);
  cursor: pointer;
}
.form-button:hover { background: var(--fern-deep); }

/* ---------- Thank you: droplet beside a short message ---------- */
.thanks { max-width: var(--wide); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 5rem; }
.thanks-split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
.thanks-art {
  margin: 0;
  border-radius: var(--panel-radius);
  display: grid;
  place-items: center;
  padding: 2rem;
}
.thanks-art svg { width: min(100%, 13rem); height: auto; }
@media (min-width: 900px) {
  .thanks-split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .thanks-art { position: sticky; top: 2rem; min-height: 26rem; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 0 var(--gutter) 2rem; }
.footer-panel {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--panel-radius);
  display: grid;
  gap: 0.4rem;
  justify-items: start;
}
.footer-drop { width: 28px; height: 36px; margin-bottom: 0.4rem; }
.footer-name { font-family: var(--round); font-weight: 700; font-size: 1.2rem; margin: 0; }
.footer-line { margin: 0; }
.footer-client { margin: 0.6rem 0 0; }

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