/* archetype: tiles — modern and colour first. Full-bleed alternating colour blocks
   carry the page, the nav is a row of pills, and the menu is banded by section, so
   a shop with no usable photographs still looks deliberate. */

h1 { font-size: clamp(2.6rem, 9vw, 5rem); line-height: 1.03; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 5.5vw, 3rem); }

.site-header { background: var(--color-primary); border-bottom: 0; backdrop-filter: none; }
.site-header .brand, .site-header .brand-name { color: var(--color-on-primary); }
.nav-toggle { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: var(--color-on-primary); }
.nav { background: var(--color-primary); }
.nav-list a { color: var(--color-on-primary); border-radius: 999px; }
.nav-list a:hover, .nav-list a[aria-current="page"] { background: rgba(255,255,255,0.16); color: #fff; }

/* Big soft corners on everything, and pills for anything pressable. */
.btn, .nav-toggle { border-radius: 999px; }
.card, .menu-note, .book-panel, .map-embed, .gallery img, .menu-section { border-radius: 22px; }
.btn { font-weight: 600; padding: 0.9rem 1.6rem; }
.card { border: 0; background: color-mix(in srgb, var(--color-primary) 8%, var(--color-surface)); box-shadow: none; }

/* Alternating full-bleed colour blocks. */
main .section:nth-of-type(even) { background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg)); }
main .section:nth-of-type(4n+3) { background: var(--color-primary); color: var(--color-on-primary); }
main .section:nth-of-type(4n+3) h2, main .section:nth-of-type(4n+3) h3, main .section:nth-of-type(4n+3) .eyebrow, main .section:nth-of-type(4n+3) .lead, main .section:nth-of-type(4n+3) p, main .section:nth-of-type(4n+3) .card-body p { color: inherit; }
main .section:nth-of-type(4n+3) .card { background: rgba(255,255,255,0.1); color: inherit; }
main .section:nth-of-type(4n+3) .btn-ghost { color: var(--color-on-primary); }
.section + .section { border-top: 0; }

/* Hero works with or without a photograph. */
.hero { min-height: min(76vh, 44rem); background: var(--color-primary); overflow: hidden; }
.hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55)); }
.hero .eyebrow { display: inline-block; background: var(--color-accent); color: var(--color-on-accent); border-radius: 999px; padding: 0.25rem 0.85rem; }

/* Menu: each section gets a coloured header band. */
@media (min-width: 760px) { .menu-sections { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.menu-section { background: var(--color-surface); padding: 0 1.35rem 1.1rem; overflow: hidden; }
.menu-section h3 { background: var(--color-primary); color: var(--color-on-primary); margin: 0 -1.35rem 0.75rem; padding: 0.8rem 1.35rem; border: 0; font-size: 1.2rem; }
.menu-item-price { color: var(--color-accent); }
.menu-item-price:empty { display: none; }

/* Motion: the trade is visitors who mostly are not reading English, so everything
   that moves has to mean something with the text switched off. */
@media (prefers-reduced-motion: no-preference) {
  /* The hero drifts for 24s and turns around, so the room reads as a place, not a picture. */
  .hero-media img { animation: cn-drift 24s ease-in-out infinite alternate; will-change: transform; }
  @keyframes cn-drift {
    from { transform: scale(1.09) translate3d(-1.6%, 0.6%, 0); }
    to   { transform: scale(1.09) translate3d(1.6%, -0.6%, 0); }
  }
  .card, .gallery img { transition: transform 240ms ease, box-shadow 240ms ease; }
  .card:hover, .card:focus-within, .card:active { transform: translateY(-7px) scale(1.015); box-shadow: 0 14px 30px rgba(0,0,0,0.16); }
  .gallery img:hover, .gallery img:focus, .gallery img:active { transform: scale(1.05); }
  /* Open right now, said with a pulse instead of a word. */
  .status-pill.is-open::before { animation: cn-beat 2.6s ease-in-out infinite; }
  @keyframes cn-beat { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.55; } }
  /* The map button nudges toward the map it opens. */
  .map-load { animation: cn-nudge 3.4s ease-in-out infinite; }
  @keyframes cn-nudge { 0%, 82%, 100% { transform: translateX(0); } 88% { transform: translateX(5px); } 94% { transform: translateX(2px); } }
  .map-load:hover, .map-load:active { animation: none; }
}
