/* ==========================================================================
   Homepage (front-page.php). Loaded only on the front page.
   Relies on tokens + primitives from style.css (.bq-btn, .bq-eyebrow, .bq-card…).
   ========================================================================== */

.bq-home { --bq-container: 1240px; overflow-x: clip; }
.bq-container { width: min(var(--bq-container), 100% - clamp(32px, 6vw, 96px)); margin-inline: auto; }

.bq-home h1, .bq-home h2, .bq-home h3, .bq-home .bq-steps__num, .bq-home .bq-stats strong, .bq-home .bq-craft__quote p {
	font-family: var(--bq-font-heading);
}
.bq-home h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0; color: var(--bq-ink); }
.bq-home h3 { font-weight: 500; }
.bq-home .bq-eyebrow { margin-bottom: 14px; }

.bq-section { padding-top: var(--bq-section); }
.bq-section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; max-width: none; flex-wrap: wrap; }
.bq-section__text { margin: 0; max-width: 420px; color: var(--bq-text); line-height: 1.6; }
.bq-section__head--row .bq-link { margin-bottom: 6px; }

/* Buttons – homepage extras */
.bq-btn--lg { min-height: 56px; padding: 0 28px; font-size: 15.5px; }
.bq-btn--ghost { background: transparent; color: var(--bq-ink); border-color: var(--bq-line); }
.bq-btn--ghost:hover { border-color: var(--bq-ink); }
.bq-btn--ghost .bq-icon { color: var(--bq-wa); }
.bq-btn--light { background: #fff; color: var(--bq-ink); border-color: #fff; }
.bq-btn--light:hover { background: var(--bq-bg); border-color: var(--bq-bg); }

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.bq-hero {
	position: relative;
	padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 96px);
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(138, 90, 43, .10), transparent 60%),
		var(--bq-bg);
}
.bq-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.bq-hero__copy { max-width: 600px; }
.bq-hero__title {
	font-size: clamp(40px, 5.4vw, 72px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.025em;
	margin: 0 0 22px;
	color: var(--bq-ink);
	text-wrap: balance;
}
.bq-hero__title em { font-style: italic; font-weight: 400; color: var(--bq-accent); }
.bq-hero .bq-lead { max-width: 520px; margin: 0 0 30px; }
.bq-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bq-hero__meta { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--bq-text); }
.bq-hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.bq-hero__meta .bq-icon { color: var(--bq-accent); width: 1em; height: 1em; }

.bq-hero__media { position: relative; }
.bq-hero__media img {
	display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
	border-radius: 14px; box-shadow: var(--bq-shadow);
}
.bq-hero__card {
	position: absolute; left: clamp(-16px, -2vw, -28px); bottom: clamp(24px, 4vw, 48px);
	display: grid; gap: 3px;
	padding: 18px 22px;
	background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(27, 25, 23, .06);
	border-radius: 10px; box-shadow: 0 20px 50px -24px rgba(20, 16, 12, .35);
	min-width: 220px;
}
.bq-hero__card-label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--bq-muted); font-weight: 600; }
.bq-hero__card strong { font-family: var(--bq-font-heading); font-size: 22px; font-weight: 500; color: var(--bq-ink); letter-spacing: -.01em; }
.bq-hero__card-note { font-size: 13px; color: var(--bq-text); }

/* --------------------------------------------------------------------------
   2. Stats
   -------------------------------------------------------------------------- */
.bq-stats { border-bottom: 1px solid var(--bq-line); }
.bq-stats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.bq-stats__list li { padding: 30px 28px; display: grid; gap: 4px; border-left: 1px solid var(--bq-line); }
.bq-stats__list li:first-child { border-left: 0; padding-left: 0; }
.bq-stats__list strong { font-size: clamp(30px, 3vw, 40px); font-weight: 500; letter-spacing: -.02em; line-height: 1; color: var(--bq-ink); }
.bq-stats__list span { font-size: 14px; color: var(--bq-muted); }

/* --------------------------------------------------------------------------
   3. Collections
   -------------------------------------------------------------------------- */
