/* AnnaBay Club: the cocktails page. A red hero with three polaroids, the cocktails on the sand, a red closing band. */

/* ---------- 1. Hero: red panel with the words, the photo beside it (on a phone: the photo, then the words) ---------- */
.chero {
  --ink: var(--white);
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
}

.chero__bg {
  display: block;
  aspect-ratio: 4 / 5;
}

.chero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.chero__copy {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-block: 36px 64px;
}

.chero .big {
  font-size: clamp(60px, 19vw, 130px);
}

.chero .kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.chero__text {
  max-width: 34ch;
  font-size: 17px;
}

@media (min-width: 900px) {
  .chero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--header-h, 64px));
  }
  .chero__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    aspect-ratio: auto;
  }
  .chero__bg img {
    position: absolute;
    inset: 0;
    object-position: 46% 40%;
  }
  .chero__copy {
    width: calc(50% - 40px);
    margin-left: max(var(--gutter), calc((100vw - 1200px) / 2));
    padding-block: 72px;
  }
  .chero__copy.container {
    max-width: none;
    padding-inline: 0;
  }
  .chero .big {
    font-size: clamp(90px, 10.4vw, 170px);
  }
  .chero__text {
    font-size: 20px;
  }
}

/* ---------- 2. The cocktails ---------- */
.cgrid {
  --ink: var(--red);
  background: var(--sand);
  color: var(--black);
  text-align: center;
}

.cgrid .big {
  justify-items: center;
}

.cfilter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.chip {
  min-height: 44px;
  padding: 0 22px;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--white);
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.chip:hover {
  transform: translateY(-2px);
}

.chip.is-on {
  background: var(--red);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--black);
}

.cfilter__count {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.cgrid__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 56px 36px;
  margin-top: 44px;
}

.cgrid__list > li[hidden] {
  display: none;
}

.cgrid__list > li:nth-child(odd) .cpol {
  transform: rotate(-1.2deg);
}

.cgrid__list > li:nth-child(even) .cpol {
  transform: rotate(1deg);
}

.cpol {
  display: block;
  color: var(--black);
  text-decoration: none;
  transition: transform 220ms var(--ease-out);
}

.cpol:hover {
  transform: rotate(0deg) translateY(-6px);
}

.cpol__card {
  display: block;
  padding: 10px 10px 0;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 5px 5px 0 var(--black);
}

.cpol__img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}

.cpol__cap {
  display: block;
  padding: 14px 4px 20px;
  font-family: var(--script);
  font-size: 44px;
  line-height: 1;
  text-align: center;
}

.cpol__note {
  display: block;
  padding: 18px 6px 0;
  font-size: 16px;
  line-height: 1.4;
}

.cpol__note i {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- 3. Closing band ---------- */
.cclose {
  --ink: var(--white);
  position: relative;
  z-index: 0;
  padding: 72px 0 64px;
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.cclose__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.cclose .big {
  justify-items: center;
  font-size: clamp(56px, 14vw, 120px);
}

.cclose__text {
  max-width: 40ch;
  font-size: 18px;
}

.cclose__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.cclose__more {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cclose__more a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- The engraving behind the sand, soft, panning along as you scroll ---------- */
.cocktails-page .paper::before {
  background-image: url("/assets/img/wm-cocktails.webp?v=1");
  background-size: auto 115%;
  background-repeat: no-repeat;
  background-position: calc(var(--px, 0.5) * 100%) 50%;
  filter: blur(0.8px);
  opacity: 0.08;
}


/* One column, everything straight: the cocktails under each other, no tilt */
.cgrid__list {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 72px;
  max-width: 560px;
  margin-inline: auto;
}

.cgrid__list > li {
  width: 100%;
}

.cgrid__list > li:nth-child(odd) .cpol,
.cgrid__list > li:nth-child(even) .cpol {
  transform: none;
}

.cpol:hover {
  transform: translateY(-4px);
}

.cpol__cap {
  transform: none;
  font-size: 56px;
}

.cpol__note {
  font-size: 18px;
}

.cpol__note i {
  font-size: 15px;
}

.chero__bg img {
  object-position: 50% 30%;
}


/* A button under every cocktail */
.cpol__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cpol {
  display: grid;
  justify-items: center;
  gap: 0;
}

.cpol__link {
  width: 100%;
}

.cpol:hover {
  transform: none;
}

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

.cpol__card {
  transition: transform 200ms var(--ease-out);
}

.cpol__note {
  text-align: center;
}

.cpol .btn {
  margin-top: 22px;
}


/* ---------- Hero, take two: the words lie on the photo, along the foot ---------- */
.chero {
  display: block;
  min-height: 0;
  background: var(--red);
  isolation: isolate;
}

.chero__bg {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.chero__bg img {
  position: absolute;
  inset: 0;
  object-position: 50% 30%;
}

.chero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(30, 10, 0, 0.62) 0%, rgba(30, 10, 0, 0.3) 34%, rgba(30, 10, 0, 0) 58%);
  pointer-events: none;
}

.chero__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: auto;
  margin-left: 0;
  padding-block: 0 44px;
  text-shadow: 0 1px 4px rgba(30, 10, 0, 0.6), 0 2px 18px rgba(30, 10, 0, 0.5);
}

.chero .kicker {
  color: var(--white);
}

.chero .big {
  filter: drop-shadow(0 2px 12px rgba(30, 10, 0, 0.55));
}

@media (min-width: 900px) {
  .chero {
    display: block;
  }
  .chero__bg {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: calc(100svh - var(--header-h, 64px));
    min-height: 560px;
    aspect-ratio: auto;
  }
  .chero__bg img {
    object-position: 50% 28%;
  }
  .chero__copy {
    left: 0;
    right: 0;
    width: auto;
    margin-left: 0;
    padding: 0 0 56px;
  }
  .chero__copy.container {
    max-width: calc(var(--max) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .chero .big {
    font-size: clamp(90px, 9vw, 150px);
  }
  .chero__text {
    max-width: 44ch;
  }
}


/* No shade over the photo; "Island" white, "cocktails" red */
.chero::after {
  display: none;
}

.chero .big {
  filter: none;
}

.chero .big span:first-child {
  color: var(--white);
  filter: drop-shadow(0 2px 10px rgba(30, 10, 0, 0.5));
}

.chero .big .hollow {
  --ink: var(--red);
  color: var(--red);
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9)) drop-shadow(0 2px 10px rgba(30, 10, 0, 0.35));
}

/* Without a shade over the photo, the small lines get a stronger shadow */
.chero .kicker,
.chero__text {
  text-shadow: 0 1px 2px rgba(30, 10, 0, 0.85), 0 0 8px rgba(30, 10, 0, 0.7), 0 2px 22px rgba(30, 10, 0, 0.6);
}

.chero__text {
  font-weight: 600;
}

/* "Cocktails": plain red, nothing around or over the letters */
.chero .big .hollow {
  filter: none;
  text-shadow: none;
  -webkit-text-stroke: 0;
  color: var(--red);
}
