/* package fonts (woff2, copied into dist/assets/fonts) */
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/lexend-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/lexend-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/lexend-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/lexend-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lexend-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/lexend-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/lexend-latin-900-normal.woff2") format("woff2"); }
/* generated block: satellite design tokens (light) */
:root {
  --bg-light-base: #ffffff;
  --fg-light-base-body: #173836;
  --fg-light-base-heading: #173836;
  --fg-light-base-muted: #4a6866;
  --fg-light-base-link: #0d6466;
  --fg-light-base-inverse: #173836;
  --bg-light-card: #eaf5f4;
  --fg-light-card-body: #173836;
  --fg-light-card-heading: #173836;
  --fg-light-card-muted: #4a6866;
  --fg-light-card-link: #0d6466;
  --fg-light-card-inverse: #173836;
  --bg-light-elevated: #fff6e3;
  --fg-light-elevated-body: #173836;
  --fg-light-elevated-heading: #173836;
  --fg-light-elevated-muted: #4a6866;
  --fg-light-elevated-link: #0d6466;
  --fg-light-elevated-inverse: #173836;
  --brand-light-accent: #0d6466;
  --brand-light-accent-hover: #0a4c4e;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #0d6466;
  --border-light-default: #6b8f8d;
  --border-light-subtle: #d3e6e4;
}
.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); }
/* component rules: semantic carriers and renderer-owned behaviours */
.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; }
.site-menu > summary .menu-icon { display: inline-block; width: 1.25rem; text-align: center; }
.site-menu > summary .menu-icon::before { content: "\2630"; }
.site-menu[open] > summary .menu-icon::before { content: "\00D7"; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* package stylesheet (verbatim; model-owned rules win by source order) */
/* Kin Portico Guide: clear explainer notebook */

:root {
  --nb-amber: #f0b03c;
  --nb-amber-soft: #fbe3b0;
  --nb-ink: var(--fg-light-base-heading);
  --nb-teal: var(--brand-light-accent);
  --nb-teal-deep: var(--brand-light-accent-hover);
  --nb-line: var(--border-light-default);
  --nb-hair: var(--border-light-subtle);
  --nb-card: var(--bg-light-card);
  --nb-callout: var(--bg-light-elevated);
  --nb-font: 'Lexend', 'Avenir Next', 'Century Gothic', system-ui, sans-serif;
  --nb-measure: 40rem;
  --nb-gutter: clamp(1rem, 4vw, 2.5rem);
}

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

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

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

.nb-shell {
  flex: 1 0 auto;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--nb-gutter) 4rem;
}

h1,
h2,
h3 {
  font-family: var(--nb-font);
  color: var(--nb-ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  line-height: 1.12;
  margin: 0;
}

h2 {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 2.75rem 0 0.75rem;
}

h3 {
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 1.75rem 0 0.5rem;
}

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

a.text-role-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a.text-role-link:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Header and menu ---------- */

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

.nb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-light-base);
  border-bottom: 2px solid var(--nb-teal);
}

.nb-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.6rem var(--nb-gutter) 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.nb-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  min-height: 44px;
  margin-bottom: 0.6rem;
}

.nb-brand .site-logo {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
}

/* Desktop: notebook index tabs sitting on the teal header rule */
.nb-tabs {
  display: none;
}

