:root {
  --ink: rgba(26, 26, 26, 0.7);
  --ink-strong: rgba(26, 26, 26, 0.9);
  --heading: #4a4a4a;
  --serif: "EB Garamond", "Adobe Garamond Pro", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --content: 956px;
  --header: #212121;
  --footer: #1f1f1f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}

a { color: inherit; }

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0 20px;
  color: #fff;
}

.site-header.is-solid,
.site-header.is-stuck {
  position: fixed;
  background: var(--header);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 73px;
  gap: 16px;
}

.site-title {
  margin: 0;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
}

.site-title a {
  color: #fff;
  text-decoration: none;
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.site-nav a {
  display: inline-block;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 252px;
  padding: 96px 24px 36px;
  background: #000 center / cover no-repeat;
  color: #fff;
}

.hero.hero-tall { min-height: 308px; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(892px, 100%);
  text-align: center;
}

.hero-kicker {
  margin: 20px auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.5;
  color: #fff;
}

.hero-title {
  display: block;
  margin: 0 auto 8px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 68px;
  letter-spacing: 4px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

.page-main {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 28px;
}

.prose h2,
.contact-section h2 {
  margin: 1.35em 0 0.55em;
  color: var(--heading);
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 1.25px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.prose h2:first-child { margin-top: 0.15em; }

.prose h3 {
  margin: 1.3em 0 0.45em;
  color: var(--ink-strong);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.prose p {
  margin: 0 0 1em;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
}

.prose a {
  color: var(--ink-strong);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.45);
}

.prose a:hover { border-bottom-color: rgba(26, 26, 26, 0.9); }

.prose strong { font-weight: 600; color: var(--ink-strong); }

.video {
  position: relative;
  margin: 28px auto;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  background: #111;
}

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

.quote {
  margin: 2em auto;
  max-width: 820px;
}

.quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink-strong);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
}

.quote .qmark {
  display: block;
  font-size: 80px;
  line-height: 0.7;
  opacity: 0.3;
  font-style: normal;
}

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

.social-row a {
  width: 20px;
  height: 20px;
  color: #111;
}

.social-row svg { width: 20px; height: 20px; display: block; fill: currentColor; }

.video-list { margin: 8px 0 36px; }

.video-row {
  display: grid;
  grid-template-columns: 287px 1fr;
  gap: 0 0;
  align-items: center;
  min-height: 195px;
  padding: 8px 0;
}

.video-row a.thumb {
  display: block;
  width: 267px;
  height: 150px;
  position: relative;
  background: #111;
}

.video-row img {
  width: 267px;
  height: 150px;
  object-fit: cover;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
}

.play-badge::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 13px;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
}

.video-copy { padding: 8px 8px 8px 18px; }

.video-copy h2 {
  margin: 0 0 8px;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.25;
  color: #666;
}

.video-copy h2 a {
  color: inherit;
  text-decoration: none;
  border: 0;
}

.video-copy h2 a:hover { color: #333; }

.video-copy time {
  color: rgba(26, 26, 26, 0.4);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 8px 0 48px;
}

.sermon-grid a {
  position: relative;
  display: block;
  aspect-ratio: 312 / 176;
  background: #111;
}

.sermon-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sermon-detail .sermon-title {
  margin: 0.2em 0 0.35em;
  color: var(--heading);
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 1.25px;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.sermon-detail .byline {
  margin: 0 0 1.2em;
  text-align: center;
  color: rgba(26, 26, 26, 0.4);
  font-size: 15px;
}

.back-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 8px 0 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.back-links a { color: #666; text-decoration: none; }
.back-links a:hover { color: #222; }

.contact-section { margin-top: 18px; }

.contact-form { margin: 12px 0 20px; }

.field { margin: 0 0 18px; }

.field-title {
  margin: 0 0 6px;
  color: #000;
  font-family: var(--serif);
  font-size: 18px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #a9a9a9;
  background: #fafafa;
  color: #000;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
  padding: 10px;
  border-radius: 0;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid #222;
  background: #fff;
}

.hint,
.req {
  margin-top: 4px;
  color: rgba(26, 26, 26, 0.55);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.3;
}

.form-submit {
  margin-top: 8px;
  border: 0;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1;
  text-transform: uppercase;
  padding: 18px 45px;
}

.form-submit:hover { background: #000; }
.form-submit:disabled { opacity: 0.6; cursor: progress; }

.form-status {
  margin: 14px 0;
  padding: 12px 14px;
  font-size: 17px;
  line-height: 1.45;
}

.form-status.ok { background: #f4f7f4; color: #1a1a1a; }
.form-status.err { background: #faf6f6; color: #6b1d1d; }

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 34px 20px 42px;
}

.back-to-top {
  display: inline-block;
  margin-bottom: 18px;
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer p { margin: 0; font-size: 18px; }

.site-footer a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.page-offset { height: 73px; }

@media (max-width: 800px) {
  .sermon-grid { grid-template-columns: 1fr 1fr; }
  .video-row { grid-template-columns: 200px 1fr; }
  .video-row a.thumb,
  .video-row img { width: 180px; height: 102px; }
  .hero-title { font-size: 42px; letter-spacing: 2px; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--header);
    padding: 8px 0 16px;
  }

  .site-header.nav-open .site-nav { display: flex; }

  .site-nav a { padding: 14px 22px; }

  .hero { padding: 96px 18px 28px; }
  .hero-kicker { font-size: 18px; }
  .hero-title { font-size: 32px; letter-spacing: 1px; }
  .page-main { width: min(100% - 32px, var(--content)); }
  .name-grid,
  .video-row,
  .sermon-grid { grid-template-columns: 1fr; }
  .video-row a.thumb,
  .video-row img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .video-copy { padding: 12px 0 8px; }
}

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