/* Village Farm Devon — main stylesheet
   Mobile-first, plain CSS. Components only use --brand-pale / --brand-deep.
   Layout direction: bold full-width bands that meet with a soft wave, full-bleed
   photo heroes, organic photo shapes and pill buttons (after earthtrust.org.uk),
   kept inside the interim brand guidelines.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Marcellus";
  src: url("../fonts/Marcellus-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-var-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Shared neutrals */
  --charcoal: #2F332E;   /* all body text, never #000 */
  --oat:      #F7F4EC;   /* page background, never #fff */

  /* Village Farm (main brand) */
  --vf-pale:  #DDE3D6;
  --vf-deep:  #4F5F4A;

  /* The Old Stable */
  --os-pale:  #D6E3EA;
  --os-deep:  #3D5E6F;

  /* Reserved for future sub-brands (defined, not used yet) */
  --lemon-pale:   #F3ECC0;  --burnt-orange: #CC5A1E;
  --hessian-pale: #E8DCC8;  --hessian-deep: #6B5536;
  --pink-pale:    #EED8D4;  --pink-deep:    #874D4C;

  /* Theme defaults (overridden per body.theme-*) */
  --brand-pale: var(--vf-pale);
  --brand-deep: var(--vf-deep);

  --font-heading: "Marcellus", Georgia, serif;
  --font-body: "Open Sans", Arial, sans-serif;

  --gutter: 16px;
  --measure: 40rem;
  --wide: 76rem;
  --radius: 14px;
  --radius-lg: 22px;
  --space-section: clamp(3.5rem, 9vw, 7rem);
  --wave-h: clamp(18px, 3.2vw, 46px);
  --focus: 3px solid var(--charcoal);
  /* Soft wave used where two bands meet (drawn in the lower band's colour) */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V22C180 6 400 0 720 14s560 30 720 6v28z'/%3E%3C/svg%3E");
}

.theme-village_farm { --brand-pale: var(--vf-pale); --brand-deep: var(--vf-deep); }
.theme-old_stable   { --brand-pale: var(--os-pale); --brand-deep: var(--os-deep); }
/* Phase 2 sub-brands: uncomment with the matching entry in core/themes.py
.theme-hessian { --brand-pale: var(--hessian-pale); --brand-deep: var(--hessian-deep); }
.theme-pink    { --brand-pale: var(--pink-pale);    --brand-deep: var(--pink-deep); }
*/

@media (min-width: 48em) { :root { --gutter: 32px; } }

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--oat);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
iframe { border: 0; display: block; width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;          /* Marcellus is never bold */
  color: var(--brand-deep);
  letter-spacing: 0.015em;
  line-height: 1.15;
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.875rem); }
h3 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p, ul, ol, dl { margin: 0 0 1em; }
strong, b { font-weight: 600; }

a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: var(--focus); outline-offset: 3px; }
main:focus { outline: none; }

address { font-style: normal; margin-bottom: 1em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--charcoal); color: var(--oat); padding: 0.75rem 1rem;
  font-weight: 600; text-decoration: none; border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; }

.container { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 0.25em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.plain-list { list-style: none; padding: 0; }

/* Small uppercase label above a heading (14px minimum for tracked caps) */
.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-deep);
  margin: 0 0 0.9rem;
}

/* --- Section bands --------------------------------------------------------
   Every band can carry a wave on its top edge, drawn in its own colour, so
   coloured sections flow into each other like the reference sites.          */
.band { position: relative; padding-block: var(--space-section); background: var(--oat); }
.band--tight { padding-block: clamp(2.25rem, 6vw, 4rem); }
.band--tint { background: var(--brand-pale); }
.band--oat { background: var(--oat); }
.band--deep { background: var(--brand-deep); color: var(--oat); }

.band::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  height: var(--wave-h); background: inherit; pointer-events: none;
  -webkit-mask: var(--wave) center bottom / 100% 100% no-repeat;
          mask: var(--wave) center bottom / 100% 100% no-repeat;
}
/* Same colour twice in a row: no wave, and no doubled padding */
.band--oat + .band--oat, .band--tint + .band--tint, .band--deep + .band--deep { padding-top: 0; }
.band--oat + .band--oat::before, .band--tint + .band--tint::before, .band--deep + .band--deep::before { display: none; }
/* The first band after the page title/hero sits under the hero's own edge */
main > .band:first-child::before { display: none; }

