/* 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. Tuned for Proper Order:
   the logo is a bold pine-green circle-and-bar mark with no sign or interior photo
   behind it, so the blocks and pills carry the brand and a small round motif borrowed
   from the mark's centre dot stands in for a photograph where the sections need one. */

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); }
/* Card body text is --color-muted, a dark grey, so it must be re-inherited on the
   dark block or the highlight cards render dark-on-dark and cannot be read. */
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: this build ships with no photograph (see
   company-profile.md, Gaps), so the pine-green block itself is the hero. Matching
   base.css's own :has() selector is needed, or its higher specificity collapses the
   block to nothing when there is no hero image. */
.hero, .hero:has(.hero-media img:not([src])) { 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; }

/* A small round motif, borrowed from the centre dot on the logo, marks the eyebrow
   on every section instead of a photograph the shop doesn't have. */
.eyebrow::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; border-radius: 999px; background: currentColor; margin-right: 0.5em; vertical-align: middle; opacity: 0.7; }
.hero .eyebrow::before { background: var(--color-on-accent); }

/* The logo mark is dark pine green, so it needs a light backing to read against the
   solid-green header bar; a plain circle keeps the mark itself unedited. */
.brand img { height: 2.1rem; background: var(--color-on-primary); border-radius: 999px; padding: 0.3rem; }

/* The Instagram follow button's handle is long ("@proper_order_coffee_co"); let it
   wrap onto two lines on narrow screens rather than force the button wider than
   the column. */
#instagram .btn-ghost { flex-wrap: wrap; white-space: normal; text-align: center; height: auto; row-gap: 0.15rem; }
