:root {
  --ink: #1f2933;
  --muted: #5f6b76;
  --cream: #f7f1e6;
  --paper: #fffaf2;
  --white: #ffffff;
  --navy: #203047;
  --navy-dark: #162235;
  --gold: #b28a45;
  --gold-soft: #dfcfad;
  --border: #e3d6bf;
  --shadow: 0 18px 45px rgba(22, 34, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--cream);
  background: var(--navy-dark);
  line-height: 1.75;
}

a {
  color: inherit;
}

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

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 242, 0.96);
  border-bottom: 1px solid rgba(32, 48, 71, 0.12);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.site-brand {
  display: grid;
  gap: 2px;
}

.site-name {
  color: var(--navy-dark);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 92px 0 88px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy-dark);
}

.hero::before,
.hero::after {
  display: none;
}

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

.hero-content {
  max-width: 930px;
}

.hero-brand-lockup {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 36px);
  margin-bottom: 42px;
}

.hero-logo {
  display: block;
  width: clamp(138px, 22vw, 245px);
  height: auto;
  flex: 0 0 auto;
  border-radius: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.eyebrow {
  display: inline-block;
  margin: 0 0 34px;
  padding: 9px 28px;
  color: #f4e6c8;
  border: 1px solid rgba(223, 207, 173, 0.58);
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy-dark);
  line-height: 1.15;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.25rem, 7.4vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-subtitle {
  max-width: 820px;
  margin: 0;
  color: #f5ead6;
  font-size: clamp(1.45rem, 3.6vw, 2.25rem);
  line-height: 1.45;
}

.service-time {
  position: relative;
  width: min(760px, 100%);
  margin-top: 58px;
  padding: 36px 42px;
  overflow: hidden;
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(223, 207, 173, 0.55);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
}

.service-time::after {
  display: none;
}

.service-time strong,
.service-time span {
  position: relative;
  z-index: 1;
  display: block;
}

.service-time strong {
  color: #f6deb1;
  font-size: clamp(1rem, 2.8vw, 1.65rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-time strong::after {
  content: "";
  display: block;
  width: min(420px, 100%);
  height: 1px;
  margin: 18px 0 22px;
  background: rgba(223, 207, 173, 0.5);
}

.service-time span {
  color: var(--white);
  font-size: clamp(2.2rem, 6.6vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.service-time p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 34px 0 0;
  color: #f5ead6;
  font-size: clamp(1.24rem, 3.4vw, 2rem);
  line-height: 1.45;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary,
.section:not(.section-light) .button.primary {
  color: var(--navy-dark);
  background: #f1d49c;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.button.primary:hover,
.button.primary:focus,
.section:not(.section-light) .button.primary:hover,
.section:not(.section-light) .button.primary:focus {
  color: var(--navy-dark);
  background: #e7c57f;
}

.button.secondary {
  color: var(--navy-dark);
  background: var(--white);
  border: 1px solid var(--gold-soft);
}

.hero .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(223, 207, 173, 0.55);
}

.section {
  padding: 86px 0;
}

.section-light {
  background: rgba(255, 250, 242, 0.76);
  border-top: 1px solid rgba(227, 214, 191, 0.65);
  border-bottom: 1px solid rgba(227, 214, 191, 0.65);
}

.section h2 {
  position: relative;
  margin: 0 0 26px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.035em;
}

.section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 16px;
  background: var(--gold);
}

.center h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section h3 {
  margin: 34px 0 10px;
  font-size: 1.3rem;
}

.section p {
  color: #33404d;
  font-size: 1.08rem;
}

.section:not(.section-light) h2,
.section:not(.section-light) h3 {
  color: #f7f1e6;
}

.section:not(.section-light) p,
.section:not(.section-light) .simple-list li {
  color: #f5ead6;
}

.section:not(.section-light) a:not(.button) {
  color: #f6deb1;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.section:not(.section-light) .simple-list li::before {
  border-color: var(--gold-soft);
}

.simple-list {
  margin: 20px 0 0;
  padding-left: 0;
  list-style: none;
}

.simple-list li {
  position: relative;
  margin: 11px 0;
  padding-left: 28px;
  color: #33404d;
  font-size: 1.05rem;
}

.simple-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 42px 0 34px;
}

.belief-card,
.visit-card {
  background: #fffaf2;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(22, 34, 53, 0.22);
}

.belief-card {
  padding: 26px;
}

.belief-card h3,
.visit-card h3 {
  color: var(--navy-dark);
}

.belief-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.belief-card p,
.visit-card p {
  color: #33404d;
}

.belief-card p {
  margin: 0;
  font-size: 0.99rem;
  line-height: 1.55;
}

.visit-card {
  margin-top: 28px;
  padding: 34px;
}

.visit-card h3:first-child {
  margin-top: 0;
}

.visit-card .button {
  margin-top: 8px;
}

.sermons-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sermons-icon {
  display: block;
  width: clamp(112px, 18vw, 160px);
  height: auto;
  margin: 6px auto 22px;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.24));
}

.sermons-section p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  line-height: 1.6;
}

