.cafe .sticky-header:not(.sticky-header-primary) { --expanded-header: 68px; }
.cafe .sticky-header .demo-header {
  min-height: 0;
  grid-template: "brand phone" 1fr / minmax(0, 1fr) max-content;
  border-bottom: 0;
}
.cafe .cafe-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-block: 0 clamp(24px, 4vw, 58px);
}
.cafe-counter {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 12px;
  padding-inline: clamp(10px, 2vw, 24px);
  background: #edd9b8;
  color: #612319;
}
.cafe-hero-stage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
}
.cafe-hero-copy {
  grid-area: 1 / 1 / 2 / 7;
  position: relative;
  z-index: 1;
  background: var(--ground);
  padding: clamp(24px, 4.5vw, 64px) clamp(20px, 4vw, 58px) clamp(16px, 3vw, 42px) 0;
}
.cafe h1#cafe-title { max-width: 11ch; font-size: clamp(2.55rem, 6vw, 6rem); line-height: .96; letter-spacing: -.04em; }
.cafe .cafe-hero p { margin-block: 13px 0; max-width: 37ch; }
.cafe .cafe-hero-stage figure { grid-area: 1 / 5 / 2 / -1; border-radius: 0; }
.cafe .cafe-hero-stage img { aspect-ratio: 1.58; object-position: 58% 55%; }
.cafe-text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 46px;
  font-size: .88rem;
  font-weight: 720;
  transition: color .18s ease, transform .18s var(--ease);
}
.cafe-text-link:hover, .cafe-text-link:active { color: #932e20; }
.cafe-text-link:active { transform: translateY(2px); }
.cafe-quick-hours { display: flex; gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }

.cafe-hours-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid #852d20;
}
.cafe-quick-hours.is-open .cafe-hours-dot { background: #852d20; }

.cafe-location { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: start; gap: 8px; margin-top: 13px; }
.cafe-schedule > div:last-child { border-bottom: 1px solid var(--rule); }
.cafe-map { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: #852d20; font-size: .87rem; font-weight: 750; line-height: 1.2; }
.cafe-map:hover { color: #612319; }
.cafe-map svg { flex: 0 0 auto; }

.cafe-visit-photos { position: relative; display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 80px; }
.cafe-space-controls { order: 1; justify-content: center; gap: 0; margin-top: 3px; }
.cafe-space-controls button[aria-pressed],
.cafe-space-controls button[aria-pressed="true"] {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.cafe-space-controls button[aria-pressed]::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid #852d20;
  border-radius: 100px;
}
.cafe-space-controls button[aria-pressed="true"]::before { width: 15px; background: #852d20; }
.cafe-space-photos { min-width: 0; gap: 0; margin: 0; padding: 0; }
.cafe-space-photos figure { flex-basis: 100%; }
.cafe-space-photos::after { content: none; }
.cafe-visit .cafe-space-photos img { aspect-ratio: 1.25; background: #d7bd98; }
.cafe-space-controls:not([hidden]) + .cafe-space-photos { scrollbar-width: none; }

.cafe-space-controls .cafe-gallery-arrow { display: none; }

@media (min-width: 721px) {
  .cafe-visit-photos { grid-area: 1 / 1; }
  .cafe-space-controls .cafe-gallery-arrow {
    position: absolute;
    z-index: 1;
    top: calc((100% - 47px) / 2);
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #612319;
    background: #fff1db;
    translate: 0 -50%;
  }
  .cafe-gallery-arrow[data-gallery-direction="-1"] { left: 12px; }
  .cafe-gallery-arrow[data-gallery-direction="1"] { right: 12px; }
  .cafe-space-controls .cafe-gallery-arrow:hover { color: #fff1db; background: #852d20; }
  .cafe-gallery-arrow:focus-visible { outline-color: #fff1db; }
}

@media (max-width: 720px) {
  .cafe-hero-stage { display: flex; flex-direction: column; align-items: stretch; }
  .cafe .cafe-hero-stage figure { order: -1; }
  .cafe .cafe-hero-stage img { aspect-ratio: 1.55; }
  .cafe-hero-copy { margin: -38px 22px 0 0; padding: 18px 12px 0 0; }
  .cafe h1#cafe-title { font-size: clamp(2.35rem, 10.5vw, 3.8rem); }
}

@media (max-width: 380px) {
  .cafe-map { max-width: 8.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cafe-text-link:active { transform: none; }
}

.cafe-menu h2 { position: relative; padding-bottom: 10px; }
.cafe-menu h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(100%, 7.5rem);
  height: 3px;
  background: #edb887;
  transform: scaleX(var(--menu-line, 0));
  transform-origin: left;
}
