/* ============================================
   Fielder Health Network — shared styles
   ============================================ */
 
:root {
  --white:      #ffffff;
  --tint:       #f4f8f4;
  --tint-deep:  #e4efe6;
  --green:      #2c5943;
  --green-soft: #5d8b72;
  --ink:        #1e2622;
  --ink-mute:   #5a655e;
  --rule:       #d5e3d8;
 
  --measure: 34rem;
  --space:   clamp(2.5rem, 6vw, 5rem);
}
 
*,
*::before,
*::after { box-sizing: border-box; }
 
html { scroll-behavior: smooth; }
 
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
 
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
 
/* ---------- Typography ---------- */
 
h1, h2, h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  color: var(--green);
  line-height: 1.15;
  margin: 0 0 0.6em;
}
 
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; color: var(--ink); }
 
p { margin: 0 0 1.15em; max-width: var(--measure); }
 
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-soft); }
 
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}
 
.lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 40rem;
}
 
/* ---------- Layout ---------- */
 
.wrap {
  width: min(68rem, 100% - 2.5rem);
  margin-inline: auto;
}
 
section { padding-block: var(--space); }
section + section { border-top: 1px solid var(--rule); }
 
.tinted { background: var(--tint); }
 
/* ---------- Header / nav ---------- */
 
.site-header {
  border-bottom: 1px solid var(--rule);
  padding-block: 1.4rem;
}
 
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
  justify-content: space-between;
}
 
.wordmark {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.35rem;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}
 
.wordmark span { color: var(--green-soft); }
 
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
 
nav a {
  color: var(--ink-mute);
  text-decoration: none;
  padding-block: 0.2rem;
  border-bottom: 2px solid transparent;
}
 
nav a:hover { color: var(--green); }
 
nav a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}
 
/* ---------- Hero ---------- */
 
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) var(--space); }
.hero h1 { max-width: 18ch; }
 
/* ---------- Ledger (the pairing device) ---------- */
 
.ledger { border-top: 1px solid var(--rule); margin-top: 2.5rem; }
 
.ledger-row {
  display: grid;
  grid-template-columns: minmax(9rem, 15rem) 1fr;
  gap: 1rem 2.5rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
 
.ledger-row dt {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.15rem;
  color: var(--green);
  margin: 0;
}
 
.ledger-row dd { margin: 0; }
.ledger-row dd p { margin-bottom: 0; }
 
@media (max-width: 34rem) {
  .ledger-row { grid-template-columns: 1fr; gap: 0.35rem; }
}
 
/* ---------- People grid (team headshots) ---------- */
 
.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 2.75rem 2rem;
  margin-top: 2.75rem;
}
 
.person { margin: 0; }
 
.headshot {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: var(--tint-deep);
  border-radius: 3px;
  margin-bottom: 0.9rem;
}
 
.person-name {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.1rem;
  color: var(--green);
  margin: 0 0 0.15rem;
}
 
.person-title {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  color: var(--ink);
}
 
.person-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-mute);
  line-height: 1.45;
}
 
@media (max-width: 30rem) {
  .people { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; }
}
 
/* ---------- Steps (Apply — genuine sequence) ---------- */
 
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  max-width: 44rem;
}
 
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0 1.25rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
 
.steps li::before {
  content: counter(step);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.3rem;
  color: var(--green-soft);
  line-height: 1.3;
}
 
.steps h3 { margin-bottom: 0.3rem; }
.steps p { margin-bottom: 0; }
 
/* ---------- Form ---------- */
 
.form { max-width: 34rem; margin-top: 2.5rem; }
 
.field { margin-bottom: 1.5rem; }
 
.field label {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
 
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
}
 
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-soft);
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
 
.field textarea { resize: vertical; min-height: 7rem; }
 
.hint {
  font-size: 0.875rem;
  color: var(--ink-mute);
  margin-top: 0.35rem;
}
 
.button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
}
 
.button:hover { background: var(--green-soft); border-color: var(--green-soft); color: var(--white); }
 
/* ---------- Footer ---------- */
 
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--tint);
  padding-block: 3rem;
  font-size: 0.925rem;
  color: var(--ink-mute);
}
 
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
}
 
.site-footer p { margin: 0; max-width: 26rem; }
.site-footer a { color: var(--green); }

.form-embed {
  margin-top: 2.5rem;
  max-width: 48rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
}

.form-embed iframe {
  display: block;
}