/* Baked with Love website. The look of the mock-up and the current website: Poppins, white
   ground, red headings, dark footer. Colours come from the palette in Settings (the :root
   block in page.html); the structure is Rogue Parrot's storefront. */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--page-fg); background: var(--page-bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); text-transform: var(--heading-case); font-weight: 500; line-height: 1.15; margin: 0 0 1rem; }
h1 { color: var(--accent); font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { color: var(--accent); font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.rich > :last-child { margin-bottom: 0; }
.rich ul, .rich ol { padding-left: 1.4rem; margin: 0 0 1rem; text-align: left; display: inline-block; }
.rich blockquote { margin: 0 0 1rem; padding-left: 1rem; border-left: 3px solid var(--accent); }
.hp { position: absolute; left: -9999px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.7rem 1.6rem; background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bg); border-radius: var(--radius); text-decoration: none; font: 600 0.95rem/1.2 var(--font-body); cursor: pointer; }
.btn:hover { filter: brightness(0.88); }
.btn-outline { background: transparent; color: var(--btn-bg); }
.btn:disabled { opacity: 0.6; cursor: default; }
.cta { margin: 1.5rem 0 0; }

/* Bars */
.preview-bar { background: #222; color: #fff; text-align: center; padding: 0.5rem 1rem; font-size: 0.9rem; }
.preview-bar a { color: #ffd84d; }
.announcement { background: var(--ann-bg); color: var(--ann-fg); text-align: center; padding: 0.55rem 1rem; font-size: 0.9rem; font-weight: 500; }
.announcement a { color: inherit; }

/* Header and menu */
.site-header { background: var(--header-bg); color: var(--header-fg); }
.site-header .inner { max-width: var(--max); margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; position: relative; }
.brand { color: inherit; text-decoration: none; font-weight: 700; font-size: 1.3rem; flex: none; }
.brand img { height: 72px; width: auto; }
.menu { flex: 1; }
.menu > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 1.3rem; }
.menu li { position: relative; }
.menu a, .menu button, .menu span { color: inherit; text-decoration: none; font: inherit; font-size: 0.97rem; background: none; border: 0; padding: 0.4rem 0; cursor: pointer;
  border-bottom: 2px solid transparent; display: inline-block; }
.menu a:hover, .menu a.active { color: var(--accent); border-bottom-color: var(--accent); }
.menu li ul { list-style: none; margin: 0; padding: 0.5rem 0; position: absolute; top: 100%; left: -1rem; min-width: 14rem; background: var(--header-bg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); display: none; z-index: 20; }
.menu li ul a, .menu li ul span { display: block; padding: 0.45rem 1rem; border: 0; }
.menu li:hover > ul, .menu li:focus-within > ul, .menu li.open > ul { display: block; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; padding: 12px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; height: 3px; background: var(--header-fg); margin: 4px 0; border-radius: 2px; }

/* Blocks */
.block { padding: 2.5rem 0; }
.block .inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.block .inner.narrow { max-width: 900px; }
.block[class*=" bg-"] { padding: 3.5rem 0; }
.tone-light { color: #fff; }
.tone-light h1, .tone-light h2, .tone-light a:not(.btn) { color: #fff; }
.tone-dark { color: #000; }
main > .block:first-child { padding-top: 0.5rem; }

.b-hero_cover .cover-img img { width: 100%; height: clamp(240px, 52vw, 720px); object-fit: cover; }
.b-hero_cover.h-short .cover-img img { height: clamp(200px, 32vw, 420px); }
.b-hero_cover.h-tall .cover-img img { height: clamp(320px, 70vw, 880px); }
.b-hero_cover .cover-text { text-align: center; max-width: 900px; margin: 2.5rem auto 0; font-size: 1.05rem; }

.b-hero_stack .stack-img img { width: 100%; height: auto; }
.b-hero_stack .stack-text { text-align: center; max-width: 900px; margin: 2rem auto 0; font-size: 1.05rem; }

.b-hero_centred { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 420px; }
.b-hero_centred.h-short { min-height: 280px; }
.b-hero_centred.h-tall { min-height: 640px; }
.b-hero_centred .centred-bg { position: absolute; inset: 0; }
.b-hero_centred .centred-bg img { width: 100%; height: 100%; object-fit: cover; }
.b-hero_centred .centred-bg + .inner { position: relative; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.b-hero_centred .centred-bg + .inner h1 { color: #fff; }
.b-hero_centred .inner { width: 100%; }
.b-hero_centred .centred-text { text-align: center; max-width: 820px; margin: 0 auto; }
.b-hero_centred .sub { font-size: 1.25rem; }
.hero-logo { max-width: 220px; margin: 0 auto 1.5rem; }

.b-text { font-size: 1rem; }
.b-text.align-centre { text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 24rem; border-radius: 14px; overflow: hidden; }
.split.img-40 { grid-template-columns: 2fr 3fr; }
.split.img-60 { grid-template-columns: 3fr 2fr; }
.split.side-right .split-img { order: 2; }
.split.side-right.img-40 { grid-template-columns: 3fr 2fr; }
.split.side-right.img-60 { grid-template-columns: 2fr 3fr; }
/* The photo fills its half however long the words run, trimmed around its focal point (as 5mile.nz). */
.split-img { position: relative; min-height: 18rem; }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-text { padding: clamp(1.5rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.split-text h1 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.split-text .rich { max-width: 62ch; }
.split-text .rich p:last-child { margin-bottom: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.5rem; }

.b-image_panel .panel-img { width: 100%; height: auto; margin: 0 auto 1.5rem; }
.b-image_panel .panel-text { text-align: center; }

.b-gallery h2 { text-align: center; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery .tile { display: block; aspect-ratio: 1; overflow: hidden; }
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery .tile:hover img { transform: scale(1.04); }

.b-people h2 { text-align: center; }
.people { display: grid; grid-template-columns: repeat(auto-fit, 256px); justify-content: center; gap: 2.5rem 6rem; }
/* As the Squarespace About page: photo in a circle, name in red, the role and the words small and light, left-aligned under it. */
.person { text-align: left; }
.person img { width: 256px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 0 0.9rem; }
.person h3 { color: var(--accent); font-size: 1.1rem; font-weight: 500; margin-bottom: 0.1rem; }
.person .role { font-size: 0.75rem; font-weight: 300; text-transform: uppercase; margin-bottom: 0.9rem; }
.person .bio { font-size: 0.75rem; font-weight: 300; line-height: 1.4; }
.tone-light .person h3 { color: #fff; }

/* Page Cards block: a photo and a title for each page (the catering menus on the Catering page) */
.b-page_cards h2 { text-align: center; }
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: block; color: inherit; text-decoration: none; }
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-title { display: block; text-align: center; color: var(--accent); font-size: 1.25rem; font-weight: 500; margin-top: 0.7rem; }

/* Menu block: a menu customers read on screen */
.b-menu .menu-heading { text-align: center; }
.menu-intro { text-align: center; max-width: 820px; margin: 0 auto 2rem; }
/* Sections flow down the columns, so a short section never leaves a gap beside a long one. */
.menu-sections { column-gap: 3.5rem; }
.menu-section { break-inside: avoid; margin-bottom: 2.5rem; }
.menu-sections > .menu-section:last-child { margin-bottom: 0; }
.menu-sections.cols-2 { columns: 2; }
.menu-sections.cols-3 { columns: 3; column-gap: 3rem; }
.b-menu .inner { max-width: max(var(--max), 1560px); }
.menu-section h3 { color: var(--accent); font-size: 1.35rem; font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 0.35rem; margin-bottom: 0.75rem; }
.menu-note { font-size: 0.92rem; opacity: 0.8; font-style: italic; }
.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-item { display: flex; gap: 0.9rem; padding: 0.65rem 0; border-bottom: 1px dotted rgba(0, 0, 0, 0.2); break-inside: avoid; }
.tone-light .menu-item { border-bottom-color: rgba(255, 255, 255, 0.3); }
.menu-photo { width: 84px; height: 84px; object-fit: cover; flex: none; border-radius: 4px; }
.menu-body { flex: 1; min-width: 0; }
.menu-line { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; }
.menu-name { font-weight: 600; }
.menu-price { font-weight: 600; white-space: nowrap; text-align: right; }
.menu-desc { margin: 0.15rem 0 0; font-size: 0.93rem; opacity: 0.85; }
.mark { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; padding: 0.05rem 0.35rem; border: 1px solid currentColor; border-radius: 3px;
  text-decoration: none; vertical-align: 0.15em; color: var(--accent); }
.tone-light .mark { color: #fff; }
.menu-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.2rem; margin: 2rem 0 0; font-size: 0.88rem; }
.menu-footnote { text-align: center; max-width: 820px; margin: 1.5rem auto 0; font-size: 0.93rem; }
.menu-print { text-align: center; margin: 2rem 0 0; }

.faq details { border-bottom: 1px solid rgba(0, 0, 0, 0.15); padding: 0.9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details .rich { margin-top: 0.6rem; }

.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-bw iframe { filter: grayscale(1) contrast(1.05); }
.gmap { position: relative; height: 500px; background: #eee; overflow: hidden; }
.gmap-standin, .gmap-standin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gmap-live { position: absolute; inset: 0; }
@media (max-width: 600px) { .gmap { height: 380px; } }
.map-picture { margin: 0 auto; }
.map-picture img { width: 100%; height: auto; aspect-ratio: 12 / 5; object-fit: cover; }
.map-picture figcaption { font-size: 0.72rem; opacity: 0.7; text-align: right; margin-top: 0.3rem; }
@media (max-width: 600px) { .map-picture img { aspect-ratio: 4 / 3; } }
.b-map .map { max-width: 1000px; margin: 0 auto; }
.b-map .map iframe { height: 500px; }

/* Contact Details block: the three columns of the Squarespace Contact page */
.contact-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; align-items: start; }
.b-contact_details .inner { max-width: max(var(--max), 1400px); }
.contact-col h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); white-space: nowrap;   /* the size of the page headings elsewhere */ text-transform: uppercase; text-align: center; margin-bottom: 1.4rem; }
.contact-list p { font-size: 0.88rem; margin-bottom: 0.55rem; }
.contact-list strong { font-weight: 700; }
.contact-visit { text-align: center; }
.contact-big { font-size: 1.3rem; font-weight: 300; margin-bottom: 0.6rem; }
.contact-socials { list-style: none; display: flex; justify-content: center; gap: 0.9rem; padding: 0; margin: 0; }
.contact-socials a { color: var(--page-fg); display: grid; place-items: center; width: 48px; height: 48px; }
.contact-socials .icon { width: 34px; height: 34px; }
.b-map h2 { text-align: center; }

.contact-form { display: grid; gap: 0.9rem; max-width: 560px; margin: 1.5rem auto 0; }
.contact-form label { display: grid; gap: 0.3rem; font-weight: 500; font-size: 0.95rem; }
.contact-form input, .contact-form textarea { font: inherit; font-size: 16px; padding: 0.65rem 0.75rem; border: 1px solid #bbb; border-radius: 4px; width: 100%; background: #fff; color: #000; }
.contact-form button { justify-self: start; }
.form-status { margin: 0; font-weight: 500; }
.b-contact_form h2 { text-align: center; }
.b-contact_form .rich { text-align: center; }

.b-ecwid_shop { min-height: 50vh; }
.b-ecwid_shop h2, .b-ecwid_shop > .inner > .rich { text-align: center; }

.button-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0; }
.b-buttons.align-centre .button-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); font-size: 0.9rem; padding: 1.5rem 0 1.25rem; }
.site-footer .inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.site-footer a { color: inherit; }
.site-footer h3 { font-size: 1rem; color: inherit; }
.footer-columns { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: center; text-align: center; margin-bottom: 1rem; }
.footer-col { flex: 1 1 200px; }
.footer-col.w-narrow { flex: 0.6 1 160px; }
.footer-col.w-wide { flex: 2 1 280px; }
.footer-col p { margin: 0 0 0.35rem; }
.footer-logo { margin: 0 auto 1rem; height: auto; }
.footer-links, .socials { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.35rem; }
.socials { display: flex; justify-content: center; gap: 0.6rem; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; }
.socials .icon { width: 30px; height: 30px; }
.footer-bottom { text-align: center; font-size: 0.8rem; }
.foot-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.3rem 0.5rem; margin-bottom: 0.6rem; }
.foot-menu a + a::before { content: '|'; margin-right: 0.5rem; display: inline-block; text-decoration: none; }
.copyright { opacity: 0.85; }

/* Photo viewer */
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.88); display: grid; place-items: center; z-index: 100; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 92vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 0.5rem; right: 0.75rem; width: 48px; height: 48px; font-size: 2.2rem; color: #fff; background: none; border: 0; cursor: pointer; }

/* The one header breakpoint: burger menu */
@media (max-width: 899px) {
  .menu-toggle { display: block; }
  .site-header .inner { flex-wrap: wrap; }
  .brand img { height: 56px; }
  .menu { display: none; flex-basis: 100%; }
  .menu.open { display: block; }
  .menu > ul { flex-direction: column; align-items: center; gap: 0; padding-bottom: 0.5rem; }
  .menu a, .menu button, .menu span { padding: 0.6rem 0; font-size: 1.05rem; }
  .menu li ul { position: static; box-shadow: none; display: block; text-align: center; padding: 0; min-width: 0; }
  .menu li ul a { padding: 0.4rem 0; font-size: 0.95rem; }
}
/* Content reflows by width */
@media (max-width: 1100px) {
  .menu-sections.cols-3 { columns: 2; }
}
@media (max-width: 760px) {
  .cards, .cards.cols-3, .cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .card-title { font-size: 1.05rem; }
  .contact-cols { grid-template-columns: 1fr; gap: 2rem; }
  .contact-list { text-align: center; }
  .split, .split.img-40, .split.img-60, .split.side-right.img-40, .split.side-right.img-60 { grid-template-columns: 1fr; gap: 0; }
  .split.side-right .split-img { order: 0; }
  .split-img { min-height: 16rem; }
  .split-img img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .menu-sections.cols-2, .menu-sections.cols-3 { columns: 1; }
  .gallery, .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .cards, .cards.cols-2, .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr; }
  .block .inner, .site-header .inner, .site-footer .inner { padding-left: 16px; padding-right: 16px; }
  .block { padding: 2rem 0; }
  .b-hero_cover .cover-text, .b-hero_stack .stack-text, .b-text { font-size: 1rem; }
  .menu-photo { width: 64px; height: 64px; }
}

/* A menu prints on A4: no header, footer, photos or buttons */
@media print {
  @page { size: A4; margin: 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .announcement, .preview-bar, .no-print, .lightbox, .b-hero_cover, .b-hero_centred, .b-gallery, .b-map,
  .b-contact_form, .b-ecwid_shop, .b-buttons, .menu-photo, .b-image_split .split-img, .b-hero_stack .stack-img { display: none !important; }
  .block, .block[class*=" bg-"] { padding: 0 0 6mm; background: none !important; color: #000 !important; }
  .block .inner { padding: 0; max-width: none; }
  h1, h2, h3, .mark, .tone-light h2 { color: #000 !important; }
  .menu-section h3 { border-bottom-color: #000; }
  .menu-sections.cols-2, .menu-sections.cols-3 { columns: 2; column-gap: 10mm; }
  .menu-section { break-inside: avoid-column; margin-bottom: 6mm; }
  .menu-item { padding: 1.5mm 0; }
  a { color: #000; text-decoration: none; }
}
