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

/* Hide legacy Wix header + top notify strip */
#comp-mb7ogqrp,
#notify-section-top,
.header-notify-divider {
  display: none !important;
}

.jj-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border-bottom: none;
}

.jj-site-header__inner {
  position: relative;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 16px;
}

.jj-brand {
  position: relative;
  z-index: 2;
  grid-column: 1;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -1.5px;
  text-decoration: none;
  color: #1f1c18;
  white-space: nowrap;
  justify-self: start;
}

.jj-nav {
  position: static;
  grid-column: 2;
  justify-self: center;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: max-content;
  max-width: none;
  transform: none;
  pointer-events: auto;
}

.jj-nav__link {
  color: #1f1c18;
  text-decoration: none;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.75px;
  transition: color 0.2s ease;
}

.jj-nav__link:hover {
  color: #a98b5f;
}

.jj-header-actions {
  position: relative;
  z-index: 2;
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

@media (min-width: 901px) {
  #jj-header-notify-btn {
    order: 1;
  }

  #jj-wishlist-btn {
    order: 2;
  }

  #jj-bag-btn {
    order: 3;
  }

  #jj-profile-link {
    order: 4;
  }

  #jj-menu-btn {
    order: 5;
  }
}

.jj-icon-btn,
.jj-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: #1f1c18;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.jj-icon-btn:hover,
.jj-menu-btn:hover {
  color: #a98b5f;
}

.jj-icon-btn svg,
.jj-menu-btn svg {
  width: 16px;
  height: 16px;
}

.jj-menu-btn svg {
  width: 20px;
  height: 20px;
}

.jj-notify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid #1f1c18;
  border-radius: 0;
  background: transparent;
  color: #1f1c18;
  font-family: "Jost", system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.jj-notify-btn:hover {
  background: #1f1c18;
  color: #fff;
}

.jj-menu-btn {
  display: none;
}

.jj-hero {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
  /* White under the fixed header — avoids a black gap from padding-top */
  background: #ffffff !important;
  padding-top: calc(72px + env(safe-area-inset-top, 0px)) !important;
}

.jj-hero__frame {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  position: relative;
}

.jj-hero__visual {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  width: 100%;
  aspect-ratio: 1248 / 832;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.jj-hero__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("../assets/images/optimized/0rISg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: none;
  pointer-events: none;
}

.jj-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
  transform: none;
  z-index: 1;
}

.jj-hero__inner {
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 24px 77px;
  box-sizing: border-box;
  pointer-events: none;
}

.jj-hero__content {
  text-align: center;
  transform: none;
  pointer-events: auto;
}

.jj-hero__eyebrow {
  margin: 0 0 14px;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 14.4px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.jj-hero__cta-btn {
  display: inline-block;
  margin: 0 0 19px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  background: transparent;
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 14.4px;
  font-weight: 300;
  letter-spacing: 4.2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.jj-hero__cta-btn:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: none;
}

.jj-hero__cta-btn:active {
  transform: none;
}

.jj-hero__link-wrap {
  padding-left: 0;
}

.jj-hero__cta {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 14.4px;
  font-weight: 300;
  letter-spacing: 4.2px;
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.2s ease;
}

.jj-hero__cta:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Waitlist modal */
.jj-waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.jj-waitlist-modal.is-open {
  display: flex;
}

.jj-waitlist-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.jj-waitlist-modal__panel {
  position: relative;
  width: 100%;
  max-width: 28rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgb(0 0 0 / 0.25);
  overflow: hidden;
  padding: 36px;
}

.jj-waitlist-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.jj-waitlist-modal__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #1f1c18;
}

.jj-waitlist-modal__sub {
  margin: 8px 0 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: #5c5248;
}

.jj-waitlist-modal__close {
  border: none;
  background: transparent;
  color: #5c5248;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.jj-waitlist-modal__close:hover {
  color: #1f1c18;
}

.jj-waitlist-notify {
  padding: 0;
  margin: 0;
  background: transparent;
}

.jj-waitlist-notify .notify-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jj-waitlist-notify .notify-input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #d1c9b8;
  border-radius: 16px;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: #1f1c18;
  margin-bottom: 20px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.jj-waitlist-notify .notify-input:focus {
  outline: none;
  border-color: #a98b5f;
  box-shadow: 0 0 0 3px rgba(169, 139, 95, 0.1);
}

.jj-waitlist-notify .notify-input::placeholder {
  color: #9a9084;
}