/* Light text on deep bands */
.band--deep h1, .band--deep h2, .band--deep h3, .band--deep h4,
.band--deep .eyebrow, .band--deep a:not(.btn) { color: var(--oat); }
.band--deep .hours__times div, .band--deep .faq, .band--deep .faq__item { border-color: rgba(247, 244, 236, 0.35); }
.band--deep .hours__special { border-color: var(--oat); }
.band--deep .faq__question::after { color: var(--oat); }

.page-title { padding-block: clamp(3rem, 8vw, 6rem); }
.page-title h1 { margin: 0; }

/* --- Buttons (pills) ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 48px; padding: 0.65rem 1.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.25;
  text-align: center; text-decoration: none;
  border: 2px solid var(--brand-deep); border-radius: 999px;
  background: var(--brand-deep); color: var(--oat);
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--oat); }
.btn--secondary, .btn--on-dark { background: transparent; color: var(--brand-deep); }
.btn--secondary:hover, .btn--on-dark:hover { background: var(--brand-deep); color: var(--oat); border-color: var(--brand-deep); }
/* On deep bands and photos: oat pills */
.band--deep .btn--primary, .hero--image .btn--primary, .callout--photo .btn--primary { background: var(--oat); border-color: var(--oat); color: var(--brand-deep); }
.band--deep .btn--secondary, .hero--image .btn--secondary { border-color: var(--oat); color: var(--oat); }
.band--deep .btn:hover, .hero--image .btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--oat); }

.button-row { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button-row:first-child { margin-top: 0; }
@media (max-width: 29.99em) { .button-row .btn { width: 100%; } .button-row li { flex: 1 1 100%; } }

/* --- Utility bar, header and navigation ---------------------------------- */
.utility-bar { background: var(--vf-deep); color: var(--oat); font-size: 0.875rem; }
.utility-bar__inner {
  max-width: var(--wide); margin-inline: auto; padding: 0.35rem var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.utility-bar a { color: var(--oat); text-decoration: none; font-weight: 600; display: inline-block; padding-block: 0.15rem; }
.utility-bar a:hover { text-decoration: underline; }
.utility-bar__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }

.site-header { background: var(--vf-pale); position: sticky; top: 0; z-index: 20; }
.site-header__inner {
  max-width: var(--wide); margin-inline: auto; padding: 0.5rem var(--gutter);
  display: flex; align-items: center; gap: 1rem; min-height: 72px;
}
.site-logo { display: block; flex: 0 0 auto; padding-block: 0.35rem; }
.site-logo img { height: 52px; width: auto; }
@media (min-width: 48em) { .site-logo img { height: 66px; } }
.site-logo__text { font-family: var(--font-heading); font-size: 1.5rem; color: var(--charcoal); text-decoration: none; }
.site-header__tagline { display: none; margin: 0; font-size: 0.9375rem; font-weight: 600; }
@media (min-width: 64em) { .site-header__tagline { display: block; } }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }
.site-header__cta { display: none; }
@media (min-width: 40em) { .site-header__cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 48px; padding: 0.5rem 1.1rem;
  background: transparent; color: var(--charcoal);
  border: 2px solid var(--charcoal); border-radius: 999px;
  font: 600 1rem var(--font-body); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.no-js .nav-toggle { display: none; }

/* Without JS the nav is a plain list under the header */
.site-nav { background: var(--vf-pale); }
.site-nav__panel { max-width: var(--wide); margin-inline: auto; padding: 0 var(--gutter) 1rem; }
.site-nav__close, .site-nav__tagline { display: none; }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: block; padding: 0.8rem 0; color: var(--charcoal);
  font-family: var(--font-heading); font-size: 1.375rem; letter-spacing: 0.015em; text-decoration: none;
  border-bottom: 1px solid rgba(47, 51, 46, 0.15);
}
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--vf-deep); text-decoration: underline; text-decoration-thickness: 1px; }

/* With JS it becomes a drawer at every width (the menu is long) */
.js .site-nav {
  position: fixed; inset: 0; z-index: 50; background: rgba(47, 51, 46, 0.5);
  visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
}
.js .site-nav.is-open { visibility: visible; opacity: 1; }
.js .site-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(26rem, 90vw);
  background: var(--vf-pale); padding: 1rem 1.75rem 2rem; overflow-y: auto;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.js .site-nav.is-open .site-nav__panel { transform: none; }
