/* ==========================================================================
   Coffee Park Plzeň
   Brand green #035A2B is sampled straight from the owner's logo artwork.
   One accent, page wide. Shape rule: interactive elements are pills,
   media cards are 20px, plates are 14px. Nothing else invents a radius.
   ========================================================================== */

/* --- self-hosted type. No external font request leaves the page, which
       keeps visitor IPs out of third-party logs (GDPR) and removes a
       render-blocking round trip. -------------------------------------- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green-900: #042413;
  --green-800: #063a20;
  --green-700: #035a2b;
  --green-600: #0a6f38;
  --green-300: #8fc7a5;
  --green-100: #e2eee2;
  --green-50: #f1f7f0;
  --bone: #fbfaf6;
  --ink: #14201c;
  --muted: #556b60;
  --line: rgba(3, 90, 43, 0.16);

  --surface: var(--bone);
  --surface-tint: var(--green-50);
  --surface-raised: #ffffff;
  --text: var(--ink);
  --text-muted: var(--muted);
  --accent: var(--green-700);
  --accent-ink: #ffffff;
  --border: var(--line);
  --shadow: 0 1px 2px rgba(4, 36, 19, 0.05), 0 12px 32px rgba(4, 36, 19, 0.07);

  --r-pill: 999px;
  --r-card: 20px;
  --r-plate: 14px;
  --pad: clamp(1.15rem, 4.5vw, 3.5rem);
  --gap: clamp(1rem, 2.4vw, 1.75rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* The site is light, always. The owner picked it, and locking it means
     native controls and scrollbars match instead of following the OS. */
  color-scheme: light;
}

/* --- base ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Outfit", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
figure,
blockquote,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.section--tint {
  background: var(--surface-tint);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 0.75rem;
  z-index: 90;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-pill);
}
.icon {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex: none;
}

/* --- type ---------------------------------------------------------------- */
.h1 {
  font-size: clamp(2.35rem, 6vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.85rem, 4.4vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}
.h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.lede {
  color: var(--text-muted);
  max-width: 56ch;
  font-size: 1.075rem;
}
.section-head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
  max-width: 62ch;
}

