/* Not Every Mom: marketing site styles
   Layers on top of the design-system tokens in colors_and_type.css.
   All values map 1:1 to the DS web UI kit (nav, hero, persona grid, how-it-works, footer)
   plus the authored AI&Community / Features / About sections. */

:root {
  --ease-gentle: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --accent-a: #97b8cb; /* tweakable hero accent (powder-blue) */
  --accent-b: #d99f60; /* tweakable hero accent (muted-gold)  */
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: hsl(var(--light-cyan));
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.container--mid {
  max-width: 1100px;
}
.container--narrow {
  max-width: 1080px;
}

.sec-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ───────── Buttons (DS web kit) ───────── */
.nem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  border: none;
  cursor: pointer;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition-gentle);
}
.nem-btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 12px;
}
.nem-btn-hero {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-premium);
}
.nem-btn-hero:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.nem-btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.nem-btn-primary:hover {
  filter: brightness(1.04);
}
.nem-btn-ghost {
  background: transparent;
  color: hsl(var(--deep-green));
}
.nem-btn-ghost:hover {
  background: hsl(var(--muted));
}
.nem-btn-outline {
  background: transparent;
  color: hsl(var(--deep-green));
  border: 1px solid hsl(var(--border));
}
.nem-btn-outline:hover {
  background: hsl(var(--muted));
}
.nem-btn:active {
  transform: translateY(1px);
}

.nem-card {
  transition: var(--transition-gentle);
}
.nem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(61, 91, 79, 0.11);
}

/* ───────── Navigation ───────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(237, 253, 255, 0.72);
  border-bottom: 1px solid hsl(var(--border));
}
.site-nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--gradient-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(151, 184, 203, 0.35);
}
.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: hsl(var(--deep-green));
}
.nav-links {
  display: flex;
  gap: 28px;
  margin: 0 0 0 36px;
  padding: 0;
  list-style: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: hsl(var(--deep-green));
  text-decoration: none;
  opacity: 0.85;
  transition:
    color 0.25s,
    opacity 0.25s;
}
.nav-links a:hover {
  color: hsl(var(--powder-blue));
  opacity: 1;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-toggle {
  display: none;
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  padding: 56px 28px 72px;
  overflow: hidden;
  background: var(--gradient-hero);
}
.hero__roll {
  text-align: center;
  margin: 0 0 18px;
}
.hero__roll p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.04em 0.26em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: hsl(var(--deep-green) / 0.9);
  margin: 0;
}
.hero__prefix {
  white-space: nowrap;
} /* firmly anchored, never reflows */
.hero__word-wrap {
  display: inline-block;
  text-align: left;
  min-width: 4ch;
} /* slot pinned to longest word by JS; word hugs "is" */
.hero__word {
  display: inline-block;
  will-change: opacity;
  line-height: 1.3;
  padding-bottom: 0.08em; /* room so gradient-clipped descenders aren't cut */
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.55s var(--ease-gentle); /* pure fade, no vertical shift */
}
.hero__word.is-out {
  opacity: 0;
}
.hero__rule {
  margin: 22px auto 0;
  height: 2px;
  width: 260px;
  background: linear-gradient(
    to right,
    transparent,
    hsl(var(--powder-blue) / 0.7),
    transparent
  );
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-top: 18px;
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: hsl(var(--deep-green));
  margin: 0 0 22px;
}
.hero__title span {
  color: hsl(var(--powder-blue));
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: linear-gradient(
    to right,
    hsl(var(--powder-blue) / 0.1),
    hsl(var(--muted-gold) / 0.1)
  );
  border: 1px solid hsl(var(--powder-blue) / 0.2);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: hsl(var(--deep-green));
}
.hero__lede {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  max-width: 560px;
  margin: 22px 0 32px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 520px;
}
.hero__art img {
  width: 100%;
  max-width: 560px;
  height: auto;
  mix-blend-mode: multiply;
}

/* ───────── Generic section ───────── */
.section {
  padding: 76px 28px;
}
.section--white {
  background: hsl(var(--card));
  position: relative;
  overflow: hidden;
}
.section--cyan {
  background: hsl(var(--light-cyan));
}
.section--herograd {
  background: var(--gradient-hero);
  padding: 80px 28px;
}
.section--how {
  padding: 72px 28px;
  background: linear-gradient(
    to bottom,
    hsl(var(--deep-green) / 0.05),
    hsl(var(--background) / 0.5)
  );
}
.section--about {
  padding: 84px 28px;
  background: linear-gradient(
    180deg,
    hsl(var(--background)) 0%,
    hsl(var(--muted-gold) / 0.07) 100%
  );
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 42px;
  color: hsl(var(--deep-green));
  margin: 10px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-lede {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
  margin: 0;
}
.watermark {
  position: absolute;
  right: -120px;
  bottom: -80px;
  width: 460px;
  opacity: 0.06;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ───────── AI & Community ───────── */
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  position: relative;
}
.duo-card {
  padding: 32px 32px 28px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.duo-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lockup {
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  flex-shrink: 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gentle);
}
.lockup--primary {
  background: var(--gradient-primary);
}
.lockup--green {
  background: hsl(var(--deep-green));
}
.duo-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: hsl(var(--deep-green));
  margin: 2px 0 0;
  letter-spacing: -0.01em;
}
.duo-card p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: hsl(var(--dark-brown));
  opacity: 0.82;
  margin: 0;
}
.text-link {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 8px 0;
  cursor: pointer;
  color: hsl(var(--deep-green));
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.text-link:hover {
  color: hsl(var(--powder-blue));
}

/* ───────── Personas ───────── */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.persona-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
}
.persona-card__art {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.persona-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.persona-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: hsl(var(--deep-green));
  margin: 4px 0 8px;
  letter-spacing: -0.01em;
}
.persona-spec {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}
.persona-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: hsl(var(--dark-brown));
  opacity: 0.82;
  margin: 0 0 14px;
}
.tint-rose {
  background: hsl(11 58% 97%);
}
.tint-betsy {
  background: hsl(90 30% 97%);
}
.tint-hazel {
  background: hsl(180 32% 97%);
}
.tint-vera {
  background: hsl(265 30% 97%);
}

