/* Supplied Mokha artwork. Source mapping: assets/artwork/sources.json. */
:root {
  --khatam: url("assets/artwork/woven-round.webp");
  --brand-woven: url("assets/artwork/woven-border.webp");
}

/* Keep ornament quiet and outside the reading surface. */
.hero__pattern,
.page-hero__pattern {
  background-size: 260px;
  opacity: 0.09;
}

.bar__pattern,
.values__pattern,
.footer__pattern {
  background-image: var(--brand-woven);
  background-size: 110px auto;
}

.footer__pattern { opacity: 0.08; }

/* Original arched doors with the supplied brand pattern, without sticker artwork. */
.event-peek {
  width: 12rem;
  aspect-ratio: 4 / 5;
}

.event-peek__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 999px 999px var(--radius-md) var(--radius-md);
  padding: 1rem;
  background-color: var(--peek-bg, var(--oxblood-700));
  background-image: none;
  color: var(--peek-fg, var(--plaster-50));
  box-shadow: 0 24px 40px -16px oklch(0.2 0.05 20 / 0.5);
}

.event-peek__card:not(.has-photo)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-woven) center / 120px auto;
  opacity: 0.08;
  pointer-events: none;
}

.event-peek__day { position: relative; z-index: 1; font-size: 2.25rem; }
.event-peek__month { position: relative; z-index: 1; font-size: 0.6875rem; margin-top: 0.25rem; }

.story,
.menu-page {
  background-image: linear-gradient(oklch(0.975 0.012 85 / 0.9), oklch(0.975 0.012 85 / 0.9)), url("assets/artwork/paper.webp");
  background-size: auto, 640px auto;
}

.story--illustrated .story__grid {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "eyebrow" "title" "art" "copy" "stats";
}

.story--illustrated .story__index { grid-area: eyebrow; padding-top: 0; }
.story--illustrated .story__title { grid-area: title; max-width: 30ch; }
.story--illustrated .story__body { grid-area: copy; align-self: center; }
.story--illustrated .stats { grid-area: stats; }

.story-art {
  grid-area: art;
  min-width: 0;
  width: 100%;
  max-width: 32rem;
  justify-self: center;
  align-self: center;
  margin: 0;
}

.story-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.heritage__art--illustrated {
  position: relative;
  min-width: 0;
  padding: 1rem 0 3rem;
}

.heritage__interior {
  display: block;
  width: 100%;
  height: auto;
}

.heritage__cup {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: clamp(5rem, 12vw, 9rem);
  height: auto;
  filter: drop-shadow(0 0.5rem 0.5rem oklch(0.21 0.02 35 / 0.12));
}

.menu-artwork {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.5rem, 3vw, 3rem);
  margin-block-end: 2.5rem;
  padding-block: 0 2rem;
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

.menu-artwork img {
  width: min(15%, 7rem);
  height: clamp(4rem, 12vw, 8rem);
  object-fit: contain;
}

.careers__cta-photo--team {
  background: var(--plaster-100) url("assets/artwork/paper.webp") center / cover;
  padding: 1.5rem 1rem 0;
}

.careers__cta-photo--team img {
  object-fit: contain;
  object-position: center bottom;
}

@media (min-width: 62rem) {
  .story--illustrated .story__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "eyebrow eyebrow" "title title" "art copy" "stats stats";
    column-gap: clamp(2rem, 5vw, 5rem);
  }
  .story-art { max-width: 38rem; justify-self: start; }
}

/* the artwork's own edges are cut straight; fade them into the page instead */
.story-art img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
/* the team cut-out stands on the paper card, centred */
.careers__cta-photo--team { display: flex; justify-content: center; align-items: flex-end; }
.careers__cta-photo--team img { width: auto; height: 100%; max-width: 100%; }
/* the photo is cut straight through the grinder; let it fade instead */
.careers__cta-photo--team img {
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 18%);
          mask-image: linear-gradient(to left, transparent 0, #000 18%);
}