.nb-tabs__list {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nb-tabs__list li a {
  display: block;
  padding: 0.55rem 1rem 0.5rem;
  margin-bottom: -2px;
  border: 2px solid var(--nb-hair);
  border-bottom-color: var(--nb-teal);
  border-radius: 0.6rem 0.6rem 0 0;
  background: var(--nb-card);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.nb-tabs__list li a:hover {
  border-color: var(--nb-teal);
  border-bottom-color: var(--nb-teal);
  box-shadow: inset 0 3px 0 var(--nb-amber);
}

.nb-tabs__list li a[aria-current="page"] {
  background: var(--bg-light-base);
  border-color: var(--nb-teal);
  border-bottom-color: var(--bg-light-base);
  box-shadow: inset 0 3px 0 var(--nb-amber);
}

.nb-tabs__list li a:focus-visible,
.nb-toc__toggle:focus-visible {
  outline: 3px solid var(--nb-amber);
  outline-offset: 2px;
}

/* Small screens: a square "Contents" index toggle */
.nb-toc {
  flex: none;
  margin-bottom: 0.6rem;
}

.nb-toc__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.85rem 0 0;
  border: 2px solid var(--nb-teal);
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  overflow: hidden;
  white-space: nowrap;
}

.nb-toc__toggle::-webkit-details-marker {
  display: none;
}

.nb-toc__icon {
  display: inline-grid;
  align-content: center;
  gap: 4px;
  width: 2.6rem;
  align-self: stretch;
  padding: 0 0.6rem;
  background: var(--nb-amber);
}

.nb-toc__icon span {
  display: block;
  height: 2px;
  background: var(--nb-ink);
  border-left: 4px solid var(--nb-ink);
}

.nb-toc[open] .nb-toc__toggle {
  background: var(--nb-card);
}

.nb-toc__panel {
  position: absolute;
  left: var(--nb-gutter);
  right: var(--nb-gutter);
  top: calc(100% + 2px);
  z-index: 60;
  border: 2px solid var(--nb-teal);
  border-top: 0;
  border-radius: 0 0 0.75rem 0.75rem;
  padding: 0.4rem 0.75rem 0.75rem;
}

.nb-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nb-toc;
}

.nb-toc__list li {
  counter-increment: nb-toc;
  border-bottom: 1px solid var(--nb-hair);
}

.nb-toc__list li:last-child {
  border-bottom: 0;
}

.nb-toc__list li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.4rem 0.25rem;
  text-decoration: none;
  font-weight: 500;
}

.nb-toc__list li a::before {
  content: counter(nb-toc);
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.3rem;
  border: 2px solid var(--nb-teal);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}

@media (min-width: 960px) {
  .nb-tabs {
    display: block;
  }

  .nb-toc {
    display: none;
  }
}

@media (min-width: 960px) and (max-width: 1199px) {
  .nb-brand__name {
    white-space: nowrap;
  }

  .nb-tabs__list {
    gap: 0.2rem;
  }

  .nb-tabs__list li a {
    padding: 0.5rem 0.6rem 0.45rem;
    font-size: 0.85rem;
  }
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  padding-top: 1.25rem;
  font-size: 0.875rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li + li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid var(--nb-line);
  border-right: 2px solid var(--nb-line);
  transform: rotate(45deg);
}

/* ---------- Shared page head ---------- */

.nb-main {
  padding-top: 2rem;
}

.nb-page-head {
  max-width: 48rem;
  padding-bottom: 1.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--nb-teal);
  position: relative;
}

.nb-page-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--nb-amber);
}

/* ---------- Body copy (renderer markdown) ---------- */

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

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

.nb-body ul,
.nb-body ol {
  padding-left: 1.35rem;
}

.nb-body li {
  margin-bottom: 0.45rem;
}

.nb-body ul > li::marker {
  color: var(--nb-teal);
}

/* Photos: framed like a pasted-in notebook plate, never under text */
.nb-body figure {
  margin: 1.75rem 0;
}

.nb-body .photo-hero {
  margin: 0 0.6rem 2.25rem 0;
  padding: 0.5rem;
  background: var(--bg-light-base);
  border: 2px solid var(--nb-teal);
  border-radius: 0.4rem;
  box-shadow: 0.6rem 0.6rem 0 var(--nb-amber-soft);
}

.nb-body .photo-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 0.15rem;
}

.nb-body .photo-inline {
  position: relative;
  margin: 1.5rem 0 1.75rem;
  padding-left: 1.75rem;
  max-width: 32rem;
}

.nb-body .photo-inline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0;
  bottom: 0;
  border-left: 2px dashed var(--nb-teal);
}

.nb-body .photo-inline::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  margin-top: -0.45rem;
  border-radius: 50%;
  background: var(--nb-amber);
}

.nb-body .photo-inline img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.9rem 0.9rem 0.9rem 0;
  border: 2px solid var(--nb-teal);
}

.nb-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--nb-callout);
  border: 2px solid var(--nb-amber);
  border-radius: 0.6rem;
}

