/* Honey & Bloom site styles. Component styles live in components.css. */

:root {
	--ivory: var(--wp--preset--color--ivory);
	--ivory-deep: var(--wp--preset--color--ivory-deep);
	--white: var(--wp--preset--color--white);
	--ink: var(--wp--preset--color--ink);
	--ink-soft: var(--wp--preset--color--ink-soft);
	--honey: var(--wp--preset--color--honey);
	--honey-deep: var(--wp--preset--color--honey-deep);
	--honey-tint: var(--wp--preset--color--honey-tint);
	--sage: var(--wp--preset--color--sage);
	--sage-deep: var(--wp--preset--color--sage-deep);
	--sage-tint: var(--wp--preset--color--sage-tint);
	--blush: var(--wp--preset--color--blush);
	--blush-tint: var(--wp--preset--color--blush-tint);
	--line: #E3D9CB;
	--control-border: #8E857A;
	--error: #A63D2F;
	--font-display: var(--wp--preset--font-family--display);
	--font-sans: var(--wp--preset--font-family--sans);
	--radius-sm: 6px;
	--radius-md: 14px;
	--radius-pill: 999px;
	--shadow-soft: 0 14px 36px rgba(46, 43, 40, 0.08);
	--header-h: 76px;
}

[hidden] { display: none !important; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, .wp-block-heading { text-wrap: balance; font-variation-settings: "SOFT" 60; }
h1, h2 { font-optical-sizing: auto; }
p { text-wrap: pretty; }
::selection { background: var(--honey-tint); color: var(--ink); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
.hb-amp { font-weight: 350; padding: 0 .04em; }
.screen-reader-text:not(:focus) { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* Header */
.hb-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .hb-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.hb-site-header.is-scrolled .hb-header { box-shadow: var(--shadow-soft); }
.hb-header__inner { width: 100%; max-width: 1200px; margin-inline: auto; align-items: center; }
.hb-logo { display: block; line-height: 0; }
.hb-logo img { width: auto; height: 34px; }
.hb-header__right { gap: 28px; align-items: center; }
.hb-header .wp-block-navigation a { text-decoration: none; padding-block: 6px; background-image: linear-gradient(var(--honey), var(--honey)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease; }
.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"] { background-size: 100% 2px; color: var(--ink); }
.hb-header__cta .wp-block-button__link { padding: 12px 22px; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 24px 20px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-family: var(--font-display); font-size: 28px; }

@media (max-width: 781px) {
	:root { --header-h: 64px; }
	.hb-logo img { height: 28px; }
	.hb-header__cta { display: none !important; }
}

/* Sections */
.hb-main { padding-top: 0; }
.hb-section { padding-block: var(--wp--preset--spacing--80); }
.hb-section--tight { padding-block: var(--wp--preset--spacing--70); }
.is-style-eyebrow, .hb-eyebrow { font-family: var(--font-sans) !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-deep); margin-bottom: 12px; }
.hb-eyebrow--light, .has-ink-background-color .is-style-eyebrow { color: var(--honey) !important; }
.has-sage-background-color .is-style-eyebrow, .has-sage-tint-background-color .is-style-eyebrow { color: var(--sage-deep); }
.hb-lead { font-size: var(--wp--preset--font-size--large); color: var(--ink-soft); }
.hb-sprig { width: 44px; height: auto; display: block; margin-bottom: 8px; }
.hb-divider { width: 200px; height: auto; display: block; margin: 0 auto; }

/* Hero */
.hb-hero { padding-block: clamp(32px, 6vw, 88px) var(--wp--preset--spacing--80); }
.hb-hero h1 { font-size: var(--wp--preset--font-size--display); line-height: 1.05; margin-block: 0 20px; }
.hb-hero .wp-block-columns { align-items: center; }

/* Arch block styles */
.wp-block-image.is-style-arch img, .wp-block-image.is-style-arch-mat img, .wp-block-post-featured-image.is-style-arch img {
	border-radius: var(--radius-pill) var(--radius-pill) var(--radius-md) var(--radius-md); aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.wp-block-image.is-style-arch-mat { padding: 10px; background: var(--blush); border-radius: var(--radius-pill) var(--radius-pill) 20px 20px; }
.wp-block-image.is-style-arch-mat img { border-radius: var(--radius-pill) var(--radius-pill) 12px 12px; }
.wp-block-cover.is-style-arch { border-radius: var(--radius-pill) var(--radius-pill) var(--radius-md) var(--radius-md); overflow: hidden; aspect-ratio: 4 / 5; }
.hb-arch__empty { display: flex; height: 100%; align-items: flex-end; justify-content: center; padding: 16px; font-size: 13px; color: var(--ink-soft); }
.hb-arch-placeholder { width: 100%; box-sizing: border-box; border-radius: var(--radius-pill) var(--radius-pill) var(--radius-md) var(--radius-md); aspect-ratio: 4 / 5; background: var(--blush); display: flex; align-items: flex-end; justify-content: center; padding: 20px; color: var(--ink-soft); font-size: 14px; }

/* Event type tiles */
.hb-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hb-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 220px; padding: 28px; border-radius: var(--radius-md); text-decoration: none; color: var(--ink); transition: transform .3s ease, box-shadow .3s ease; }
.hb-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.hb-tile h3 { margin: 0; }
.hb-tile p { margin: 0; color: var(--ink-soft); }
.hb-tile span { font-weight: 600; font-size: 15px; margin-top: 8px; }
.hb-tile--sage { background: var(--sage-tint); }
.hb-tile--honey { background: var(--honey-tint); }
.hb-tile--blush { background: var(--blush-tint); }
@media (max-width: 781px) { .hb-tiles { grid-template-columns: 1fr; } .hb-tile { min-height: 0; } }

/* Value props */
.hb-props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.hb-prop h3 { margin: 12px 0 8px; }
.hb-prop p { margin: 0; color: var(--ink-soft); }
.hb-prop svg { color: var(--honey-deep); }
@media (max-width: 781px) { .hb-props { grid-template-columns: 1fr; gap: 28px; } }

/* Portfolio grid */
.hb-portfolio .hb-filter { margin-bottom: 32px; }
.hb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.hb-grid--featured .hb-card:nth-child(3n + 2) { margin-top: 48px; }
.hb-card[hidden] { display: none; }
@media (max-width: 1000px) { .hb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hb-grid--featured .hb-card:nth-child(3n + 2) { margin-top: 0; } }
@media (max-width: 640px) {
	.hb-grid { grid-template-columns: 1fr; }
	.hb-grid--featured { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; margin-inline: calc(-1 * var(--wp--style--root--padding-left, 16px)); padding-inline: var(--wp--style--root--padding-left, 16px); }
	.hb-grid--featured .hb-card { flex: 0 0 78%; scroll-snap-align: start; }
}
.hb-empty { padding: 16px 20px; background: var(--honey-tint); border-radius: var(--radius-sm); font-size: 15px; }

/* Meet Maja */
.hb-maja .wp-block-columns { align-items: center; }
.hb-pron { font-family: var(--font-sans); font-size: 15px; color: var(--ink-soft); font-style: italic; }

/* Process */
.hb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
@media (max-width: 1000px) { .hb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hb-steps { grid-template-columns: 1fr; } }

/* Testimonials */
.hb-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .hb-quotes { grid-template-columns: 1fr; } }

/* Final CTA band */
.hb-cta-band { text-align: center; padding: var(--wp--preset--spacing--70) 24px; border-radius: var(--radius-md); background: var(--sage-tint); margin-block: var(--wp--preset--spacing--70); }
.hb-cta-band h2 { margin: 0 0 12px; }
.hb-cta-band p { margin: 0 auto 24px; max-width: 46ch; color: var(--ink-soft); }
.hb-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hb-cta-band .hb-actions { justify-content: center; }

/* Instagram strip */
.hb-insta { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px !important; }
.hb-insta .wp-block-image img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 640px) { .hb-insta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Lists */
.is-style-ticks, .hb-ticks { list-style: none; padding-left: 0; }
.is-style-ticks li, .hb-ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.is-style-ticks li::before, .hb-ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 9px; border-left: 2px solid var(--sage-deep); border-bottom: 2px solid var(--sage-deep); transform: rotate(-45deg); }

/* FAQ */
.wp-block-details.is-style-faq { border-bottom: 1px solid var(--line); padding-block: 4px; }
.wp-block-details.is-style-faq summary { font-family: var(--font-display); font-size: 21px; font-weight: 500; padding: 18px 40px 18px 0; cursor: pointer; list-style: none; position: relative; }
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--font-sans); font-size: 28px; color: var(--honey-deep); transition: transform .2s ease; }
.wp-block-details.is-style-faq[open] summary::after { transform: rotate(45deg); }
.wp-block-details.is-style-faq > :not(summary) { color: var(--ink-soft); margin-top: 0; padding-bottom: 16px; max-width: 62ch; }

