/* Grace team directory — separate stylesheet to protect existing team pages. */
:root {
  --ink: #202b35;
  --muted: #586571;
  --slate: #202d39;
  --gold: #c9954a;
  --gold-text: #82591f;
  --line: #dfe5ea;
  --body-font: "DM Sans", system-ui, sans-serif;
  --heading-font: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.page-width { width: min(1120px, calc(100% - 4rem)); margin-inline: auto; }
.site-header { background: var(--slate); color: #fff; border-bottom: 4px solid var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.75rem; border-bottom: 1px solid #ffffff26; }
.church-brand { display: inline-flex; align-items: center; }
.church-logo { display: block; width: 190px; height: 60px; object-fit: contain; object-position: left center; color: #fff; }
.header-inner nav { display: flex; align-items: center; gap: 2rem; }
.header-inner nav a { color: #e0e6eb; text-decoration: none; font-size: .9375rem; padding-block: .5rem; }
.header-inner nav a:hover { color: #fff; text-decoration: underline; }
.church-link span { margin-left: .35rem; color: #e2b87d; }
.welcome { padding-block: 3.75rem 4rem; }
.eyebrow { margin: 0 0 .85rem; color: var(--gold-text); font-size: .75rem; font-weight: 700; letter-spacing: .14em; }
.welcome .eyebrow { color: #e2b87d; }
h1, h2, h3 { font-family: var(--heading-font); }
h1 { max-width: 850px; margin: 0; font-size: clamp(2.3rem, 4.5vw, 3.8rem); font-weight: 600; line-height: 1.16; letter-spacing: -.05em; text-wrap: balance; }
.welcome-copy { max-width: 54ch; margin: 1.5rem 0 0; color: #d1dae2; font-size: 1.125rem; }
.teams-section { padding-top: 3rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.section-heading .eyebrow { margin-bottom: .4rem; }
.section-heading h2 { margin: 0; font-size: 1.9rem; font-weight: 600; letter-spacing: -.04em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: .9375rem; }
.team-grid { display: grid; gap: 1.25rem; }
.team-card { display: flex; align-items: center; gap: 2rem; padding: 2rem; border: 1px solid var(--line); border-radius: .7rem; color: var(--ink); background: #fff; text-decoration: none; transition: border-color .15s, background-color .15s; }
.team-card:hover { border-color: #adbbc6; background: #f7f9fb; color: var(--ink); }
.team-symbol { display: grid; place-items: center; flex: 0 0 88px; height: 100px; border-radius: .5rem; color: var(--gold-text); background: #faf6ef; }
.team-symbol svg { width: 46px; height: 46px; }
.team-copy { min-width: 0; flex: 1; }
.team-category { margin: 0 0 .35rem; color: var(--gold-text); font-size: .75rem; font-weight: 700; letter-spacing: .09em; }
.team-copy h3 { margin: 0 0 .65rem; font-size: 1.65rem; font-weight: 700; letter-spacing: -.035em; }
.team-copy > p:not(.team-category) { max-width: 55ch; margin: 0; color: var(--muted); }
.resource-types { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; padding: 0; margin: 1rem 0 0; list-style: none; color: var(--muted); font-size: .875rem; }
.team-action { flex-shrink: 0; font-size: .9375rem; font-weight: 600; }
.team-action span { margin-left: .65rem; color: var(--gold-text); }
.team-card:hover .team-action { text-decoration: underline; }
.more-resources { display: flex; align-items: start; gap: 1.25rem; padding: 1.5rem; margin-top: 2rem; background: #f5f7f9; border-radius: .5rem; }
.note-mark { font-size: 1.65rem; color: var(--gold-text); line-height: 1.3; }
.more-resources h2 { margin: 0 0 .4rem; font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; }
.more-resources p { max-width: 83ch; margin: 0; color: var(--muted); font-size: .9375rem; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.skip-link { position: absolute; top: -100px; left: 1rem; padding: .75rem 1rem; background: #fff; z-index: 100; }
.skip-link:focus { top: 1rem; }
@media (max-width: 800px) {
  .section-heading { align-items: start; flex-direction: column; gap: .65rem; }
  .team-card { flex-wrap: wrap; gap: 1.25rem; }
  .team-action { width: 100%; padding-top: 1rem; border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .page-width { width: calc(100% - 2.5rem); }
  .header-inner { gap: 1rem; padding-block: 1.25rem; }
  .church-logo { width: 145px; height: 48px; }
  .header-inner nav { gap: .5rem; }
  .header-inner nav a { font-size: .875rem; }
  .header-inner .church-link { display: none; }
  .welcome { padding-block: 2.75rem; }
  .welcome-copy { font-size: 1rem; }
  .team-card { padding: 1.5rem; }
  .team-symbol { flex-basis: 60px; height: 65px; }
  .team-symbol svg { width: 36px; height: 36px; }
  .team-copy { flex-basis: 100%; }
  .site-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .team-card { transition: none; }
}
@media print {
  .site-header { background: #fff; color: #000; }
  .church-logo { background: #202d39; padding: .5rem; }
  .welcome-copy, .welcome .eyebrow { color: #333; }
  .header-inner nav, .skip-link { display: none; }
  .team-card { break-inside: avoid; }
}
