:root {
  --eastland-navy: #052544;
  --eastland-navy-deep: #001936;
  --eastland-blue: #163e66;
  --eastland-gold: #d9a93a;
  --eastland-olive: #5d6132;
  --eastland-cream: #f7f4ec;
  --eastland-paper: #ffffff;
  --eastland-ink: #142231;
  --shadow: 0 24px 60px rgba(0, 25, 54, 0.14);
  --shadow-soft: 0 14px 36px rgba(0, 25, 54, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--eastland-cream);
  color: var(--eastland-ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1.06rem;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

a,
button,
.button,
.image-card,
.info-card,
.announcement-card,
.featured-event,
.connect-list a,
.hero-media,
.split-section picture {
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--eastland-paper);
  border-bottom: 1px solid rgba(5, 37, 68, 0.12);
  box-shadow: 0 8px 30px rgba(0, 25, 54, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(210px, 42vw);
}

.brand img {
  background: var(--eastland-paper);
  mix-blend-mode: multiply;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--eastland-navy);
  font-size: 1.04rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
}

.main-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--eastland-gold);
  content: "";
  transform: scaleX(0.65);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.text-link {
  position: relative;
  text-decoration: none;
}

.main-nav a,
.text-link {
  text-decoration-color: rgba(217, 169, 58, 0.65);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100svh - 85px);
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 80px);
  background:
    radial-gradient(circle at 72% 32%, rgba(217, 169, 58, 0.16), transparent 34%),
    linear-gradient(115deg, rgba(0, 25, 54, 0.94), rgba(5, 37, 68, 0.84)),
    var(--eastland-navy);
  color: var(--eastland-paper);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--eastland-gold);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.08;
}

h1 {
  max-width: 13.5ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
}

h3 {
  color: var(--eastland-navy);
  font-size: 1.32rem;
}

.hero p:not(.eyebrow),
.split-section p,
.connect-section p {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: clamp(1.12rem, 1.35vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 1.03rem;
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible,
.connect-list a:hover,
.connect-list a:focus-visible {
  box-shadow: 0 16px 34px rgba(0, 25, 54, 0.18);
  transform: translateY(-3px);
}

.button.primary {
  background: var(--eastland-gold);
  color: var(--eastland-navy-deep);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #e5b84a;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--eastland-paper);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--eastland-paper);
}

.hero-media,
.split-section picture,
.image-card picture,
.announcement-grid picture {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--eastland-paper);
  box-shadow: var(--shadow);
}

.hero-media:hover,
.split-section picture:hover {
  box-shadow: 0 30px 70px rgba(0, 25, 54, 0.2);
  transform: translateY(-3px);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) 1fr;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 80px);
  border-bottom: 1px solid rgba(5, 37, 68, 0.08);
  background:
    linear-gradient(180deg, var(--eastland-paper), rgba(247, 244, 236, 0.42)),
    var(--eastland-paper);
}

.service-band h2 {
  color: var(--eastland-navy);
}

.service-band p {
  max-width: 34ch;
  margin: 14px 0 0;
  font-size: 1.08rem;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.time-grid article {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(5, 37, 68, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 244, 236, 0.96)),
    var(--eastland-cream);
  box-shadow: var(--shadow-soft);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.time-grid article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--eastland-gold), rgba(217, 169, 58, 0.28));
  content: "";
}

.time-grid article::after {
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: rgba(217, 169, 58, 0.09);
  content: "";
}

.time-grid article:hover,
.time-grid article:focus-within {
  border-color: rgba(217, 169, 58, 0.42);
  box-shadow: 0 18px 42px rgba(0, 25, 54, 0.12);
  transform: translateY(-3px);
}

.time-grid span,
.time-grid strong {
  display: block;
}

.time-grid span {
  color: var(--eastland-blue);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.time-grid strong {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--eastland-navy-deep);
  font-size: clamp(1.85rem, 2.8vw, 2.55rem);
  line-height: 1;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 80px);
  background: var(--eastland-cream);
}

.split-section img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.split-section h2,
.content-section h2,
.connect-section h2 {
  color: var(--eastland-navy);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  padding-bottom: 4px;
  color: var(--eastland-navy);
  font-weight: 800;
}

.content-section {
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 80px);
  background: var(--eastland-paper);
}

