@font-face {
  font-family: "Bulevar";
  src:
    url("../assets/fonts/Bulevar-Regular.woff2") format("woff2"),
    url("../assets/fonts/Bulevar-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-black: #1d1d1b;
  --color-white: #ffffff;
  --color-yellow: #f5a800;
  --color-blue: #0098a7;

  --font-display: "Bulevar", Georgia, serif;
  --font-system: Arial, Helvetica, sans-serif;

  --section-padding-x: clamp(1rem, 4vw, 4rem);
  --section-padding-y: clamp(1rem, 3vw, 3rem);
  --display-size: clamp(4.8rem, 14vw, 18.8rem);
  --slide-max-width: min(96vw, 120rem);
  --snap-align: start;
  --transition-duration: 0.7s;
  --transition-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 16px;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: visible;
  background: var(--color-black);
  color: var(--color-yellow);
  font-family: var(--font-display);
  line-height: 1;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='4.5' fill='%231d1d1b'/%3E%3C/svg%3E") 9 9, auto;
}

a,
button,
input,
textarea,
select,
label,
[role="button"] {
  cursor: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='4.5' fill='%231d1d1b'/%3E%3C/svg%3E") 9 9, pointer;
}

body.is-loading {
  cursor: wait;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--color-yellow);
  border-top: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  color: var(--color-black);
}

.site-main {
  position: relative;
  width: 100%;
  overflow: visible;
}

.narrative-pin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--color-blue);
  color: var(--color-yellow);
  touch-action: pan-y;
  isolation: isolate;
}

.narrative-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.narrative-menu-preview {
  --menu-chaos-padding: clamp(0.25rem, 0.65vw, 0.9rem);
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 6;
  width: 50vw;
  height: 100vh;
  height: 100svh;
  background: var(--color-blue);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  pointer-events: none;
  visibility: hidden;
  will-change: transform, opacity;
}

.narrative-menu-preview-left {
  --menu-chaos-padding: clamp(0.25rem, 0.65vw, 0.9rem);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 7;
  width: 50vw;
  height: 100vh;
  height: 100svh;
  pointer-events: none;
  visibility: hidden;
  will-change: opacity;
}

.narrative-menu-preview-left .food-tag {
  background: var(--color-blue);
}

.narrative-menu-preview .food-tag {
  background: var(--color-yellow);
}

.is-legacy-menu {
  display: none !important;
}

.mobile-menu-section {
  display: none;
}

.phrase-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: var(--snap-align);
  scroll-snap-stop: always;
  overflow: hidden;
  isolation: isolate;
  color: inherit;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.phrase-panel:first-child {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.phrase-panel:first-child .slide-title {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.page-nav-hint {
  --nav-arrow-rotate: 0deg;
  position: fixed;
  left: 50%;
  bottom: clamp(1rem, 2.5vw, 2.5rem);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.24em;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.25vw, 1.45rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: translateX(-50%);
  opacity: 0.76;
  pointer-events: none;
}

.nav-hint-arrow {
  position: relative;
  display: inline-block;
  width: 0.76em;
  height: 0.44em;
  background: currentColor;
  clip-path: polygon(0 38%, 56% 38%, 56% 0, 100% 50%, 56% 100%, 56% 62%, 0 62%);
  transform: translateY(-0.03em) rotate(var(--nav-arrow-rotate));
  transform-origin: 50% 50%;
  transition: transform 220ms var(--transition-ease);
}

.page-nav-hint.is-vertical {
  --nav-arrow-rotate: 90deg;
}

.nav-hint-mobile {
  display: none;
}

.section-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--section-padding-y) var(--section-padding-x);
}

.slide-inner {
  --bs-gutter-x: 0;
  width: 100%;
  max-width: var(--slide-max-width);
  min-height: auto;
  text-align: center;
}

.js-reveal {
  will-change: transform, opacity, filter;
}

