/* ==========================================================================
   Birds Bonsai — front page / landing (Graza)
   ========================================================================== */

:root {
	--gz-bg: #f5f5f5;
	--gz-cream: #e9e1cd;
	--gz-paper: #f1ead9;
	--gz-media-bg: #e7e3d6;
	--gz-slate: #2d4b48;
	--gz-russian: #5c8966;
	--gz-sheen: #7bb497;
	--gz-sage: #c6c296;
	--gz-cyan: #669294;
	--gz-ink: #2d4b48;
	--gz-line: #2d4b48;
	--gz-muted: #6e7b72;
	--gz-radius: 14px;
}

.gz-home {
	background: var(--gz-bg);
	color: var(--gz-ink);
	font-family: "Courier Prime", "Courier New", monospace;
}
.gz-h2 {
	font-family: "Source Serif 4", Georgia, serif; font-weight: 500;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; margin: 0 0 12px; color: var(--gz-ink);
}
.gz-kicker {
	font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.13em;
	color: var(--gz-russian); margin: 0 0 10px;
}
.gz-center { text-align: center; padding: 6px 24px 0; }
.gz-center-text { text-align: center; }

/* Shared buttons — pill with a checkerboard offset shadow.
   Face lives on ::before, checker shadow on ::after, so the shadow sits
   BEHIND the face (negative-z pseudos paint above the host's own bg). */
.gz-btn, .gz-btn-cream, .gz-btn-outline, .gz-hero-btn {
	position: relative; z-index: 0; isolation: isolate;
	display: inline-block; border-radius: 999px; padding: 14px 30px;
	font-family: "Source Serif 4", Georgia, serif; font-weight: 600; text-transform: none;
	letter-spacing: 0.01em; font-size: 1.02rem; text-decoration: none; cursor: pointer;
	background: transparent; border: none;
	transition: transform 0.13s ease;
}
/* The pill face (color set per-variant below) — no dark outline */
.gz-btn::before, .gz-btn-cream::before, .gz-btn-outline::before, .gz-hero-btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	border-radius: inherit;
	transition: background-color 0.15s ease;
}
/* Solid lighter-green drop-shadow, small offset (down-right but tight) */
.gz-btn::after, .gz-btn-cream::after, .gz-btn-outline::after, .gz-hero-btn::after {
	content: ""; position: absolute; inset: 0; z-index: -2;
	border-radius: inherit;
	background: var(--gz-sheen);
	transform: translate(3px, 3px);
	transition: transform 0.13s ease;
}
.gz-btn:hover, .gz-btn-cream:hover, .gz-btn-outline:hover, .gz-hero-btn:hover { transform: translate(2px, 2px); }
.gz-btn:hover::after, .gz-btn-cream:hover::after, .gz-btn-outline:hover::after, .gz-hero-btn:hover::after { transform: translate(1px, 1px); }

