@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/eb-garamond-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/manrope-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/manrope-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #fafbf4;
  --fg-light-base-body: #1c2015;
  --fg-light-base-heading: #1c2015;
  --fg-light-base-muted: #545b45;
  --fg-light-base-link: #3d5e0f;
  --fg-light-base-inverse: #2f4a0c;
  --bg-light-card: #f1f4e4;
  --fg-light-card-body: #1c2015;
  --fg-light-card-heading: #1c2015;
  --fg-light-card-muted: #545b45;
  --fg-light-card-link: #3d5e0f;
  --fg-light-card-inverse: #2f4a0c;
  --bg-light-elevated: #e3ebc2;
  --fg-light-elevated-body: #1c2015;
  --fg-light-elevated-heading: #1c2015;
  --fg-light-elevated-muted: #545b45;
  --fg-light-elevated-link: #3d5e0f;
  --fg-light-elevated-inverse: #2f4a0c;
  --brand-light-accent: #4e7814;
  --brand-light-accent-hover: #3d5e0f;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #4e7814;
  --border-light-default: #7a816a;
  --border-light-subtle: #d9dfc6;
}
.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; }
: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); }

:root {
  --font-head: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-text: 'Manrope', system-ui, sans-serif;
  --olive: var(--brand-light-accent);
  --olive-deep: var(--brand-light-accent-hover);
  --chartreuse: #d4e467;
  --line: var(--border-light-subtle);
  --line-strong: var(--border-light-default);
  --header-h: 4.5rem;
  --measure: 40rem;
  --wide: 68rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --round: 14px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--fg-heading);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.75rem); margin: 0 0 1.25rem; max-width: 20ch; }
h2 { font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem); margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.3rem; margin: 1.75rem 0 0.5rem; }

p { margin: 0 0 1.1rem; }

a { text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link { position: absolute; left: 1rem; top: -3rem; padding: 0.5rem 0.75rem; background: var(--bg-light-base); z-index: 60; }
.skip-link:focus { top: 1rem; }

/* Header: sticky, mark beside a text wordmark, the menu toggle on every width */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: var(--wide);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; min-height: 2.75rem; min-width: 0; }
.brand .site-logo, .brand svg { display: block; width: 2.4rem; height: 2.4rem; flex: none; }
.wordmark {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg-heading);
}

.site-nav { display: none; }

.site-menu > summary {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  color: var(--fg-heading);
  background: var(--bg-light-card);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary:hover { border-color: var(--olive); }
.menu-icon { position: relative; display: block; width: 0.95rem; height: 0.95rem; }
.menu-icon::before, .menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--olive);
  transition: transform 160ms ease;
}
.menu-icon::after { transform: rotate(90deg); }
.site-menu[open] .menu-icon::before { transform: rotate(45deg); }
.site-menu[open] .menu-icon::after { transform: rotate(135deg); }
.site-menu > ul {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  overflow-y: auto;
  margin: 0;
  padding: clamp(1.5rem, 5vw, 3.5rem) max(var(--gutter), calc((100vw - var(--wide)) / 2 + var(--gutter)));
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  align-content: start;
  gap: 0.75rem;
  background: var(--bg-light-base);
  border-top: 1px solid var(--line);
}
.site-menu ul a {
  display: block;
  padding: 1rem 1.25rem;
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--round);
  background: var(--bg-light-card);
  border-left: 4px solid var(--chartreuse);
}
.site-menu ul a:hover { border-left-color: var(--olive); text-decoration: underline; }
.site-menu ul ul { list-style: none; margin: 0.5rem 0 0; padding: 0 0 0 1rem; display: grid; gap: 0.5rem; }
.site-menu ul ul a { font-size: 1.1rem; padding: 0.7rem 1rem; }

/* Page frame and breadcrumbs */
.page-frame { flex: 1; width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.breadcrumbs { margin-top: 1.25rem; font-size: 0.9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; color: var(--fg-muted); }

main { padding: clamp(1.75rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
main:focus { outline: none; }

/* Reading column */
.prose { max-width: var(--measure); min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--olive); }
.prose blockquote { margin: 1.5rem 0; padding: 0.9rem 1.2rem; border-left: 4px solid var(--chartreuse); background: var(--bg-light-card); border-radius: 0 var(--round) var(--round) 0; }
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1.25rem 0 1.75rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--line); }
.prose thead th { font-weight: 700; border-bottom: 2px solid var(--olive); }

.photo-hero { margin: 0 0 2rem; }
.photo-hero img { display: block; width: 100%; height: auto; max-height: 22rem; object-fit: cover; border-radius: var(--round); }

