:root {
  --green-900: #031f18;
  --green-800: #063024;
  --green-700: #0b4735;
  --gold-600: #c79829;
  --gold-500: #d7aa35;
  --gold-300: #f2d57a;
  --black: #080808;
  --ink: #181818;
  --muted: #6b6b6b;
  --line: #ded7c8;
  --soft: #f7f3e8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--gold-300);
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 31, 24, 0.98);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.top-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px max(20px, calc((100% - 1120px) / 2));
  color: var(--gold-300);
  background: var(--black);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.top-line a {
  text-decoration: none;
}

.nav-wrap {
  width: min(1120px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--gold-300);
  font-size: 0.78rem;
}

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

.site-nav a {
  padding: 10px 9px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  color: var(--gold-300);
  border-bottom-color: var(--gold-500);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 22px;
  height: 2px;
  background: var(--white);
}

.hero {
  min-height: 76vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: var(--green-900);
  background-image:
    linear-gradient(135deg, rgba(3, 31, 24, 1) 0%, rgba(6, 48, 36, 0.98) 56%, rgba(0, 0, 0, 0.92) 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-bottom: 6px solid var(--gold-500);
}

.hero-content {
  padding: 78px 0 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(30px, 5vw, 62px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-crest-panel {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.hero-crest-panel img {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
}

.hero-crest-panel p {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0;
  color: var(--gold-300);
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58);
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 5.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede,
.page-hero p {
  max-width: 720px;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold-300);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.hero blockquote {
  max-width: 720px;
  margin: 30px 0;
  padding-left: 20px;
  border-left: 4px solid var(--gold-500);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero cite,
.quote-box cite {
  display: block;
  margin-top: 8px;
  color: var(--gold-300);
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 4px;
  border: 2px solid transparent;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-gold {
  color: var(--black);
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.btn-green {
  color: var(--white);
  background: var(--green-700);
  border-color: var(--green-700);
}

.btn-black {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.btn-white {
  color: var(--green-900);
  background: var(--white);
  border-color: var(--white);
}

.btn-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.74);
}

.btn-outline.dark {
  color: var(--green-900);
  border-color: var(--green-800);
}

.btn-outline.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: var(--white);
  background-color: var(--green-900);
  border-bottom: 6px solid var(--gold-500);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 4vw;
  top: 50%;
  width: min(360px, 45vw);
  aspect-ratio: 1;
  background: url("../assets/rock-crest-transparent.png") center / contain no-repeat;
  opacity: 0.06;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-hero-crest {
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.42));
}

.page-hero-crest img {
  width: min(340px, 100%);
}

.section {
  padding: 76px 0;
}

.soft-section {
  background: var(--soft);
}

.dark-section {
  color: var(--white);
  background: var(--green-900);
}

.intro-band {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section h2,
.section-heading h2,
.cta-strip h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.08;
}

.section p {
  color: var(--muted);
}

.dark-section p,
.dark-section .section p {
  color: rgba(255, 255, 255, 0.82);
}

.gold-text {
  color: var(--gold-300);
}

.two-column,
.split-panel,
.form-layout,
.giving-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.align-start {
  align-items: start;
}

.scripture-panel,
.highlight-box,
.quote-box,
.action-panel,
.giving-note,
.crest-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.scripture-panel {
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.scripture-panel img {
  width: min(330px, 76vw);
  margin: 0 auto 18px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

.scripture-panel p,
.highlight-box p,
.giving-note p {
  color: var(--green-900);
}

.highlight-box,
.quote-box,
.action-panel,
.giving-note {
  padding: 28px;
}

.devotion-callout {
  margin: 24px 0;
  padding: 22px;
  color: var(--white);
  background: var(--green-900);
  border-left: 5px solid var(--gold-500);
  border-radius: 8px;
}

.devotion-callout h3 {
  margin: 0 0 8px;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
}

.devotion-callout p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.84);
}

.quote-box {
  border-color: rgba(242, 213, 122, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.quote-box.light {
  color: var(--green-900);
  background: var(--soft);
  box-shadow: none;
}

.quote-box p {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.crest-card {
  padding: 24px;
  background: var(--green-900);
}

.crest-card img {
  margin: 0 auto;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.signature-ministry {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold-500);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.signature-label {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signature-ministry h2 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.signature-ministry p {
  margin-top: 0;
}

.signature-ministry ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 24px;
  padding-left: 20px;
  color: var(--muted);
}

.signature-ministry .btn {
  margin-top: auto;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.ministry-card,
.leader-card,
.archive-card,
.event-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.card,
.ministry-card,
.leader-card,
.archive-card {
  padding: 24px;
}

.card h3,
.card h2,
.ministry-card h2,
.leader-card h3,
.archive-card h3,
.event-card h3,
.highlight-box h3,
.giving-note h3 {
  margin: 0 0 10px;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
}

.card p,
.ministry-card p,
.leader-card p,
.archive-card p,
.event-card p {
  margin: 0 0 14px;
}

.card-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--black);
  background: var(--gold-500);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.text-link {
  color: var(--green-700);
  font-weight: 800;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 4px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-list article {
  padding-top: 16px;
  border-top: 4px solid var(--gold-500);
}

.feature-list h3 {
  margin: 0 0 8px;
  color: var(--green-900);
}

.video-frame {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(242, 213, 122, 0.45);
  border-radius: 8px;
  background: var(--black);
  box-shadow: var(--shadow);
}

.video-frame.wide {
  max-width: 960px;
  margin: 0 auto;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cta-strip {
  padding: 36px 0;
  color: var(--black);
  background: var(--gold-500);
}

.cta-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-strip h2 {
  margin: 0;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.leader-photo {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 0.85;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--gold-300);
  background: var(--green-900);
}

.leader-photo span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.role {
  color: var(--green-700);
  font-weight: 800;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--green-800);
  border-radius: 4px;
  color: var(--green-900);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus {
  color: var(--black);
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.archive-card.is-hidden {
  display: none;
}

.video-placeholder {
  display: flex;
  min-height: 145px;
  align-items: center;
  justify-content: center;
  margin: -24px -24px 18px;
  color: var(--gold-300);
  background: var(--green-900);
  border-radius: 8px 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.event-list {
  display: grid;
  gap: 18px;
}

.event-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
}

.event-date {
  display: grid;
  place-items: center;
  min-height: 96px;
  color: var(--black);
  background: var(--gold-500);
  border-radius: 8px;
}

.event-date span {
  font-weight: 800;
  text-transform: uppercase;
}

.event-date strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.action-card .btn {
  margin-top: auto;
}

.giving-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
}

.giving-card h2 {
  font-size: 1.45rem;
}

.site-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-form label {
  color: var(--green-900);
  font-weight: 800;
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  border: 1px solid #b9b2a4;
  border-radius: 4px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: 3px solid rgba(215, 170, 53, 0.36);
  border-color: var(--gold-600);
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
}

.checkbox-line input {
  width: auto;
  margin-top: 5px;
}

.form-status {
  margin: 0;
  min-height: 24px;
  color: var(--green-700);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.contact-list p {
  margin: 0;
}

.contact-list a {
  color: var(--green-700);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr 1fr;
  gap: 30px;
  padding: 48px 0;
}

.footer-crest {
  width: 88px;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--gold-300);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer a {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--gold-300);
}

.footer-bottom {
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.74);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 100%;
    display: none;
    padding: 12px;
    background: var(--green-900);
    border: 1px solid rgba(242, 213, 122, 0.3);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .site-nav a {
    padding: 12px;
  }

  .card-grid.four,
  .signature-grid,
  .feature-list,
  .leader-grid,
  .archive-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container,
  .nav-wrap {
    width: min(100% - 28px, 1120px);
  }

  .top-line {
    flex-direction: column;
    gap: 2px;
    padding-inline: 14px;
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .site-nav.open {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background-position: center;
    background-size: cover;
  }

  .hero-content {
    padding: 62px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-crest-panel {
    max-width: 430px;
    margin: 8px auto 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.8rem);
  }

  .hero-lede,
  .page-hero p {
    font-size: 1.03rem;
  }

  .page-hero {
    padding: 66px 0;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-crest {
    justify-content: flex-start;
  }

  .page-hero-crest img {
    width: min(260px, 72vw);
  }

  .section {
    padding: 56px 0;
  }

  .two-column,
  .split-panel,
  .form-layout,
  .giving-layout,
  .card-grid.three,
  .card-grid.four,
  .signature-grid,
  .feature-list,
  .leader-grid,
  .archive-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    width: 120px;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .site-form {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .brand span {
    max-width: 168px;
  }

  .hero blockquote {
    padding-left: 14px;
    font-size: 1.02rem;
  }

  .section h2,
  .section-heading h2,
  .cta-strip h2 {
    font-size: 1.8rem;
  }
}
