:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --green: #12392b;
  --green-dark: #0c261d;
  --gold: #c9a653;
  --ink: #1d2b24;
  --muted: #6d776f;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: white;
  background:
    linear-gradient(90deg, rgb(8 22 17 / 82%), rgb(8 22 17 / 48%)),
    url("assets/church.webp") center / cover fixed,
    var(--green-dark);
}

a {
  color: inherit;
}

.page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px 24px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  align-items: center;
  gap: clamp(48px, 9vw, 128px);
  width: min(100%, 1050px);
}

.welcome {
  max-width: 520px;
  padding: 12px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #e8d39c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1 {
  max-width: 500px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.7vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.welcome-copy {
  max-width: 390px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 79%);
  font-size: 1.06rem;
  line-height: 1.75;
}

.card {
  padding: 34px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 22px;
  color: var(--ink);
  background: #fffefa;
  box-shadow: 0 24px 80px rgb(0 0 0 / 28%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 23px;
  border-bottom: 1px solid #e8e8df;
}

.brand img {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
  font-weight: 700;
}

.brand-location {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.card-heading {
  margin: 24px 0 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.links {
  display: grid;
  gap: 10px;
}

.link {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  border: 1px solid #e6e8e3;
  border-radius: 11px;
  color: var(--ink);
  background: white;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.link:hover {
  transform: translateY(-1px);
  border-color: #b7c5bb;
  background: #f7f8f4;
}

.link:focus-visible {
  outline: 3px solid #b98e31;
  outline-offset: 3px;
}

.link svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--green);
}

.arrow {
  width: 17px !important;
  height: 17px !important;
  margin-left: auto;
  color: #788078 !important;
}

.card-note {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

footer {
  margin-top: 22px;
  color: rgb(255 255 255 / 68%);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-align: center;
}

@media (max-width: 760px) {
  body {
    background:
      linear-gradient(180deg, rgb(8 22 17 / 73%), rgb(8 22 17 / 86%)),
      url("assets/church.webp") center / cover fixed,
      var(--green-dark);
  }

  .page {
    padding: 42px 20px 28px;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    max-width: 430px;
  }

  .welcome {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 14px;
  }

  h1 {
    margin-inline: auto;
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .welcome-copy {
    margin: 14px auto 0;
    font-size: 0.98rem;
  }

  .card {
    padding: 26px 22px;
  }
}

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