/* Small additions on top of the compiled Tailwind bundle (app.css). Keep this file tiny. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Hero slider (no-JS shows the first slide) */
.hb-slide { opacity: 0; }
.hb-slide.is-active { opacity: 1; }
.hb-slide-text { display: none; }
.hb-slide-text.is-active { display: block; }

/* Accessible focus ring */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* Honeypot field: hidden from people, visible to naive bots */
.hb-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Legal / long-form pages */
.prose-doc h2 { margin-top: 2.5rem; }

/* Gallery / lightbox */
.hb-lightbox { position: fixed; inset: 0; z-index: 60; background: color-mix(in oklab, var(--espresso) 95%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; }
.hb-fade { transition: opacity .7s ease; }
.hb-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Toggle chips (booking / registration pickers) */
.hb-chip-active { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.hb-pick[aria-pressed="true"] { border-color: var(--bronze); background: var(--blush-soft); }
.hb-pick[aria-pressed="true"] .hb-box { background: var(--bronze); border-color: var(--bronze); color: var(--cream); }
.hb-pick .hb-box svg { display: none; }
.hb-pick[aria-pressed="true"] .hb-box svg { display: block; }

/* Elegant card shadow (utility not present in the compiled bundle) */
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.hover\:shadow-elegant:hover { box-shadow: var(--shadow-elegant); }

/* Thin horizontal scrollbars (carousels / thumbnail strips) */
.hb-thin-scroll { scrollbar-width: thin; }

/* FAQ accordion (<details>) */
.hb-faq > summary { list-style: none; }
.hb-faq > summary::-webkit-details-marker { display: none; }
.hb-faq[open] .hb-chev { transform: rotate(180deg); }

/* Gallery cards: stacked images cross-fade */
.hb-cycle-img { opacity: 0; }
.hb-cycle-img.is-active { opacity: 1; }

/* Multi-select picker (services / programmes): real checkboxes, visually replaced by a styled box */
.hb-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hb-opt { position: relative; }
.hb-opt-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.hb-opt .hb-box svg { display: none; }
.hb-opt-input:checked ~ div .hb-box { background: var(--bronze); border-color: var(--bronze); color: var(--cream); }
.hb-opt-input:checked ~ div .hb-box svg { display: block; }
.hb-opt:has(.hb-opt-input:checked), .hb-opt.is-selected { border-color: var(--bronze); background: var(--blush-soft); }
.hb-opt-input:focus-visible ~ div .hb-box { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Opt-in media: a fixed image split still renders when JavaScript is unavailable. */
.hb-comparison { --comparison-position: 50%; position: relative; width: 100%; height: 100%; min-height: 100px; overflow: hidden; isolation: isolate; background: var(--espresso); }
.hb-comparison img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.hb-comparison-before { clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0); }
.hb-comparison-label { opacity: 0; transition: opacity .15s ease; position: absolute; bottom: 12px; z-index: 2; max-width: 42%; padding: 5px 9px; background: rgb(35 25 20 / .75); color: #fff; font-size: 12px; line-height: 1.25; pointer-events: none; overflow-wrap: anywhere; }
.hb-comparison-label.is-before { left: 12px; }
.hb-comparison-label.is-after { right: 12px; }
@media (hover: hover) { .hb-comparison:hover .hb-comparison-label { opacity: 1; } }
.hb-comparison:has(.hb-comparison-range:focus-visible) .hb-comparison-label { opacity: 1; }
.hb-comparison.is-mostly-before .hb-comparison-label.is-before,
.hb-comparison.is-mostly-after .hb-comparison-label.is-after { opacity: 1; }
.hb-comparison.is-mostly-before .hb-comparison-label.is-after,
.hb-comparison.is-mostly-after .hb-comparison-label.is-before { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hb-comparison-label { transition: none; } }
.hb-comparison-divider { position: absolute; top: 0; bottom: 0; left: var(--comparison-position); width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.hb-comparison-divider span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 42px; height: 42px; transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 50%; background: rgb(35 25 20 / .65); color: #fff; font-size: 24px; }
.hb-comparison-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.hb-comparison:focus-within { outline: 3px solid var(--bronze); outline-offset: -3px; }
.hb-comparison.has-failed img { clip-path: none; }
.hb-comparison-unavailable { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; color: #fff; font-size: 12px; }
.hb-service-comparison { flex: 0 0 220px; width: 220px; height: 170px; border-radius: 2px; }
.hb-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hb-video-toggle { position: absolute; right: 20px; bottom: 20px; z-index: 30; padding: 9px 14px; color: #fff; background: rgb(35 25 20 / .72); border: 1px solid rgb(255 255 255 / .65); border-radius: 2px; font-size: 12px; cursor: pointer; }
@media (max-width: 639px) { .hb-service-comparison-row { flex-wrap: wrap; } .hb-service-comparison { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 4 / 3; } .hb-comparison-label { font-size: 10px; padding: 4px 5px; } }
@media (prefers-reduced-motion: reduce) { .hb-hero-video, .hb-video-toggle { display: none; } }

/* BEGIN APPROVED MENU AND BOOKING FUNCTIONS */
.hb-booking-note { font-size: .875rem; color: #6c6058; line-height: 1.7; margin: 16px 0; }
.hb-text-link { color: #80502f; font-size: .9rem; font-weight: 600; text-underline-offset: 5px; display: inline-block; line-height: 1.6; }
.hb-text-link:hover { text-decoration: underline; }
.hb-treatment-details { margin-top: 20px; border-top: 1px solid #dfd1c5; padding-top: 16px; font-size: .9rem; }
.hb-treatment-details summary { cursor: pointer; font-weight: 600; color: #80502f; padding: 4px 0; }
.hb-treatment-details dt { font-weight: 600; margin-top: 12px; }
.hb-treatment-details dd { color: #6c6058; line-height: 1.7; margin-top: 4px; }
/* Canonical service menu: mobile-first, readable prices without horizontal scrolling. */
.hb-catalog-summary{margin-top:12px;font-size:.85rem;color:var(--bronze,#8a6347);font-weight:600}
.hb-menu-jumps{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:32px 0}
.hb-menu-jumps a{border:1px solid #d6ccc2;border-radius:24px;padding:11px 16px;font-size:.8rem;min-height:44px}
.hb-menu-jumps a:hover,.hb-menu-jumps a:focus-visible{background:#f0e9e1;outline:2px solid #8a6347;outline-offset:2px}
.hb-menu-section{margin-top:44px;scroll-margin-top:110px}
.hb-menu-section-heading{padding:20px;border-radius:16px 16px 0 0;background:#e4e8dd;color:#26352a}
.hb-menu-section:nth-of-type(even) .hb-menu-section-heading{background:#efe0d8}
.hb-menu-section-heading h3{font-family:var(--font-display,Georgia,serif);font-size:clamp(1.4rem,4vw,1.9rem);line-height:1.25}
.hb-menu-section-heading p{font-size:.8rem;margin-top:8px}
.hb-catalog-item{display:grid;gap:18px;padding:24px 4px;border-bottom:1px solid #ddd4c9}
.hb-catalog-copy h4{font-size:1.12rem;font-weight:600;line-height:1.4;color:#302820}
.hb-catalog-copy p{margin-top:8px;font-size:.9rem;line-height:1.65;color:#625b54}
.hb-catalog-copy .hb-menu-inclusions{color:#465a40;font-size:.85rem}
.hb-catalog-pricing{min-width:0}.hb-catalog-pricing .hb-price-value{font-size:1.05rem;font-weight:600;line-height:1.5}
.hb-artist-prices{display:grid;gap:0}.hb-artist-prices>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dotted #dfd7cc;font-size:.85rem}
.hb-artist-prices dt small{display:block;font-size:.75rem;margin-top:2px}.hb-artist-prices dd{white-space:nowrap;font-weight:600}.hb-artist-prices .is-unavailable{color:#736b64}
.hb-menu-enquire{display:inline-flex;align-items:center;min-height:44px;margin-top:8px}
.hb-menu-terms{font-size:.82rem;line-height:1.7;color:#635c54;padding:18px 4px}
.hb-menu-packages{background:#34442e;color:#fffaf2;padding:28px 20px;border-radius:16px;margin-top:40px;border:1px solid #b18a51}
.hb-menu-package-grid{display:grid;gap:24px;margin:20px 0}.hb-menu-package-grid h3{font-family:Georgia,serif;font-size:1.7rem}.hb-menu-package-grid p{font-size:.85rem;line-height:1.7;margin-top:8px;color:#e5dfd2}
.hb-menu-packages .hb-text-link{color:#fff3d9;display:inline-flex;min-height:44px;align-items:center}
.hb-picker-price{font-size:.8rem;color:#795535;text-align:right;max-width:45%;line-height:1.5;flex-shrink:0}
@media(min-width:768px){.hb-catalog-item{grid-template-columns:minmax(0,1fr) 290px;gap:40px;padding:28px 20px}.hb-catalog-pricing{text-align:right}.hb-menu-package-grid{grid-template-columns:1fr 1fr}.hb-catalog-copy{max-width:600px}}
@media(prefers-reduced-motion:reduce){.hb-menu-jumps a{scroll-behavior:auto}}

.hb-menu-photo{width:100%;max-width:320px;aspect-ratio:4/3;object-fit:cover;border-radius:8px;margin-bottom:16px;overflow:hidden}

.hb-enquiry-artist select{min-height:48px}.hb-artist-prices dd a{display:inline-flex;min-height:44px;align-items:center;text-decoration:underline;text-underline-offset:4px}
@media(min-width:1024px){.hb-catalog-tiered{grid-template-columns:minmax(0,1fr) 500px;gap:32px}.hb-catalog-tiered .hb-artist-prices{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hb-catalog-tiered .hb-artist-prices>div{flex-direction:column;text-align:center;justify-content:space-between;align-items:center;border-bottom:0}.hb-catalog-tiered .hb-artist-prices dd{margin:0}.hb-catalog-tiered .hb-artist-prices dt{min-height:44px}}

.hb-booking-paths{min-width:0}.hb-consultation-details>summary{cursor:pointer;min-height:64px;list-style-position:inside}.hb-consultation-details[open]>summary{border-bottom:1px solid #ded5c9}.hb-enquiry-artist[hidden]{display:none!important}.hb-enquiry-artist{padding:18px;background:#eee8de;border-radius:8px}.hb-consultation-details,#booking,#enquiry{scroll-margin-top:100px}

.hb-artist-eligibility{color:#604d3b;line-height:1.65}

.hb-opt.is-unavailable{cursor:not-allowed;background:#f8f5ef}.hb-opt.is-unavailable .hb-picker-price{color:#746b60}