/* ───────── Features ───────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 20px;
}
.feature-anchor {
  grid-column: 1;
  grid-row: 1 / span 3;
  position: relative;
  overflow: hidden;
  padding: 34px 34px 30px;
  border-radius: 20px;
  background: linear-gradient(
    150deg,
    hsl(var(--powder-blue) / 0.16) 0%,
    hsl(var(--muted-gold) / 0.12) 48%,
    hsl(var(--light-cyan) / 0.6) 100%
  );
  border: 1px solid hsl(var(--powder-blue) / 0.35);
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
}
.feature-anchor__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.feature-anchor__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gentle);
}
.badge-new {
  padding: 5px 12px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.75);
  color: hsl(var(--deep-green));
  border: 1px solid hsl(var(--powder-blue) / 0.4);
}
.feature-anchor h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: hsl(var(--deep-green));
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.feature-anchor p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: hsl(var(--dark-brown));
  opacity: 0.85;
  margin: 0 0 22px;
  max-width: 440px;
}
.growth-dots {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.growth-dots .dot {
  border-radius: 9999px;
  background: var(--gradient-primary);
}
.growth-dots .dot.s {
  width: 8px;
  height: 8px;
  opacity: 0.35;
}
.growth-dots .dot.m {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}
.growth-dots .dot.l {
  width: 20px;
  height: 20px;
  opacity: 0.85;
}
.growth-dots .seg {
  flex: 0 0 22px;
  height: 2px;
  background: hsl(var(--powder-blue) / 0.4);
}
.growth-dots .lbl {
  margin-left: 8px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 15px;
  color: hsl(var(--muted-foreground));
}
.feat-card {
  padding: 26px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feat-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feat-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 21px;
  color: hsl(var(--deep-green));
  margin: 0 0 6px;
}
.feat-card p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
  margin: 0;
}
.ic-rose {
  background: hsl(var(--rose-muted));
  color: hsl(var(--rose-primary));
}
.ic-betsy {
  background: hsl(var(--betsy-muted));
  color: hsl(var(--betsy-primary));
}
.ic-vera {
  background: hsl(var(--vera-muted));
  color: hsl(var(--vera-primary));
}

/* ───────── How it works ───────── */
.how-head {
  text-align: center;
  margin-bottom: 52px;
}
.how-head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  color: hsl(var(--deep-green));
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.how-head p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.how-card {
  position: relative;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border));
  text-align: center;
}
.how-card__num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-card__icon {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}
.how-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: hsl(var(--deep-green));
  margin: 0 0 8px;
}
.how-card p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* ───────── About ───────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-copy h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  color: hsl(var(--deep-green));
  margin: 10px 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.about-copy p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: hsl(var(--dark-brown));
  opacity: 0.85;
  margin: 0 0 18px;
}
.about-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.about-media {
  position: relative;
}
.about-media__frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-warm);
  aspect-ratio: 4 / 5;
  background: hsl(var(--muted));
}
.about-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.quote-card {
  position: absolute;
  left: -22px;
  bottom: -26px;
  max-width: 320px;
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-premium);
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.4;
  color: hsl(var(--deep-green));
}
.quote-card figcaption {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: hsl(var(--muted-foreground));
}

