/* Thrive Single Moms - single-page static site.
   No build step, no external requests: fonts are system stacks and the only
   assets are local. The organisation should be able to open index.html and
   edit text without tooling. */

:root {
  --plum: #4a2545;
  --plum-light: #653a60;
  --amber: #b8611f;
  --amber-light: #d9822b;
  --cream: #faf6f1;
  --sand: #f2e9df;
  --ink: #2c2430;
  --ink-soft: #5b5260;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(44, 36, 48, .08), 0 8px 24px rgba(44, 36, 48, .06);
  --measure: 68ch;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  color: var(--plum);
  line-height: 1.2;
  margin: 0;
}

p { margin: 0; }

a { color: var(--amber); }
a:hover { color: var(--amber-light); }

/* Visible focus for keyboard users - never remove without a replacement. */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--plum);
  color: var(--white);
  padding: .75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: .5rem; top: .5rem; }

.wrap {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- header / nav ---------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--plum);
}
.brand__name {
  font-family: Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand__place {
  font-size: .8125rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--sand);
  border-radius: 8px;
  color: var(--plum);
  font-size: 1.25rem;
  padding: .4rem .7rem;
  cursor: pointer;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
}
.nav__links a:hover { color: var(--plum); }

@media (max-width: 46rem) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--sand);
    padding: .5rem 1.5rem 1rem;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: .7rem 0; }
}

/* ---------- hero ---------- */

.hero {
  background: var(--white);
  padding: 5rem 0 4.5rem;
  text-align: center;
  border-bottom: 1px solid var(--sand);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 24ch;
  margin-inline: auto;
}
.hero__lede {
  margin: 1.5rem auto 0;
  max-width: 52ch;
  font-size: 1.1875rem;
  color: var(--ink-soft);
}
.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  gap: .875rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: .8125rem 1.75rem;
  border-radius: 8px;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
.btn--primary { background: var(--plum); color: var(--white); }
.btn--primary:hover { background: var(--plum-light); color: var(--white); }
.btn--ghost { border: 1.5px solid var(--plum); color: var(--plum); }
.btn--ghost:hover { background: var(--sand); color: var(--plum); }

/* ---------- sections ---------- */

.section { padding: 4.5rem 0; }
.section--tint { background: var(--sand); }

.section__head { text-align: center; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); }
.section__head p {
  margin: .875rem auto 0;
  max-width: 56ch;
  color: var(--ink-soft);
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.section--tint .card { border-color: transparent; }
.card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.card p { color: var(--ink-soft); }
.card__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .875rem;
}

.prose {
  max-width: var(--measure);
  margin-inline: auto;
}
.prose p + p { margin-top: 1.125rem; }
.prose p { color: var(--ink-soft); }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  max-width: 46rem;
  margin-inline: auto;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: inherit;
  margin-bottom: .625rem;
}
.contact-card__value {
  font-family: Georgia, serif;
  font-size: 1.3125rem;
  color: var(--plum);
  text-decoration: none;
  display: block;
}
.contact-card__value:hover { color: var(--amber); }
.contact-card__note {
  margin-top: .5rem;
  font-size: .875rem;
  color: var(--ink-soft);
}

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

.site-footer {
  background: var(--plum);
  color: var(--white);
  padding: 3rem 0 2.5rem;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer__name { font-family: Georgia, serif; font-size: 1.125rem; font-weight: 700; }
.site-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__links a {
  color: rgba(255, 255, 255, .75);
  font-size: .9375rem;
  text-decoration: none;
}
.site-footer__links a:hover { color: var(--white); }
.site-footer hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  margin: 2rem 0;
}
.site-footer__legal {
  text-align: center;
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
}
.site-footer__legal p + p { margin-top: .5rem; }

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