/* ============================================================
   Hero Portrait Block — scoped, drop-in replacement for the
   .hero__portrait on the main site. Lives as a cream "card"
   inside the existing dark hero grid. All vars/classes are
   .hpb-prefixed so it never collides with the host's tokens.
   ============================================================ */
.hpb {
  --hpb-cream: #f5ede0;
  --hpb-ink: #2a2620;
  --hpb-ink-2: #5d5648;
  --hpb-ink-3: #8a7d6e;
  --hpb-sage: #6e8a5a;
  --hpb-sage-deep: #57704a;
  --hpb-cream-card: #fdfaf2;
  --hpb-blob: #e8dec9;
  --hpb-line: #d8cdb4;

  position: relative;
  width: 100%;
  background: transparent;
  padding: 0;
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  color: var(--hpb-ink);
  margin-top: clamp(60px, 6vw, 100px);
  align-self: start;
  display: flex;
  flex-direction: column;
}

/* ── Photo block ───────────────────────────────────────── */
.hpb__photo-block {
  position: relative;
  width: 100%;
  aspect-ratio: 4/4.5;
  min-height: 480px;
}
.hpb__blob {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 18px;
  background: var(--hpb-blob);
  border-radius: 48% 52% 38% 62% / 55% 45% 55% 45%;
}
.hpb__photo-wrap {
  position: absolute;
  top: 18px; right: 24px; bottom: 80px; left: 64px;
  border-radius: 180px 180px 18px 18px;
  overflow: hidden;
  z-index: 2;
}
.hpb__photo {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% 50%;
}

/* ── Booking pulse pill ────────────────────────────────── */
.hpb__pulse-pill {
  position: absolute;
  top: 40px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--hpb-sage);
  color: var(--hpb-cream);
  padding: 9px 14px 9px 13px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 10px 22px -10px rgba(87, 112, 74, 0.55);
}
.hpb__pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hpb-cream);
  animation: hpb-pulse 1.8s ease-in-out infinite;
}
@keyframes hpb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.85); }
}

/* ── Tara quote card ───────────────────────────────────── */
.hpb__quote-card {
  position: absolute;
  bottom: 28px; left: -6px;
  background: var(--hpb-cream-card);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 22px 50px -18px rgba(42, 38, 32, 0.22),
              0 2px 6px rgba(42, 38, 32, 0.06);
  max-width: 230px;
  z-index: 4;
}
.hpb__quote-text {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.35;
  color: var(--hpb-ink);
  margin: 0 0 10px;
}
.hpb__quote-cite {
  font-size: 11.5px;
  color: var(--hpb-ink-2);
  letter-spacing: 0.02em;
}
.hpb__quote-cite strong {
  color: var(--hpb-ink);
  font-weight: 600;
}

/* ── Scrapbook polaroid ────────────────────────────────── */
.hpb__scrap {
  position: absolute;
  bottom: 8px; right: 0;
  width: 124px;
  aspect-ratio: 4/5;
  border-radius: 5px;
  overflow: hidden;
  transform: rotate(-4deg);
  box-shadow: 0 18px 38px -16px rgba(42, 38, 32, 0.36),
              0 0 0 7px var(--hpb-cream-card);
  z-index: 3;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.hpb__scrap:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 6;
}
.hpb__scrap img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: 40% 28%;
}
.hpb__scrap-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 10.5px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  padding: 16px 8px 6px;
}

/* ── Availability bar ──────────────────────────────────── */
.hpb__avail {
  margin: 16px 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--hpb-cream-card);
  padding: 12px 14px 12px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 40px -18px rgba(42, 38, 32, 0.14),
              0 1px 3px rgba(42, 38, 32, 0.04);
  flex-wrap: nowrap;
}
.hpb__avail-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hpb-ink-2);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.hpb__avail-label::after {
  content: "";
  width: 14px; height: 1px;
  background: var(--hpb-line);
}
.hpb__avail-months {
  display: flex; gap: 12px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.hpb__avail-m {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--hpb-ink-3);
  text-transform: uppercase;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.hpb__avail-m-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--hpb-blob);
  position: relative;
  transition: all .3s;
}
.hpb__avail-m.is-booked { color: var(--hpb-ink-2); }
.hpb__avail-m.is-booked .hpb__avail-m-dot { background: var(--hpb-ink); }
.hpb__avail-m.is-booked .hpb__avail-m-dot::after {
  content: "✓";
  position: absolute; inset: 0;
  font-size: 7.5px;
  color: var(--hpb-cream);
  text-align: center;
  line-height: 10px;
}
.hpb__avail-m.is-open .hpb__avail-m-dot {
  background: var(--hpb-cream);
  border: 1.5px solid var(--hpb-sage);
}
.hpb__avail-m.is-next { color: var(--hpb-sage); font-weight: 700; }
.hpb__avail-m.is-next .hpb__avail-m-dot {
  background: var(--hpb-sage);
  box-shadow: 0 0 0 4px rgba(110, 138, 90, 0.2);
  animation: hpb-pulse-soft 2.4s ease-in-out infinite;
}
@keyframes hpb-pulse-soft {
  0%, 100% { box-shadow: 0 0 0 4px rgba(110, 138, 90, 0.2); }
  50%      { box-shadow: 0 0 0 8px rgba(110, 138, 90, 0.1); }
}
.hpb__avail-cta {
  background: var(--hpb-sage);
  color: var(--hpb-cream);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: background .2s, transform .2s;
}
.hpb__avail-cta:hover { background: var(--hpb-sage-deep); transform: translateY(-1px); }
.hpb__arrow { display: inline-block; width: 12px; height: 12px; }