/* Home: a prompt line under the headline, then the stack of most asked answers */
.home-cover { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.home-cover h1 { max-width: 18ch; }
.prompt-line {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
}
.prompt-glyph {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.2rem;
  border: 3px solid var(--olive);
  border-radius: 50%;
  position: relative;
}
.prompt-glyph::after {
  content: '';
  position: absolute;
  right: -0.45rem;
  bottom: -0.4rem;
  width: 0.55rem;
  height: 3px;
  background: var(--olive);
  border-radius: 2px;
  transform: rotate(45deg);
}
.home-lines { min-width: 0; }
.display-line { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.display-line + .display-line { margin-top: 0.3rem; color: var(--fg-muted); }

.asked { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.asked-title { margin-top: 0; }
.answer-stack, .topic-answers ul { display: grid; gap: 0.75rem; }
.answer-block { border-radius: var(--round); border: 1px solid var(--line); }
.answer-block[open] { border-color: var(--olive); }
.answer-block > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.answer-block > summary::-webkit-details-marker { display: none; }
.answer-block > summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  font-family: var(--font-text);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--fg-heading);
  background: var(--chartreuse);
  border-radius: 50%;
}
.answer-block[open] > summary::after { content: '\2212'; }
.answer-text { padding: 0 1.25rem 1.2rem; max-width: var(--measure); }
.answer-text p { margin-bottom: 0.7rem; }
.answer-text a { font-weight: 600; }

/* Topic cluster: sticky index left, answer blocks right */
.topic-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.topic-index { align-self: start; padding: 1.2rem 1.25rem; border-radius: var(--round); }
.index-title { margin: 0 0 0.6rem; font-size: 1.2rem; }
.topic-index ul { list-style: none; margin: 0; padding: 0; }
.topic-index li { border-top: 1px solid var(--line); }
.topic-index a { display: block; padding: 0.6rem 0; text-decoration: none; }
.topic-index a:hover { text-decoration: underline; }
.topic-answers h2 { padding-top: 1.25rem; border-top: 2px solid var(--chartreuse); }
.topic-answers ul { list-style: none; padding: 0; }
.topic-answers ul li {
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--bg-light-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--olive);
  border-radius: var(--round);
}
.topic-answers ul li a { display: block; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.25; margin-bottom: 0.25rem; }

@media (min-width: 56rem) {
  .topic-grid { grid-template-columns: 16rem minmax(0, 1fr); }
  .topic-index { position: sticky; top: calc(var(--header-h) + 1.25rem); }
}

/* Question detail: the direct answer sits in an olive-edged block */
.question-head h1 { max-width: 24ch; }
.question-body > p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.55;
  padding: 1.2rem 1.4rem;
  margin-bottom: 2rem;
  background: var(--bg-light-card);
  border-left: 5px solid var(--olive);
  border-radius: 0 var(--round) var(--round) 0;
}

/* Tiles: area pages and the about page */
.tile-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.9rem;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--round);
}
.tile a { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.25; }
.tile p { margin: 0; }
.tile-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--olive);
  position: relative;
}
.tile-icon::after {
  content: '';
  position: absolute;
  inset: 0.65rem;
  border-radius: 50%;
  background: var(--chartreuse);
}
.icon-stage { border-radius: 8px; }
.icon-stage::after { inset: 0.6rem 0.5rem; border-radius: 2px; }
.icon-check::after { inset: 0.55rem 0.7rem 0.85rem 0.6rem; border-radius: 0; background: transparent; border-left: 3px solid var(--chartreuse); border-bottom: 3px solid var(--chartreuse); transform: rotate(-45deg); }
.tile-title { margin: 0; font-size: 1.35rem; }
.area-body { margin-bottom: 2.5rem; }
.area-tiles .tiles-title { margin-top: 0; }
.about-tiles { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Contact: three stages with olive progress markers */
.contact-head { max-width: var(--measure); margin-bottom: 2rem; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; max-width: 36rem; }
.step {
  counter-increment: step;
  position: relative;
  padding: 0 0 2rem 3.5rem;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  font-weight: 700;
  color: var(--brand-light-on-accent);
  background: var(--olive);
  border-radius: 50%;
}
.step::after {
  content: '';
  position: absolute;
  left: calc(1.2rem - 1.5px);
  top: 2.6rem;
  bottom: 0.2rem;
  width: 3px;
  background: var(--chartreuse);
  border-radius: 2px;
}
.step:last-child::after { display: none; }
.step-title { margin: 0.2rem 0 0.4rem; font-size: 1.45rem; }
.step-text { margin: 0; }
.ask-form { display: grid; gap: 1rem; margin-top: 0.75rem; padding: 1.25rem; border-radius: var(--round); border: 1px solid var(--line); }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  min-height: 3rem;
  padding: 0.6rem 0.9rem;
  color: var(--fg-body);
  background: var(--bg-light-base);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--olive); outline-offset: 1px; }
.form-submit {
  justify-self: start;
  min-height: 3rem;
  padding: 0.6rem 1.6rem;
  font: inherit;
  font-weight: 700;
  color: var(--brand-light-on-accent);
  background: var(--olive);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.form-submit:hover { background: var(--olive-deep); }

/* Thank you: a chartreuse band, then three answer links */
.thanks-band { padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--round); margin-bottom: 2.25rem; }
.thanks-band .prose { max-width: var(--measure); }
.thanks-links { max-width: var(--measure); }
.links-title { margin-top: 0; }
.thanks-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.answer-link {
  display: block;
  padding: 1rem 1.25rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  line-height: 1.25;
  border: 1px solid var(--line);
  border-left: 4px solid var(--olive);
  border-radius: var(--round);
}

/* Footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); }
.site-footer-inner { max-width: var(--wide); margin: 0 auto; padding: 2rem var(--gutter) 2.5rem; }
.footer-name { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; margin: 0 0 0.4rem; }
.footer-line { max-width: 42rem; font-size: 0.95rem; }
.footer-links { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-links a { display: inline-block; padding: 0.4rem 0; }

@media (max-width: 30rem) {
  .prompt-line { border-radius: var(--round); }
  .wordmark { font-size: 1rem; }
}

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