.bq-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 16px; }
.bq-tile {
	position: relative; display: block; overflow: hidden; border-radius: 12px;
	aspect-ratio: 1 / 1; background: var(--bq-bg); color: #F7F4EF; text-decoration: none;
	isolation: isolate;
}
.bq-tile:hover {
	color: #E6E0D7;
}
.bq-tile--lg { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.bq-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--bq-ease); }
.bq-tile::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(20, 16, 12, .72) 0%, rgba(20, 16, 12, .18) 45%, transparent 70%);
	transition: opacity .4s var(--bq-ease);
}
.bq-tile:hover img { transform: scale(1.05); }
.bq-tile__body {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
	display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 12px;
	padding: clamp(16px, 2vw, 26px);
}
.bq-tile__name { grid-column: 1; font-family: var(--bq-font-heading); font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.bq-tile--lg .bq-tile__name { font-size: clamp(24px, 2.4vw, 34px); }
.bq-tile__count { grid-column: 1; font-size: 13px; opacity: .8; }
.bq-tile__arrow {
	grid-column: 2; grid-row: 1 / span 2;
	width: 40px; height: 40px; padding: 10px; border-radius: 50%;
	background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
	transition: background .3s var(--bq-ease), transform .3s var(--bq-ease);
}
.bq-tile:hover .bq-tile__arrow { background: #fff; color: var(--bq-ink); transform: translate(2px, -2px); }

/* --------------------------------------------------------------------------
   4. Craft
   -------------------------------------------------------------------------- */
.bq-craft__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.bq-craft__media { position: relative; }
.bq-craft__media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.bq-craft__quote {
	position: absolute; right: clamp(-16px, -2vw, -32px); bottom: clamp(24px, 4vw, 56px);
	max-width: 300px; margin: 0; padding: 22px 24px;
	background: var(--bq-ink); color: #fff; border-radius: 10px;
	box-shadow: 0 24px 60px -28px rgba(20, 16, 12, .6);
}
.bq-craft__quote p { margin: 0 0 12px; font-size: 19px; line-height: 1.35; font-style: italic; font-weight: 400; }
.bq-craft__quote cite { font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.bq-craft__copy h2 { margin-bottom: 18px; }
.bq-craft__copy .bq-lead { margin: 0 0 30px; }
.bq-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.bq-points li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.bq-points__icon {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--bq-bg); color: var(--bq-accent); border: 1px solid var(--bq-line);
}
.bq-points__icon .bq-icon { width: 22px; height: 22px; }
.bq-points strong { display: block; color: var(--bq-ink); font-size: 16.5px; margin-bottom: 3px; }
.bq-points p { margin: 0; color: var(--bq-text); font-size: 15px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   5. Featured – uses .bq-card from style.css
   -------------------------------------------------------------------------- */
.bq-featured .bq-grid { --bq-gap: clamp(16px, 2vw, 28px); }

/* --------------------------------------------------------------------------
   6. Process
   -------------------------------------------------------------------------- */
.bq-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.bq-steps li { position: relative; padding-top: 26px; border-top: 1px solid var(--bq-line); }
.bq-steps li::before {
	content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--bq-accent);
}
.bq-steps__num { display: block; font-size: 15px; font-style: italic; color: var(--bq-accent); margin-bottom: 14px; letter-spacing: .02em; }
.bq-steps h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.01em; color: var(--bq-ink); }
.bq-steps p { margin: 0; color: var(--bq-text); font-size: 15px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   7. FAQ
   -------------------------------------------------------------------------- */
.bq-faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.bq-faq__head { position: sticky; top: 100px; }
.bq-faq__head h2 { margin-bottom: 16px; }
.bq-faq__head .bq-section__text { margin-bottom: 22px; }
.bq-faq__item { border-top: 1px solid var(--bq-line); }
.bq-faq__item:last-child { border-bottom: 1px solid var(--bq-line); }
.bq-faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 22px 0; font-size: 17.5px; font-weight: 600; color: var(--bq-ink);
}
.bq-faq__item summary::-webkit-details-marker { display: none; }
.bq-faq__item summary::after { content: none; }
.bq-faq__plus { position: relative; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--bq-line); transition: transform .35s var(--bq-ease), background .3s; }
.bq-faq__plus::before, .bq-faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.bq-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.bq-faq__item[open] .bq-faq__plus { transform: rotate(45deg); background: var(--bq-bg); }
.bq-faq__answer { padding: 0 48px 24px 0; color: var(--bq-text); line-height: 1.7; }
.bq-faq__answer p { margin: 0; }

/* --------------------------------------------------------------------------
   8. CTA
   -------------------------------------------------------------------------- */