.js-stagger > * {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.slide-title {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  color: currentColor;
  font-family: var(--font-display);
  font-size: var(--display-size);
  font-weight: 400;
  line-height: 0.74;
  letter-spacing: -0.015em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  text-wrap: nowrap;
  overflow-wrap: normal;
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
}

.slide-title span {
  margin-inline: 0.04em;
}

.pin-spacer {
  background: var(--color-yellow);
  pointer-events: none;
}

.pin-spacer > * {
  pointer-events: auto;
}

.menu-chaos-section {
  --menu-chaos-padding: clamp(0.25rem, 0.65vw, 0.9rem);
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  overflow: visible;
  background: var(--color-yellow);
  color: var(--color-black);
  font-family: var(--font-display);
  text-transform: uppercase;
}

.menu-layout {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  overflow: visible;
  background: var(--color-yellow);
}

.menu-chaos-column {
  position: relative;
  width: 50%;
  flex: 0 0 50%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.menu-chaos-column--yellow {
  z-index: 1;
  background: var(--color-yellow);
}

.menu-chaos-column--blue {
  z-index: 2;
  display: block;
  background: var(--color-blue);
  opacity: 1;
  transform: none;
  visibility: visible;
}

.food-tag-list {
  position: absolute;
  inset: var(--menu-chaos-padding);
  width: auto;
  height: auto;
  min-height: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
}

.food-tag {
  --tag-rotate: var(--r, 0deg);
  --tag-scale: 1;
  --tag-y: 0px;
  --float-y: 15px;
  --float-duration: 4.2s;
  --float-delay: 0s;
  --float-shadow: 0.18;
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(40vw, calc(100% - var(--x)));
  padding: clamp(0.24rem, 0.65vw, 0.55rem) clamp(0.48rem, 1.12vw, 1rem);
  color: var(--color-black);
  font-size: clamp(1.05rem, 1.88vw, 2.35rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
  transform: translateY(var(--tag-y)) scale(var(--tag-scale)) rotate(var(--tag-rotate));
  transform-origin: 50% 50%;
  animation: food-tag-float var(--float-duration) var(--transition-ease) var(--float-delay) infinite alternate;
  box-shadow: 0 0.45rem 0.9rem rgb(29 29 27 / var(--float-shadow));
  transition:
    transform 220ms var(--transition-ease),
    box-shadow 220ms var(--transition-ease);
  will-change: transform, opacity;
}

body.has-food-cursor .narrative-menu-preview,
body.has-food-cursor .narrative-menu-preview *,
body.has-food-cursor .narrative-menu-preview-left,
body.has-food-cursor .narrative-menu-preview-left * {
  cursor: url("../assets/img/boca-cursor.png") 32 21, pointer;
}

body.has-food-cursor .narrative-menu-preview,
body.has-food-cursor .narrative-menu-preview-left {
  pointer-events: auto;
}

.food-tag:nth-child(2n) {
  --float-y: 11px;
  --float-duration: 5s;
  --float-delay: -1.4s;
  --float-shadow: 0.15;
}

.food-tag:nth-child(3n) {
  --float-y: 18px;
  --float-duration: 5.7s;
  --float-delay: -2.1s;
  --float-shadow: 0.22;
}

.food-tag:nth-child(4n) {
  --float-y: 9px;
  --float-duration: 3.8s;
  --float-delay: -0.8s;
  --float-shadow: 0.14;
}

@keyframes food-tag-float {
  0% {
    transform: translateY(calc(var(--tag-y) * 1)) scale(var(--tag-scale)) rotate(var(--tag-rotate));
    box-shadow: 0 0.35rem 0.8rem rgb(29 29 27 / calc(var(--float-shadow) * 0.7));
  }

  100% {
    transform: translateY(calc(var(--tag-y) - var(--float-y))) scale(calc(var(--tag-scale) * 1.035)) rotate(var(--tag-rotate));
    box-shadow: 0 1.1rem 1.8rem rgb(29 29 27 / var(--float-shadow));
  }
}

.menu-chaos-column--yellow .food-tag {
  background: var(--color-blue);
}

.menu-chaos-column--blue .food-tag {
  background: var(--color-yellow);
}

@media (hover: hover) and (pointer: fine) {
  .food-tag:hover {
    animation-play-state: paused;
    transform: translateY(-10px) scale(1.04) rotate(var(--tag-rotate));
    box-shadow: 0 1.1rem 1.8rem rgb(29 29 27 / 0.22);
  }
}

@media (max-width: 991.98px) {
  :root {
    --section-padding-x: clamp(1rem, 6vw, 2rem);
    --section-padding-y: clamp(1rem, 5vw, 2rem);
    --display-size: clamp(4.8rem, 23vw, 11.8rem);
    --slide-max-width: min(94vw, 48rem);
  }

  html {
    scroll-snap-type: y proximity;
  }

  .nav-hint-desktop {
    display: none;
  }

  .nav-hint-mobile {
    display: inline;
  }

  .page-nav-hint {
    --nav-arrow-rotate: 90deg;
  }

  .site-main {
    overflow: visible;
  }

  .narrative-pin {
    display: block;
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .narrative-pin::before,
  .narrative-pin::after {
    display: none;
  }

  .narrative-stage {
    display: block;
    width: 100%;
    height: auto;
    transform: none !important;
  }

  .phrase-panel {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
  }

  .phrase-panel:nth-child(odd) {
    background: var(--color-blue);
    color: var(--color-yellow);
  }

  .phrase-panel:nth-child(even) {
    background: var(--color-yellow);
    color: var(--color-black);
  }

  .slide-title {
    width: min(100%, 9.8ch);
    flex-wrap: wrap;
    line-height: 0.78;
    white-space: normal;
    text-wrap: balance;
  }

  .phrase-panel:nth-child(n + 3) .slide-title {
    width: 96vw;
    flex-wrap: nowrap;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .menu-chaos-section {
    display: block;
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .narrative-menu-preview,
  .narrative-menu-preview-left {
    display: none;
  }

  .mobile-menu-section {
    display: block;
    min-height: 100svh;
    font-family: var(--font-display);
    text-transform: uppercase;
  }

  .mobile-menu-column {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: clamp(1.4rem, 7vw, 3rem);
  }

  .mobile-menu-column--yellow {
    background: var(--color-yellow);
  }

  .mobile-menu-column--blue {
    background: var(--color-blue);
  }

  .mobile-menu-list {
    position: relative;
    inset: auto;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    gap: clamp(1.35rem, 5.5vw, 2.6rem);
    min-height: auto;
  }

  .mobile-menu-section .food-tag {
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
    font-size: clamp(1.2rem, 6.25vw, 3.35rem);
    white-space: normal;
  }

  .mobile-menu-column--yellow .food-tag {
    background: var(--color-blue);
  }

  .mobile-menu-column--blue .food-tag {
    background: var(--color-yellow);
  }

  .brand-final-section,
  .brand-final-panel {
    height: 60vh;
    height: 60svh;
    min-height: 60vh;
    min-height: 60svh;
  }

  .menu-layout {
    display: block;
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .menu-chaos-column {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 100svh;
    padding: clamp(1rem, 5vw, 2rem);
    transform: none !important;
  }

  .food-tag-list {
    position: relative;
    inset: auto;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    gap: clamp(0.85rem, 3.5vw, 1.6rem);
    min-height: calc(100svh - clamp(2rem, 10vw, 4rem));
  }

  .food-tag {
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
    font-size: clamp(1.2rem, 6.25vw, 3.35rem);
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  :root {
    --display-size: clamp(4.2rem, 21.5vw, 8.6rem);
  }

  .slide-title {
    width: min(100%, 9.4ch);
  }

  .phrase-panel:nth-child(n + 3) .slide-title {
    width: 96vw;
  }
}

.is-reduced-motion .narrative-pin {
  display: block;
  height: auto;
  min-height: auto;
  overflow: visible;
}

.is-reduced-motion .narrative-pin::before,
.is-reduced-motion .narrative-pin::after {
  display: none;
}

.is-reduced-motion .narrative-stage {
  height: auto;
}

.is-reduced-motion .phrase-panel {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
}

.is-reduced-motion .phrase-panel:nth-child(odd) {
  background: var(--color-blue);
  color: var(--color-yellow);
}

.is-reduced-motion .phrase-panel:nth-child(even) {
  background: var(--color-yellow);
  color: var(--color-black);
}

.is-reduced-motion .menu-chaos-section {
  height: auto;
  min-height: auto;
  overflow: visible;
}

.is-reduced-motion .menu-layout {
  display: block;
  height: auto;
  min-height: auto;
  overflow: visible;
}

.is-reduced-motion .menu-chaos-column {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: 100%;
  height: auto;
  min-height: 100svh;
  transform: none !important;
}

.brand-final-section {
  position: relative;
  z-index: 30;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: 0;
  overflow: hidden;
  background: #0098a7;
  background-color: #0098a7;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.brand-final-section::before,
.brand-final-section::after {
  display: none;
  background: transparent;
  content: none;
}

.brand-final-panel {
  position: relative;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--section-padding-y) var(--section-padding-x);
  overflow: hidden;
  background: #0098a7;
  background-color: #0098a7;
  pointer-events: auto;
  will-change: transform;
}

.brand-final-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: min(86vw, 94rem);
  gap: clamp(1rem, 2.2vw, 2.4rem);
}

.brand-final-logo {
  width: min(82vw, 82rem);
  height: auto;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.brand-final-claim {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.18em;
  max-width: 96vw;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 6.2rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.012em;
  text-align: center;
  white-space: nowrap;
  perspective: 900px;
  will-change: transform, opacity;
}

.claim-word {
  display: inline-block;
  transform-origin: 50% 55%;
  backface-visibility: hidden;
}

.claim-word--white {
  color: var(--color-white);
}

.claim-word--black {
  color: var(--color-black);
}

@media (max-width: 991.98px) {
  .brand-final-inner {
    width: min(92vw, 44rem);
  }

  .brand-final-logo {
    width: min(86vw, 34rem);
  }

  .brand-final-claim {
    flex-wrap: nowrap;
    font-size: clamp(1.25rem, 6.4vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .food-tag {
    animation: none;
  }

  .narrative-menu-preview,
  .narrative-menu-preview-left {
    display: none;
  }

  .brand-final-section,
  .brand-final-panel,
  .brand-final-logo,
  .brand-final-claim {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .brand-final-section {
    min-height: 100vh;
    min-height: 100svh;
    margin-top: 0;
    overflow: hidden;
    background: #0098a7;
    background-color: #0098a7;
    pointer-events: auto;
  }

  .brand-final-panel {
    position: relative;
    top: auto;
  }

  @media (hover: hover) and (pointer: fine) {
    .food-tag:hover {
      transform: translateY(-6px) scale(1.02) rotate(var(--tag-rotate));
    }
  }
}
