@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/atkinson-hyperlegible-next-latin-800-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f8f7f1;
  --fg-light-base-body: #22201a;
  --fg-light-base-heading: #22201a;
  --fg-light-base-muted: #5d584b;
  --fg-light-base-link: #6a6000;
  --fg-light-base-inverse: #22201a;
  --bg-light-card: #f7eecb;
  --fg-light-card-body: #22201a;
  --fg-light-card-heading: #22201a;
  --fg-light-card-muted: #5d584b;
  --fg-light-card-link: #6a6000;
  --fg-light-card-inverse: #22201a;
  --bg-light-elevated: #ffffff;
  --fg-light-elevated-body: #22201a;
  --fg-light-elevated-heading: #22201a;
  --fg-light-elevated-muted: #5d584b;
  --fg-light-elevated-link: #6a6000;
  --fg-light-elevated-inverse: #22201a;
  --brand-light-accent: #6a6000;
  --brand-light-accent-hover: #4c4600;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #6a6000;
  --border-light-default: #8c856f;
  --border-light-subtle: #d9d3bd;
}
.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); }

/* Ask a Madera Skin Doc: a neighborhood question desk, speech-bubble cards pinned on soft off-white with mustard highlights */

:root {
  --font-heading: 'M PLUS Rounded 1c', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --font-body: 'Atkinson Hyperlegible Next', Verdana, 'Segoe UI', sans-serif;
  --paper: #f8f7f1;
  --white: #ffffff;
  --wash: #f7eecb;
  --ink: #22201a;
  --ink-soft: #4a463b;
  --ink-muted: #5d584b;
  --olive: #6a6000;
  --olive-deep: #4c4600;
  --mustard: #eed444;
  --mustard-soft: #f6e68f;
  --line: #d9d3bd;
  --line-strong: #8c856f;
  --measure: 66ch;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --round-lg: 1.75rem;
  --round-md: 1.1rem;
  --round-sm: 0.6rem;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 2.6vw, 1.8rem);
  --step-3: clamp(1.95rem, 5vw, 3.1rem);
  --step-4: clamp(2.1rem, 6.4vw, 3.9rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  background: var(--paper);
  color: var(--ink);
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
}

h1 {
  margin: 0;
  font-size: var(--step-3);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2 {
  margin: 2.5rem 0 0.7rem;
  font-size: var(--step-2);
  text-wrap: balance;
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: var(--step-1);
  font-weight: 700;
}

p,
ul,
ol {
  margin: 0 0 1.1rem;
}

strong {
  font-weight: 700;
}

a {
  color: var(--olive);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--olive-deep);
  text-decoration-color: var(--mustard);
  text-decoration-thickness: 0.25em;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
  border-radius: 0.3rem;
}

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

.skip-link {
  position: absolute;
  left: -100vw;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 60;
  padding: 0.5rem 0.9rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--round-sm);
}

/* ---------- header (static) ---------- */

.site-header {
  position: relative;
  z-index: 40;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  position: relative;
  max-width: 76rem;
  min-height: 4.5rem;
  margin: 0 auto;
  padding: 0.6rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  min-width: 0;
}

.brand-logo .site-logo,
.brand-logo img {
  display: block;
  width: clamp(8.5rem, 42vw, 10.75rem);
  max-width: 100%;
  height: auto;
}

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

.header-menu {
  flex: none;
}

/* the question-areas mega panel: one toggle at every width */

.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  padding: 0.4rem 1.05rem 0.4rem 0.9rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  background: var(--mustard);
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}

.site-menu > summary::-webkit-details-marker {
  display: none;
}

.menu-label {
  white-space: nowrap;
}

.menu-icon {
  flex: none;
  position: relative;
  width: 1rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.site-menu[open] > summary {
  background: var(--white);
}

.site-menu[open] .menu-icon {
  box-shadow: none;
  transform: rotate(45deg);
}

.site-menu[open] .menu-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  border-radius: 2px;
  transform: rotate(90deg);
}

.site-menu > ul {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(100% + 0.5rem);
  max-height: calc(100vh - 6.5rem);
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--round-lg);
  box-shadow: 0 6px 0 var(--mustard);
}

.site-menu ul a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.9rem;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--round-md);
}

.site-menu ul a::before {
  content: "";
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--mustard);
  border: 2px solid var(--ink);
  border-radius: 50% 50% 50% 0.1rem;
}

.site-menu ul a:hover {
  color: var(--ink);
  background: var(--wash);
  border-color: var(--line-strong);
}

.site-menu ul a[aria-current] {
  border-color: var(--ink);
}

.site-menu ul ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0 0 0 1rem;
}