.sermons-section .button {
  min-width: min(100%, 360px);
}

.sermons-section .container::after {
  content: "Announcements";
  display: block;
  width: min(820px, calc(100vw - 40px));
  margin: 86px auto 0;
  padding-top: 86px;
  padding-bottom: 19px;
  border-top: 1px solid rgba(223, 207, 173, 0.32);
  color: #f7f1e6;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-align: center;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 64px 3px;
  background-position: center bottom;
}

.sermons-section::after {
  content: "Stay informed with the latest updates and important information for the congregation.";
  display: block;
  width: min(820px, calc(100% - 40px));
  margin: 26px auto 0;
  color: #f5ead6;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  line-height: 1.6;
  text-align: center;
}

.site-footer {
  padding: 54px 0;
  color: #f5ead6;
  background: var(--navy-dark);
  border-top: 4px solid var(--gold);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}

.footer-content p {
  margin: 0;
}

@media (max-width: 950px) {
  .nav-container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 76px;
  }

  .belief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

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

  .site-header {
    position: static;
  }

  .site-name {
    font-size: 1rem;
  }

  .site-brand span,
  .site-nav {
    font-size: 0.84rem;
  }

  .hero {
    padding: 52px 0 64px;
  }

  .hero-brand-lockup {
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-logo {
    width: 104px;
  }

  .eyebrow {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    line-height: 1.6;
    padding: 8px 14px;
    margin-bottom: 34px;
  }

  .hero h1 {
    min-width: 0;
    font-size: clamp(2.15rem, 9.4vw, 2.55rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
  }

  .hero-subtitle {
    font-size: clamp(1.56rem, 6.2vw, 2rem);
    line-height: 1.45;
  }

  .service-time {
    margin-top: 54px;
    padding: 34px 34px 38px;
    border-radius: 24px;
  }

  .service-time strong {
    font-size: 1.25rem;
  }

  .service-time span {
    font-size: clamp(2.35rem, 10.5vw, 3.4rem);
  }

  .service-time p {
    font-size: clamp(1.28rem, 5.3vw, 1.72rem);
  }

  .hero-buttons,
  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

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

  .belief-card,
  .visit-card {
    padding: 24px;
  }

  .sermons-icon {
    width: 110px;
    margin-bottom: 18px;
  }

  .sermons-section .container::after {
    width: min(100% - 28px, 820px);
    margin-top: 62px;
    padding-top: 62px;
  }

  .sermons-section::after {
    width: min(100% - 28px, 820px);
  }
}

@media (max-width: 390px) {
  .hero-logo {
    width: 92px;
  }

  .hero-brand-lockup {
    gap: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .service-time {
    padding: 30px 24px 34px;
  }
}
