@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

html {
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f5ef;
  color: #1a1a1a;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

.bg-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)), url(../images/header.png);
  background-size: cover;
  background-position: center
}

.text-primary-dark {
  color: #1a3636
}

.bg-primary-dark {
  background-color: #1a3636
}

.bg-wine {
  background-color: #5c2433
}

[data-gsap],
[data-gsap-item],
[data-gsap-parallax] {
  will-change: transform, opacity;
}

.split-char {
  will-change: transform, opacity;
}

.hero-mobile-bar {
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(10, 18, 18, 0.48), rgba(10, 18, 18, 0.18));
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  text-decoration: none;
  line-height: 0;
}

.header-logo-image {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.header-logo-image--desktop {
  height: clamp(3.75rem, 5vw, 5rem);
}

.header-logo-image--mobile {
  height: 3.75rem;
}

.header-logo-image--white {
  filter: brightness(0) invert(1);
}

.header-logo-image--dark {
  filter: brightness(0) saturate(100%);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top left, rgba(92, 36, 51, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(18, 59, 57, 0.2), transparent 34%),
    #f7f5ef;
  color: #1a3636;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-sheet {
  min-height: 100%;
  padding: 1rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(18, 59, 57, 0.12);
  padding: 1rem 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  line-height: 1;
  color: #1a3636;
  text-decoration: none;
}

.mobile-menu-link::after {
  content: "↗";
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  opacity: 0.62;
}

body.mobile-menu-open {
  overflow: hidden;
}

.menu-orbit-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.menu-orbit__divider {
  width: 1px;
  height: 8.5rem;
  background: rgba(26, 26, 26, 0.75);
}

.menu-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(82vw, 31rem);
  aspect-ratio: 1;
  color: #1a1a1a;
  text-decoration: none;
}

.menu-orbit__text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: menu-orbit-spin 18s linear infinite;
}

.menu-orbit__text text {
  fill: #1a1a1a;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.8vw, 1.55rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.menu-orbit__ring {
  position: absolute;
  inset: 12%;
  border: 0.85rem solid #123b39;
  border-radius: 9999px;
}

.menu-orbit__image-wrap {
  position: relative;
  z-index: 1;
  width: 63%;
  aspect-ratio: 1;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.14);
}

.menu-orbit__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 400ms ease;
}

.menu-orbit:hover .menu-orbit__image-wrap img {
  transform: scale(1.14);
}

@keyframes menu-orbit-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .menu-orbit__divider {
    height: 5rem;
  }

  .menu-orbit__ring {
    inset: 14%;
    border-width: 0.65rem;
  }

  .menu-orbit__image-wrap {
    width: 58%;
  }
}

.instagram-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(92, 36, 51, 0.1), transparent 30%),
    radial-gradient(circle at bottom right, rgba(18, 59, 57, 0.16), transparent 32%),
    linear-gradient(180deg, #f7f5ef 0%, #efe8db 100%);
}

.instagram-shell {
  position: relative;
  width: 100%;
  padding: 0;
}

.instagram-grid {
  display: grid;
  gap: 2rem;
  padding-inline: 1rem;
}

.instagram-copy {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.instagram-showcase {
  min-width: 0;
}

.instagram-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(18, 59, 57, 0.14);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #1a3636;
}

.instagram-badge::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #5c2433, #d8a54c, #123b39);
}

.instagram-profile-card {
  border-radius: 1.75rem;
  box-shadow: 0 18px 40px rgba(18, 59, 57, 0.07);
}

.instagram-profile-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.instagram-avatar-ring {
  display: inline-flex;
  padding: 3px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #5c2433, #d8a54c 48%, #123b39);
}

.instagram-avatar-ring img {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid #fff;
  background: #fff;
}

.instagram-stat {
  border-radius: 1.15rem;
  border: 1px solid rgba(18, 59, 57, 0.1);
  background: rgba(247, 245, 239, 0.95);
  padding: 0.95rem 0.85rem;
  text-align: center;
}

.instagram-highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.instagram-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(18, 59, 57, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #123b39;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.instagram-highlight::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #5c2433, #d8a54c, #123b39);
  flex-shrink: 0;
}

.instagram-feed {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16.5rem, 84vw);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1rem;
  scrollbar-width: none;
}

.instagram-feed::-webkit-scrollbar {
  display: none;
}

.instagram-card {
  position: relative;
  min-height: 21rem;
  border-radius: 1.85rem;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: 0 22px 55px rgba(18, 59, 57, 0.16);
  isolation: isolate;
}