@media (min-width: 40rem) {
  .site-menu > ul {
    left: auto;
    width: min(36rem, calc(100vw - 2 * var(--gutter)));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .site-menu > ul {
    left: var(--gutter);
    width: auto;
    padding: 1rem;
    gap: 0.6rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-menu ul a {
    min-height: 4.25rem;
    padding: 0.75rem 1rem;
    font-size: 1.02rem;
  }
}

/* ---------- frame ---------- */

.page-frame {
  flex: 1 0 auto;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 5.5rem);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.55rem;
  font-size: var(--step--1);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.55rem;
  color: var(--line-strong);
}

/* ---------- prose ---------- */

.prose {
  max-width: var(--measure);
}

.prose > :first-child {
  margin-top: 0;
}

.prose > h2 {
  position: relative;
  padding-left: 2.1rem;
}

.prose > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.3rem;
  height: 1.05rem;
  background: var(--mustard);
  border: 2px solid var(--ink);
  border-radius: 0.55rem 0.55rem 0.55rem 0.12rem;
}

.prose ul,
.prose ol {
  padding: 0;
  list-style: none;
}

.prose ul > li,
.prose ol > li {
  display: block;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.6rem;
}

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.5em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--mustard);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.prose ol {
  counter-reset: item;
}

.prose ol > li {
  counter-increment: item;
}

.prose ol > li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--mustard);
  border-radius: 50%;
}

.prose li > ul,
.prose li > ol {
  margin: 0.5rem 0 0;
}

.prose blockquote,
.accent-block {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--round-md);
}

.prose blockquote > :last-child,
.accent-block > :last-child {
  margin-bottom: 0;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--round-md);
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table-scroll th,
.table-scroll td {
  padding: 0.6rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.table-scroll th {
  font-family: var(--font-heading);
  font-weight: 700;
  background: var(--wash);
}

.table-scroll tr:last-child td {
  border-bottom: 0;
}

.photo-hero,
.photo-inline {
  margin: 0 0 2rem;
}

.photo-inline {
  margin: 2rem 0;
}

.photo-hero img,
.photo-inline img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: var(--round-lg);
}

.photo-hero figcaption,
.photo-inline figcaption {
  margin-top: 0.5rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
}

section[data-section][style] {
  background-size: cover;
  background-position: center;
  margin: 2.25rem 0;
  padding: clamp(5rem, 16vw, 10rem) clamp(0.75rem, 3vw, 1.5rem) clamp(0.75rem, 3vw, 1.5rem);
  border: 2px solid var(--ink);
  border-radius: var(--round-lg);
}

section[data-section][style] > .bg-surface-card {
  max-width: 40rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 2px solid var(--ink);
  border-radius: var(--round-md);
}

section[data-section][style] > .bg-surface-card > :first-child {
  margin-top: 0;
}

section[data-section][style] > .bg-surface-card > :last-child {
  margin-bottom: 0;
}

/* ---------- question cards (home list, topic items, area tiles) ---------- */

.home-body > ul,
.board-cards ul,
.area-body > ul,
.area-items ul {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.home-body > ul > li,
.board-cards li,
.area-body > ul > li,
.area-items li {
  display: block;
  position: relative;
  margin: 0;
  padding: 1rem 1.1rem 1rem 3.4rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--round-md) var(--round-md) var(--round-md) 0.25rem;
  box-shadow: 0 4px 0 var(--mustard);
}

.home-body > ul > li::before,
.board-cards li::before,
.area-body > ul > li::before,
.area-items li::before {
  content: "?";
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 1.8rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--ink);
  background: var(--mustard);
  border: 0;
  border-radius: 0.8rem 0.8rem 0.8rem 0.15rem;
}

.home-body > ul > li > a:first-child,
.board-cards a,
.area-body > ul > li > a,
.area-items a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.08rem;
}

.area-items ul:empty {
  display: none;
}

@media (min-width: 46rem) {
  .home-body > ul,
  .board-cards ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-body > ul,
  .area-items ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .board-cards ul,
  .area-body > ul,
  .area-items ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- home: question board, then stepped sections ---------- */

.home {
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.ask-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.ask-bubble {
  position: relative;
  padding: clamp(1.4rem, 5vw, 2.75rem) clamp(1.25rem, 5vw, 3rem) clamp(1.6rem, 5vw, 3rem);
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 2.25rem;
  box-shadow: 0 7px 0 var(--mustard);
}

.ask-bubble::after {
  content: "";
  position: absolute;
  left: 2.75rem;
  bottom: -0.95rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--white);
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  border-bottom-right-radius: 0.3rem;
  transform: rotate(45deg);
}

.ask-bubble h1 {
  font-size: var(--step-4);
  line-height: 1.08;
  max-width: 20ch;
}

.ask-notes {
  display: grid;
  gap: 0.8rem;
  align-content: center;
  padding-top: 0.5rem;
}

.ask-notes .display-line {
  margin: 0;
  padding: 0.8rem 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--ink);
  background: var(--mustard-soft);
  border-radius: var(--round-md);
}

.ask-notes .display-line:nth-child(2) {
  background: var(--wash);
}

.home-body {
  max-width: 62rem;
}

.home-body > * {
  max-width: var(--measure);
}

.home-body > ul {
  max-width: 54rem;
}

