:root {
  --plum: #39153a;
  --plum-deep: #2c102e;
  --ink: #391538;
  --clay: #ad6547;
  --sand: #ceb6a0;
  --sand-hover: #ddc8b4;
  --mist: #d4ced8;
  --mist-deep: #b7aebf;
  --cream: #f3ece3;
  --white: #f8f4f1;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 1.35rem;
  --header-h: 4.75rem;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  background: var(--plum-deep);
  overflow-x: hidden;
}

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

h1,
h2,
.btn,
.ministry-card p,
.locator-soon,
.footer-copy,
.footer-social p,
.site-nav a {
  font-family: var(--serif);
}

h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--sand);
  color: var(--plum);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.45rem 1.65rem 0.55rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--plum);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--sand-hover);
}

.btn:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 1.1rem 6vw 0;
  pointer-events: none;
}

.logo {
  position: relative;
  z-index: 30;
}

.site-header > * {
  pointer-events: auto;
}

.logo img,
.footer-logo img {
  width: 2.85rem;
  height: auto;
  filter: drop-shadow(0 1px 8px rgba(57, 21, 58, 0.18));
}

.nav-toggle {
  position: relative;
  z-index: 30;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.32rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  margin-left: auto;
  background: #fff;
  box-shadow: 0 1px 2px rgba(57, 21, 58, 0.35);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle[aria-expanded="true"] span {
  background: #fff;
  box-shadow: none;
}

.site-nav {
  position: fixed;
  inset: 0;
  background: var(--plum-deep);
  display: grid;
  place-items: center;
  z-index: 25;
}

.site-nav[hidden] {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.site-nav a {
  display: inline-block;
  padding: 0.55rem 1rem;
  color: var(--cream);
  text-decoration: none;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #d4ced8;
  overflow: hidden;
  padding: calc(var(--header-h) + 0.5rem) 0 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 4vh 8vw 1.5rem;
  max-width: 20rem;
}

.hero h1 {
  color: var(--plum);
  font-size: clamp(3.1rem, 9vw, 5.4rem);
  margin-bottom: 1.4rem;
}

.hero-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.hero-art picture,
.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
}

.kosher,
.ministry {
  background: var(--plum);
  color: var(--cream);
}

.kosher {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 8vw 3.5rem;
}

.kosher h2,
.ministry h2,
.locator h2 {
  font-size: clamp(2.15rem, 4.2vw, 3.15rem);
  font-weight: 500;
}

.kosher-copy p {
  max-width: 28rem;
  margin: 1.25rem 0 1.7rem;
  font-size: 1.02rem;
  font-weight: 300;
  color: #eadfd8;
}

.kosher-photo img,
.ministry-card img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.kosher-photo img {
  aspect-ratio: 5 / 4;
}

.ministry-card img {
  aspect-ratio: 16 / 10;
}

.ministry {
  padding: 1.5rem 8vw 5rem;
  text-align: center;
}

.ministry h2 {
  margin-bottom: 2.2rem;
}

.ministry-grid {
  display: grid;
  gap: 2.5rem;
}

.ministry-card p {
  margin: 1rem 0 0.95rem;
  font-size: 1.15rem;
}

.locator {
  background: var(--clay);
  color: var(--cream);
  padding: 3.5rem 8vw 4.5rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
}

.locator h2 {
  margin-bottom: 1.5rem;
}

.locator-stage {
  position: relative;
  flex: 1;
  min-height: 28rem;
  display: grid;
  place-items: center;
}

.locator-map {
  width: min(100%, 38rem);
  pointer-events: none;
  user-select: none;
  filter: grayscale(1) contrast(0.92) brightness(0.78);
  opacity: 0.55;
}

.locator-map img {
  width: 100%;
}

.locator-soon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  font-size: clamp(1.9rem, 4.75vw, 3.23rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 28px rgba(57, 21, 58, 0.28);
  pointer-events: none;
  transform: translateX(-0.6rem);
}

.site-footer {
  background: var(--plum);
  color: var(--cream);
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
  padding: 2.4rem 8vw 1.6rem;
}

.footer-copy p,
.footer-social p,
.footer-legal {
  font-size: 0.98rem;
  line-height: 1.45;
}

.footer-copy p + p {
  margin-top: 0.15rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.55rem;
}

.social-links a {
  color: var(--cream);
  display: grid;
  place-items: center;
}

.social-links a:hover {
  color: var(--sand);
}

.footer-legal {
  grid-column: 1 / -1;
  opacity: 0.7;
  font-size: 0.78rem;
  font-family: var(--sans);
  max-width: 40rem;
}

@media (min-width: 860px) {
  .hero {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .hero-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 2400 / 1199;
  }

  .hero-art picture,
  .hero-art img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center center;
  }

  .hero-copy {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(26vw, 20rem);
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2vw 6% 7vw;
  }

  .kosher {
    grid-template-columns: 1fr 1.05fr;
    gap: 4vw;
    padding: 4.75rem 10vw 3.2rem;
  }

  .ministry {
    padding: 2rem 10vw 5.5rem;
  }

  .ministry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    max-width: 58rem;
    margin: 0 auto;
  }

  .locator {
    padding: 3.8rem 10vw 5rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    text-align: left;
    justify-items: stretch;
    padding: 2.1rem 10vw 1.4rem;
  }

  .footer-social {
    text-align: right;
    justify-self: end;
  }

  .social-links {
    justify-content: flex-end;
  }

  .footer-logo {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav-toggle span {
    transition: none;
  }
}
