/* ==========================================================================
   Hexed & Blessed — textures, cards and ornaments
   Colors/fonts live in theme.json. This file adds the mood-board finish.
   ========================================================================== */

/* ---------- Dark wood table under everything ----------
   The wood photo itself is set in theme.json (Appearance → Editor → Styles →
   Background), so it can be swapped without code. This adds candlelight + vignette. */
.wp-site-blocks {
	background-image:
		radial-gradient(ellipse at 50% 0%, rgba(255, 191, 94, 0.10), transparent 55%),
		radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
	min-height: 100vh;
}

::selection { background: var(--wp--preset--color--brass); color: var(--wp--preset--color--midnight); }

:where(.wp-site-blocks) a:focus-visible,
:where(.wp-site-blocks) button:focus-visible,
:where(.wp-site-blocks) input:focus-visible,
:where(.wp-site-blocks) select:focus-visible,
:where(.wp-site-blocks) textarea:focus-visible {
	outline: 2px solid var(--wp--preset--color--amber);
	outline-offset: 3px;
}

/* ---------- Header ---------- */
.hb-header {
	background: linear-gradient(180deg, rgba(10, 8, 6, 0.92), rgba(10, 8, 6, 0.78));
	border-bottom: 1px solid rgba(197, 139, 78, 0.55);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
	position: relative;
	z-index: 20;
}
.hb-wordmark { margin: 0; line-height: 1; }
.hb-wordmark a { text-decoration: none; color: var(--wp--preset--color--cream); font-family: var(--wp--preset--font-family--display); font-weight: 900; letter-spacing: 0.06em; font-size: 1.35rem; }
.hb-wordmark span { font-family: var(--wp--preset--font-family--script); font-weight: 400; letter-spacing: 0; color: var(--wp--preset--color--brass); font-size: 1.75rem; }
.hb-header .wp-block-navigation a { color: var(--wp--preset--color--cream); text-decoration: none; padding: 0.6rem 0.2rem; border-bottom: 1px solid transparent; }
.hb-header .wp-block-navigation a:hover,
.hb-header .wp-block-navigation .current-menu-item > a,
.hb-header .wp-block-navigation a[aria-current="page"] { color: var(--wp--preset--color--amber); border-bottom-color: var(--wp--preset--color--brass); }

/* ---------- Block style: Eyebrow label ---------- */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--label) !important;
	font-size: 0.8125rem !important;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--amber);
	margin-bottom: 0.25rem;
}

/* ---------- Block style: Chip ---------- */
p.is-style-chip {
	display: inline-block;
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.65rem 1.2rem;
	border: 1px solid rgba(197, 139, 78, 0.7);
	border-radius: 999px;
	background: rgba(15, 16, 20, 0.55);
	margin: 0;
}

/* ---------- Block style: Torn parchment card ---------- */
.wp-block-group.is-style-parchment {
	border-style: solid;
	border-width: 0;
	border-image-source: url("../images/card-parchment.png");
	border-image-slice: 90 fill;
	border-image-width: 46px;
	border-image-repeat: stretch;
	padding: clamp(2rem, 4vw, 3.25rem);
	color: var(--wp--preset--color--indigo);
	filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
}
.is-style-parchment a:not(.wp-element-button):not(.hb-gz-button) { color: var(--wp--preset--color--bronze); }
.is-style-parchment a:not(.wp-element-button):not(.hb-gz-button):hover { color: var(--wp--preset--color--indigo); }
.is-style-parchment .is-style-eyebrow { color: var(--wp--preset--color--bronze); }
.is-style-parchment .wp-block-separator.is-style-filigree { filter: brightness(0.55) sepia(0.6); }

/* ---------- Block style: Aged brass plaque ---------- */
.wp-block-group.is-style-brass {
	border-style: solid;
	border-width: 0;
	border-image-source: url("../images/card-brass.png");
	border-image-slice: 60 fill;
	border-image-width: 28px;
	border-image-repeat: stretch;
	padding: clamp(2rem, 4vw, 3.25rem);
	color: var(--wp--preset--color--cream);
	filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55));
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.is-style-brass .is-style-eyebrow { color: var(--wp--preset--color--amber); }

/* ---------- Block style: Smoked glass panel ---------- */
.wp-block-group.is-style-smoke {
	background: rgba(12, 10, 8, 0.72);
	border: 1px solid rgba(197, 139, 78, 0.45);
	border-radius: 10px;
	padding: clamp(1.75rem, 3.5vw, 2.75rem);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45), inset 0 0 0 4px rgba(197, 139, 78, 0.08);
}