.home-body > .photo-hero,
.home-body > .photo-inline {
  max-width: 46rem;
}

@media (min-width: 60rem) {
  .ask-board {
    grid-template-columns: minmax(0, 1.75fr) minmax(16rem, 1fr);
    gap: 2.5rem;
    align-items: center;
  }

  .ask-notes {
    padding-top: 0;
  }

  .ask-notes .display-line:nth-child(1) {
    transform: rotate(-1.2deg);
  }

  .ask-notes .display-line:nth-child(2) {
    transform: rotate(0.8deg);
    margin-left: 1.5rem;
  }

  /* stepped: each h2 section steps one notch further along the board */
  .home-body > h2:nth-of-type(1),
  .home-body > h2:nth-of-type(1) ~ * {
    margin-left: 0;
  }

  .home-body > h2:nth-of-type(2),
  .home-body > h2:nth-of-type(2) ~ * {
    margin-left: 2.5rem;
  }

  .home-body > h2:nth-of-type(3),
  .home-body > h2:nth-of-type(3) ~ * {
    margin-left: 5rem;
  }

  .home-body > h2:nth-of-type(n + 4),
  .home-body > h2:nth-of-type(n + 4) ~ * {
    margin-left: 7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ask-notes .display-line {
    transform: none !important;
  }
}

/* ---------- topic board and area board ---------- */

.board,
.area {
  padding-top: 1.5rem;
}

.board-head,
.area-head {
  margin: 0.5rem 0 2rem;
  padding: clamp(1.25rem, 4vw, 2.25rem) clamp(1.1rem, 4vw, 2.25rem);
  background: var(--wash);
  border: 2px solid var(--ink);
  border-radius: var(--round-lg);
}

.board-head h1,
.area-head h1 {
  max-width: 22ch;
}

.board-cards,
.area-items {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 2px dashed var(--line-strong);
}

/* ---------- single question, about, contact ---------- */

.question,
.about,
.contact {
  padding-top: 1.5rem;
  max-width: 46rem;
}

.question-head {
  position: relative;
  margin: 0.75rem 0 1.75rem;
  padding-left: clamp(3.25rem, 9vw, 4.5rem);
}

.question-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: clamp(2.4rem, 7vw, 3.25rem);
  height: clamp(2.1rem, 6vw, 2.8rem);
  background: var(--mustard);
  border: 2.5px solid var(--ink);
  border-radius: 1.2rem 1.2rem 1.2rem 0.2rem;
}

.question-head h1 {
  font-size: var(--step-3);
}

.answer-body > p:first-of-type {
  margin: 0 0 2rem;
  padding: 1.1rem 1.3rem;
  font-size: 1.2rem;
  line-height: 1.55;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--round-md);
  box-shadow: 0 4px 0 var(--mustard);
}

.answer-body > h2:last-of-type {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--line-strong);
}

.answer-body > h2:last-of-type::before {
  top: calc(1.5rem + 0.32em);
}

.about-body > p:first-of-type,
.contact-body > p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.ask-form {
  margin-top: 2rem;
  padding: clamp(1.1rem, 4vw, 1.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--round-lg);
  box-shadow: 0 6px 0 var(--mustard);
}

.ask-field {
  display: block;
}

.ask-label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.ask-form input,
.ask-form textarea {
  display: block;
  width: 100%;
  min-height: 2.9rem;
  padding: 0.6rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--round-sm);
}

.ask-form textarea {
  min-height: 13rem;
  resize: vertical;
}

.ask-form input:focus,
.ask-form textarea:focus {
  background: var(--white);
  border-color: var(--ink);
}

.ask-button {
  min-height: 3rem;
  padding: 0.6rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
  background: var(--olive);
  border: 2px solid var(--olive);
  border-radius: 999px;
  cursor: pointer;
}

.ask-button:hover {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
}

@media (min-width: 40rem) {
  .ask-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
  }

  .ask-field-wide,
  .ask-actions {
    grid-column: 1 / -1;
  }
}

/* ---------- thank you ---------- */

.thanks {
  padding-top: clamp(1.5rem, 4vw, 3rem);
  max-width: 46rem;
}

.thanks-card {
  padding: clamp(1.3rem, 5vw, 2.5rem);
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 2rem;
  box-shadow: 0 7px 0 var(--mustard);
}

.thanks-head {
  margin-bottom: 1.25rem;
}

.thanks-body > :last-child {
  margin-bottom: 0;
}

.popular {
  margin-top: 2.25rem;
  padding: clamp(1.1rem, 4vw, 1.75rem);
  background: var(--wash);
  border: 2px solid var(--ink);
  border-radius: var(--round-lg);
}

.popular-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--step-1);
}

.popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.popular-list li {
  display: block;
  border-top: 1.5px solid var(--line-strong);
}

.popular-list a {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--wash);
  border-top: 2px solid var(--ink);
}

.footer-inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.5rem;
}

.footer-name {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
}

.footer-line {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}
