/* Visit Us — closing conversion block: full-bleed exterior + Jevika & Joy inset + booking */

.visit {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  font-family: "Fredoka", "Poppins", sans-serif;
  padding: 6rem 5vw 5rem;
}

.visit__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.visit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.94) 8%, rgba(10, 10, 10, 0.62) 42%, rgba(10, 10, 10, 0.12) 72%, rgba(10, 10, 10, 0) 100%);
}

.visit__inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: end;
}

/* scrapbook cluster of tilted photo polaroids, floated above the copy column on wide screens */
.visit__inset {
  position: absolute;
  top: -17rem;
  right: 0;
  width: 450px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 18px;
  z-index: 2;
}

.visit__photo {
  position: relative;
  width: 205px;
  margin: 0;
  flex: 0 0 auto;
}

.visit__photo:nth-child(1) { transform: rotate(-3deg); }
.visit__photo:nth-child(2) { transform: rotate(2.5deg); }
.visit__photo:nth-child(3) { transform: rotate(2deg); }
.visit__photo:nth-child(4) { transform: rotate(-2.5deg); }

.visit__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
  border: 5px solid #fff;
  box-shadow: 6px 9px 0 rgba(0, 172, 220, 0.35), 0 6px 18px rgba(0, 0, 0, 0.5);
}

.visit__inset-flag {
  position: absolute;
  top: -10px;
  left: -10px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  transform: rotate(-6deg);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%, 8px 50%);
  white-space: nowrap;
  z-index: 3;
}

.visit__kicker {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.2rem;
  transform: rotate(-2deg);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
  margin-bottom: 1.1rem;
}

.visit__title {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.5);
}

.visit__title em { font-style: normal; color: var(--cyan); }

.visit__text {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Poppins", sans-serif;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 1.8rem;
}

.visit__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.visit__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.visit__cta--pink {
  background: var(--pink);
  color: #fff;
  box-shadow: 5px 7px 0 rgba(0, 172, 220, 0.55);
}

.visit__cta--cyan {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 5px 7px 0 rgba(255, 222, 89, 0.55);
}

.visit__cta:hover { transform: translate(-2px, -2px); }

/* torn-ticket address/hours card */
.visit__ticket {
  position: relative;
  background: #141414;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 1.5rem 1.7rem;
  transform: rotate(-1deg);
}

.visit__ticket-row {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.5;
}

.visit__ticket-row + .visit__ticket-row { margin-top: 0.9rem; }

.visit__ticket-row svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--yellow); margin-top: 0.15rem; }

.visit__ticket-row a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.visit__ticket-row a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  /* let the photo strip dip past the section edge so it straddles the footer seam */
  .visit { min-height: auto; padding: 12rem 6vw 0; overflow: visible; z-index: 1; }
  .visit__inner { grid-template-columns: 1fr; gap: 2rem; }
  .visit__inset {
    position: relative;
    top: auto;
    right: auto;
    z-index: 2;
    width: min(400px, 100%);
    margin: 1rem auto 0;
    transform: translateY(3.5rem); /* dips down over the footer's pink border */
  }
  /* headroom so the dipped photos land in empty footer space, above the nav.
     Sibling selector (0,2,0) beats footer.css's `.site-footer` padding shorthand,
     which loads later and would otherwise win. */
  .visit + .site-footer { padding-top: 7rem; }
}

@media (max-width: 560px) {
  .visit { padding: 11rem 6vw 0; } /* no bottom pad so the photo strip can dip onto the seam */
  .visit__ctas { flex-direction: column; align-items: stretch; }
  .visit__cta { justify-content: center; }
}
