:root {
  --cream: #f4efe6;
  --paper: #fbf8f2;
  --ink: #1c241f;
  --muted: #5c665f;
  --forest: #1e3a32;
  --sage: #6d8b74;
  --sage-soft: #dce6dc;
  --clay: #9a5a3c;
  --line: rgba(30, 58, 50, 0.12);
  --shadow: 0 24px 60px rgba(28, 36, 31, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-wrap: break-word; /* long words (the email address) wrap instead of pushing past the screen edge */
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
}
h1, h2, h3, .serif { font-family: Fraunces, Georgia, serif; font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; }
h3 { font-size: 1.35rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--forest);
  color: #ffffff;
  text-decoration: none;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}
.btn.ghost {
  background: transparent;
  color: var(--forest);
  border-color: rgba(30, 58, 50, 0.25);
}
.btn:hover { transform: translateY(-1px); }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0; /* let the name wrap so the menu button stays on screen with large text */
}
.mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--forest);
  color: #f6f1e8;
  display: grid;
  place-items: center;
}
.brand-name { font-family: Fraunces, serif; font-size: 1.05rem; line-height: 1.15; }
.brand-name span { display: block; font-family: "Source Sans 3", sans-serif; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 1.35rem; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--muted); }
.nav-links a.active, .nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; background: var(--clay); }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  padding: 4.5rem 0 3.5rem;
  align-items: center;
}
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; margin: 1.1rem 0 1.7rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-card {
  position: absolute;
  left: -1.5rem;
  bottom: 1.5rem;
  background: #fff;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 230px;
}
.hero-card strong { display: block; font-family: Fraunces, serif; }

.band { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.band-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }

.section { padding: 5rem 0; }
.section.alt { background: var(--cream); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
}
.card h3, .card .h3 { margin: 0.35rem 0 0.5rem; }
.num { font-family: Fraunces, serif; color: #557560; font-size: 1.4rem; }

.split-photo img { height: 420px; width: 100%; object-fit: cover; border-radius: 24px; }
.list { margin: 1rem 0 0 1.1rem; color: var(--muted); }
.page-hero { padding: 4rem 0 2rem; }
.page-hero p { max-width: 40rem; color: var(--muted); margin-top: 0.8rem; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.7rem;
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { color: var(--muted); margin-top: 0.55rem; }

form { display: grid; gap: 0.8rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid #8b958e; /* dark enough to see the box on a white card */
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: #fff;
}
footer {
  background: var(--forest);
  color: #e7eee8;
  padding: 3rem 0 1.6rem;
}
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
footer a { color: #e7eee8; text-decoration: none; }
.fine { margin-top: 2rem; font-size: 0.82rem; opacity: 0.75; }

@media (max-width: 860px), (max-height: 500px) { /* narrow screens and phones held sideways */
  .menu-toggle { display: block; background: none; border: 0; font-size: 1.4rem; color: var(--ink); min-width: 44px; min-height: 44px; flex-shrink: 0; }
  .nav-links {
    display: none;
    position: absolute;
    inset: 76px 20px auto;
    max-height: calc(100vh - 96px); /* phone held sideways: scroll the menu so "Request care" can be reached */
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .hero, .grid-3, .grid-2, .foot { grid-template-columns: minmax(0, 1fr); }
  .hero-photo img, .split-photo img { height: 300px; }
  .hero-card { left: 1rem; }
}

/* Headings that keep a smaller look but sit at the right level for screen readers */
.h3 { font-size: 1.35rem; }
button { font-family: inherit; }

/* Keyboard users: a "Skip to main content" link, and a clear outline on whatever has focus */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--forest); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }

/* Contact form */
.form-note { font-size: 0.95rem; color: var(--muted); }
.field { display: grid; gap: 0.3rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
main a[href^="tel:"], main a[href^="mailto:"] { display: inline-block; max-width: 100%; padding: 0.25rem 0; }

footer .crisis { margin-top: 1.5rem; }
