/* =========================================================
   Clickable hero circles + info panel (shared by all pages)
   Uses the site's existing palette; no existing colours changed.
   ========================================================= */

/* circles become real buttons – keep the look of the old <div>s */
.hero-circles .circle {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  padding: 6px;
  margin: 0;
  cursor: pointer;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;          /* always a true circle */
  -webkit-tap-highlight-color: transparent;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.hero-circles { max-width: 100%; }

/* very small phones: circles shrink to fit the row instead of overflowing the screen */
@media (max-width: 380px) {
  .hero-circles { gap: 8px; padding-left: 4px; padding-right: 4px; }
  .hero-circles .circle {
    width: calc((100vw - 72px) / 4);
    min-width: 0;
    height: auto;
    font-size: 9px;
    padding: 3px;
  }
}

/* hover (same look as the original hover) + selected state */
.hero-circles .circle:hover,
.hero-circles .circle[aria-pressed="true"] {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.hero-circles .circle:focus-visible { outline: 2px solid #80552f; outline-offset: 3px; }
.hero .hero-circles .circle:focus-visible { outline-color: #fff; }

/* ---------- info panel ---------- */
.circle-info {
  box-sizing: border-box;
  width: min(92vw, 520px);
  margin: 0 auto;
  color: #fff;
  text-align: left;
  border-radius: 14px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height .45s ease, opacity .3s ease, margin .3s ease, visibility 0s linear .45s;
}
.circle-info.is-open {
  max-height: 320px;
  opacity: 1;
  visibility: visible;
  transition: max-height .45s ease, opacity .3s ease, margin .3s ease, visibility 0s;
}

.circle-info-inner { padding: 16px 20px 18px; animation: ciFade .35s ease both; }
.circle-info-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .2px;
  margin-bottom: 6px;
}
.circle-info-text { font-size: 13.5px; line-height: 1.65; font-weight: 400; max-width: none; }

@keyframes ciFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* pages without a hero photo: plain brown card (existing circle colour) */
.circle-info:not(.in-hero) { margin-bottom: 0; }
.circle-info:not(.in-hero).is-open { margin-bottom: 22px; box-shadow: 0 8px 22px rgba(43,26,18,.18); }
.circle-info:not(.in-hero) .circle-info-inner { background: #2b1a12; }

/* home page: panel floats under the circles (nothing below moves);
   the tagline underneath fades out while the panel is open and returns on close */
.hero-content > h3, .hero-content > h4 { transition: opacity .3s ease; }
.hero-content.ci-open > h3, .hero-content.ci-open > h4 { opacity: 0; }

.circle-info-anchor {
  position: relative;
  z-index: 5;
  width: 0;
  height: 0;
  align-self: center;
}
.circle-info.in-hero {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  background: rgba(43,26,18,.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

@media (max-width: 768px) {
  .circle-info-inner { padding: 14px 16px 16px; }
  .circle-info-title { font-size: 15px; }
  .circle-info-text { font-size: 13px; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-circles .circle, .circle-info, .circle-info.is-open { transition: none; }
  .circle-info-inner { animation: none; }
}

