/* 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 { 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); }
.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; }

/* ---- Tuning for All Rosey Coffee ------------------------------------------
   Their fascia is built-up white capitals on purple, monoline and widely
   tracked, with the two Ls of "ALL" sharing an extended foot. We cannot
   reproduce the ligature in a webfont, but caps and tracking are most of what
   the eye reads, so they are applied where the sign itself uses them: the
   header wordmark and the menu section bands. Headings stay sentence case,
   because they run to whole sentences and caps would cost more in readability
   than they buy in resemblance. */

.site-header .brand-name {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  font-size: 1.2rem;
}

.menu-section h3 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
}

/* The hero sits over a bright, busy photograph of the counter, so the scrim
   is carried a little further up than the archetype default to keep the
   headline at AA over the pale window light on the right. */
.hero::after { background: linear-gradient(180deg, rgba(24,18,46,0.30), rgba(24,18,46,0.72)); }

/* The highlight cards land on the archetype's inverted purple band, where
   base.css's .card-body p { color: var(--color-muted) } measured 1.23:1
   against the band. base.css already patches this case for the footer but not
   for an inverted section, so it is patched here. */
main .section:nth-of-type(4n+3) .card-body p { color: inherit; opacity: 0.88; }