/* ---------- Block style: Aged photo ---------- */
.wp-block-image.is-style-framed img,
.wp-block-image.is-style-framed-right img {
	background: #efe4cc;
	padding: 10px 10px 12px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.55);
	box-sizing: border-box;
	filter: sepia(0.12) saturate(0.95);
}
.wp-block-image.is-style-framed { transform: rotate(-2deg); }
.wp-block-image.is-style-framed-right { transform: rotate(2deg); }
.wp-block-image.is-style-framed figcaption,
.wp-block-image.is-style-framed-right figcaption { color: var(--wp--preset--color--cream); margin-top: 0.75rem; text-align: center; }
.is-style-parchment .wp-block-image figcaption { color: var(--wp--preset--color--plum-ink); }

/* ---------- Block style: Brass ring ---------- */
.wp-block-image.is-style-brass-ring img {
	border-radius: 50%;
	aspect-ratio: 1;
	object-fit: cover;
	border: 7px solid #b07a3f;
	box-shadow: 0 0 0 2px #5a3a17, 0 0 0 5px #d9a85f, 0 14px 26px rgba(0, 0, 0, 0.6);
	box-sizing: border-box;
}

/* ---------- Block style: Candle glow heading ---------- */
.is-style-glow { text-shadow: 0 0 18px rgba(255, 191, 94, 0.35), 0 2px 4px rgba(0, 0, 0, 0.7); }

/* ---------- Block style: Filigree separator ---------- */
.wp-block-separator.is-style-filigree {
	border: 0 !important;
	height: 48px;
	max-width: 760px !important;
	width: 100% !important;
	background: url("../images/ornament-rule.png") center / contain no-repeat;
	opacity: 1;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Block style: Star bullets ---------- */
ul.is-style-stars { list-style: none; padding-left: 0; }
ul.is-style-stars li { position: relative; padding-left: 1.6em; margin: 0.45em 0; }
ul.is-style-stars li::before { content: "✦"; position: absolute; left: 0; color: var(--wp--preset--color--brass); }
.has-text-align-center ul.is-style-stars li,
ul.is-style-stars.has-text-align-center li { padding-left: 0; }
ul.is-style-stars.has-text-align-center li::before { position: static; margin-right: 0.5em; }

/* ---------- Buttons ---------- */
.wp-element-button,
.wp-block-button__link {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 14px rgba(0, 0, 0, 0.35);
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.12));
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	background-image: none;
	border: 1.5px solid currentColor;
	color: var(--wp--preset--color--amber);
	box-shadow: none;
}
.is-style-parchment .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--indigo); }

/* ---------- God Zone button ---------- */
.hb-gz-button {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 48px;
	padding: 0 1.4rem;
	border-radius: 6px;
	background: var(--wp--preset--color--verdigris);
	color: var(--wp--preset--color--midnight) !important;
	font-family: var(--wp--preset--font-family--label);
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
}
.hb-gz-button:hover { background: var(--wp--preset--color--cream); }
.hb-gz-button--outline { background: transparent; color: var(--wp--preset--color--verdigris) !important; border: 1.5px solid var(--wp--preset--color--verdigris); box-shadow: none; min-height: 44px; }
.hb-gz-button--outline:hover { background: rgba(157, 194, 187, 0.12); }

/* ---------- Social icons ---------- */
.hb-social { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.hb-social--center { justify-content: center; }
.hb-social--right { justify-content: flex-end; }
.hb-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%;
	border: 1.5px solid var(--wp--preset--color--brass);
	color: var(--wp--preset--color--amber);
	background: rgba(15, 16, 20, 0.5);
	transition: background 0.2s ease, color 0.2s ease;
}
.hb-social a:hover { background: var(--wp--preset--color--brass); color: var(--wp--preset--color--midnight); }
.hb-social--light a { color: var(--wp--preset--color--indigo); background: rgba(255, 255, 255, 0.45); border-color: var(--wp--preset--color--bronze); }
.hb-social--light a:hover { background: var(--wp--preset--color--indigo); color: var(--wp--preset--color--cream); }
.hb-social-empty { font-size: 0.95rem; opacity: 0.85; }