.pastors {
  border-top: 1px solid rgba(5, 37, 68, 0.08);
  border-bottom: 1px solid rgba(5, 37, 68, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 236, 0.56)),
    var(--eastland-paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.info-grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

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

.info-card,
.featured-event,
.announcement-card {
  border: 1px solid rgba(5, 37, 68, 0.1);
  border-radius: var(--radius);
  background: var(--eastland-paper);
  box-shadow: var(--shadow-soft);
}

.info-card {
  padding: clamp(22px, 3vw, 34px);
}

.info-card:hover,
.info-card:focus-within,
.featured-event:hover,
.featured-event:focus-within,
.image-card:hover,
.image-card:focus-within,
.announcement-card:hover,
.announcement-card:focus-within {
  box-shadow: 0 20px 44px rgba(0, 25, 54, 0.13);
  transform: translateY(-3px);
}

.info-card h3,
.featured-event h3,
.announcement-card h3 {
  margin-top: 4px;
}

.info-card p:last-child,
.featured-event p,
.announcement-card p {
  margin-bottom: 0;
}

.label {
  margin: 0 0 6px;
  color: var(--eastland-olive);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-grid,
.announcement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.image-card {
  overflow: hidden;
  border: 1px solid rgba(5, 37, 68, 0.1);
  border-radius: var(--radius);
  background: var(--eastland-paper);
  box-shadow: var(--shadow-soft);
}

.image-card picture {
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.image-card img,
.announcement-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.image-card:hover img,
.image-card:focus-within img,
.announcement-card:hover img,
.announcement-card:focus-within img,
.hero-media:hover img,
.split-section picture:hover img {
  transform: scale(1.035);
}

.image-card div {
  padding: 22px;
}

.image-card p {
  margin: 10px 0 0;
  font-size: 1.08rem;
}

.announcements {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 236, 0.96)),
    var(--eastland-cream);
}

.giving-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 80px);
  background:
    radial-gradient(circle at 82% 22%, rgba(217, 169, 58, 0.16), transparent 30%),
    linear-gradient(110deg, rgba(5, 37, 68, 0.96), rgba(22, 62, 102, 0.9)),
    var(--eastland-navy);
  color: var(--eastland-paper);
}

.giving-section h2 {
  color: var(--eastland-paper);
}

.giving-section p {
  max-width: 60ch;
  margin: 16px 0 0;
  font-size: 1.12rem;
}

.featured-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(22px, 4vw, 40px);
  padding: clamp(22px, 3vw, 34px);
}

.announcement-grid article {
  min-width: 0;
}

.announcement-grid picture {
  display: block;
}

.announcement-card {
  overflow: hidden;
}

.announcement-card picture {
  border-radius: 0;
  box-shadow: none;
}

.announcement-card div {
  padding: 22px;
}

.connect-section {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 80px);
  background: var(--eastland-navy);
  color: var(--eastland-paper);
}

.connect-section h2 {
  color: var(--eastland-paper);
}

.connect-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.connect-list a {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--eastland-paper);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.connect-list a:hover,
.connect-list a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 18px;
  background: var(--eastland-paper);
  color: var(--eastland-navy);
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover,
  .connect-list a:hover,
  .hero-media:hover,
  .split-section picture:hover,
  .info-card:hover,
  .featured-event:hover,
  .image-card:hover,
  .announcement-card:hover,
  .image-card:hover img,
  .announcement-card:hover img,
  .hero-media:hover img,
  .split-section picture:hover img {
    transform: none;
  }
}

.site-footer p,
.site-footer address {
  margin: 0;
}

.site-footer address {
  color: var(--eastland-blue);
  font-size: 1.02rem;
  font-style: normal;
  font-weight: 600;
}

.site-footer img {
  width: 110px;
}

@media (max-width: 980px) {
  .hero,
  .service-band,
  .split-section,
  .connect-section {
    grid-template-columns: 1fr;
  }

  .giving-section,
  .featured-event {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  .time-grid,
  .card-grid,
  .announcement-grid,
  .two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: center;
    flex-direction: column;
    padding: 18px;
  }

  .brand {
    width: min(230px, 72vw);
  }

  .main-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    font-size: 1rem;
    text-align: center;
    white-space: normal;
  }

  .main-nav a {
    min-height: 42px;
    padding: 10px 8px;
    border: 1px solid rgba(5, 37, 68, 0.12);
    border-radius: 999px;
    background: rgba(247, 244, 236, 0.8);
    text-decoration: none;
  }

  h1 {
    max-width: 12.5ch;
    font-size: clamp(2.8rem, 15vw, 4.7rem);
  }

  .time-grid,
  .card-grid,
  .announcement-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