/* Event page */
.hb-event-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-block: clamp(32px, 6vw, 80px); max-width: 1200px !important; }
.hb-event-hero .hb-eyebrow a { color: inherit; text-decoration: none; }
.hb-event-hero h1 { margin: 0 0 28px; }
.hb-details { display: flex; flex-wrap: wrap; gap: 24px 40px; margin: 0; }
.hb-details dt { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); }
.hb-details dd { margin: 4px 0 0; font-size: 17px; }
.hb-swatches { display: inline-flex; gap: 6px; }
.hb-swatch { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: inline-block; }
.hb-event__story { padding-bottom: var(--wp--preset--spacing--60); }
.hb-event__story .wp-block-gallery { margin-block: 40px; }
.hb-event__story .wp-block-gallery img { border-radius: var(--radius-md); }
.hb-event .hb-quote { max-width: 720px !important; margin: var(--wp--preset--spacing--60) auto; }
.hb-event-credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: 900px !important; margin: 0 auto; }
.hb-event-credits h2 { font-size: var(--wp--preset--font-size--heading-3); }
.hb-vendors { list-style: none; padding: 0; }
.hb-vendors li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hb-vendors span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); }
.hb-event .hb-cta-band { max-width: 1200px !important; }
@media (max-width: 781px) { .hb-event-hero, .hb-event-credits { grid-template-columns: 1fr; gap: 32px; } .hb-event-hero .hb-arch { order: -1; } }