/* --- interactive: all pills --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.82rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.12s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn:active {
  transform: scale(0.975);
}
.btn .icon {
  transition: transform 0.28s var(--ease);
}


/* --- nav ----------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}
.brand img {
  height: 46px;
  width: auto;
}
.nav__links {
  display: none;
  gap: 1.75rem;
  margin-inline: auto;
  font-size: 0.97rem;
}
.nav__links a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.35rem;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}


.nav__end {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}
.lang {
  display: inline-flex;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  flex: none;
}
.lang a {
  padding: 0.42rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text-muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang a[aria-current="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}
.lang a:not([aria-current="true"]):hover {
  color: var(--text);
}
.nav__cta {
  display: none;
}
@media (min-width: 1000px) {
  .nav__links {
    display: flex;
  }
  .nav__cta {
    display: inline-flex;
  }
}

/* --- hero: asymmetric split --------------------------------------------- */
.hero {
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
}
.hero__grid {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.hero__copy {
  display: grid;
  gap: 1.35rem;
  justify-items: start;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem 0.42rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}
.rating__stars {
  display: inline-flex;
  color: var(--accent);
  gap: 1px;
}
.rating__stars .icon {
  width: 0.95em;
  height: 0.95em;
}
.rating b {
  color: var(--text);
  font-weight: 600;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.hero__figure {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- media frames shared by grids and strips ---------------------------- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background-size: cover;
  background-position: center;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}


/* --- offer: bento with real photography --------------------------------- */
.bento {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
.tile {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.tile .frame {
  aspect-ratio: 4 / 5;
}
.tile p {
  color: var(--text-muted);
  font-size: 0.97rem;
}
@media (min-width: 760px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .tile--lead {
    grid-column: span 3;
    grid-row: span 2;
  }
  .tile--lead .frame {
    aspect-ratio: 3 / 4;
  }
  .tile--half {
    grid-column: span 3;
  }
  .tile--half .frame {
    aspect-ratio: 3 / 2;
  }
  .tile--third {
    grid-column: span 2;
  }
  .tile--third .frame {
    aspect-ratio: 1 / 1;
  }
}

/* --- full bleed band ----------------------------------------------------- */
.band {
  position: relative;
  min-height: clamp(24rem, 62vh, 38rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band__scrim {
  position: relative;
  width: 100%;
  padding-block: clamp(2.5rem, 7vw, 5rem);
  background: linear-gradient(
    to top,
    rgba(4, 36, 19, 0.95),
    rgba(4, 36, 19, 0.78) 50%,
    rgba(4, 36, 19, 0)
  );
}
.band__copy {
  display: grid;
  gap: 1rem;
  max-width: 46ch;
  color: #f2f8f1;
}
.band__copy .lede {
  color: #e6efe7;
  font-size: clamp(1.08rem, 1.5vw, 1.2rem);
  text-shadow: 0 1px 12px rgba(4, 36, 19, 0.55);
}
.band__copy .h2 {
  text-shadow: 0 2px 18px rgba(4, 36, 19, 0.5);
}

/* --- hours ledger -------------------------------------------------------- */
.ledger {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}
@media (min-width: 860px) {
  .ledger {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.hours {
  display: grid;
  gap: 1.5rem;
}
.hours__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.hours__row + .hours__row {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hours__day {
  font-weight: 600;
  font-size: 1.05rem;
}
.hours__time {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.hours__row[data-closed] .hours__time {
  opacity: 0.65;
}
.note {
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 48ch;
}
.plate {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-plate);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  display: grid;
  gap: 1.1rem;
  align-content: start;
  box-shadow: var(--shadow);
}
.plate__line {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
}
.plate__line .icon {
  color: var(--accent);
  margin-top: 0.2em;
}
.plate__line span b {
  display: block;
  font-weight: 600;
}
.plate__line span small {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
}


/* --- guests -------------------------------------------------------------- */
.quotes {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
}
@media (min-width: 860px) {
  .quotes {
    grid-template-columns: 1.25fr 1fr;
    align-items: start;
  }
  .quotes__side {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    padding-top: 0.5rem;
  }
}
.quote--lead blockquote {
  font-size: clamp(1.3rem, 2.9vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: balance;
}
.quote--small blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}
.quote figcaption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.quote--small + .quote--small {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--border);
}

/* --- chips --------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface-raised);
  font-size: 0.95rem;
  font-weight: 500;
}
.chips .icon {
  color: var(--accent);
}

/* --- gallery strip ------------------------------------------------------- */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 22rem);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--pad);
  /* snap alignment ignores padding, so the inset needs stating
     separately or the first tile snaps flush to the viewport edge. */
  scroll-padding-inline: var(--pad);
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.strip > * {
  scroll-snap-align: start;
}
.strip .frame {
  aspect-ratio: 4 / 5;
}

/* --- footer -------------------------------------------------------------- */
.footer {
  background: var(--green-900);
  color: #dbe8dc;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer a {
  color: #dbe8dc;
}
.footer__grid {
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
.footer__brand img {
  height: 76px;
  width: auto;
  margin-bottom: 1rem;
}
.footer h3 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fb99a;
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.footer ul {
  display: grid;
  gap: 0.55rem;
  font-size: 0.97rem;
}
.footer ul a {
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.2s var(--ease);
}
.footer ul a:hover {
  opacity: 1;
  text-decoration: underline;
}
.social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(219, 232, 220, 0.25);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.social a:hover {
  background: #dbe8dc;
  color: var(--green-900);
}
.footer__base {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(219, 232, 220, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.86rem;
  color: #a7c2ae;
}

/* --- legal pages --------------------------------------------------------- */
.prose {
  max-width: 68ch;
  display: grid;
  gap: 1.15rem;
}
.prose h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
}
.prose p,
.prose li {
  color: var(--text-muted);
}
.prose ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.15rem;
  list-style: disc;
}
.prose strong {
  color: var(--text);
}
.todo {
  border: 1px dashed var(--accent);
  border-radius: var(--r-plate);
  padding: 1rem 1.15rem;
  background: var(--surface-tint);
  color: var(--text);
  font-size: 0.95rem;
}

/* --- motion: reveal on entry. Communicates reading order, nothing more.
       Everything collapses to static under reduced motion. ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

/* --- mobile menu --------------------------------------------------------- */
.nav {
  position: sticky;
}
.menu-btn {
  padding: 0.7rem;
  border-radius: var(--r-pill);
}
.menu-btn .icon {
  width: 1.35em;
  height: 1.35em;
}
@media (min-width: 1000px) {
  .menu-btn {
    display: none;
  }
}
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.5rem var(--pad) 1.5rem;
  display: grid;
  gap: 0.75rem;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
}
.menu-panel nav {
  display: grid;
}
.menu-panel nav a {
  padding: 0.95rem 0;
  font-size: 1.12rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.menu-panel .btn {
  justify-content: center;
  margin-top: 0.35rem;
}

/* --- about and rental: photo and story side by side ---------------------- */
.about,
.rent {
  display: grid;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .about {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .rent {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .rent__figure {
    order: 2;
  }
}
.about__figure {
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.about__copy,
.rent__copy {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}
.facts {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.4rem;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
}
.facts .icon {
  width: 2.3rem;
  height: 2.3rem;
  padding: 0.55rem;
  border-radius: var(--r-pill);
  background: var(--green-100);
  color: var(--accent);
}
.rent__lede {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.rent__plate {
  width: 100%;
}

/* --- breakfast menu: a printed price list, with a photo stage that follows
       the active dish on wide screens and inline photos on phones --------- */
.menu-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  padding: 0.42rem 0.95rem 0.42rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}
.menu-time__dot,
.menu-time__now {
  display: none;
}
html.brunch-on .menu-time__now {
  display: inline;
}
html.brunch-on .menu-time__dot {
  display: block;
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #22a35a;
}
html.brunch-on .menu-time > .icon {
  display: none;
}

.bm {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.bm-stage {
  display: none;
}
@media (min-width: 1000px) {
  .bm {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .bm-stage {
    display: grid;
    gap: 0.9rem;
    position: sticky;
    top: 96px;
  }
  .bm-row__img {
    display: none;
  }
}
.bm-stage__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--r-card) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green-100);
}
.bm-stage__shot {
  position: absolute;
  inset: 0;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.bm-stage__shot img {
  scale: 1.08;
  transition: scale 1.1s var(--ease);
}
.bm-stage__shot.is-on {
  opacity: 1;
}
.bm-stage__shot.is-on img {
  scale: 1;
}
.bm-stage__cap {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}
.bm-stage__cap span {
  display: inline-block;
}

.bm-list {
  display: grid;
}
.bm-row {
  position: relative;
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 1.1rem;
  border-radius: var(--r-card);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.bm-row.is-active {
  background: var(--surface-raised);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.bm-row__img {
  aspect-ratio: 16 / 10;
  margin-bottom: 0.6rem;
}
.bm-row__top {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.bm-row .h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  transition: color 0.3s var(--ease);
}
.bm-row.is-active .h3 {
  color: var(--accent);
}
.bm-row__price {
  margin-left: auto;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--accent);
  border: 1px solid var(--border);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.bm-row.is-active .bm-row__price {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.bm-row p {
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 58ch;
}
.bm-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.bm-row__tags span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--green-100);
  border-radius: var(--r-pill);
  padding: 0.2rem 0.65rem;
}

.dishes__note {
  margin-top: 1.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html.brunch-on .menu-time__dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: brunch-ping 1.8s var(--ease) infinite;
  }
  @keyframes brunch-ping {
    to { transform: scale(2.8); opacity: 0; }
  }


  /* caption text slides in when the dish changes (class re-added by app.js) */
  .bm-stage__cap span.is-new {
    animation: bm-cap 0.5s var(--ease);
  }
  @keyframes bm-cap {
    from { opacity: 0; transform: translateY(8px); }
  }

  /* photos open up as they scroll in; prices sit outside, so nothing clips them */
  @supports (animation-timeline: view()) {
    .bm-stage__frame,
    .bm-row__img {
      animation: bm-open linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    .bm-row__img img {
      animation: bm-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
    @keyframes bm-open {
      from { clip-path: inset(12% 8% 12% 8% round 40px); }
      to { clip-path: inset(0 0 0 0 round 20px); }
    }
    @keyframes bm-settle {
      from { transform: scale(1.25); filter: saturate(0.6); }
      to { transform: none; filter: none; }
    }
  }
}

/* --- pets: one warm block, photo and a short note on the brand green ----- */
.pets-wrap {
  padding-bottom: 0;
}
.pets {
  display: grid;
  overflow: hidden;
  border-radius: calc(var(--r-card) + 12px);
  background: var(--green-800);
  color: #f2f8f1;
}
@media (min-width: 900px) {
  .pets {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}
.pets__figure {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
@media (min-width: 900px) {
  .pets__figure {
    aspect-ratio: auto;
    min-height: 26rem;
  }
}
.pets__copy {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  align-content: center;
  padding: clamp(1.75rem, 5vw, 4rem);
}
.pets__copy .lede {
  color: #cfe0d3;
}
.pets__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.5rem;
  border-radius: var(--r-pill);
  background: rgba(242, 248, 241, 0.12);
  font-size: 0.9rem;
  font-weight: 600;
}
.pets__wag {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: #f2f8f1;
  color: var(--green-800);
}
@media (prefers-reduced-motion: no-preference) {
  .pets__wag .icon {
    transform-origin: 50% 80%;
    animation: pets-wag 3.2s var(--ease) infinite;
  }
  @keyframes pets-wag {
    0%, 70%, 100% { transform: rotate(0); }
    76% { transform: rotate(-14deg); }
    82% { transform: rotate(12deg); }
    88% { transform: rotate(-8deg); }
    94% { transform: rotate(5deg); }
  }
  @supports (animation-timeline: view()) {
    .pets__figure img {
      animation: pets-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes pets-drift {
      from { transform: scale(1.15) translateY(-4%); }
      to { transform: scale(1.15) translateY(4%); }
    }
  }
}

/* --- event photos: a fanned deck; the front card flies off and rejoins at
       the back every few seconds (app.js), static under reduced motion ---- */
/* the fanned cards and the card flying off must not widen the page on phones */
#pronajem {
  overflow-x: clip;
}
.rent__figure {
  display: grid;
  gap: 1.1rem;
  padding: 3% 9% 0 3%;
}
.deck {
  position: relative;
  aspect-ratio: 4 / 5;
}
.deck__card {
  position: absolute;
  inset: 0;
  margin: 0;
  box-shadow: 0 2px 4px rgba(4, 36, 19, 0.06), 0 22px 44px rgba(4, 36, 19, 0.16);
  transform-origin: 50% 90%;
  transition: transform 0.95s var(--ease), opacity 0.7s var(--ease), filter 0.95s var(--ease);
}
.deck__card[data-pos="0"] { z-index: 4; }
.deck__card[data-pos="1"] { z-index: 3; transform: translate(6%, -3%) rotate(4deg) scale(0.95); filter: brightness(0.9); }
.deck__card[data-pos="2"] { z-index: 2; transform: translate(11%, -6%) rotate(8deg) scale(0.9); filter: brightness(0.8); }
.deck__card[data-pos="3"] { z-index: 1; transform: translate(14%, -8%) rotate(11deg) scale(0.86); filter: brightness(0.7); opacity: 0; }
/* the card that just left flies out to the left before settling at the back */
.deck__card.is-leaving {
  z-index: 5;
  transform: translate(-38%, 10%) rotate(-16deg) scale(0.92);
  opacity: 0;
  transition: transform 0.75s var(--ease), opacity 0.6s ease-in;
}
.deck__cap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.deck__cap .icon {
  color: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .deck {
      animation: deck-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
    @keyframes deck-in {
      from { transform: rotate(-7deg) translateY(12%) scale(0.9); opacity: 0.3; }
      to { transform: none; opacity: 1; }
    }
  }
}

/* --- event reel: one endless row of event photos -------------------------- */
.reel {
  display: grid;
  gap: var(--gap);
  margin-top: clamp(3rem, 7vw, 5.5rem);
}
.reel__h3 {
  color: var(--accent);
}
.reel__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
/* spacing is padding, not gap, so the doubled track is exactly two equal halves */
.reel__track,
.reel__copy {
  display: flex;
  width: max-content;
}
.reel__card {
  flex: none;
  width: clamp(10rem, 17vw, 16rem);
  aspect-ratio: 3 / 4;
  margin: 0 var(--gap) 0 0;
}
.reel__card img {
  transition: scale 0.7s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .reel__card:hover img {
    scale: 1.06;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .reel__track {
    animation: reel-loop 70s linear infinite;
  }
  .reel__row:hover .reel__track {
    animation-play-state: paused;
  }
  @keyframes reel-loop {
    to { transform: translateX(-50%); }
  }
}
/* no motion: one copy, swipe by hand */
@media (prefers-reduced-motion: reduce) {
  .reel__row {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .reel__copy {
    display: none;
  }
}

/* ==========================================================================
   Motion, second pass: softer and slower everywhere, a hero that develops on
   load, photographs that develop as they scroll in. All of it is off under
   prefers-reduced-motion, and nothing here hides content without JS.
   ========================================================================== */
:root {
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-silk: cubic-bezier(0.65, 0, 0.35, 1);
}

/* smooth wheel scrolling (Lenis) */
html.lenis,
html.lenis body {
  height: auto;
}
html.lenis {
  scroll-behavior: auto;
}
.lenis.lenis-stopped {
  overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {
  /* the hero photo develops as the page opens */
  .hero__figure {
    animation: hero-develop 1.6s var(--ease-soft) 0.15s both;
  }
  .hero__figure img {
    animation: hero-settle 2.2s var(--ease-soft) 0.15s both;
  }
  @keyframes hero-develop {
    from { clip-path: inset(12% 10% 12% 10% round 48px); }
    to { clip-path: inset(0 0 0 0 round var(--r-card)); }
  }
  @keyframes hero-settle {
    from { transform: scale(1.25); filter: blur(8px) saturate(0.6); }
    to { transform: none; filter: none; }
  }

  /* reveals: longer, softer, lifted out of a slight blur */
  .reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
    filter: blur(6px);
    transition:
      opacity 1.1s var(--ease-soft),
      transform 1.3s var(--ease-soft),
      filter 1.1s var(--ease-soft);
    transition-delay: var(--d, 0ms);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* calmer interactive easing */
  .btn {
    transition: background 0.45s var(--ease-soft), color 0.45s var(--ease-soft),
      border-color 0.45s var(--ease-soft), transform 0.35s var(--ease-soft),
      box-shadow 0.45s var(--ease-soft);
  }
  .btn .icon {
    transition: transform 0.55s var(--ease-soft);
  }
  .nav__links a::after {
    transition: transform 0.6s var(--ease-soft);
  }
  .frame img {
    transition: scale 0.9s var(--ease-soft);
  }

  /* photographs develop as they scroll in; hover uses `scale`, so it stacks */
  @supports (animation-timeline: view()) {
    .about__figure,
    .tile .frame,
    .strip .frame {
      animation: frame-open linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
    .about__figure img,
    .tile .frame img,
    .strip .frame img,
    .pets__figure img {
      animation: img-develop linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
    @keyframes frame-open {
      from { clip-path: inset(10% 8% 10% 8% round 36px); }
      to { clip-path: inset(0 0 0 0 round var(--r-card)); }
    }
    @keyframes img-develop {
      from { transform: scale(1.22); filter: saturate(0.55) brightness(1.05); }
      to { transform: none; filter: none; }
    }
    /* the bar photo drifts behind its text */
    .band > img {
      animation: band-drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes band-drift {
      from { transform: translateY(-7%) scale(1.16); }
      to { transform: translateY(7%) scale(1.16); }
    }
    .band__copy {
      animation: band-copy linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 70%;
    }
    @keyframes band-copy {
      from { opacity: 0; transform: translateY(32px); }
    }
  }
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .frame img {
    transform: none;
    scale: 1.06;
  }
  .btn--primary:hover {
    box-shadow: 0 10px 24px -10px rgba(3, 90, 43, 0.55);
  }
}

/* --- pause switch for the moving photos ------------------------------------ */
.reel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.motion-toggle {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}
html.photos-paused .reel__track {
  animation-play-state: paused;
}

/* --- small spacing helpers used by the generated markup ------------------ */
.note--after-hours {
  margin-top: 1.75rem;
}
.reviews-cta {
  margin-top: 2.25rem;
}
.footer__h3-gap {
  margin-top: 1.5rem;
}

/* --- fixes ---------------------------------------------------------------
   [hidden] must win over any display rule, otherwise the mobile panel stays
   on screen at desktop widths. */
[hidden] {
  display: none !important;
}

/* Anchor targets must clear the sticky header, otherwise a nav jump lands
   with the section heading hidden underneath it. */
:target,
section[id] {
  scroll-margin-top: 88px;
}

/* --- hover-only motion -----------------------------------------------------
   Gated so a tap on a touch screen cannot leave a hover state stuck on.
   Everything here is transform/opacity/colour only. */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--green-600);
  }
  .btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .btn:hover .icon--go {
    transform: translateX(4px);
  }
  .nav__links a:hover {
    color: var(--text);
  }
  .nav__links a:hover::after {
    transform: scaleX(1);
  }
  a.plate__line:hover span b {
    color: var(--accent);
  }
}