.jj-waitlist-notify .notify-btn {
  width: 100%;
  justify-content: center;
  padding: 15px 20px;
  border: none;
  border-radius: 16px;
  background: rgba(31, 28, 24, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.6px;
  cursor: pointer;
  transition: background 0.4s cubic-bezier(0.23, 1, 0.32, 1), transform 0.15s ease;
}

.jj-waitlist-notify .notify-btn:hover,
.jj-waitlist-notify .notify-btn:disabled {
  background: #1f1c18;
}

.jj-waitlist-notify .notify-btn:active {
  transform: scale(0.985);
}

.jj-waitlist-notify .notify-btn:disabled {
  cursor: not-allowed;
}

.jj-waitlist-note {
  margin: 16px 0 0;
  text-align: center;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #9a9084;
}

.jj-waitlist-notify .notify-success {
  display: none;
  text-align: center;
  padding: 32px 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: #5c5248;
}

.jj-waitlist-notify .notify-success.visible {
  display: block;
}

.jj-waitlist-notify .notify-success::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: #f8f4ed;
  color: #a98b5f;
  font-size: 30px;
  line-height: 1;
}

.jj-waitlist-notify .notify-success svg {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .jj-hero__content,
  .jj-hero__media,
  .jj-hero__gradient {
    transform: none !important;
    will-change: auto;
  }
}

@media (max-width: 900px) {
  .jj-site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
  }

  .jj-brand {
    position: relative;
    z-index: 2;
    grid-column: 1;
    justify-self: start;
    flex: 0 0 auto;
    min-width: 0;
    font-size: clamp(15px, 3.8vw, 22px);
    letter-spacing: -0.5px;
    white-space: nowrap;
  }

  .jj-nav {
    position: static;
    grid-column: 2;
    justify-self: center;
    top: auto;
    left: auto;
    right: auto;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 2.8vw, 28px);
    width: max-content;
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .jj-nav.is-open {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .jj-nav__link {
    pointer-events: auto !important;
    width: auto;
    padding: 0;
    text-align: center;
    font-size: clamp(9px, 2.4vw, 12px);
    letter-spacing: clamp(0.8px, 0.35vw, 1.75px);
    white-space: nowrap;
  }

  .jj-header-actions {
    grid-column: 3;
    justify-self: end;
    flex: 0 0 auto;
    gap: 0;
    align-self: center;
    /* Let the notify CTA position against __inner (full header bar), not this icon row. */
    position: static;
  }

  .jj-icon-btn--desktop {
    display: none;
  }

  .jj-header-actions > .jj-icon-btn,
  #jj-wishlist-btn,
  #jj-bag-btn,
  #jj-profile-link {
    order: initial;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    flex-shrink: 0;
  }

  #jj-wishlist-btn {
    order: 1;
  }

  #jj-bag-btn {
    order: 2;
  }

  #jj-profile-link {
    order: 3;
  }

  .jj-header-actions > .jj-icon-btn svg {
    width: 18px;
    height: 18px;
  }

  #jj-menu-btn,
  .jj-menu-btn {
    display: none !important;
  }

  #jj-header-notify-btn,
  .jj-notify-btn {
    position: absolute;
    top: calc(100% + 12px);
    right: 16px;
    left: auto;
    z-index: 1;
    order: initial;
    display: inline-flex;
    height: 34px;
    min-height: 34px;
    padding: 0 14px;
    font-size: 10px;
    letter-spacing: 0.2em;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(31, 28, 24, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      visibility 0.28s ease;
  }

  .jj-site-header.is-scrolled #jj-header-notify-btn,
  .jj-site-header.is-scrolled .jj-notify-btn {
    display: inline-flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .jj-hero__visual {
    aspect-ratio: auto;
    min-height: max(560px, calc(100svh - 72px));
  }

  .jj-hero__media {
    background-position: center 40%;
  }

  .jj-hero__inner {
    padding-bottom: 58px;
  }
}

@media (max-width: 420px) {
  .jj-notify-btn {
    right: 14px;
    top: calc(100% + 10px);
    height: 32px;
    min-height: 32px;
    padding: 0 10px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .jj-site-header__inner {
    padding: 0 14px;
  }
}

@media (min-width: 768px) {
  .jj-hero__inner {
    padding-bottom: 96px;
  }
}

#comp-mmq82nh7,
#comp-mmq8486o,
#comp-mmq84fyo {
  scroll-margin-top: 96px;
}