/* ---------- Contact form ---------- */
.hb-contact { width: 100%; }
.hb-contact__form { display: grid; gap: 1rem; }
.hb-contact__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.hb-contact__field { display: flex; flex-direction: column; gap: 0.35rem; margin: 0; }
.hb-contact label {
	font-family: var(--wp--preset--font-family--label);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.hb-contact input[type="text"],
.hb-contact input[type="email"],
.hb-contact input[type="tel"],
.hb-contact select,
.hb-contact textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 50px;
	padding: 0.7rem 0.9rem;
	border-radius: 6px;
	border: 1px solid rgba(138, 90, 43, 0.55);
	background: rgba(255, 252, 243, 0.85);
	color: var(--wp--preset--color--indigo);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.15rem;
}
.hb-contact textarea { min-height: 160px; resize: vertical; }
.is-style-brass .hb-contact input,
.is-style-brass .hb-contact select,
.is-style-brass .hb-contact textarea,
.is-style-smoke .hb-contact input,
.is-style-smoke .hb-contact select,
.is-style-smoke .hb-contact textarea { background: rgba(15, 16, 20, 0.7); color: var(--wp--preset--color--cream); border-color: rgba(197, 139, 78, 0.6); }
.hb-contact__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hb-contact__actions { margin: 0.5rem 0 0; }
.hb-contact__actions .wp-element-button { border: 0; cursor: pointer; padding: 1rem 2rem; }
.hb-contact__notice { padding: 0.9rem 1.1rem; border-radius: 6px; margin-bottom: 1rem; font-size: 1.1rem; }
.hb-contact__notice--ok { background: rgba(94, 115, 81, 0.18); border: 1px solid var(--wp--preset--color--sage-dark); }
.hb-contact__notice--error { background: rgba(160, 50, 40, 0.14); border: 1px solid #9b3b2f; }

/* ---------- Footer ---------- */
.hb-footer { background: linear-gradient(180deg, rgba(10, 8, 6, 0.65), rgba(10, 8, 6, 0.92)); border-top: 1px solid rgba(197, 139, 78, 0.45); }
.hb-footer a:not(.wp-element-button):not(.hb-gz-button) { color: var(--wp--preset--color--cream); text-decoration: none; }
.hb-footer a:not(.wp-element-button):not(.hb-gz-button):hover { color: var(--wp--preset--color--amber); }

/* ---------- Small helpers ---------- */
.hb-overlap-up { margin-top: -4rem !important; position: relative; z-index: 2; }
.wp-block-cover .wp-block-cover__inner-container > * { position: relative; }
@media (max-width: 781px) {
	.wp-block-image.is-style-framed, .wp-block-image.is-style-framed-right { transform: none; }
	.hb-overlap-up { margin-top: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link { transition: none; }
	.wp-block-button__link:hover { transform: none; }
}
.is-style-brass .wp-element-button,
.is-style-brass .hb-gz-button,
.is-style-brass .hb-social a { text-shadow: none; }

/* ---------- Gallery style: aged prints ---------- */
.wp-block-gallery.is-style-aged-prints { --wp--style--unstable-gallery-gap: 1.5rem; gap: 1.5rem; }
.wp-block-gallery.is-style-aged-prints.is-cropped .wp-block-image img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.wp-block-gallery.is-style-aged-prints .wp-block-image img {
	background: #efe4cc; padding: 9px 9px 11px; box-sizing: border-box;
	box-shadow: 0 12px 22px rgba(0, 0, 0, 0.55); filter: sepia(0.1);
}
.wp-block-gallery.is-style-aged-prints .wp-block-image:nth-child(odd) { transform: rotate(-1.6deg); }
.wp-block-gallery.is-style-aged-prints .wp-block-image:nth-child(even) { transform: rotate(1.6deg); }
.wp-block-gallery.is-style-aged-prints .wp-block-image figcaption {
	background: none !important; color: var(--wp--preset--color--cream) !important; position: static !important;
	font-family: var(--wp--preset--font-family--label); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 0.6rem; text-shadow: none;
}
.is-style-parchment .wp-block-gallery.is-style-aged-prints .wp-block-image figcaption { color: var(--wp--preset--color--plum-ink) !important; }

/* Linked chips */
p.is-style-chip a { color: inherit; text-decoration: none; }
p.is-style-chip:has(a):hover { background: var(--wp--preset--color--brass); color: var(--wp--preset--color--midnight); }

/* Navigation dropdown */
.hb-header .wp-block-navigation__submenu-container {
	background: rgba(12, 10, 8, 0.97) !important; border: 1px solid rgba(197, 139, 78, 0.5) !important;
	padding: 0.5rem 0.75rem !important; min-width: 230px !important;
}
.hb-header .wp-block-navigation__submenu-container a { border-bottom: 0; padding: 0.45rem 0.25rem; }
@media (max-width: 781px) {
	.wp-block-gallery.is-style-aged-prints .wp-block-image { transform: none !important; }
}

/* FAQ (Details block) */
.wp-block-details { border-bottom: 1px solid rgba(138, 90, 43, 0.35); padding: 0.9rem 0; }
.wp-block-details summary { cursor: pointer; font-family: var(--wp--preset--font-family--label); font-weight: 700; letter-spacing: 0.06em; font-size: 1.05rem; }
.wp-block-details[open] summary { margin-bottom: 0.5rem; }

/* ---------- Booking calendar ---------- */
.hb-booking__form { display: grid; gap: 1.5rem; }
.hb-booking__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.hb-booking__step legend {
	font-family: var(--wp--preset--font-family--label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	font-size: 0.95rem; margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.6rem;
}
.hb-booking__step legend span {
	display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center;
	background: var(--wp--preset--color--indigo); color: var(--wp--preset--color--cream); font-size: 0.85rem; letter-spacing: 0;
}
.hb-booking__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.hb-booking select, .hb-booking input[type="text"], .hb-booking input[type="email"], .hb-booking input[type="tel"], .hb-booking textarea {
	width: 100%; box-sizing: border-box; min-height: 50px; padding: 0.7rem 0.9rem; border-radius: 6px;
	border: 1px solid rgba(138, 90, 43, 0.55); background: rgba(255, 252, 243, 0.9); color: var(--wp--preset--color--indigo);
	font-family: var(--wp--preset--font-family--body); font-size: 1.15rem;
}
.hb-booking label { font-family: var(--wp--preset--font-family--label); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.hb-booking__cal { display: grid; grid-template-columns: minmax(280px, 1.1fr) minmax(240px, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 781px) { .hb-booking__cal { grid-template-columns: 1fr; } }
.hb-cal { background: rgba(255, 252, 243, 0.75); border: 1px solid rgba(138, 90, 43, 0.4); border-radius: 10px; padding: 1rem; }
.hb-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.hb-cal__title { font-family: var(--wp--preset--font-family--label); letter-spacing: 0.1em; font-size: 1.05rem; }
.hb-cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(138, 90, 43, 0.6); background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--wp--preset--color--indigo); }
.hb-cal__nav:disabled { opacity: 0.3; cursor: default; }
.hb-cal__dow, .hb-cal__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.hb-cal__dow span { font-family: var(--wp--preset--font-family--label); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; padding: 0.3rem 0; }
.hb-cal__day { aspect-ratio: 1; min-height: 40px; border-radius: 8px; border: 0; background: transparent; font-family: var(--wp--preset--font-family--body); font-size: 1.1rem; color: rgba(44, 34, 59, 0.35); }
.hb-cal__day.is-open { background: rgba(197, 139, 78, 0.18); color: var(--wp--preset--color--indigo); font-weight: 700; cursor: pointer; }
.hb-cal__day.is-open:hover { background: rgba(197, 139, 78, 0.4); }
.hb-cal__day.is-chosen { background: var(--wp--preset--color--indigo) !important; color: var(--wp--preset--color--cream) !important; }
.hb-cal__days.is-loading { opacity: 0.45; }
.hb-slots__title { font-family: var(--wp--preset--font-family--label); font-weight: 700; letter-spacing: 0.08em; margin-top: 0; }
.hb-slots__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 0.5rem; }
.hb-slot { min-height: 46px; border-radius: 6px; border: 1.5px solid var(--wp--preset--color--bronze); background: rgba(255, 252, 243, 0.85); color: var(--wp--preset--color--indigo); font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.hb-slot:hover { background: rgba(197, 139, 78, 0.25); }
.hb-slot.is-chosen { background: var(--wp--preset--color--indigo); color: var(--wp--preset--color--cream); border-color: var(--wp--preset--color--indigo); }
.hb-slots__tz { font-size: 0.95rem; opacity: 0.8; }
.hb-booking__summary { background: rgba(94, 115, 81, 0.15); border: 1px solid var(--wp--preset--color--sage-dark); border-radius: 8px; padding: 0.9rem 1.1rem; font-size: 1.1rem; }
.hb-booking__error { background: rgba(160, 50, 40, 0.14); border: 1px solid #9b3b2f; border-radius: 8px; padding: 0.9rem 1.1rem; }
.hb-booking__actions { margin: 0; }
.hb-booking__actions .wp-element-button { border: 0; cursor: pointer; padding: 1.05rem 2.2rem; font-size: 0.95rem; }
.hb-booking__actions .wp-element-button:disabled { opacity: 0.45; cursor: not-allowed; }
.hb-booking-status { border-radius: 10px; padding: 1.2rem 1.4rem; background: rgba(255, 252, 243, 0.6); border: 1px solid rgba(138, 90, 43, 0.4); }
.hb-booking-status--ok { border-color: var(--wp--preset--color--sage-dark); background: rgba(94, 115, 81, 0.15); }
.hb-booking-status__msg { font-size: 1.2rem; font-weight: 600; margin-top: 0; }
.hb-booking-status dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; margin: 0; }
.hb-booking-status dt { font-family: var(--wp--preset--font-family--label); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 0.2rem; }
.hb-booking-status dd { margin: 0; }
.hb-booking__step > .hb-contact__field { margin-top: 1rem; }

/* ======================================================================
   Members: plans, Journeys, lessons, account, community, chat
   ====================================================================== */
.hb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
	min-height: 46px; padding: 0.85rem 1.5rem; border-radius: 6px; border: 1.5px solid var(--wp--preset--color--brass);
	background: var(--wp--preset--color--brass); color: var(--wp--preset--color--midnight) !important;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.12));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 14px rgba(0, 0, 0, 0.3);
	font-family: var(--wp--preset--font-family--label); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em;
	text-transform: uppercase; text-decoration: none !important; line-height: 1.2; cursor: pointer; text-shadow: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.hb-btn:hover { background-color: var(--wp--preset--color--amber); border-color: var(--wp--preset--color--amber); transform: translateY(-1px); }
.hb-btn--outline { background: transparent; background-image: none; box-shadow: none; color: var(--wp--preset--color--amber) !important; border-color: currentColor; }
.hb-btn--outline:hover { background: rgba(197, 139, 78, 0.18); }
.is-style-parchment .hb-btn--outline { color: var(--wp--preset--color--indigo) !important; }
.hb-btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.hb-linkbtn { background: none; border: 0; padding: 0; color: inherit; opacity: 0.7; text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.85rem; }
.hb-linkbtn:hover { opacity: 1; }
.hb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* forms */
.hb-form label { display: block; font-family: var(--wp--preset--font-family--label); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.35rem; }
.hb-form input[type="text"], .hb-form input[type="email"], .hb-form input[type="password"], .hb-form input:not([type]), .hb-form select, .hb-form textarea,
.hb-login input[type="text"], .hb-login input[type="password"] {
	width: 100%; box-sizing: border-box; min-height: 50px; padding: 0.7rem 0.9rem; border-radius: 6px;
	border: 1px solid rgba(138, 90, 43, 0.55); background: rgba(255, 252, 243, 0.92); color: var(--wp--preset--color--indigo);
	font-family: var(--wp--preset--font-family--body); font-size: 1.15rem;
}
.hb-form textarea { min-height: 120px; resize: vertical; }
.hb-form input:focus, .hb-form select:focus, .hb-form textarea:focus { outline: 2px solid var(--wp--preset--color--brass); outline-offset: 1px; }
.hb-form p { margin: 0 0 1rem; }
.hb-form__msg { padding: 0.8rem 1rem; border-radius: 8px; background: rgba(94, 115, 81, 0.16); border: 1px solid var(--wp--preset--color--sage-dark); }
.hb-form__msg--error { background: rgba(160, 50, 40, 0.14); border-color: #9b3b2f; }
.hb-form__small { font-size: 0.95rem; opacity: 0.85; }
.hb-login .login-remember label { display: inline; text-transform: none; letter-spacing: 0; font-family: var(--wp--preset--font-family--body); font-size: 1rem; font-weight: 400; }
.hb-login #wp-submit {
	min-height: 48px; padding: 0.85rem 2rem; border-radius: 6px; border: 0; cursor: pointer;
	background: var(--wp--preset--color--brass); color: var(--wp--preset--color--midnight);
	font-family: var(--wp--preset--font-family--label); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.hb-login #wp-submit:hover { background: var(--wp--preset--color--amber); }
.hb-login { max-width: 460px; margin-inline: auto; }
.hb-join__plans { border: 0; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.6rem; }
.hb-join__plans legend { font-family: var(--wp--preset--font-family--label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.6rem; }
.hb-join__plan { display: flex !important; gap: 0.8rem; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--wp--preset--font-family--body) !important; font-size: 1.1rem !important; font-weight: 400 !important;
	padding: 0.85rem 1rem; border: 1.5px solid rgba(138, 90, 43, 0.45); border-radius: 8px; cursor: pointer; background: rgba(255, 252, 243, 0.5); }
.hb-join__plan:has(input:checked) { border-color: var(--wp--preset--color--indigo); background: rgba(44, 34, 59, 0.08); }
.hb-join__plan input { margin-top: 0.35rem; accent-color: var(--wp--preset--color--indigo); }
.hb-join__terms label { display: flex; gap: 0.6rem; text-transform: none; letter-spacing: 0; font-family: var(--wp--preset--font-family--body); font-size: 1rem; font-weight: 400; }
.hb-notice { padding: 1.2rem 1.4rem; border: 1px solid rgba(197, 139, 78, 0.6); border-radius: 10px; background: rgba(197, 139, 78, 0.1); }

/* plans */
.hb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); max-width: 960px; margin-inline: auto; }
.hb-plan {
	position: relative; display: flex; flex-direction: column; padding: clamp(2rem, 4vw, 3rem);
	border-style: solid; border-width: 0; border-image-source: url("../images/card-parchment.png"); border-image-slice: 90 fill; border-image-width: 46px;
	color: var(--wp--preset--color--indigo); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
}
.hb-plan--all { border-image-source: url("../images/card-brass.png"); border-image-slice: 60 fill; border-image-width: 28px; color: var(--wp--preset--color--cream); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.hb-plan__badge { position: absolute; top: -0.9rem; left: 50%; transform: translateX(-50%); margin: 0; padding: 0.35rem 1rem; border-radius: 999px; background: var(--wp--preset--color--amber); color: var(--wp--preset--color--midnight); text-shadow: none;
	font-family: var(--wp--preset--font-family--label); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.hb-plan__name { font-family: var(--wp--preset--font-family--decorative); font-size: 1.9rem; margin: 0.4rem 0 0; text-align: center; }
.hb-plan__price { text-align: center; margin: 0.4rem 0; font-family: var(--wp--preset--font-family--label); letter-spacing: 0.08em; }
.hb-plan__price span { font-family: var(--wp--preset--font-family--display); font-size: 3.2rem; font-weight: 700; letter-spacing: 0; }
.hb-plan--all .hb-plan__price span { color: var(--wp--preset--color--amber); }
.hb-plan__tagline { text-align: center; font-style: italic; margin-top: 0; }
.hb-plan ul { list-style: none; padding: 0; margin: 0.6rem 0 1.4rem; flex: 1; }
.hb-plan li { position: relative; padding: 0.4rem 0 0.4rem 1.7rem; border-bottom: 1px dashed rgba(138, 90, 43, 0.35); }
.hb-plan li::before { content: "✦"; position: absolute; left: 0; color: var(--wp--preset--color--bronze); }
.hb-plan--all li::before { color: var(--wp--preset--color--amber); }
.hb-plan__cta { text-align: center; margin: 0; }
.hb-plan__cta .hb-btn { width: 100%; }
.hb-plan--all .hb-btn--outline { color: var(--wp--preset--color--amber) !important; }
.hb-plan:not(.hb-plan--all) .hb-btn--outline { color: var(--wp--preset--color--indigo) !important; }

/* journeys */
.hb-journeys { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.hb-journeys:has(> :only-child), .hb-journeys:has(> :nth-child(2):last-child) { grid-template-columns: repeat(auto-fit, minmax(220px, 340px)); justify-content: center; }
.hb-journeys__empty { text-align: center; opacity: 0.8; font-style: italic; }
.hb-journey-card { display: flex; flex-direction: column; background: rgba(12, 10, 8, 0.72); border: 1px solid rgba(197, 139, 78, 0.45); border-radius: 10px; overflow: hidden; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45); color: var(--wp--preset--color--cream); }
.is-style-parchment .hb-journey-card { background: rgba(255, 252, 243, 0.55); color: var(--wp--preset--color--indigo); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18); }
.hb-journey-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.hb-journey-card__img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.15); transition: transform 0.4s ease; }
.hb-journey-card:hover .hb-journey-card__img img { transform: scale(1.04); }
.hb-journey-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.hb-journey-card__body h3 { font-size: 1.45rem; margin: 0.5rem 0 0.4rem; }
.hb-journey-card__body h3 a { color: inherit; text-decoration: none; }
.hb-journey-card__body > p:last-child { margin: auto 0 0; padding-top: 0.6rem; }
.hb-journey-card__meta { font-family: var(--wp--preset--font-family--label); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; margin: 0.3rem 0; }
.hb-badge { display: inline-block; align-self: flex-start; padding: 0.25rem 0.7rem; border-radius: 999px; border: 1px solid rgba(197, 139, 78, 0.7); font-family: var(--wp--preset--font-family--label); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--amber); text-shadow: none; vertical-align: middle; }
.is-style-parchment .hb-badge { color: var(--wp--preset--color--bronze); }
.hb-badge--open { background: rgba(156, 175, 136, 0.25); border-color: var(--wp--preset--color--sage); color: var(--wp--preset--color--sage); }
.is-style-parchment .hb-badge--open { color: var(--wp--preset--color--sage-dark); }
.hb-badge--host { background: var(--wp--preset--color--indigo); border-color: var(--wp--preset--color--indigo); color: var(--wp--preset--color--amber) !important; margin-left: 0.3rem; }
.hb-progress { height: 8px; border-radius: 999px; background: rgba(197, 139, 78, 0.22); overflow: hidden; margin: 0.6rem 0 0.2rem; }
.hb-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--wp--preset--color--bronze), var(--wp--preset--color--amber)); border-radius: inherit; }