.nb-body .table-scroll {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.nb-body table {
  border-collapse: collapse;
  width: 100%;
}

.nb-body th,
.nb-body td {
  border: 1px solid var(--nb-line);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

/* Diagram-style section divider: a teal line with a node */
.nb-home__body > h2,
.nb-hub__body > h2,
.nb-factsheet > h2,
.nb-contact__body > h2 {
  position: relative;
  padding-top: 1.25rem;
  border-top: 2px solid var(--nb-hair);
}

.nb-home__body > h2::before,
.nb-hub__body > h2::before,
.nb-contact__body > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-light-base);
  border: 2px solid var(--nb-teal);
}

/* ---------- Home ---------- */

.nb-hero {
  max-width: 50rem;
  padding: 1rem 0 2.5rem;
}

.nb-tab {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.nb-tab h1 {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.3rem 0.9rem;
  border-radius: 0.5rem 0.5rem 0 0;
  background: var(--nb-amber);
  color: var(--nb-ink);
  border-bottom: 3px solid var(--nb-teal);
}

.nb-hero__headline {
  font-weight: 700;
  font-size: clamp(2.25rem, 1.3rem + 4.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 15ch;
  text-wrap: balance;
}

.nb-hero__lede {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.35rem);
  line-height: 1.5;
  max-width: 34rem;
  margin-bottom: 0.75rem;
}

.nb-hero__note {
  font-size: 0.95rem;
  max-width: 34rem;
  margin: 0;
}

.nb-cards {
  list-style: none;
  margin: 0 0 3.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: nb-card;
}

@media (min-width: 760px) {
  .nb-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.nb-card {
  position: relative;
  border: 2px solid var(--nb-teal);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.25rem 4.75rem;
  counter-increment: nb-card;
}

.nb-card::before {
  content: counter(nb-card);
  position: absolute;
  left: 1.25rem;
  top: 1.4rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--nb-amber);
  color: var(--nb-ink);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 2.5rem;
  text-align: center;
}

.nb-card--plain {
  border-style: dashed;
  counter-increment: none;
  padding-left: 1.5rem;
}

.nb-card--plain::before {
  content: none;
}

.nb-card__title {
  font-size: 1.2rem;
  margin: 0.35rem 0 0.85rem;
}

.nb-card__title a {
  text-decoration: none;
}

.nb-card__title a:hover {
  text-decoration: underline;
}

.nb-card__lessons {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--nb-hair);
}

.nb-card__lessons li {
  padding: 0.55rem 0 0.55rem 1.25rem;
  border-bottom: 1px solid var(--nb-hair);
  position: relative;
  font-size: 0.95rem;
}

.nb-card__lessons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid var(--nb-teal);
  border-right: 2px solid var(--nb-teal);
  transform: rotate(45deg);
}

/* ---------- Topic hub ---------- */

.nb-chapter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  column-gap: 1.25rem;
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--nb-teal);
  max-width: 56rem;
}

.nb-chapter__numeral::before {
  display: block;
  font-weight: 800;
  font-size: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--nb-amber);
}

.nb-hub:has(a[href^="/perimenopause-the-years-before-the-final-period/"]) .nb-chapter__numeral::before {
  content: "1";
}

.nb-hub:has(a[href^="/vaginal-and-urinary-changes-after-menopause/"]) .nb-chapter__numeral::before {
  content: "2";
}

.nb-hub:has(a[href^="/glp-1-agonist-medicines-overview/"]) .nb-chapter__numeral::before {
  content: "3";
}

.nb-hub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .nb-hub__grid {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, var(--nb-measure));
    gap: 3.5rem;
    align-items: start;
  }

  .nb-lessons {
    position: sticky;
    top: 6rem;
  }
}

.nb-lessons ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.5rem;
  counter-reset: nb-lesson;
  position: relative;
}

.nb-lessons ul::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 1.5rem;
  bottom: 1.5rem;
  border-left: 2px solid var(--nb-teal);
}

.nb-lessons li {
  counter-increment: nb-lesson;
  position: relative;
  margin: 0 0 0.85rem;
}

.nb-lessons li::before {
  content: counter(nb-lesson);
  position: absolute;
  left: -1.5rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  margin-left: -0.25rem;
  border-radius: 50%;
  background: var(--nb-amber);
  color: var(--nb-ink);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.6rem;
  text-align: center;
}

