/* Pre-launch accessibility corrections. */
.visit-details > div > span { color: #b52b78; }
:is(a, button, summary):focus-visible { outline: 3px solid #863860; outline-offset: 3px; }
footer :is(a, button):focus-visible { outline-color: #f9c6df; }
.category-thumbnail { object-fit: cover; }
.visit-copy .visit-intro {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--ink);
  line-height: 1.3;
}

.visit-intro span {
  display: block;
  color: #000000;
  font-family: "Berkshire Swash", "Playfair Display", serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.visit-intro small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.loyalty-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.loyalty-copy h2 {
  font-family: "Berkshire Swash", "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: .01em;
  text-shadow: 0 3px 0 rgba(33, 23, 19, .14);
}

.loyalty-copy h3 {
  margin: 12px 0 18px;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}

.loyalty-benefits li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
}

.loyalty-benefits li::before {
  content: "♥";
  position: absolute;
  left: 0;
  color: var(--ink);
}

.loyalty-benefits strong {
  display: block;
}

.loyalty-pass .stamp-row {
  display: grid;
  grid-template-columns: repeat(5, 36px);
}

.loyalty-pass .stamp-row i {
  width: 36px;
  height: 36px;
}

@media (max-width: 650px) {
  .loyalty-benefits {
    grid-template-columns: 1fr;
  }
}

.section .gallery-title-swash {
  font-family: "Berkshire Swash", "Playfair Display", serif;
  font-weight: 400;
}

/* Shared hero-inspired decoration, contained inside each section. */
.section > .section-decoration,
footer > .section-decoration {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.section > .site-ribbon { display: none; }

footer { isolation: isolate; }
footer > :not(.section-decoration) { position: relative; z-index: 1; }

.section-swirl {
  position: absolute;
  width: 240px;
  height: 240px;
  opacity: .48;
}

.section-swirl path {
  fill: none;
  stroke: currentColor;
  stroke-width: 15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-swirl-pink {
  color: var(--pink);
  top: 12px;
  left: -120px;
  transform: rotate(-22deg);
}

.section-swirl-blue {
  color: var(--blue);
  right: -115px;
  bottom: 12px;
  transform: rotate(118deg);
}

.section-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(33, 23, 19, .09);
  opacity: .85;
}

.section-dot-pink { width: 54px; height: 54px; right: 20px; top: 25%; background: var(--pink); }
.section-dot-blue { width: 76px; height: 76px; left: -18px; top: 68%; background: var(--blue); }
.section-dot-small-pink { width: 24px; height: 24px; left: 23%; bottom: 24px; background: var(--pink); }
.section-dot-small-blue { width: 46px; height: 46px; right: 22%; top: 22px; background: var(--blue); }

.gallery-section .section-swirl { opacity: .65; }

@media (max-width: 700px) {
  .section-swirl { width: 165px; height: 165px; }
  .section-swirl-pink { left: -115px; }
  .section-swirl-blue { right: -115px; }
  .section-dot-pink { right: -36px; }
  .section-dot-blue { left: -57px; }
  .section-dot-small-blue { width: 24px; height: 24px; top: 18px; }
  .section-dot-small-pink { bottom: 18px; }
}

body {
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  z-index: 999;
  inset: 0;
  pointer-events: none;
  background-image: url("Photos/optimized/swirls-of-delights-700.png");
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: min(92vw, 1120px) auto;
  opacity: .045;
  mix-blend-mode: multiply;
}

.site-header nav {
  margin-left: 0;
  font-size: 1.08rem;
}

.site-header .header-order {
  margin-left: auto;
}

.call-order {
  flex-direction: column;
  gap: 0;
  padding: 8px 20px;
  line-height: 1.15;
}

.call-order span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.call-order strong {
  font-size: .96rem;
}

.call-order small {
  margin-top: 2px;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .025em;
  opacity: .82;
  white-space: nowrap;
}

.ordering-soon {
  width: fit-content;
  margin: 24px 0 0;
  padding: 10px 16px;
  border-left: 4px solid var(--pink);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .62);
  color: var(--muted);
  font-size: .9rem;
}

.ordering-soon strong,
.ordering-soon a {
  color: var(--ink);
}

.ordering-soon a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu-heading-copy > p:first-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.menu-heading-copy .ordering-soon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 20px;
}

.menu-heading-copy .ordering-soon span {
  font-size: .82rem;
}

@media (max-width: 1000px) {
  .site-header .call-order {
    display: inline-flex;
  }
}

.hero-logo {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 50%;
  right: auto;
  display: block;
  width: min(42%, 278px);
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
}

.hero {
  padding-top: 360px;
}

.hero-logo img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 15px rgba(33, 23, 19, .08));
}