/* lesson lists + nav */
.hb-lessons__list { list-style: none; padding: 0; margin: 1rem 0; counter-reset: none; }
.hb-lessons__list li { display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0; border-bottom: 1px solid rgba(197, 139, 78, 0.3); }
.hb-lessons__list a { color: inherit; }
.hb-lessons__num { flex: 0 0 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(197, 139, 78, 0.7); font-family: var(--wp--preset--font-family--label); font-size: 0.85rem; }
.hb-lessons__list li.is-done .hb-lessons__num { background: var(--wp--preset--color--sage-dark); border-color: var(--wp--preset--color--sage-dark); color: var(--wp--preset--color--cream); }
.hb-lessons__list li.is-locked { opacity: 0.75; }
.hb-lessons__progress p { margin: 0.3rem 0 0.8rem; }
.hb-lesson-nav__crumb { font-family: var(--wp--preset--font-family--label); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hb-lesson-nav__pn { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hb-complete.is-done { background: var(--wp--preset--color--sage-dark); border-color: var(--wp--preset--color--sage-dark); color: var(--wp--preset--color--cream) !important; }
.hb-locked { text-align: center; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px dashed rgba(197, 139, 78, 0.8); border-radius: 12px; background: rgba(197, 139, 78, 0.08); margin: 1.5rem 0; }
.hb-locked__icon { font-size: 2.4rem; margin: 0; }
.hb-locked h3 { margin: 0.4rem 0; font-size: 1.6rem; }
.hb-locked__actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* account */
.hb-account__card { padding: 1.4rem 1.6rem; border-radius: 10px; background: rgba(255, 252, 243, 0.5); border: 1px solid rgba(138, 90, 43, 0.4); margin-bottom: 2rem; }
.hb-account__card h2 { margin-top: 0; }
.hb-account__actions, .hb-account__choose { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hb-chip { display: inline-block; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--wp--preset--color--indigo); color: var(--wp--preset--color--amber); font-family: var(--wp--preset--font-family--label); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hb-account__profile { margin-top: 2.5rem; border-top: 1px solid rgba(138, 90, 43, 0.35); padding-top: 1rem; }
.hb-account__profile summary { cursor: pointer; font-family: var(--wp--preset--font-family--label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hb-account__profile form { max-width: 520px; margin-top: 1rem; }

/* header link */
.hb-header__actions { align-items: center; }
.hb-member-link { font-family: var(--wp--preset--font-family--label); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--cream); text-decoration: none; white-space: nowrap; }
.hb-member-link:hover { color: var(--wp--preset--color--amber); }

/* community */
.hb-board-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.hb-board-tabs a { padding: 0.45rem 0.95rem; border-radius: 999px; border: 1px solid rgba(138, 90, 43, 0.5); text-decoration: none; font-family: var(--wp--preset--font-family--label); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--indigo) !important; }
.hb-board-tabs a.is-current { background: var(--wp--preset--color--indigo); color: var(--wp--preset--color--amber) !important; border-color: var(--wp--preset--color--indigo); }
.hb-board-tabs a.hb-board-tabs__lounge { margin-left: auto; background: var(--wp--preset--color--teal); color: var(--wp--preset--color--cream) !important; border-color: var(--wp--preset--color--teal) !important; }
.hb-community__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 900px) { .hb-community__grid { grid-template-columns: 1fr; } .hb-board-tabs a.hb-board-tabs__lounge { margin-left: 0; } }
.hb-community__main h2 { margin-top: 0; }
.hb-community__desc { margin-top: -0.4rem; opacity: 0.85; font-style: italic; }
.hb-community__side > * { padding: 1.2rem 1.3rem; border-radius: 10px; background: rgba(255, 252, 243, 0.55); border: 1px solid rgba(138, 90, 43, 0.4); margin-bottom: 1.2rem; }
.hb-community__side h3 { margin-top: 0; font-size: 1.3rem; }
.hb-threads { list-style: none; margin: 0; padding: 0; }
.hb-thread-row { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid rgba(138, 90, 43, 0.3); }
.hb-thread-row.is-pinned { background: rgba(197, 139, 78, 0.1); padding-inline: 0.6rem; border-radius: 6px; }
.hb-thread-row__title { font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.hb-thread-row__meta { margin: 0.25rem 0 0; font-size: 0.95rem; opacity: 0.85; }
.hb-thread-row__stats { text-align: right; flex: 0 0 auto; font-size: 0.9rem; line-height: 1.3; }
.hb-author { display: inline-flex; align-items: center; gap: 0.4rem; }
.hb-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--wp--preset--color--indigo); color: var(--wp--preset--color--amber); font-family: var(--wp--preset--font-family--label); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; }
.hb-pager { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.hb-thread__crumb { font-family: var(--wp--preset--font-family--label); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hb-thread__title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0.3rem 0; }
.hb-thread__count { font-size: 1.3rem; margin-top: 2rem; }
.hb-post { padding: 1rem 0 0.6rem; border-bottom: 1px solid rgba(138, 90, 43, 0.3); }
.hb-post--op { border-bottom: 2px solid rgba(138, 90, 43, 0.5); }
.hb-post--host { background: rgba(197, 139, 78, 0.1); padding-inline: 0.9rem; border-radius: 8px; }
.hb-post__meta { margin: 0 0 0.5rem; font-size: 0.95rem; opacity: 0.9; }
.hb-post__body p { margin: 0 0 0.8rem; }
.hb-post__tools { margin: 0 0 0.4rem; font-size: 0.85rem; }
.hb-reply { margin-top: 1.5rem; }

/* chat lounge */
.hb-chat__top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.95rem; margin-bottom: 0.6rem; }
.hb-chat__here { font-style: italic; opacity: 0.85; }
.hb-chat__log { height: min(60vh, 560px); overflow-y: auto; padding: 1rem; border-radius: 10px; background: rgba(255, 252, 243, 0.6); border: 1px solid rgba(138, 90, 43, 0.4); display: flex; flex-direction: column; gap: 0.8rem; scroll-behavior: smooth; }
.hb-chat__loading, .hb-chat__empty { margin: auto; opacity: 0.7; font-style: italic; }
.hb-chat__msg { display: flex; gap: 0.6rem; align-items: flex-start; max-width: 85%; }
.hb-chat__msg .hb-avatar { width: 34px; height: 34px; margin-top: 0.2rem; }
.hb-chat__msg.is-mine { align-self: flex-end; flex-direction: row-reverse; }
.hb-chat__bubble { background: #fffaf0; border: 1px solid rgba(138, 90, 43, 0.3); border-radius: 4px 14px 14px 14px; padding: 0.5rem 0.85rem 0.6rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); }
.hb-chat__msg.is-mine .hb-chat__bubble { background: var(--wp--preset--color--indigo); color: var(--wp--preset--color--cream); border-color: var(--wp--preset--color--indigo); border-radius: 14px 4px 14px 14px; }
.hb-chat__msg.is-host:not(.is-mine) .hb-chat__bubble { background: rgba(197, 139, 78, 0.22); }
.hb-chat__meta { margin: 0; display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; font-size: 0.85rem; }
.hb-chat__meta time { opacity: 0.65; }
.hb-chat__meta .hb-linkbtn { font-size: 0.75rem; }
.hb-chat__text { margin: 0.15rem 0 0; white-space: pre-wrap; word-break: break-word; font-size: 1.1rem; line-height: 1.4; }
.hb-chat__form { display: flex; gap: 0.6rem; margin-top: 0.8rem; align-items: stretch; }
.hb-chat__form textarea { flex: 1; min-height: 56px; padding: 0.7rem 0.9rem; border-radius: 8px; border: 1px solid rgba(138, 90, 43, 0.55); background: #fffcf3; color: var(--wp--preset--color--indigo); font-family: var(--wp--preset--font-family--body); font-size: 1.1rem; resize: vertical; }
.hb-chat__error { color: #9b3b2f; font-weight: 600; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Header fits the Members menu and account link on one line on laptop screens */
@media (min-width: 1100px) {
	.hb-header .wp-block-navigation { --wp--style--block-gap: clamp(0.9rem, 1.4vw, 1.6rem); gap: clamp(0.9rem, 1.4vw, 1.6rem); }
	.hb-header .wp-block-navigation-item__content { letter-spacing: 0.12em; }
}