.nb-lessons li a {
  display: block;
  margin-left: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--nb-card);
  border: 2px solid var(--nb-teal);
  border-radius: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.nb-lessons li a:hover {
  text-decoration: underline;
}

.nb-hub__body > p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--nb-teal-deep);
}

/* ---------- Article ---------- */

.nb-article__body {
  counter-reset: nb-step;
}

.nb-article__body > h2 {
  position: relative;
  margin-top: 3.25rem;
  padding-top: 1.75rem;
  border-top: 2px solid var(--nb-hair);
}

.nb-article__body > h2::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: -8px;
  width: 14px;
  height: 14px;
  background: var(--bg-light-base);
  border-right: 2px solid var(--nb-line);
  border-bottom: 2px solid var(--nb-line);
  transform: rotate(45deg);
}

.nb-article__body > h2[id^="step-"] {
  counter-increment: nb-step;
  padding-left: 3.25rem;
}

.nb-article__body > h2[id^="step-"]::before {
  content: counter(nb-step);
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--nb-teal);
  color: var(--brand-light-on-accent);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 2.35rem;
  text-align: center;
}

/* Key-point callout: the conclusion section */
.nb-article__body > #conclusion,
.nb-article__body > #conclusion ~ * {
  background: var(--nb-callout);
  border-left: 2px solid var(--nb-amber);
  border-right: 2px solid var(--nb-amber);
  margin: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.nb-article__body > #conclusion {
  margin-top: 3rem;
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
  border-top: 2px solid var(--nb-amber);
  border-radius: 0.75rem 0.75rem 0 0;
}

.nb-article__body > #conclusion::after {
  content: none;
}

.nb-article__body > #conclusion ~ * {
  padding-bottom: 1rem;
}

.nb-article__body > #conclusion ~ :last-child {
  border-bottom: 2px solid var(--nb-amber);
  border-radius: 0 0 0.75rem 0.75rem;
  padding-bottom: 1.25rem;
}

/* ---------- About: two-column fact sheet ---------- */

.nb-factsheet {
  max-width: none;
  counter-reset: nb-value;
}

@media (min-width: 860px) {
  .nb-factsheet {
    display: grid;
    grid-template-columns: minmax(10rem, 15rem) minmax(0, var(--nb-measure));
    column-gap: 3rem;
    align-items: start;
  }

  .nb-factsheet > * {
    grid-column: 2;
  }

  .nb-factsheet > h2 {
    grid-column: 1;
    font-size: 1.2rem;
    margin-top: 2rem;
  }

  .nb-factsheet > h2 + * {
    margin-top: 2rem;
    padding-top: 1.25rem;
  }

  .nb-factsheet > .photo-hero,
  .nb-factsheet > #why-this-site-exists,
  .nb-factsheet > #why-this-site-exists + p {
    grid-column: 1 / -1;
  }
}

.nb-factsheet > #why-this-site-exists,
.nb-factsheet > #why-this-site-exists + p {
  background: var(--nb-card);
  border-left: 2px solid var(--nb-teal);
  border-right: 2px solid var(--nb-teal);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
  padding-right: clamp(1.25rem, 3vw, 2.25rem);
  max-width: 52rem;
}

.nb-factsheet > #why-this-site-exists {
  border-top: 2px solid var(--nb-teal);
  border-radius: 1rem 1rem 0 0;
  margin: 0;
  padding-top: 1.5rem;
  font-size: 1.5rem;
}

.nb-factsheet > #why-this-site-exists + p {
  border-bottom: 2px solid var(--nb-teal);
  border-radius: 0 0 1rem 1rem;
  margin: 0 0 1rem;
  padding-top: 0.25rem;
  padding-bottom: 1.5rem;
  font-size: 1.15rem;
}

.nb-factsheet > #what-we-value ~ p:not(#readers-near-lodi-and-stockton ~ p) {
  counter-increment: nb-value;
  position: relative;
  padding: 0.7rem 0 0.7rem 3rem;
  margin: 0;
  border-bottom: 1px solid var(--nb-hair);
}