.hero-visual {
  min-height: 570px;
}

.hero-image {
  inset: 15px 30px auto 0;
  aspect-ratio: 7 / 6;
  border-radius: 24px;
}

.hero-image > img {
  object-position: 20% center;
}

@media (max-width: 700px) {
  .hero-logo {
    top: 16px;
    left: 50%;
    right: auto;
    width: min(42%, 229px);
    margin: 0;
  }

  .site-header .call-order {
    display: inline-flex;
    padding: 8px 13px;
  }

  .call-order span {
    display: none;
  }

  .hero {
    padding-top: 315px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-image {
    inset: 0 0 auto 0;
  }
}

.hero,
.section {
  position: relative;
  isolation: isolate;
}

.hero > :not(.site-ribbon),
.section > :not(.site-ribbon):not(.section-decoration) {
  position: relative;
  z-index: 1;
}

.hero > .hero-logo {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.hero > .hero-dot {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(33, 23, 19, .09);
}

.hero-dot-one {
  width: 96px;
  height: 96px;
  left: 4%;
  top: 47%;
  background: var(--blue);
}

.hero-dot-two {
  width: 54px;
  height: 54px;
  left: 17%;
  top: 25%;
  background: var(--pink);
}

.hero-dot-three {
  width: 76px;
  height: 76px;
  right: 8%;
  top: 24%;
  background: var(--pink);
}

.hero-dot-four {
  width: 46px;
  height: 46px;
  right: 18%;
  bottom: 12%;
  background: var(--blue);
}

.hero-dot-five {
  width: 24px;
  height: 24px;
  right: 4%;
  top: 54%;
  background: var(--pink-soft);
}

.hero-visual > .hero-butterfly {
  position: absolute;
  z-index: 5;
  top: -85px;
  left: 28%;
  right: auto;
  width: 216px;
  aspect-ratio: 1;
  transform: rotate(-24deg);
  transform-origin: center;
  perspective: 700px;
  pointer-events: none;
}

.hero-butterfly-part {
  position: absolute;
  display: block;
  height: auto;
  will-change: transform;
}

.hero-butterfly-left {
  z-index: 1;
  top: 9%;
  left: 11.5%;
  width: 42%;
  transform-origin: 92% 62%;
  animation: hero-left-flap 1.55s linear infinite;
}

.hero-butterfly-right {
  z-index: 1;
  top: 9%;
  left: 46.5%;
  width: 42%;
  transform-origin: 8% 62%;
  animation: hero-right-flap 1.55s linear infinite;
}

.hero-butterfly-body {
  z-index: 2;
  top: 32%;
  left: 37.5%;
  width: 25%;
}

@keyframes hero-left-flap {
  0%, 100% { transform: rotateY(0deg) rotateZ(0deg); }
  10% { transform: rotateY(4deg) rotateZ(.3deg); }
  20% { transform: rotateY(14deg) rotateZ(1.2deg); }
  30% { transform: rotateY(30deg) rotateZ(2.8deg); }
  40% { transform: rotateY(46deg) rotateZ(4.3deg); }
  50% { transform: rotateY(54deg) rotateZ(5deg); }
  60% { transform: rotateY(46deg) rotateZ(4.3deg); }
  70% { transform: rotateY(30deg) rotateZ(2.8deg); }
  80% { transform: rotateY(14deg) rotateZ(1.2deg); }
  90% { transform: rotateY(4deg) rotateZ(.3deg); }
}

@keyframes hero-right-flap {
  0%, 100% { transform: rotateY(0deg) rotateZ(0deg); }
  10% { transform: rotateY(-4deg) rotateZ(-.3deg); }
  20% { transform: rotateY(-14deg) rotateZ(-1.2deg); }
  30% { transform: rotateY(-30deg) rotateZ(-2.8deg); }
  40% { transform: rotateY(-46deg) rotateZ(-4.3deg); }
  50% { transform: rotateY(-54deg) rotateZ(-5deg); }
  60% { transform: rotateY(-46deg) rotateZ(-4.3deg); }
  70% { transform: rotateY(-30deg) rotateZ(-2.8deg); }
  80% { transform: rotateY(-14deg) rotateZ(-1.2deg); }
  90% { transform: rotateY(-4deg) rotateZ(-.3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-butterfly-left,
  .hero-butterfly-right {
    animation: none;
  }
}

.site-ribbon {
  position: absolute;
  z-index: 0;
  width: 240px;
  height: 240px;
  overflow: visible;
  pointer-events: none;
  opacity: .38;
  filter: saturate(1.12) drop-shadow(0 7px 12px rgba(33, 23, 19, .07));
}

.site-ribbon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ribbon-hero-pink {
  color: var(--pink);
  width: 315px;
  height: 315px;
  left: -112px;
  top: 95px;
  transform: rotate(-22deg);
}

.ribbon-hero-blue {
  color: var(--blue);
  right: -76px;
  bottom: -78px;
  transform: rotate(154deg);
}

.ribbon-hero-blue-top {
  color: var(--blue);
  width: 285px;
  height: 285px;
  right: -92px;
  top: -88px;
  transform: rotate(118deg);
}

.ribbon-menu-blue {
  color: var(--blue);
  right: -88px;
  top: 18%;
  transform: rotate(78deg);
}

.ribbon-story-pink {
  color: var(--pink);
  left: -82px;
  bottom: 5%;
  transform: rotate(-94deg);
}

.ribbon-loyalty-blue {
  color: var(--blue);
  width: 280px;
  height: 280px;
  left: -105px;
  top: 8%;
  transform: rotate(-28deg);
}

.ribbon-visit-pink {
  color: var(--pink);
  right: -78px;
  top: 10%;
  transform: rotate(72deg);
}

@media (max-width: 700px) {
  .site-ribbon {
    width: 165px;
    height: 165px;
    opacity: .28;
  }

  .hero > .hero-logo {
    top: 16px;
  }

  .hero-visual > .hero-butterfly {
    top: -55px;
    left: 24%;
    right: auto;
    width: 150px;
  }

  .hero-dot-one { left: 2%; }
  .hero-dot-three { right: 3%; }
}

.visit-details p {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  font-weight: 700;
}

.visit-details > div > span {
  flex: 0 0 52px;
}

.visit-details .visit-detail-text {
  flex: 1;
  color: var(--ink);
}

.visit-details .visit-action {
  flex: 0 0 auto;
  min-width: 116px;
  padding: 10px 16px;
  font-size: .78rem;
  white-space: nowrap;
}

.visit-details .hours-secondary {
  margin-top: .55rem;
}

@media (max-width: 420px) {
  .visit-details p {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .visit-details .visit-action {
    width: auto;
  }
}

.story-visit-link {
  color: #b52b78;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.story-visit-link:hover {
  color: var(--ink);
}

/* Let the opaque montage sit above the page-wide watermark overlay. */
.story-section {
  isolation: auto;
}

.story-section > .story-images.story-montage {
  z-index: 1000;
}

.story-images.story-montage {
  padding: 0;
  width: 100%;
  max-width: none;
}

.story-montage .story-main {
  opacity: 1;
  mix-blend-mode: normal;
  background-color: var(--cream);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.footer-social svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.footer-social .instagram-icon {
  color: #f155ad;
}

.footer-social .facebook-icon {
  color: #43c7e7;
}

.footer-social .tiktok-icon {
  color: #ffffff;
}
/* Keep the truck on the left and visit details on the right on wide screens. */
@media (min-width: 1001px) {
  .visit-section {
    grid-template-columns: 1fr .75fr;
  }
}

/* Focus the visit photo on the truck, cropping out the trash can on the right. */
.visit-photo > img {
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: left center;
}

/* Show each complete menu photograph instead of cropping it to the card frame. */
.menu-photo {
  height: auto;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: #f7f5f4;
}

.menu-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

/* Individual focal points keep each dish centered when its surrounding scene is trimmed. */
.menu-photo > img[src*="Chicken%20Wings"] { object-position: 50% 54%; }
.menu-photo > img[src*="Cortado"] { object-position: 50% 58%; }
.menu-photo > img[src*="Cuban%20Sandwich%202"] { object-position: 50% 64%; }
.menu-photo > img[src*="Espresso"] { object-position: 50% 62%; }
.menu-photo > img[src*="Flan"] { object-position: 50% 56%; }
.menu-photo > img[src*="Tiramisu"] { object-position: 50% 58%; }

.menu-card:hover .menu-photo > img {
  transform: none;
}

.menu-photo.logo-tile > img {
  padding: 35px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

@media (max-width: 700px) {
  .menu-photo {
    height: auto;
  }
}