.js .site-nav__close {
  display: inline-flex; margin: 0 0 1rem auto; min-height: 48px; padding: 0.5rem 1.1rem;
  background: transparent; border: 2px solid var(--charcoal); border-radius: 999px;
  font: 600 1rem var(--font-body); color: var(--charcoal); cursor: pointer;
}
.js .site-nav__tagline { display: block; margin-top: 1.5rem; font-size: 0.9375rem; }
body.nav-open { overflow: hidden; }

/* --- Hero: full-bleed photo with darkened overlay ------------------------ */
.hero { position: relative; }
.hero--plain { padding-block: clamp(3rem, 9vw, 6.5rem); background: var(--brand-pale); }
.hero--image {
  display: grid; min-height: clamp(30rem, 82vh, 48rem); align-items: end;
  background: var(--charcoal); color: var(--oat); overflow: hidden;
}
.hero--image > * { grid-area: 1 / 1; }
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero--image .hero__media::after {
  content: ""; position: absolute; inset: 0;
  /* Keeps oat text at well over 4.5:1 wherever it sits */
  background:
    linear-gradient(to top, rgba(47, 51, 46, 0.88) 0%, rgba(47, 51, 46, 0.55) 45%, rgba(47, 51, 46, 0.15) 100%);
}
@media (min-width: 60em) {
  .hero--image { align-items: center; }
  .hero--image .hero__media::after {
    background: linear-gradient(to right, rgba(47, 51, 46, 0.86) 0%, rgba(47, 51, 46, 0.62) 42%, rgba(47, 51, 46, 0.12) 75%);
  }
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 8vw, 6rem) calc(clamp(3rem, 8vw, 6rem) + var(--wave-h)); }
.hero--plain .hero__inner { padding-block: 0; }
.hero__panel { max-width: 40rem; }
.hero--image .hero__heading, .hero--image .eyebrow,
.hero--image .lockup__name, .hero--image .lockup__endorsement, .hero--image .hero__text { color: var(--oat); }
.hero--image .hero__text a { color: var(--oat); }
.hero__heading { margin-bottom: 0.35em; }
.hero--plain .hero__heading:last-child { margin-bottom: 0; }
.hero__text { font-size: 1.1875rem; max-width: 34rem; }
.hero .button-row { margin-top: 1.5rem; }
/* The band after a photo hero rises over it with a wave */
.hero--image + .band::before, .hero--image + .callout::before { display: block; }
.hero--plain + .band--tint { padding-top: 0; }
.hero--plain + .band--tint::before { display: none; }

/* --- Sub-brand lockup --------------------------------------------------- */
.lockup { margin: 0 0 1.25rem; display: inline-flex; flex-direction: column; gap: 0.4em; }
.lockup__name {
  font-family: var(--font-heading); text-transform: uppercase; color: var(--brand-deep);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); letter-spacing: 0.18em; line-height: 1.1;
  margin-right: -0.18em; /* trim trailing tracking */
}
.lockup__endorsement {
  font-family: var(--font-body); font-weight: 600; text-transform: uppercase; color: var(--charcoal);
  font-size: 0.875rem; letter-spacing: 0.08em; margin-right: -0.08em; /* never below 14px */
}
h1.lockup, h2.lockup { margin-bottom: 0.6em; }

/* --- Split (photo + text) with organic shapes --------------------------- */
.split { display: grid; gap: 2.25rem; align-items: center; }
@media (min-width: 60em) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
  .split--image-right .split__media { order: 2; }
}
.split__media { position: relative; max-width: 34rem; width: 100%; margin-inline: auto; }
.split__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.split__media--blob img { border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; }
.split__media--round img { border-radius: 50%; }
.split__media--rounded img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
.split--image-right .split__media--blob img { border-radius: 44% 56% 52% 48% / 46% 56% 44% 54%; }