.bq-home-cta { padding-bottom: var(--bq-section); }
.bq-home-cta__box {
	display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px 48px;
	padding: clamp(36px, 5vw, 72px);
	border-radius: 18px; background: var(--bq-ink); color: #fff;
	background-image: radial-gradient(800px 400px at 100% 0%, rgba(138, 90, 43, .35), transparent 60%);
}
.bq-home-cta__box h2 { color: #fff; margin-bottom: 12px; }
.bq-home-cta__box p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 17px; line-height: 1.6; max-width: 520px; }
.bq-home-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.bq-home-cta .bq-btn--wa { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.bq-home-cta .bq-btn--wa:hover { background: var(--bq-wa); border-color: var(--bq-wa); }

/* --------------------------------------------------------------------------
   Reveal on scroll (JS adds .is-visible; without JS everything is visible)
   -------------------------------------------------------------------------- */
.js .bq-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--bq-ease), transform .7s var(--bq-ease); }
.js .bq-reveal--delay { transition-delay: .12s; }
.js .bq-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .bq-reveal { opacity: 1; transform: none; transition: none; }
	.bq-tile img, .bq-tile__arrow, .bq-faq__plus { transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.bq-steps { grid-template-columns: repeat(2, 1fr); }
	.bq-stats__list { grid-template-columns: repeat(2, 1fr); }
	.bq-stats__list li { padding: 22px 20px; }
	.bq-stats__list li:nth-child(3) { border-left: 0; padding-left: 0; }
	.bq-stats__list li:nth-child(-n+2) { border-bottom: 1px solid var(--bq-line); }
}
@media (max-width: 900px) {
	.bq-hero__grid, .bq-craft__grid, .bq-faq__grid, .bq-home-cta__box { grid-template-columns: 1fr; }
	.bq-hero__media { order: -1; }
	.bq-hero__media img { aspect-ratio: 5 / 4; }
	.bq-hero__card { left: 8px; bottom: -12px; }
	.bq-hero__card-label { font-size: 9.5px; }
	.bq-hero__card strong { font-size: 16px; }
	.bq-hero__card-note { font-size: 11px; }
	.bq-craft__quote { position: static; max-width: none; margin-top: 16px; }
	.bq-faq__head { position: static; }
	.bq-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bq-tile--lg { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; }
	.bq-home-cta__actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
	.bq-hero { padding-top: 24px; }
	.bq-hero__actions .bq-btn { flex: 1 1 100%; }
	.bq-steps { grid-template-columns: 1fr; gap: 24px; }
	.bq-tiles { gap: 10px; }
	.bq-tile__arrow { display: none; }
	.bq-section__head--row { align-items: flex-start; flex-direction: column; }
}


/* ---- Process: warm band + step cards ---- */
.bq-process { background: var(--bq-bg); padding-bottom: var(--bq-section); margin-top: var(--bq-section); }
.bq-process .bq-section__head { text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }
.bq-steps { gap: 20px; }
.bq-steps li {
	padding: 28px 26px 30px; border-top: 0; background: #fff; border-radius: 14px;
	border: 1px solid rgba(27, 25, 23, .06); box-shadow: 0 1px 0 rgba(27, 25, 23, .03);
	transition: transform .35s var(--bq-ease), box-shadow .35s var(--bq-ease);
}
.bq-steps li::before { display: none; }
.bq-steps li:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(27, 25, 23, .3); }
.bq-steps__num {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--bq-bg); color: var(--bq-accent); font-size: 17px; font-style: italic; margin-bottom: 20px;
}
.bq-steps li:last-child .bq-steps__num { background: var(--bq-accent); color: #fff; }
.bq-steps h3 { font-size: 20px; }

/* ---- FAQ: soft cards, accent line when open ---- */
.bq-faq { padding-bottom: var(--bq-section); }
.bq-faq__item, .bq-faq__item:last-child { border: 1px solid var(--bq-line); border-radius: 12px; background: #fff; margin-bottom: 12px; transition: border-color .3s, box-shadow .3s; }
.bq-faq__item summary { padding: 20px 22px; }
/* .bq-faq__item[open] { border-color: transparent; box-shadow: 0 16px 40px -28px rgba(27, 25, 23, .35), inset 3px 0 0 var(--bq-accent); } */
.bq-faq__item[open] summary { padding-bottom: 8px; }
.bq-faq__answer { padding: 0 64px 22px 22px; }
.bq-faq__plus { color: var(--bq-accent); border-color: rgba(138, 90, 43, .35); }
.bq-faq__item[open] .bq-faq__plus { background: var(--bq-accent); border-color: var(--bq-accent); color: #fff; }
.bq-faq__head::before {
	content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--bq-accent); margin-bottom: 22px;
}
@media (max-width: 781px) {
	.bq-steps li { padding: 22px 20px 24px; }
	.bq-faq__item summary { padding: 16px 18px; }
	.bq-faq__answer { padding: 0 48px 18px 18px; }
}