.gz-btn { color: #fff; }
.gz-btn::before { background: var(--gz-russian); }
.gz-btn:hover::before { background: var(--gz-slate); }
/* Outline variant keeps a thin outline (that's its identity) */
.gz-btn-outline { color: var(--gz-ink); }
.gz-btn-outline::before { background: var(--gz-paper); border: 1.5px solid var(--gz-line); }
.gz-btn-outline:hover { color: #fff; }
.gz-btn-outline:hover::before { background: var(--gz-russian); border-color: var(--gz-russian); }
.gz-btn-cream { color: var(--gz-slate); }
.gz-btn-cream::before { background: var(--gz-cream); }
.gz-btn-cream:hover::before { background: #fff; }
.gz-hero-btn { color: #fff; }
.gz-hero-btn::before { background: var(--gz-russian); }
.gz-hero-btn:hover::before { background: var(--gz-slate); }

/* ---- Hero (full-bleed: full viewport width + height) ---- */
.gz-hero {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.gz-hero-img {
	display: block; width: 100%;
	height: 100vh; height: 100svh;
	object-fit: cover;
}
.gz-hero-scrim {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(20,26,20,0.55) 0%, rgba(20,26,20,0) 26%),
		linear-gradient(90deg, rgba(28,34,28,0.55) 0%, rgba(28,34,28,0.28) 45%, rgba(28,34,28,0.05) 100%);
	display: flex; align-items: center;
}

/* ---- Home header: transparent, overlaying the hero image ---- */
/* Keep the hero flush to the top so it sits behind the header */
body.home .wp-site-blocks { padding-top: 0 !important; }
body.home main.gz-home { margin-top: 0 !important; padding-top: 0 !important; }
/* Overlay + transparent (overrides the grey sticky header from nav.css) */
body.home .gz-header {
	position: absolute; top: 0; left: 0; right: 0; z-index: 100;
	background: transparent; border-bottom: none;
}
body.home .gz-header .wp-block-site-title a,
body.home .gz-header .wp-block-navigation a,
body.home .gz-header .wp-block-navigation .wp-block-navigation-item__content,
body.home .gz-cart-toggle { color: #fff; }
body.home .gz-header .wp-block-navigation a:hover { color: var(--gz-sage); }
body.home .gz-header .wp-block-site-logo img { filter: brightness(0) invert(1); }
body.home .gz-header .wp-block-navigation__responsive-container-open svg,
body.home .gz-header .wp-block-navigation__responsive-container-open { color: #fff; fill: #fff; }
/* keep the mobile menu overlay readable (dark text on cream) */
body.home .gz-header .wp-block-navigation__responsive-container.is-menu-open a,
body.home .gz-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: var(--gz-ink); }
.gz-hero-content { max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 32px; color: var(--gz-cream); }
.gz-hero-kicker {
	font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em;
	color: var(--gz-sage); margin: 0 0 16px;
}
.gz-hero-title {
	font-family: "Source Serif 4", Georgia, serif; font-weight: 500;
	font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.98; margin: 0 0 18px; color: #fff;
}
.gz-hero-sub { font-size: 1.05rem; line-height: 1.55; max-width: 440px; margin: 0 0 28px; color: #f0ead9; }
.gz-hero-btn { background: var(--gz-cream); color: var(--gz-slate); }
.gz-hero-btn:hover { background: #fff; }

/* ---- Sections ---- */
.gz-section { max-width: 1240px; margin: 0 auto; padding: 70px 24px 10px; }
.gz-section-head { text-align: center; margin-bottom: 30px; }
.gz-section-sub { color: var(--gz-muted); font-size: 0.92rem; margin: 0; }

/* ---- Featured products row (reuse gz-card from content-product.php) ---- */
.gz-home .woocommerce, .gz-home .woocommerce > .products { max-width: 1240px; margin: 0 auto; }
.gz-home ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 26px;
	margin: 0 auto; padding: 0 24px; list-style: none; max-width: 1240px;
}
.gz-home ul.products::before, .gz-home ul.products::after { content: none; display: none; }
.gz-home ul.products li.product.gz-card {
	display: flex; flex-direction: column; text-align: center;
	float: none !important; width: auto !important; margin: 0 !important;
}
.gz-home .gz-card-media {
	position: relative; background: var(--gz-media-bg); border-radius: var(--gz-radius);
	overflow: hidden; aspect-ratio: 1 / 1; margin-bottom: 14px;
}
.gz-home .gz-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.gz-home .gz-card:hover .gz-card-media img { transform: scale(1.045); }
.gz-home .gz-card-title { font-family: "Source Serif 4", serif; font-weight: 500; font-size: 1.1rem; margin: 0 0 4px; color: var(--gz-ink); }
.gz-home .gz-card-sub { font-size: 0.74rem; color: var(--gz-muted); margin: 0 0 14px; }
.gz-home .gz-card-buy { margin-top: auto; }
.gz-home ul.products li.product .gz-card-buy .button {
	display: inline-block; width: 100%; box-sizing: border-box; background: var(--gz-russian); color: #fff;
	border: none; border-radius: 999px;
	padding: 11px 14px; margin: 0; font-family: "Courier Prime", monospace; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.78rem; text-decoration: none;
}
.gz-home ul.products li.product .gz-card-buy .button:hover { background: var(--gz-slate); color: #fff; }
.gz-home ul.products li.product .gz-card-buy .added_to_cart { display: inline-block; margin-top: 8px; font-size: 0.72rem; color: var(--gz-cyan); }

/* ---- Shop by collection tiles ---- */
.gz-coll-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
	max-width: 1240px; margin: 30px auto 0; padding: 0 24px;
}
.gz-coll {
	position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
	border-radius: var(--gz-radius); border: 1px solid var(--gz-line); text-decoration: none;
}
.gz-coll img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.gz-coll:hover img { transform: scale(1.05); }
.gz-coll::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(20,26,20,0) 38%, rgba(20,26,20,0.72) 100%);
}
.gz-coll-label {
	position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff;
	font-family: "Source Serif 4", Georgia, serif; font-weight: 500; font-size: 1.3rem;
	line-height: 1.05; display: flex; flex-direction: column;
}
.gz-coll-label small {
	font-family: "Courier Prime", monospace; font-size: 0.7rem; text-transform: uppercase;
	letter-spacing: 0.09em; opacity: 0.92; margin-top: 6px; font-weight: 700;
}
@media (max-width: 820px) { .gz-coll-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Value props ---- */
.gz-props-wrap { max-width: 1100px; }
.gz-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.gz-prop {
	background: var(--gz-paper); border: 1px solid var(--gz-line); border-radius: var(--gz-radius);
	padding: 28px 24px; text-align: center;
}
.gz-prop-ic { font-size: 1.9rem; display: block; margin-bottom: 12px; }
.gz-prop h3 { font-family: "Source Serif 4", serif; font-weight: 500; font-size: 1.2rem; margin: 0 0 10px; }
.gz-prop p { font-size: 0.88rem; line-height: 1.65; color: #4a4e43; margin: 0; }

/* ---- Feature (image + text) ---- */
.gz-feature {
	max-width: 1180px; margin: 80px auto 0; padding: 0 24px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.gz-feature-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--gz-radius); border: 1px solid var(--gz-line); display: block; }
.gz-feature-text p:not(.gz-kicker) { font-size: 0.98rem; line-height: 1.7; color: #43473c; margin: 0 0 22px; }

/* ---- Mission band ---- */
.gz-mission { margin-top: 88px; background: var(--gz-slate); color: var(--gz-cream); }
.gz-mission-inner { max-width: 760px; margin: 0 auto; padding: 70px 24px; text-align: center; }
.gz-kicker-light { color: var(--gz-sage); }
.gz-mission-title { font-family: "Source Serif 4", Georgia, serif; font-weight: 500; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; margin: 0 0 16px; color: var(--gz-sage); }
.gz-mission-copy { font-size: 1.05rem; line-height: 1.6; margin: 0 0 28px; color: #d6dccf; }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
	.gz-home ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.gz-props { grid-template-columns: 1fr; }
	.gz-feature { grid-template-columns: 1fr; gap: 26px; margin-top: 56px; }
	.gz-hero-scrim { background: linear-gradient(180deg, rgba(28,34,28,0.30) 0%, rgba(28,34,28,0.60) 100%); }
}
@media (max-width: 480px) {
	.gz-home ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
	.gz-section { padding-top: 50px; }
}

/* ==========================================================================
   Hero v2 — light photo + left-justified "Bird's Bonsai" wordmark overlay
   Overrides the dark-hero defaults above. Scoped to .gz-hero--v2 / body.home.
   ========================================================================== */

/* Light square photo: anchor to the BOTTOM so the table top stays in view
   (bottom of the photo aligns to the bottom of the hero). */
.gz-hero--v2 .gz-hero-img { object-position: center bottom; }

/* Drop the heavy dark scrim; a faint left wash keeps dark text legible
   over the light wall without dimming the photo. */
.gz-hero--v2 .gz-hero-scrim {
	background: linear-gradient(90deg, rgba(245,245,245,0.55) 0%, rgba(245,245,245,0.15) 42%, rgba(245,245,245,0) 70%);
}

/* Left-justified content (left-aligned within the centered max-width wrap) */
.gz-hero--v2 .gz-hero-content { color: var(--gz-ink); text-align: left; }
.gz-hero--v2 .gz-hero-kicker { color: var(--gz-russian); }
.gz-hero--v2 .gz-hero-sub { color: var(--gz-slate); }

/* The wordmark image stands in for the headline */
.gz-hero-title--wordmark { margin: 0 0 18px; line-height: 1; }
.gz-hero-wordmark {
	display: block;
	width: clamp(260px, 40vw, 540px);
	height: auto;
}

/* Light hero => dark header so nav/logo stay readable (was white-on-dark) */
body.home .gz-header .wp-block-site-title a,
body.home .gz-header .wp-block-navigation a,
body.home .gz-header .wp-block-navigation .wp-block-navigation-item__content,
body.home .gz-cart-toggle { color: var(--gz-ink); }
body.home .gz-header .wp-block-navigation a:hover { color: var(--gz-russian); }
body.home .gz-header .wp-block-site-logo img { filter: none; }
body.home .gz-header .wp-block-navigation__responsive-container-open svg,
body.home .gz-header .wp-block-navigation__responsive-container-open { color: var(--gz-ink); fill: var(--gz-ink); }

@media (max-width: 820px) {
	.gz-hero--v2 .gz-hero-scrim {
		background: linear-gradient(180deg, rgba(245,245,245,0.65) 0%, rgba(245,245,245,0.10) 55%, rgba(245,245,245,0) 100%);
	}
}

/* ---- Hero button (v2): green face, white text, left-aligned, hugs text ---- */
.gz-hero--v2 .gz-hero-btn { display: block; width: fit-content; color: #fff; }

/* ==========================================================================
   "What is a bonsai" section
   ========================================================================== */
/* Full-bleed band with the botanical sketch as the section background.
   Desktop: bonsai anchored right (always fully in view via auto 100%),
   text sits in the open cream space on the left. */
.gz-whatis {
	max-width: none; width: 100vw;
	margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
	padding: 0;
	background: #f6f1e5 url("/wp-content/uploads/2026/06/bb-bonsai-sketch.jpg") no-repeat right center;
	background-size: auto 100%;
}
.gz-whatis-inner {
	max-width: 1240px; margin: 0 auto; padding: 76px 24px; min-height: 460px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.gz-whatis-text { grid-column: 1; }
.gz-whatis-text p { font-size: 1rem; line-height: 1.7; margin: 0 0 16px; max-width: 44ch; }
.gz-whatis-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.gz-whatis-list li { position: relative; padding-left: 26px; font-size: 0.98rem; line-height: 1.5; }
.gz-whatis-list li::before {
	content: "\2767"; position: absolute; left: 0; top: 0;
	color: var(--gz-russian); font-size: 1rem;
}
/* Desktop uses the background image; the inline <img> is for small screens */
.gz-whatis-figure { display: none; margin: 0; }
.gz-whatis-sketch { display: block; width: 100%; height: auto; }

@media (max-width: 820px) {
	/* Stack: text (right-justified) above, sketch always fully visible below */
	.gz-whatis { background-image: none; background-color: #f6f1e5; }
	.gz-whatis-inner { grid-template-columns: 1fr; gap: 8px; padding: 44px 24px 0; min-height: 0; }
	.gz-whatis-text { text-align: right; }
	.gz-whatis-text p { max-width: none; margin-left: auto; }
	.gz-whatis-list { justify-items: end; }
	.gz-whatis-list li { padding-left: 0; padding-right: 24px; text-align: right; }
	.gz-whatis-list li::before { left: auto; right: 0; }
	.gz-whatis-figure { display: block; }
}
