:root {
  color-scheme: light;
  --white: #ffffff;
  --mist: #e4e8e7;
  --teal: #52c1b6;
  --deep: #21675f;
  --iron: #434341;
  --line: rgb(33 103 95 / 18%);
  --glass: linear-gradient(118deg, rgb(255 255 255 / 76%), rgb(255 255 255 / 43%));
  --shadow: 0 4px 9px -5px rgb(67 67 65 / 22%), 0 10px 20px -12px rgb(33 103 95 / 23%);
  --edge: clamp(.875rem, 3.5vw, 2.5rem);
  font: 100%/1.5 Arial, "Helvetica Neue", sans-serif;
  background: var(--mist);
  color: var(--deep);
}
* { box-sizing: border-box; }
body, h1, h2, p, dl, dd { margin: 0; }
body { isolation: isolate; min-height: 100vh; }
body::before {
  content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 100% 55%, rgb(82 193 182 / 23%), transparent 55%),
    radial-gradient(ellipse at 0% 25%, rgb(255 255 255 / 90%), transparent 45%),
    linear-gradient(135deg, var(--mist) 0%, rgb(255 255 255 / 78%) 32%, var(--mist) 70%, rgb(82 193 182 / 16%) 100%);
}
.mast-inner, .step, .again, .more {
  background: var(--glass); border: 1px solid rgb(255 255 255 / 76%);
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px dashed currentColor; outline-offset: 3px; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 2 * var(--edge)), 66rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 1rem; top: 0; padding: .65rem 1rem; transform: translateY(-140%); background: var(--white); color: var(--deep); }
.skip:focus { transform: translateY(.3rem); }
.mast { padding-block: .75rem; }
.mast-inner { display: grid; place-items: center; padding: .25rem 1rem; border-radius: .8rem; }
.brand { display: grid; place-items: center; min-height: 3.05rem; max-width: 100%; }
.brand img { width: clamp(13rem, 66vw, 18rem); height: auto; }
.brand, .step, .foot a, .more-links a, .address { transition: transform 170ms ease-out; }
@media (hover: hover) and (pointer: fine) {
  :is(.brand, .step, .foot a, .more-links a, .address):hover { transform: translateY(-2px); }
}
:is(.brand, .step, .foot a, .more-links a, .address):active { transform: translateY(1px); }
main { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.welcome { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: clamp(17rem, 31vw, 23rem); border-radius: .8rem; background: var(--deep); color: var(--white); box-shadow: var(--shadow); }
.welcome picture, .welcome picture img, .welcome::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.welcome picture img { object-fit: cover; object-position: 52% 43%; filter: saturate(.72); }
.welcome::after { content: ""; background: linear-gradient(90deg, rgb(33 103 95 / 77%), rgb(67 67 65 / 51%) 36%, transparent 78%), linear-gradient(0deg, rgb(67 67 65 / 34%), transparent 65%); }
.hero-copy { z-index: 1; padding: clamp(1.3rem, 4.3vw, 3.25rem); }
h1 { font-size: clamp(3.55rem, 7.5vw, 6.45rem); line-height: .85; letter-spacing: -.075em; }
h1 em { color: var(--white); font-style: normal; }
.motto { margin-top: clamp(.85rem, 2vw, 1.35rem); font-size: clamp(1rem, 1.6vw, 1.12rem); }
.hello-ticket {
  --stub: clamp(4.5rem, 21%, 11rem);
  display: block; position: relative; isolation: isolate; margin-top: 1rem;
  border-radius: .65rem; color: var(--iron); touch-action: pan-y pinch-zoom;
  user-select: none; -webkit-user-select: none;
}
.hello-ticket:focus-visible, .step:focus-visible { outline-color: var(--deep); }
.ticket-paper {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub);
  filter: drop-shadow(0 .34rem .24rem rgb(67 67 65 / 23%));
  animation: ticket-float 3.4s ease-in-out infinite;
}
@keyframes ticket-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
.ticket-copy, .ticket-stub {
  --cut: .43rem;
  background-color: var(--teal);
  mask: radial-gradient(circle at var(--seam) 0, transparent var(--cut), #000 calc(var(--cut) + 1px)) top / 100% 51% no-repeat,
        radial-gradient(circle at var(--seam) 100%, transparent var(--cut), #000 calc(var(--cut) + 1px)) bottom / 100% 51% no-repeat;
}
.ticket-copy { --seam: 100%; border-radius: .65rem 0 0 .65rem; padding: clamp(.98rem, 2vw, 1.55rem) clamp(1.05rem, 3.5vw, 2.5rem); }
.ticket-label { display: block; font-weight: 700; font-size: .76rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .145em; }
.ticket-copy h2 { margin-top: .2rem; font-size: clamp(2rem, 4.25vw, 3.15rem); line-height: 1.02; letter-spacing: -.065em; }
.ticket-copy p { margin-top: .38rem; line-height: 1.35; }
.ticket-stub {
  --seam: 0%; position: relative; display: grid; place-items: center; border-radius: 0 .65rem .65rem 0;
  background-color: var(--deep); transform-origin: 1% 90%;
  transform: translateX(var(--pull, 0px)) rotate(var(--tilt, 0deg));
  transition: transform 160ms ease-out;
}
.ticket-stub::before { content: ""; position: absolute; inset: .6rem auto .6rem 0; border-left: 2px dashed rgb(255 255 255 / 62%); }
.ticket-stub img { width: clamp(2.65rem, 6vw, 4.45rem); height: auto; transform: rotate(-12deg); filter: brightness(0) invert(1); }
.ticket-check {
  display: grid; place-items: center; position: absolute; z-index: 0;
  right: 0; top: 0; bottom: 0; width: var(--stub); opacity: 0; color: var(--deep);
}
.ticket-check svg { display: block; width: 2.5rem; height: 2.5rem; padding: .47rem; border: 2px solid currentColor; border-radius: 50%; }
.ticket-check path, .step svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .hello-ticket:hover .ticket-stub { --pull: 2px; --tilt: -1.2deg; }
}
.hello-ticket.pulling .ticket-stub { transition: none; }
.hello-ticket.tearing .ticket-paper { animation-play-state: paused; }
.hello-ticket.tearing .ticket-stub { animation: rip-stub 430ms cubic-bezier(.42,0,.78,.48) both; }
.hello-ticket.tearing .ticket-copy { animation: paper-tug 380ms ease-out both; }
.hello-ticket.tearing .ticket-check { animation: check-pop 290ms 210ms cubic-bezier(.2,.85,.35,1.25) both; }
@keyframes rip-stub {
  0% { transform: translateX(var(--pull, 0px)) rotate(var(--tilt, 0deg)); }
  28% { transform: translate(3px,-1px) rotate(-7deg); opacity: 1; }
  56%, 100% { clip-path: polygon(0 0,100% 0,100% 100%,0 100%,3% 89%,0 79%,4% 69%,0 58%,3% 48%,0 36%,3% 25%,0 13%); }
  100% { transform: translate(14px,18px) rotate(18deg) scale(.83); opacity: 0; }
}
@keyframes paper-tug { 30% { transform: translateX(2px) rotate(-.4deg); } 70% { transform: translateX(-1px); } }
@keyframes check-pop { 0% { opacity: 0; transform: scale(.65); } 70% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
.explore { margin-top: clamp(1.65rem, 3.6vw, 2.6rem); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.13; letter-spacing: -.045em; }
.steps { display: grid; gap: .54rem; margin-top: .88rem; }
.step {
  display: flex; align-items: center; gap: 1rem; padding: .63rem 1rem; min-height: 3.55rem;
  border-radius: .47rem; color: var(--deep); font-weight: 700;
  font-size: clamp(1.06rem, 1.9vw, 1.25rem); letter-spacing: -.025em; line-height: 1.25;
}
.step svg { width: 2.18rem; height: 2.18rem; flex: none; padding: .35rem; border-radius: .36rem; background: var(--icon-fill); color: var(--icon-ink); }
.events, .giving { --icon-fill: var(--teal); --icon-ink: var(--iron); }
.groups { --icon-fill: var(--mist); --icon-ink: var(--deep); }
.prayer { --icon-fill: var(--deep); --icon-ink: var(--white); }
.lower { display: grid; gap: 1.7rem; margin-top: clamp(2rem, 4vw, 3.3rem); }
.again, .more { min-width: 0; border-radius: .7rem; padding: clamp(1.2rem, 3vw, 2rem); }
.schedule { display: grid; gap: .63rem; margin-top: 1.15rem; }
.schedule div { display: grid; grid-template-columns: minmax(4.2rem,.55fr) 1.45fr; gap: .5rem; }
.schedule dt { font-weight: 700; }
.schedule small { display: block; margin-top: .12rem; color: var(--iron); font-size: .875rem; }
.address { display: flex; min-height: 2.75rem; align-items: center; gap: .82rem; border-top: 1px solid var(--line); color: var(--deep); margin-top: 1rem; padding-top: .7rem; }
.pin { position: relative; display: inline-block; flex: none; width: .83rem; height: .83rem; border: .106rem solid currentColor; border-radius: 50% 50% 50% 0; transform: translateY(-.12rem) rotate(-45deg); }
.pin::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: currentColor; }
.more-links { display: grid; margin-top: .8rem; }
.more-links a { display: flex; align-items: center; min-height: 2.9rem; width: fit-content; max-width: 100%; font-weight: 600; }
footer { border-top: 1px solid var(--line); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 0 1rem; padding-block: 1rem; font-size: .875rem; flex-wrap: wrap; color: var(--iron); }
.foot p { font-weight: 700; }
.foot a { min-height: 2.75rem; display: inline-flex; align-items: center; }
@media (min-width: 46rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .step { min-height: 4.2rem; padding-inline: 1.3rem; }
  .lower { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 1rem; }
}
@media (max-width: 40.6rem) {
  .welcome { min-height: clamp(13rem, 58vw, 18rem); }
  .welcome picture img { object-position: 56% 47%; }
  .welcome::after { background: linear-gradient(0deg, rgb(67 67 65 / 84%), rgb(33 103 95 / 40%) 54%, transparent 90%), linear-gradient(90deg, rgb(67 67 65 / 40%), transparent 75%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  a:hover, a:active, .hello-ticket .ticket-stub { transform: none; }
  .hello-ticket.tearing .ticket-stub { opacity: 0; }
  .hello-ticket.tearing .ticket-check { opacity: 1; }
}