/* Inquiry form */
.hb-form { max-width: 620px; }
.hb-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hb-form__step > legend { font-family: var(--font-display); font-size: var(--wp--preset--font-size--heading-3); font-weight: 500; margin-bottom: 20px; padding: 0; }
.hb-form__step + .hb-form__step { margin-top: 40px; }
.hb-js .hb-form__step + .hb-form__step { margin-top: 0; }
.hb-form__progress { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-deep); }
.hb-form__bar { height: 4px; background: var(--ivory-deep); border-radius: 4px; margin: 8px 0 28px; overflow: hidden; }
.hb-form__bar i { display: block; height: 100%; background: var(--honey); width: 33%; transition: width .3s ease; }
.hb-form__nav { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.hb-form__alert { padding: 14px 18px; border-radius: var(--radius-sm); background: #F8E3DF; color: var(--error); font-weight: 600; }
.hb-field--group { gap: 2px; }
.hb-field--group legend { margin-bottom: 8px; }
.hb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 16px; }

/* Calendar size */
.hb-cal { margin-inline: auto; }
.hb-cal--compact { max-width: 420px; }
.hb-cal--compact .hb-day small { display: none; }
.hb-cal__cta { margin-top: 20px; }

/* Quiz */
.hb-quiz { max-width: 720px; margin-inline: auto; padding: clamp(24px, 4vw, 48px); background: var(--white); border-radius: var(--radius-md); }
.hb-quiz fieldset { border: 0; padding: 0; margin: 0; }
.hb-quiz__progress { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-deep); margin: 0 0 8px; }
.hb-quiz__legend { font-family: var(--font-display); font-size: var(--wp--preset--font-size--heading-3); font-weight: 500; margin-bottom: 20px; padding: 0; }
.hb-quiz__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hb-quiz__opt { min-height: 64px; padding: 16px 20px; border-radius: var(--radius-md); border: 1px solid var(--control-border); background: var(--ivory); color: var(--ink); font-family: var(--font-sans); font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.hb-quiz__opt:hover { background: var(--honey-tint); border-color: var(--honey); }
.hb-quiz__result h3 { font-size: var(--wp--preset--font-size--heading-2); margin: 0 0 12px; }
.hb-quiz__restart { background: none; border: 0; cursor: pointer; font-family: var(--font-sans); font-size: 15px; }
@media (max-width: 520px) { .hb-quiz__opts { grid-template-columns: 1fr; } }

/* Footer */
.hb-footer a { text-decoration-color: var(--honey); text-underline-offset: 4px; }
.hb-footer .hb-logo img { height: 36px; }
.hb-footer__links { list-style: none; padding: 0; margin: 0; }
.hb-footer__links li { margin-bottom: 8px; }
.hb-footer__links a { text-decoration: none; }
.hb-footer__links a:hover { text-decoration: underline; }
.hb-footer__legal { border-top: 1px solid rgba(250, 246, 239, .18); }
.hb-social { display: flex; gap: 14px; margin-top: 16px; }
.hb-social__link { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(250, 246, 239, .35); color: var(--ivory); }
.hb-social__link:hover { background: var(--honey); color: var(--ink); border-color: var(--honey); }

/* Mobile booking bar */
.hb-mobile-bar { display: none; }
@media (max-width: 781px) {
	.hb-mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(250, 246, 239, .96); border-top: 1px solid var(--line); backdrop-filter: blur(6px); }
	.hb-mobile-bar .hb-btn { flex: 1; min-height: 48px; padding-block: 12px; }
	.hb-mobile-bar__mail { display: inline-flex; width: 48px; height: 48px; flex: 0 0 48px; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); }
	body { padding-bottom: 76px; }
}

/* Reveal on scroll (only when JS is running; content stays visible otherwise) */
.hb-js .is-style-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.hb-js .is-style-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.hb-js .is-style-reveal { opacity: 1; transform: none; transition: none; }
	.hb-tile, .hb-header .wp-block-navigation a { transition: none; }
	.hb-tile:hover { transform: none; }
}
