:root {
  --ink: #222;
  --muted: rgba(51, 51, 51, 0.5);
  --paper: #fff;
  --footer: #222;
  --line: #a9a9a9;
  --field: #fafafa;
  --narrow: 515px;
  --wide: 1145px;
  --page: 1374px;
  --header: 68px;
  --sans: "sofia-pro", "Sofia Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "calder-dark-shadow", "Playball", cursive;
  --nav: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 30px;
  letter-spacing: 0.15px;
}

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

a { color: var(--muted); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h1 a {
  font-family: var(--display);
  font-weight: 400;
  font-size: 50px;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin: 0 0 33.5px;
}

h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.9px;
  margin: 15px 0 0;
  color: var(--ink);
}

h3 {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--ink);
}

p { margin: 15px 0; }

.Header {
  background: #fff;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px 0 38px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.Header-brand img {
  height: 68px;
  width: auto;
}

.Header-nav {
  display: flex;
  align-items: center;
  gap: 42px;
}

.Header-nav a {
  color: var(--ink);
  font-family: var(--nav);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  line-height: 1;
}

.Header-nav a[aria-current="page"] {
  color: var(--ink);
}

.Menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.Menu-toggle span,
.Menu-toggle span::before,
.Menu-toggle span::after {
  display: block;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.Menu-toggle span::before,
.Menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.Menu-toggle span::before { top: -7px; }
.Menu-toggle span::after { top: 7px; }

.Mobile-nav {
  display: none;
}

main { min-height: 40vh; }

.page { padding: 21px 34px 48px; }

.home-page { padding: 0 34px 48px; }

.narrow {
  max-width: var(--narrow);
  margin-left: auto;
  margin-right: auto;
}

.wide {
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
}

.bleed {
  width: 100%;
}

.hero {
  margin: 0 0 16px;
}

.hero img { width: 100%; height: auto; }

.stack > * + * { margin-top: 8px; }

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  margin: 16px 0 8px;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sermons .video { margin: 0 0 18px; }
.sermons h1 { text-align: center; margin-top: 8px; }

.split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
  gap: 24px;
  align-items: start;
  margin: 0 0 8px;
}

.split-even {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.split img,
.split-even img {
  width: 100%;
  height: auto;
}

.book + .book { margin-top: 8px; }

.prose a { color: var(--muted); }
.prose h1 a, .prose h2 a { color: var(--ink); }

.journal h1 { text-align: center; }
.journal h2 { font-weight: 600; margin-bottom: 16px; }
.journal p { white-space: pre-wrap; }

.social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 8px;
}

.social a {
  width: 48px;
  height: 48px;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.social svg { width: 48px; height: 48px; fill: currentColor; }

.btn {
  display: inline-block;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  line-height: 1;
  padding: 13px 26px;
  cursor: pointer;
}

.btn:hover { background: var(--ink); color: #fff; }

.btn-lg {
  font-size: 15px;
  letter-spacing: 1.5px;
  padding: 15px 37.5px;
  line-height: 30px;
}

.media-block + .media-block { margin-top: 36px; }
.media-copy .btn { margin-top: 8px; }

.Footer {
  background: var(--footer);
  color: #fff;
  text-align: center;
  padding: 48px 34px;
}

.Footer p {
  margin: 0 auto;
  max-width: 720px;
  font-weight: 900;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact-head { margin-bottom: 18px; }
.contact-head h2 { margin: 0; }

.form-grid {
  display: grid;
  gap: 8px;
  padding: 0 24px 0 28px;
  line-height: 1.3;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 4px; }

.field legend, .field-label {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.15px;
  padding: 0;
}

fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.req {
  color: #767676;
  font-size: 12px;
  margin-left: 6px;
}

input, textarea {
  width: 100%;
  background: var(--field);
  border: 1px solid var(--line);
  color: #000;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  padding: 10px;
  border-radius: 0;
}

textarea { min-height: 84px; resize: vertical; line-height: 1.4; }

.field-error { color: #9b2c2c; font-size: 13px; line-height: 1.3; }
.field-error:empty { display: none; }

.form-status {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}
.form-status:empty { display: none; }

.form-status.error { color: #9b2c2c; }

.thanks {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.9px;
  line-height: 36px;
  margin: 24px 0;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.gallery-stage {
  position: relative;
  background: #111;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.gallery-slide {
  display: none;
  width: 100%;
}

.gallery-slide.is-active { display: block; }

.gallery-slide img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  margin: 0 auto;
  background: #111;
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0 8px;
  font-family: var(--nav);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.gallery-controls button {
  background: none;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  color: var(--ink);
  padding: 8px 0;
}

.thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.thumbs button {
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
}

.thumbs button.is-active { border-color: var(--ink); }

.thumbs img { width: 92px; height: 68px; object-fit: cover; }

@media (max-width: 1080px) {
  .Header { min-height: 50px; padding: 0 16px; }
  .Header-brand img { height: 36px; }
  .Header-nav { display: none; }
  .Menu-toggle { display: block; }

  body.nav-open .Mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: fixed;
    inset: 50px 0 0 0;
    background: #fff;
    z-index: 30;
    padding: 32px 28px;
  }

  .Mobile-nav a {
    color: var(--ink);
    font-family: var(--nav);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
  }

  .split, .split-even, .name-row { grid-template-columns: 1fr; }
  .form-grid { padding: 8px 0; }
  .page, .home-page { padding-left: 20px; padding-right: 20px; }
  h1, h1 a { font-size: 40px; }
  h2 { font-size: 24px; line-height: 30px; }
}