/* ───────── Footer ───────── */
.site-footer {
  padding: 52px 28px 32px;
  background: hsl(var(--deep-green));
  color: hsl(var(--light-cyan));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand__lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand__lockup span.m {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--gradient-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer-brand__lockup span.n {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
}
.footer-brand p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 320px;
  margin: 0;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
  margin: 0 0 14px;
  opacity: 0.7;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  font-family: var(--font-body);
  font-size: 14px;
  opacity: 0.85;
  text-decoration: none;
}
.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-bottom {
  max-width: 1100px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 12px;
  opacity: 0.65;
}

/* ───────── Toast ───────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--deep-green));
  color: #fff;
  padding: 12px 22px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 14px;
  box-shadow: var(--shadow-warm);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition:
    opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* ───────── Scroll reveal / entrance ───────── */
.js-anim .hero__roll,
.js-anim .hero__grid > div,
.js-anim .section-head,
.js-anim .features-head,
.js-anim .duo-card,
.js-anim .persona-card,
.js-anim .village-photo,
.js-anim .voice-quote,
.js-anim .res-card,
.js-anim .feature-anchor,
.js-anim .feat-card,
.js-anim .how-head,
.js-anim .how-card,
.js-anim .about-copy,
.js-anim .about-media {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease-gentle),
    transform 0.7s var(--ease-gentle);
}
html.js-anim .is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-anim .hero__roll,
  .js-anim .hero__grid > div,
  .js-anim .section-head,
  .js-anim .features-head,
  .js-anim .duo-card,
  .js-anim .persona-card,
  .js-anim .feature-anchor,
  .js-anim .feat-card,
  .js-anim .village-photo,
  .js-anim .voice-quote,
  .js-anim .res-card,
  .js-anim .how-head,
  .js-anim .how-card,
  .js-anim .about-copy,
  .js-anim .about-media {
    opacity: 1;
    transform: none;
  }
}

/* nav active state (scroll-spy) */
.nav-links a.active {
  color: hsl(var(--powder-blue));
  opacity: 1;
}

/* ───────── Hero art (tweakable: heart line-art / circle photo) ───────── */
.hero__art-circle {
  display: none;
}
[data-hero-art="circle"] .hero__art .hero__art-heart {
  display: none;
}
[data-hero-art="circle"] .hero__art .hero__art-circle {
  display: block;
}
.hero__art img.hero__art-circle {
  mix-blend-mode: normal;
  border-radius: 20px;
  box-shadow: var(--shadow-warm);
  object-fit: cover;
  aspect-ratio: 4 / 3.1;
}

/* ───────── Topics strip (searchable terms) ───────── */
.topics {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  padding: 26px 0;
}
.topics__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 11px;
}
.topics__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-right: 4px;
}
.topics .chip {
  font-size: 14.5px;
  padding: 7px 15px;
}
.topics__stat {
  text-align: center;
  margin: 16px auto 0;
  max-width: 680px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}
.topics__stat strong {
  color: hsl(var(--deep-green));
  font-weight: 600;
}
[data-topics="off"] .topics {
  display: none;
}

/* ───────── Persona signature line ───────── */
.persona-card .persona-line {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: hsl(var(--deep-green));
  opacity: 1;
  margin: 2px 0 14px;
}

/* ───────── The Village (original card vocabulary + one editorial photo) ───────── */
.village-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
  align-items: stretch;
}
.village-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-warm);
  background: hsl(var(--muted));
  min-height: 320px;
}
.village-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.village-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 13px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(26, 20, 16, 0.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12.5px;
}
.village-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.village-cards .duo-card {
  gap: 12px;
  padding: 22px 24px;
}
.village-cards .duo-card p {
  margin: 0;
}
.village-chair {
  margin: 34px auto 0;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.village-chair__line {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.42;
  color: hsl(var(--deep-green));
  margin: 0;
  text-wrap: pretty;
}

/* ───────── Voice moment ───────── */
.section--voice {
  padding: 80px 28px;
  background: var(--gradient-hero);
}
.voice-quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.voice-quote__mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 0.5;
  color: hsl(var(--powder-blue) / 0.5);
  margin-bottom: 4px;
}
.voice-quote blockquote {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 3.1vw, 37px);
  line-height: 1.34;
  color: hsl(var(--deep-green));
  margin: 0;
  letter-spacing: -0.01em;
}
.voice-quote figcaption {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: hsl(var(--muted-foreground));
}
.voice-quote figcaption .serif-italic {
  color: hsl(var(--deep-green));
}
[data-voice="off"] .section--voice {
  display: none;
}

/* ───────── Resources ───────── */
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.res-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
}
.res-kind {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: hsl(var(--muted-gold));
  margin: 0;
}
.res-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: hsl(var(--deep-green));
  margin: 0;
  line-height: 1.2;
}
.res-card p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
  margin: 0;
}
.res-link {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--deep-green));
}
[data-resources="off"] .section--resources {
  display: none;
}

@media (max-width: 880px) {
  .village-grid {
    grid-template-columns: 1fr;
  }
  .village-photo {
    min-height: 240px;
  }
  .res-grid {
    grid-template-columns: 1fr;
  }
}

/* ───────── Responsive ───────── */
@media (max-width: 940px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero__art {
    min-height: 0;
    order: -1;
  }
  .hero__art img {
    max-width: 380px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 880px) {
  .duo-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .feature-anchor {
    grid-column: auto;
    grid-row: auto;
  }
  .persona-grid {
    grid-template-columns: 1fr;
  }
  .how-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .nav-links,
  .nav-actions .nem-btn-ghost {
    display: none;
  }
  .section-head h2,
  .section--herograd .section-head h2 {
    font-size: 32px;
  }
  .about-copy h2 {
    font-size: 38px;
  }
}
@media (max-width: 560px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
  .persona-card {
    grid-template-columns: 110px 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .quote-card {
    left: 0;
    right: 0;
    max-width: none;
    position: static;
    margin-top: 16px;
  }
}
