:root {
  --cream: #fdf9f4;
  --cream-deep: #f3ebe2;
  --blush: #f6e6e0;
  --wine: #6e1a2c;
  --wine-soft: #7a2436;
  --rose: #9a3a4a;
  --line: rgba(110, 26, 44, 0.32);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: var(--cream);
  color: var(--wine);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #f0d4d2;
  color: var(--wine);
}

.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, #fffdf9 0%, var(--cream) 58%, var(--cream-deep) 100%);
}

.floral {
  position: absolute;
  z-index: 0;
  display: block;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.floral-tl {
  top: -1.2rem;
  left: -1.2rem;
  width: min(22rem, 38vw);
}

.floral-br {
  right: -1.2rem;
  bottom: -1.2rem;
  width: min(22rem, 38vw);
}

.menu {
  position: relative;
  z-index: 1;
  width: min(36rem, calc(100% - 5rem));
  margin: 0 auto;
  padding-top: max(2.4rem, calc(env(safe-area-inset-top, 0px) + 1.6rem));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  padding-bottom: max(clamp(6rem, 12vh, 8rem), calc(env(safe-area-inset-bottom, 0px) + 6rem));
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  text-align: center;
}

h2 {
  margin: 0 0 1.35rem;
  max-width: 100%;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--wine);
  overflow-wrap: break-word;
  text-wrap: balance;
}

.divider {
  display: flex;
  align-items: center;
  width: min(100%, 19rem);
  margin: 1.55rem auto 1.45rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1 1 auto;
  min-width: 1.5rem;
  height: 1px;
  background: var(--line);
}

.jewel {
  width: 6px;
  height: 6px;
  margin: 0 0.7rem;
  border: 1px solid var(--wine-soft);
  transform: rotate(45deg);
  opacity: 0.7;
  flex-shrink: 0;
}

.masthead {
  margin: 0 auto 0.15rem;
}

.brand-title {
  margin: 0;
  font-size: 0;
  line-height: 0;
  font-weight: 400;
}

.brand-logo {
  display: block;
  width: min(23rem, 90%);
  height: auto;
  margin: 0 auto;
  background: transparent;
}

p {
  margin: 0 0 1.15rem;
  max-width: 100%;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  font-weight: 500;
  color: var(--wine-soft);
  overflow-wrap: break-word;
}

.emphasis {
  margin-top: 1.55rem;
  margin-bottom: 0.15rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.38rem);
  line-height: 1.55;
  color: var(--wine);
  text-wrap: balance;
}

.tagline {
  margin: 0;
  max-width: 100%;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--wine);
  overflow-wrap: anywhere;
}

.menu-button {
  display: inline-block;
  margin-top: 1.85rem;
  padding: 1.05rem 2.6rem 1rem;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: var(--cream);
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}

.menu-button:hover,
.menu-button:focus-visible {
  background: var(--wine-soft);
  border-color: var(--wine-soft);
  color: var(--cream);
  outline: none;
}

.gallery {
  width: min(50rem, calc(100vw - 3rem));
  margin: 0.35rem auto 0.55rem;
  margin-left: calc(50% - min(25rem, 50vw - 1.5rem));
}

.slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(110, 26, 44, 0.14);
  background: var(--blush);
}

.slide {
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 1.5px solid var(--wine-soft);
  background: transparent;
  transform: rotate(45deg);
  opacity: 0.4;
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--wine);
  opacity: 0.85;
}

@media (max-width: 899px) {
  .floral-tl,
  .floral-br {
    width: clamp(8.75rem, 36vw, 18rem);
  }

  .floral-tl {
    top: -0.6rem;
    left: -0.85rem;
  }

  .floral-br {
    right: -0.85rem;
    bottom: -0.6rem;
  }

  .menu {
    width: min(36rem, calc(100% - 2.5rem));
    padding-top: max(2.1rem, calc(env(safe-area-inset-top, 0px) + 1.4rem));
    padding-right: max(1.15rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(7.5rem, calc(env(safe-area-inset-bottom, 0px) + 6.75rem));
    padding-left: max(1.15rem, env(safe-area-inset-left, 0px));
  }

  h2 {
    font-size: clamp(1.15rem, 5.2vw, 1.6rem);
    letter-spacing: clamp(0.1em, 1.8vw, 0.18em);
  }

  p {
    font-size: clamp(1.02rem, 3.8vw, 1.16rem);
    line-height: 1.62;
  }

  .emphasis {
    font-size: clamp(1.08rem, 4.2vw, 1.28rem);
  }

  .tagline {
    font-size: clamp(0.58rem, 2.5vw, 0.7rem);
    letter-spacing: clamp(0.12em, 2.4vw, 0.22em);
  }

  .menu-button {
    padding: 0.95rem 2.15rem 0.9rem;
    font-size: 0.92rem;
    letter-spacing: 0.2em;
  }

  .divider {
    width: min(100%, 16.5rem);
    margin: 1.35rem auto 1.25rem;
  }

  .brand-logo {
    width: min(18.5rem, 86%);
  }

  .gallery {
    width: min(50rem, calc(100vw - 2.2rem));
    margin-left: calc(50% - min(25rem, 50vw - 1.1rem));
  }
}

@media (max-width: 480px) {
  .floral-tl,
  .floral-br {
    width: clamp(8.25rem, 40vw, 11.25rem);
    opacity: 0.94;
  }

  .menu {
    width: min(36rem, calc(100% - 2rem));
    padding-top: max(1.75rem, calc(env(safe-area-inset-top, 0px) + 1.2rem));
    padding-bottom: max(8.25rem, calc(env(safe-area-inset-bottom, 0px) + 7.5rem));
  }

  h2 {
    line-height: 1.4;
  }

  p {
    margin-bottom: 1.05rem;
  }

  .brand-logo {
    width: min(16.5rem, 88%);
  }
}

@media (max-width: 340px) {
  .floral-tl,
  .floral-br {
    width: 7.85rem;
  }

  .menu {
    width: calc(100% - 1.6rem);
  }

  h2 {
    font-size: 1.12rem;
    letter-spacing: 0.1em;
  }

  .tagline {
    letter-spacing: 0.1em;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .floral-tl,
  .floral-br {
    width: min(11rem, 28vw);
  }

  .menu {
    width: min(36rem, calc(100% - 6rem));
    padding-top: max(1.4rem, calc(env(safe-area-inset-top, 0px) + 1rem));
    padding-bottom: max(3.75rem, calc(env(safe-area-inset-bottom, 0px) + 3rem));
  }
}