.nb-factsheet > #what-we-value ~ p:not(#readers-near-lodi-and-stockton ~ p)::before {
  content: counter(nb-value);
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--nb-amber);
  color: var(--nb-ink);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 2rem;
  text-align: center;
}

/* ---------- Contact ---------- */

.nb-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .nb-contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem);
    gap: 3.5rem;
    align-items: start;
  }
}

.nb-ask {
  position: relative;
  border: 2px solid var(--nb-teal);
  border-radius: 1rem;
  padding: 2rem 1.5rem 1.5rem;
  margin-top: 1rem;
}

.nb-ask__mark {
  position: absolute;
  top: -1.25rem;
  left: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--nb-amber);
  color: var(--nb-ink);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 2.5rem;
  text-align: center;
}

.nb-form {
  display: grid;
  gap: 0.35rem;
}

.nb-form__title {
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
}

.nb-form__note {
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.nb-form__label {
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.nb-form__input {
  font: inherit;
  color: inherit;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  background: var(--bg-light-base);
  border: 2px solid var(--nb-line);
  border-radius: 0.5rem;
}

.nb-form__input:focus-visible {
  outline: 2px solid var(--nb-teal);
  outline-offset: 2px;
  border-color: var(--nb-teal);
}

textarea.nb-form__input {
  resize: vertical;
}

.nb-form__button {
  justify-self: start;
  margin-top: 1rem;
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  font: inherit;
  font-weight: 600;
  color: var(--brand-light-on-accent);
  background: var(--nb-teal);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.nb-form__button:hover {
  background: var(--nb-teal-deep);
}

.nb-form__button:focus-visible {
  outline: 2px solid var(--nb-teal);
  outline-offset: 3px;
}

/* ---------- Thank you and not found ---------- */

.nb-confirm {
  position: relative;
  max-width: 44rem;
  margin: 1.5rem auto 0;
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  border: 2px solid var(--nb-amber);
  border-radius: 1rem;
  box-shadow: 0 8px 0 var(--nb-amber-soft);
}

.nb-confirm__check {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--nb-amber);
  position: relative;
  margin-bottom: 1.25rem;
}

.nb-confirm__check::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 0.75rem;
  width: 0.9rem;
  height: 1.6rem;
  border-right: 4px solid var(--nb-ink);
  border-bottom: 4px solid var(--nb-ink);
  transform: rotate(45deg);
}

.nb-confirm__title h1 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.nb-confirm__body {
  max-width: none;
}

.nb-confirm__body ul {
  list-style: none;
  padding: 0;
  counter-reset: nb-next;
}

.nb-confirm__body ul > li {
  counter-increment: nb-next;
  position: relative;
  padding: 0.6rem 0 0.6rem 2.75rem;
  margin: 0;
  border-bottom: 1px solid var(--nb-hair);
}

.nb-confirm__body ul > li::before {
  content: counter(nb-next);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: 2px solid var(--nb-amber);
  color: var(--nb-ink);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.6rem;
  text-align: center;
}

/* ---------- Footer ---------- */

.nb-footer {
  margin-top: auto;
  border-top: 2px solid var(--nb-teal);
}

.nb-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem var(--nb-gutter) 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 760px) {
  .nb-footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 3rem;
  }
}

.nb-footer__name {
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.nb-footer__line {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.nb-footer__client {
  margin: 0;
  font-size: 0.95rem;
}

.nb-footer__client:empty {
  display: none;
}

.nb-footer__heading {
  font-weight: 600;
  margin: 0 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--nb-teal);
}

.nb-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2 12rem;
  column-gap: 2rem;
}

.nb-footer__list li {
  break-inside: avoid;
  border-bottom: 1px dashed var(--nb-line);
}

.nb-footer__list li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-size: 0.95rem;
  text-decoration: none;
}

.nb-footer__list li a::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--nb-amber);
  box-shadow: 0 0 0 2px var(--nb-teal);
}

.nb-footer__list li a:hover {
  text-decoration: underline;
}

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

@media (min-width: 860px) {
  .nb-factsheet > #what-we-value + p:not(#readers-near-lodi-and-stockton ~ p) {
    margin-top: 2rem;
  }
}