.badge {
  position: absolute; right: 4%; bottom: 4%; margin: 0;
  width: clamp(6.5rem, 22vw, 8.5rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--brand-deep); color: var(--oat);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0.75rem; line-height: 1.15;
}
.badge__main { font-family: var(--font-heading); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.badge__small { font-size: 0.875rem; margin-top: 0.2rem; }

/* --- Gallery ------------------------------------------------------------- */
.gallery__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 30em) { .gallery__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 60em) { .gallery__list { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.gallery__link { display: block; overflow: hidden; background: var(--brand-pale); border-radius: var(--radius); }
.gallery__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery__link:hover img { transform: scale(1.04); }

.gallery--carousel { position: relative; }
.gallery--carousel .gallery__list {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; padding-bottom: 0.5rem;
}
.gallery--carousel .gallery__item { flex: 0 0 80%; scroll-snap-align: start; }
@media (min-width: 48em) { .gallery--carousel .gallery__item { flex-basis: 40%; } }
@media (min-width: 75em) { .gallery--carousel .gallery__item { flex-basis: 30%; } }
.gallery__controls { display: none; justify-content: flex-end; gap: 0.5rem; margin-bottom: 0.75rem; }
.js .gallery__controls { display: flex; }
.gallery__controls button {
  width: 48px; height: 48px; font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 50%;
  background: var(--oat); color: var(--brand-deep); border: 2px solid var(--brand-deep);
}

/* Lightbox (a <dialog> created by main.js) */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(47, 51, 46, 0.94); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 4rem 0.5rem; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox__btn {
  position: absolute; min-width: 48px; min-height: 48px; padding: 0.5rem 1.1rem;
  background: var(--oat); color: var(--charcoal); border: 0; border-radius: 999px;
  font: 600 1rem var(--font-body); cursor: pointer;
}
.lightbox__close { top: 0.75rem; right: 0.75rem; }
.lightbox__prev { left: 0.75rem; bottom: 0.75rem; }
.lightbox__next { right: 0.75rem; bottom: 0.75rem; }
.lightbox__count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: var(--oat); font-size: 0.9375rem; }

/* --- Cards --------------------------------------------------------------- */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--oat); position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; }
.band--oat .card { background: var(--brand-pale); }
.band--deep .card { background: var(--oat); color: var(--charcoal); }
.band--deep .card h3, .band--deep .card a { color: var(--brand-deep); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__title { margin-bottom: 0.45em; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card__title a:focus-visible { outline: none; }
.card:focus-within { outline: var(--focus); outline-offset: 3px; }
.card__more { font-weight: 600; color: var(--brand-deep); margin: auto 0 0; padding-top: 0.75rem; }
.card__more::after { content: " ›"; }

/* --- Callout: a highlight line, optionally over a full-bleed photo ------- */
.callout { position: relative; padding-block: clamp(2.5rem, 6vw, 4rem); text-align: center; background: var(--oat); }
.callout__text {
  font-family: var(--font-heading); font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); color: var(--brand-deep);
  margin: 0 auto; max-width: 38rem; letter-spacing: 0.015em; line-height: 1.25; text-wrap: balance;
}
.callout__text::before, .callout__text::after {
  content: ""; display: block; width: 3rem; height: 1px; background: currentColor; margin: 1.25rem auto;
}
.callout--photo { display: grid; min-height: clamp(22rem, 60vh, 34rem); align-items: center; background: var(--charcoal); overflow: hidden; padding-block: 0; }
.callout--photo > * { grid-area: 1 / 1; }
.callout__media { position: absolute; inset: 0; }
.callout__img { width: 100%; height: 100%; object-fit: cover; }
.callout__media::after { content: ""; position: absolute; inset: 0; background: rgba(47, 51, 46, 0.62); }
.callout__inner { position: relative; z-index: 1; padding-block: calc(var(--wave-h) + 2rem); }
.callout--photo .callout__text, .callout--photo .callout__text a { color: var(--oat); }
/* Photo bands have straight edges; the next band's wave rises over the photo */
.callout--photo::before { content: none; }

/* --- Opening hours ------------------------------------------------------- */
.hours-band { display: grid; gap: 2rem; }
@media (min-width: 48em) { .hours-band--with-contact { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.hours__heading { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.hours__regular p { margin-bottom: 0.4em; }
.hours__times { display: grid; gap: 0.25rem; margin: 1rem 0; max-width: 26rem; }
.hours__times div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(47, 51, 46, 0.18); padding-block: 0.4rem; }
.hours__times dt { font-weight: 600; }
.hours__times dd { margin: 0; }
.hours__special { margin-top: 1.5rem; padding-left: 1rem; border-left: 3px solid var(--brand-deep); }
.hours__special-heading { font-weight: 600; margin-bottom: 0.4em; }
.hours__special p { margin-bottom: 0.3em; }
.hours-band__contact { padding-top: 0.5rem; }
@media (min-width: 48em) { .hours-band__contact { padding-top: 4.5rem; } }

/* --- Contact list ------------------------------------------------------- */
.contact-list li { padding-block: 0.45rem; }
.contact-list__label { display: block; font-weight: 600; font-size: 0.9375rem; }
.contact-list a { font-size: 1.1875rem; }
.contact-list address { margin: 0; display: inline; }

/* --- Prices -------------------------------------------------------------- */
.prices { max-width: 32rem; }
.prices__row { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; border-bottom: 1px solid rgba(47, 51, 46, 0.2); }
.prices dt { font-weight: 600; }
.prices__note { display: block; font-weight: 400; font-size: 0.9375rem; }
.prices dd { margin: 0; font-family: var(--font-heading); font-size: 1.375rem; color: var(--brand-deep); }

/* --- FAQ accordion (native <details>) ----------------------------------- */
.faq { max-width: 48rem; border-top: 1px solid rgba(47, 51, 46, 0.25); }
.faq__item { border-bottom: 1px solid rgba(47, 51, 46, 0.25); }
.faq__question {
  list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 0; position: relative;
  font-family: var(--font-heading); font-size: 1.3125rem; letter-spacing: 0.015em; min-height: 48px;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid currentColor;
  display: grid; place-items: center; font: 400 1.25rem/1 var(--font-body); color: var(--brand-deep);
}
.faq__item[open] > .faq__question::after { content: "−"; }
.faq__answer { padding: 0 0 1.4rem; }

/* --- Info panel (e.g. #local-popup) ------------------------------------- */
.info-panel { background: var(--brand-pale); padding: 1.5rem 1.75rem; max-width: var(--measure); border-radius: var(--radius-lg); scroll-margin-top: 7rem; }
.band--tint .info-panel { background: var(--oat); }
.info-panel:target, .info-panel.is-highlighted { outline: var(--focus); outline-offset: 4px; }
.info-panel__heading { font-size: 1.5rem; }

/* --- Booking widget ------------------------------------------------------ */
.booking__frame { max-width: 52rem; background: var(--oat); border-radius: var(--radius-lg); overflow: hidden; padding: 0.5rem; }
.band--oat .booking__frame { background: var(--brand-pale); }
.booking__frame iframe { width: 100%; min-height: 300px; background: var(--oat); border-radius: var(--radius); }
.booking__fallback { margin: 1rem 0 0; padding: 1rem; background: var(--brand-pale); border-radius: var(--radius); }
.booking__fallback[hidden] { display: none; }

/* --- Sign-up embed ------------------------------------------------------- */
.signup-embed { max-width: var(--measure); min-height: 8rem; }

/* --- Events -------------------------------------------------------------- */
.month-heading { padding-top: var(--space-section); }
.month-heading h2 {
  font-size: 0.9375rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--brand-deep); margin: 0 0 0.5rem;
}
.event {
  display: grid; gap: 1.5rem; margin-block: 1.25rem; padding: 1.75rem;
  background: var(--brand-pale); border-radius: var(--radius-lg);
}
@media (min-width: 60em) { .event { padding: 2.5rem; } .event--has-flyer { grid-template-columns: 1fr 18rem; align-items: start; } }
.event__title { margin-bottom: 0.3em; }
.event__date {
  font-weight: 600; color: var(--brand-deep); text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.9375rem; order: -1;
}
.event__body { display: flex; flex-direction: column; }
.event__body .event__date { order: -1; margin-bottom: 0.4rem; }
.event__flyer img { width: 100%; max-width: 22rem; border-radius: var(--radius); }
main > .event:last-of-type { margin-bottom: var(--space-section); }
@media (min-width: 76em) { .event { max-width: calc(var(--wide) - 2 * var(--gutter)); } }

/* --- PDF downloads ------------------------------------------------------- */
.doc-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 40em) { .doc-cards { grid-template-columns: repeat(3, 1fr); } }
.doc-cards .doc-card { background: var(--brand-pale); padding: 1.75rem; border-radius: var(--radius-lg); }
.band--tint .doc-cards .doc-card { background: var(--oat); }
.doc-card__link { font-family: var(--font-heading); font-size: 1.5rem; text-decoration: none; display: block; }
.doc-card__link:hover { text-decoration: underline; }
.doc-card__meta { font-family: var(--font-body); font-size: 0.875rem; color: var(--charcoal); }
.doc-card__note { margin: 0.5rem 0 0; }
.doc-list .doc-card { padding-block: 0.5rem; }

/* --- Maker profiles ------------------------------------------------------ */
.makers { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.maker { display: grid; gap: 1.5rem; }
@media (min-width: 56em) {
  .maker { grid-template-columns: minmax(14rem, 20rem) 1fr; gap: 3rem; align-items: center; }
  .maker--no-image { grid-template-columns: 1fr; }
  .maker:nth-child(even):not(.maker--no-image) { grid-template-columns: 1fr minmax(14rem, 20rem); }
  .maker:nth-child(even) .maker__media { order: 2; }
}
.maker__media { display: grid; gap: 0.75rem; max-width: 20rem; }
.maker__media--2 { grid-template-columns: 1fr 1fr; }
.maker__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.maker:nth-child(3n+1) .maker__media img { border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; }
.maker__name { margin-bottom: 0.4em; }
.maker__soon { font-weight: 600; color: var(--brand-deep); }
.maker__links { margin-top: 1rem; overflow-wrap: anywhere; }
.maker__links li + li { margin-top: 0.25rem; }

/* --- Maps ---------------------------------------------------------------- */
.map { background: var(--brand-pale); border-radius: var(--radius-lg); overflow: hidden; }
.map__frame { aspect-ratio: 16 / 10; height: auto; min-height: 260px; background: var(--brand-pale); }
@media (min-width: 60em) { .map__frame { aspect-ratio: 21 / 8; } }
.map__link { margin: 0; padding: 0.7rem 1rem; background: var(--oat); }

/* --- Venue visit panel --------------------------------------------------- */
.visit__grid { display: grid; gap: 2.5rem; }
@media (min-width: 60em) { .visit__grid { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.visit__contact li { padding-block: 0.25rem; }
.visit__instagram { margin-top: 1.75rem; }
.visit .map__frame { aspect-ratio: 4 / 3; }

/* --- Instagram link ------------------------------------------------------ */
.instagram-link h2 { margin-bottom: 0.4em; }

/* --- Single photo ------------------------------------------------------- */
.figure { margin-block: 2rem; }
.figure img { border-radius: var(--radius-lg); }
.figure--text img { max-width: var(--measure); width: 100%; }
.figure--wide img { width: 100%; }
.figure figcaption { font-size: 0.9375rem; margin-top: 0.5rem; max-width: var(--measure); }

/* --- Footer: deep green, oat text, wave on top -------------------------- */
.site-footer {
  position: relative; background: var(--vf-deep); color: var(--oat);
  padding-top: calc(var(--space-section) * 0.8); margin-top: var(--wave-h); font-size: 1rem;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: var(--wave-h);
  background: var(--vf-deep);
  -webkit-mask: var(--wave) center bottom / 100% 100% no-repeat; mask: var(--wave) center bottom / 100% 100% no-repeat;
}
.site-footer h2, .site-footer .hours__heading, .site-footer__heading { font-size: 1.5rem; color: var(--oat); }
.site-footer a { color: var(--oat); }
.site-footer .hours__times div { border-color: rgba(247, 244, 236, 0.3); }
.site-footer .hours__special { border-color: var(--oat); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.75rem; }
/* Interim: the only footer logo file is dark; shown in oat on the deep panel until the oat/white SVG arrives */
.site-footer__logo img { height: 110px; width: auto; filter: brightness(0) invert(96%) sepia(6%) saturate(300%) hue-rotate(10deg); }
.social-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.social-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1.1rem;
  border: 2px solid var(--oat); border-radius: 999px; text-decoration: none; font-weight: 600;
}
.social-links a:hover { background: var(--oat); color: var(--vf-deep); }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 48em) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer__col li { padding-block: 0.2rem; }
.footer-nav a { text-decoration: none; display: inline-block; padding-block: 0.3rem; }
.footer-nav a:hover { text-decoration: underline; }
.site-footer .btn--on-dark { color: var(--oat); border-color: var(--oat); }
.site-footer .btn--on-dark:hover { background: var(--oat); color: var(--vf-deep); }
.site-footer__map { margin-top: 3rem; }
.site-footer .map { background: rgba(247, 244, 236, 0.12); }
.site-footer .map__link { background: transparent; padding-inline: 0; }
.site-footer__base { padding-block: 2.5rem 3rem; display: grid; gap: 1rem; justify-items: start; }
.site-footer__promo { max-width: var(--measure); font-size: 0.9375rem; }
.site-footer__promo p { margin: 0; }
.site-footer__copyright { font-size: 0.875rem; margin: 0; }