.instagram-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 17, 17, 0.08) 0%, rgba(9, 17, 17, 0.68) 100%);
  z-index: 1;
}

.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.instagram-card:hover img {
  transform: scale(1.07);
}

.instagram-card__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.4rem;
}

.instagram-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.instagram-card__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
}

.instagram-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.instagram-note {
  color: #6b6b6b;
  font-size: 0.82rem;
  line-height: 1.55;
}

.contact-section {
  overflow-x: clip;
  background:
    radial-gradient(circle at top right, rgba(92, 36, 51, 0.08), transparent 28%),
    radial-gradient(circle at bottom left, rgba(18, 59, 57, 0.14), transparent 34%),
    linear-gradient(180deg, #f3ede2 0%, #f7f5ef 100%);
}

.contact-shell {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 2rem;
  backdrop-filter: blur(12px);
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(18, 59, 57, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #1a3636;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.contact-badge::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #5c2433, #d8a54c, #123b39);
}

.contact-card {
  border-radius: 1.5rem;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 14px 34px rgba(18, 59, 57, 0.06);
}

.contact-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(18, 59, 57, 0.14), rgba(92, 36, 51, 0.14));
  color: #123b39;
}

.contact-map-frame {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  border: 0;
  filter: saturate(0.9) contrast(1.02);
}

.events-section {
  overflow-x: clip;
  background-color: #f7f5ef;
}

.events-shell {
  max-width: 100%;
  margin: 0 auto;
  padding-inline: 1rem;
}

.events-heading {
  margin-bottom: 3.25rem;
  border-top: 1px solid rgba(26, 26, 26, 0.72);
  padding-top: 1.6rem;
}

.events-kicker {
  margin-bottom: 0.85rem;
  color: #5c2433;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.events-title {
  color: #1a1a1a;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 0.96;
}

.events-grid {
  display: grid;
  gap: 1rem;
}

.event-card {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border-radius: 0.3rem;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.event-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.event-card:hover img {
  transform: scale(1.06);
}

.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(7, 10, 10, 0.12) 0%, rgba(7, 10, 10, 0.66) 100%);
}

.event-card--emerald::after {
  background: linear-gradient(180deg, rgba(12, 72, 58, 0.34) 0%, rgba(6, 38, 31, 0.82) 100%);
}

.event-card--copper::after {
  background: linear-gradient(180deg, rgba(79, 40, 10, 0.22) 0%, rgba(31, 14, 6, 0.78) 100%);
}

.event-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 24rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.65rem;
}

.event-card__topline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  border-radius: 9999px;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-card__topline::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #fff;
  opacity: 0.92;
}

.event-card__meta {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.event-card__title {
  max-width: 11ch;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.event-card__subtitle {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.45;
}

.event-card__footer strong {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .header-logo-link {
    max-width: calc(100vw - 6.75rem);
  }

  .header-logo-image--mobile {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 3.75rem;
  }

  .contact-map-frame {
    min-height: 20rem;
  }
}

@media (max-width: 1023px) {
  .events-shell {
    padding-inline: 1rem;
  }

  .contact-shell {
    width: auto;
    margin-inline: 1rem;
  }

  .instagram-grid {
    gap: 1.5rem;
    padding-inline: 1rem;
  }

  .instagram-profile-card {
    border-radius: 1.35rem;
  }

  .instagram-profile-head {
    flex-direction: column;
  }

  .instagram-highlight-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .instagram-highlight-list::-webkit-scrollbar {
    display: none;
  }

  .instagram-highlight {
    white-space: nowrap;
  }

  .instagram-card {
    min-height: 20rem;
    border-radius: 1.35rem;
    box-shadow: 0 16px 36px rgba(18, 59, 57, 0.12);
  }

  .instagram-card__content {
    padding: 1.15rem;
  }

  .instagram-card__title {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }
}

@media (min-width: 1024px) {
  .instagram-shell,
  .contact-shell {
    margin-inline: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .instagram-grid {
    gap: 2.5rem;
    padding-inline: 2.5rem;
  }

  .instagram-feed {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-rows: repeat(2, minmax(18rem, 1fr));
    overflow: visible;
  }

  .instagram-card--hero {
    grid-row: 1 / span 2;
    min-height: 100%;
  }

  .events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-card,
  .event-card__inner {
    min-height: 25rem;
  }
}
