/* Steadfast Churches
   Navy sampled from the logo. Stone is the only second color. */

:root {
  --navy: #071e32;
  --stone: #efebe3;
  --white: #ffffff;
  --measure: 40rem;
  --wide: 68rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Source Serif 4", Georgia, "Palatino Linotype", Palatino, serif;
  font-size: 1.125rem;
  line-height: 1.7;
  font-optical-sizing: auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  z-index: 10;
  font-family: Archivo, "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.8rem;
}

.skip:focus {
  transform: none;
  top: 1rem;
}

.wrap {
  width: min(var(--wide), calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 720px) {
  .wrap {
    width: min(var(--wide), calc(100% - 4.5rem));
  }
}

.measure {
  max-width: var(--measure);
}

h1,
h2,
.kicker,
.nav-list a,
.button,
.footer-name,
.point-index,
label,
.sign-grid span {
  font-family: Archivo, "Arial Narrow", "Helvetica Neue", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.45rem, 8vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0.045em;
}

h2 {
  margin: 0 0 1.15rem;
  font-family: Archivo, "Arial Narrow", "Helvetica Neue", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.lede,
.mission-quote {
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  line-height: 1.45;
  font-weight: 600;
}

.intro {
  margin-top: 1.75rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.footer-links {
  margin-top: 1.25rem;
}

.verse {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
  font-style: italic;
  font-weight: 400;
}

.verse cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-family: Archivo, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  border-bottom: 1px solid var(--navy);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.1rem;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(300px, 72vw);
}

@media (min-width: 720px) {
  .logo img {
    height: 62px;
  }
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--navy);
}

.section {
  padding-block: clamp(3.25rem, 8vw, 6.25rem);
}

.band {
  background: var(--stone);
}

.hero {
  padding-top: clamp(3rem, 8vw, 5.5rem);
}

.hero-rule {
  border-left: 3px solid var(--navy);
  padding-left: clamp(1.1rem, 3vw, 1.75rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.button:hover {
  background: transparent;
  color: var(--navy);
}

.button:focus-visible {
  outline-color: var(--navy);
}

.points {
  display: grid;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .points {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.point {
  border-top: 2px solid var(--navy);
  padding-top: 1rem;
}

.point-index {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.point h3 {
  margin: 0 0 0.75rem;
  font-family: Archivo, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.point p {
  font-size: 1.05rem;
}

.text-link {
  font-family: Archivo, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.site-footer a {
  color: var(--white);
}

.site-footer :focus-visible {
  outline-color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem 3rem;
    align-items: end;
  }
}

.footer-name,
.footer-mark {
  margin: 0 0 0.4rem;
  font-family: Archivo, "Arial Narrow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-mark {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.footer-verse {
  margin: 0;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  font-family: Archivo, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
  margin-top: 2rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

input,
textarea,
select {
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  line-height: 1.4;
  min-height: 48px;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) calc(50% - 2px), calc(100% - 0.75rem) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.form .button {
  justify-self: start;
  margin-top: 0.35rem;
}

.req {
  margin-left: 0.2em;
}

.privacy {
  margin: 0.15rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.note {
  margin-top: 1.25rem;
  font-size: 1rem;
}

/* The statement keeps the document's own capitalization.
   Page styles must not force it into capitals. */
.statement {
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
  max-width: 42rem;
}

.statement h2,
.statement h3,
.statement p,
.statement .doc-sub {
  font-family: "Source Serif 4", Georgia, "Palatino Linotype", Palatino, serif;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.statement h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.2;
  font-weight: 600;
}

.statement .doc-sub {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  font-style: italic;
}

.statement .scripture {
  margin: 0 0 2rem;
  font-style: italic;
}

.statement h3 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 600;
}

.statement .article {
  margin: 0 0 1.1rem;
}

.statement .closing {
  margin-top: 2rem;
  font-style: italic;
}

.sign-grid {
  display: grid;
  gap: 1.35rem 2rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .sign-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sign-grid p {
  margin: 0;
  min-height: 2.75rem;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 0.35rem;
}

.sign-grid span {
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  font-family: "Source Serif 4", Georgia, "Palatino Linotype", Palatino, serif;
}

@media print {
  .site-header,
  .site-footer,
  .skip,
  .actions,
  .button {
    display: none;
  }

  body,
  .band {
    background: white;
    color: black;
  }

  .section {
    padding-block: 1.25rem;
  }

  a {
    text-decoration: none;
  }
}
