/* Our Story page (our-story.html): styled to match index.html (home-v2.css tokens) */

.hm-story-page__intro {
	padding: 4.5rem 0 3.5rem;
	background: var(--hm-cream);
}

.hm-gold-text {
	background: var(--hm-gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hm-story-page__head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: end;
}

.hm-story-page__title {
	margin-top: 0.8rem;
}

.hm-story-page__body p {
	margin: 0 0 1rem;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--hm-ink-soft);
}

.hm-story-page__body p:last-child {
	margin-bottom: 0;
}

.hm-story-page__quote {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	margin-top: 3rem;
	padding: 1.6rem 2rem;
	border-radius: var(--hm-radius);
	background: var(--hm-card);
}

.hm-story-page__quote-mark {
	font-family: var(--hm-serif);
	font-size: 3.4rem;
	line-height: 0.8;
	color: var(--hm-gold);
}

.hm-story-page__quote p {
	margin: 0;
	font-family: var(--hm-serif);
	font-size: 1.35rem;
	font-style: italic;
	line-height: 1.45;
	color: var(--hm-ink);
}

.hm-story-page__details {
	padding: 4rem 0 4.5rem;
	background: var(--hm-cream-2);
}

.hm-story-page__details-head {
	margin-bottom: 2.2rem;
}

.hm-story-page__details-head .hm-heading {
	margin-top: 0.6rem;
}

.hm-story-page__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.hm-story-card {
	display: flex;
	flex-direction: column;
	padding: 1.8rem 1.6rem 1.5rem;
	border-radius: var(--hm-radius);
	background: var(--hm-card);
	box-shadow: 0 6px 22px rgba(120, 90, 40, 0.10), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.hm-story-card__num {
	font-family: var(--hm-mono, 'JetBrains Mono', monospace);
	font-size: 0.8rem;
	color: var(--hm-gold);
}

.hm-story-card__label {
	margin-top: 0.8rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hm-ink-soft);
}

.hm-story-card__title {
	margin: 0.6rem 0 0.9rem;
	font-family: var(--hm-serif);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--hm-ink);
}

.hm-story-card__preview p,
.hm-story-card__full p {
	margin: 0 0 0.8rem;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--hm-ink-soft);
}

.hm-story-card__full[hidden] {
	display: none;
}

.hm-story-card__btn {
	align-self: flex-start;
	margin-top: auto;
	padding: 0.55rem 1.1rem;
	border: 1px solid var(--hm-gold);
	border-radius: 999px;
	background: transparent;
	font-family: var(--hm-sans);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--hm-ink);
	cursor: pointer;
	transition: background 0.2s;
}

.hm-story-card__btn:hover {
	background: rgba(201, 168, 76, 0.15);
}

.hm-story-page__banner {
	position: relative;
	height: 380px;
	overflow: hidden;
}

.hm-story-page__banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hm-story-page__banner-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(9,30,19,0.85) 0%, rgba(9,30,19,0.45) 55%, rgba(9,30,19,0.15) 100%);
}

.hm-story-page__banner-content {
	position: absolute;
	left: var(--hm-gutter);
	bottom: 2.5rem;
	max-width: 640px;
}

.hm-story-page__banner-label {
	margin: 0 0 0.6rem;
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hm-gold-soft);
}

.hm-story-page__banner-heading {
	margin: 0;
	font-family: var(--hm-serif);
	font-size: clamp(1.5rem, 2.8vw, 2.4rem);
	font-weight: 600;
	line-height: 1.25;
	color: #fffaf0;
}

@media (max-width: 900px) {
	.hm-story-page__head {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.hm-story-page__grid {
		grid-template-columns: 1fr;
	}

	.hm-story-page__banner {
		height: 300px;
	}
}

/* Hero: same top treatment as shop.html (bg-shop.png half height, cream fade, green top overlay) */
.hm-story-page__intro {
	position: relative;
	padding: 0 0 3.5rem;
	background: #faf5ec;
	overflow: hidden;
}

.hm-story-page__intro::before,
.hm-story-page__intro::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	aspect-ratio: 1568 / 344;
	pointer-events: none;
}

.hm-story-page__intro::before {
	background: url('../img/bg-our-story.png') center top / 100% auto no-repeat;
}

.hm-story-page__intro::after {
	aspect-ratio: auto;
	height: calc(100vw * 344 / 1568 + 2px);
	background:
		linear-gradient(to bottom, rgba(250, 245, 236, 0) 30%, #faf5ec 96%),
		linear-gradient(to bottom, rgba(9, 30, 19, 0.25) 0%, rgba(9, 30, 19, 0.12) 15%, rgba(9, 30, 19, 0.02) 32%, rgba(9, 30, 19, 0) 50%);
}

.hm-story-page__intro .hm-wrap {
	position: relative;
	z-index: 1;
}

.hm-story-page__intro .hm-story-page__head {
	padding-top: calc(21.94vw * 0.85);
}

/* Story cards section: same background as the Our Story section on index.html (ingredients.jpg with cream overlay) */
.hm-story-page__details {
	position: relative;
	background: #f5f0e8 url('../img/ingredients.jpg') center / cover no-repeat;
}

.hm-story-page__details::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(245, 240, 232, 0.82);
	pointer-events: none;
}

.hm-story-page__details .hm-wrap {
	position: relative;
	z-index: 1;
}

/* Banner content: vertically centered */
.hm-story-page__banner-content {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
}

/* Leaves above the header (z 62, above logo z 61); page content above the leaves (z 63) */
.hm-page-story .for-leaft-section {
	z-index: 62;
}

.hm-page-story main .hm-wrap {
	position: relative;
	z-index: 63;
}

/* Leaf decoration height */
.for-leaft-section {
	height: 750px;
}

/* Leaf decoration image */
.for-leaft-section {
	background-image: url(../img/leaf-hm-f.png);
}
