/*
Theme Name: Mycoterra
Theme URI: https://mycoterra.ca
Author: Mycoterra
Author URI: https://mycoterra.ca
Description: Custom theme for Mycoterra — premium Canadian mushroom products. Built from scratch with clean, semantic HTML5, mobile-first responsive CSS, and no page builders.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mycoterra
*/

/* ==========================================================================
   Design System — CSS Custom Properties
   ========================================================================== */

html {
	scroll-behavior: smooth;
}

:root {
	/* Colors */
	--color-dark: #1a2318;
	--color-warm: #2d3a28;
	--color-cream: #f5f0e8;
	--color-light: #faf8f4;
	--color-text-light: #e8e4dc;
	--color-text-dark: #2a2a24;
	--color-gold: #8b7355;
	--color-gold-light: #c9a96e;

	/* Typography */
	--font-heading: 'Playfair Display', serif;
	--font-body: 'Inter', sans-serif;

	/* Spacing */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2rem;
	--space-xl: 3rem;
	--space-2xl: 4rem;
	--space-3xl: 6rem;

	/* Layout */
	--container-max: 1200px;
	--container-narrow: 800px;
	--header-height: 80px;

	/* Transitions */
	--transition-fast: 150ms ease;
	--transition-base: 250ms ease;
	--transition-slow: 400ms ease;

	/* Border Radius */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-pill: 999px;
}

/* ==========================================================================
   Base Reset & Defaults
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-text-dark);
	background-color: var(--color-light);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition-fast);
}

ul,
ol {
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }

p {
	margin-bottom: var(--space-sm);
}

p:last-child {
	margin-bottom: 0;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
}

/* ==========================================================================
   Utility — Container
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--space-md);
	padding-right: var(--space-md);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.625rem 1.5rem;
	border-radius: var(--radius-pill);
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: background-color var(--transition-fast),
	            color var(--transition-fast),
	            border-color var(--transition-fast);
	text-align: center;
	line-height: 1.4;
}

.btn--outline-gold {
	color: var(--color-gold-light);
	border-color: var(--color-gold);
	background: transparent;
}

.btn--outline-gold:hover,
.btn--outline-gold:focus-visible {
	background-color: var(--color-gold);
	color: var(--color-light);
}

.btn--solid-gold {
	color: var(--color-light);
	background-color: var(--color-gold);
	border-color: var(--color-gold);
}

.btn--solid-gold:hover,
.btn--solid-gold:focus-visible {
	background-color: var(--color-gold-light);
	border-color: var(--color-gold-light);
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--color-dark);
	height: var(--header-height);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

/* --- Logo / Brand --- */

.site-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	flex-shrink: 0;
}

.site-header .site-brand__logo {
	height: 48px;
	width: auto;
}

.site-brand__name {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--color-text-light);
	letter-spacing: 0.02em;
}

@media (min-width: 768px) {
	.site-header .site-brand__logo {
		height: 56px;
	}

	.site-brand__name {
		font-size: 1.625rem;
	}
}

/* --- Desktop Navigation --- */

.primary-nav {
	display: none;
}

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: var(--space-lg);
}

.primary-nav__list a {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--color-text-light);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 0.25rem 0;
	position: relative;
}

.primary-nav__list a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background-color: var(--color-gold-light);
	transition: width var(--transition-base);
}

.primary-nav__list a:hover::after,
.primary-nav__list a:focus-visible::after,
.primary-nav__list .current-menu-item > a::after {
	width: 100%;
}

/* --- Desktop dropdown submenus --- */

.primary-nav__list > .menu-item-has-children {
	position: relative;
}

.primary-nav__list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--color-dark);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-md);
	overflow: hidden;
	padding: 0.5rem 0;
	min-width: 200px;
	margin-top: 0.5rem;
	list-style: none;
	z-index: 100;
}

.primary-nav__list > .menu-item-has-children:hover > .sub-menu,
.primary-nav__list > .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.primary-nav__list .sub-menu a {
	display: block;
	font-size: 0.8125rem;
	text-transform: none;
	letter-spacing: 0.01em;
	padding: 0.5rem 1.25rem;
	white-space: nowrap;
}

.primary-nav__list .sub-menu a::after {
	display: none;
}

.primary-nav__list .sub-menu a:hover {
	color: var(--color-gold-light);
}

/* --- Mobile submenu --- */

.mobile-nav__list .sub-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-nav__list .sub-menu a {
	padding-left: 1.25rem;
	font-size: 0.9375rem;
	opacity: 0.75;
}

.mobile-nav__list .sub-menu a:hover {
	opacity: 1;
}

/* --- Header CTA --- */

.header-cta {
	display: none;
}

/* --- Hamburger Toggle --- */

.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 110;
}

.menu-toggle__bar {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--color-text-light);
	border-radius: 2px;
	transition: transform var(--transition-base),
	            opacity var(--transition-fast);
}

/* Hamburger → X animation */
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Navigation Panel --- */

.mobile-nav {
	position: fixed;
	top: var(--header-height);
	left: 0;
	right: 0;
	background-color: var(--color-dark);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: var(--space-lg) var(--space-md) var(--space-xl);
	transform: translateY(-100%);
	opacity: 0;
	visibility: hidden;
	transition: transform var(--transition-slow),
	            opacity var(--transition-base),
	            visibility var(--transition-base);
	z-index: 99;
}

.mobile-nav.is-open {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.mobile-nav__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
}

.mobile-nav__list a {
	display: block;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	color: var(--color-text-light);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	transition: color var(--transition-fast);
}

.mobile-nav__list a:hover {
	color: var(--color-gold-light);
}

.mobile-nav__cta {
	margin-top: var(--space-md);
	text-align: center;
}

.mobile-nav__cta .btn {
	width: 100%;
	padding: 0.875rem 1.5rem;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
	background-color: var(--color-dark);
	color: var(--color-text-light);
	padding: var(--space-2xl) 0 var(--space-lg);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

/* --- Footer Columns --- */

.footer-col__heading {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--color-text-light);
	margin-bottom: var(--space-sm);
}

.footer-col__text {
	font-size: 0.875rem;
	line-height: 1.7;
	color: rgba(232, 228, 220, 0.7);
}

.footer-col__text a {
	color: var(--color-gold-light);
}

.footer-col__text a:hover {
	color: var(--color-gold);
}

.footer-col__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-col__list a {
	font-size: 0.875rem;
	color: rgba(232, 228, 220, 0.7);
	transition: color var(--transition-fast);
}

.footer-col__list a:hover {
	color: var(--color-gold-light);
}

/* --- Footer Bottom Bar --- */

.site-footer__bottom {
	margin-top: var(--space-xl);
	padding-top: var(--space-md);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__copyright {
	font-size: 0.8125rem;
	color: rgba(232, 228, 220, 0.5);
	text-align: center;
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */

.site-main {
	min-height: 50vh;
}

/* ==========================================================================
   Screen Reader Text (Accessibility)
   ========================================================================== */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	display: block;
	height: auto;
	width: auto;
	background-color: var(--color-light);
	color: var(--color-text-dark);
	font-size: 0.875rem;
	padding: var(--space-sm);
	z-index: 100000;
}

/* ==========================================================================
   Section — Hero
   ========================================================================== */

.hero {
	position: relative;
	background-image: url('assets/img/hero_image.webp');
	background-size: cover;
	background-position: center;
	background-color: var(--color-dark);
	min-height: 70vh;
	overflow: hidden;
	padding: 0;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(26, 35, 24, 0.95) 0%,
		rgba(26, 35, 24, 0.85) 40%,
		rgba(26, 35, 24, 0.45) 100%
	);
	z-index: 1;
}

.hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: 70vh;
	padding: var(--space-xl) var(--space-md);
}

/* --- Hero Content (text side) --- */

.hero__content {
	max-width: 600px;
	text-align: center;
}

.hero__tagline {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: var(--space-sm);
}

.hero__heading {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 500;
	line-height: 1.15;
	color: var(--color-text-light);
	margin-bottom: var(--space-md);
}

.hero__subheading {
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(232, 228, 220, 0.65);
	max-width: 550px;
	margin-bottom: var(--space-lg);
}

/* --- Hero Email Form --- */

.hero__form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 460px;
	margin-top: 1.5rem;
}

.hero__form-row {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hero__input {
	flex: 1;
	padding: 0.8125rem 1rem;
	font-size: 0.9375rem;
	color: var(--color-text-light);
	background-color: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-md);
	outline: none;
	transition: border-color var(--transition-fast);
}

.hero__input::placeholder {
	color: rgba(232, 228, 220, 0.4);
}

.hero__input:focus {
	border-color: var(--color-gold);
}

.hero__submit {
	display: inline-block;
	padding: 0.8125rem 1.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #fff;
	background-color: var(--color-gold);
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: background-color var(--transition-fast);
	white-space: nowrap;
}

.hero__submit:hover,
.hero__submit:focus-visible {
	background-color: var(--color-gold-light);
}

.hero__disclaimer {
	font-size: 0.75rem;
	color: rgba(232, 228, 220, 0.35);
	margin-top: 0.25rem;
}


/* ==========================================================================
   Section — Trust Strip
   ========================================================================== */

.trust-strip {
	background-color: var(--color-cream);
	padding: var(--space-2xl) 0;
}

.trust-strip__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-lg) var(--space-md);
}

.trust-item {
	text-align: center;
}

.trust-item__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--color-warm);
	color: var(--color-gold-light);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto var(--space-xs);
	font-size: 1rem;
	font-weight: 600;
}

.trust-item__title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: 0.25rem;
}

.trust-item__desc {
	font-size: 0.8125rem;
	color: rgba(42, 42, 36, 0.6);
	line-height: 1.5;
}

/* ==========================================================================
   Section — Product Preview
   ========================================================================== */

.product-preview {
	background-color: var(--color-light);
	padding: var(--space-2xl) 0 var(--space-3xl);
}

.product-preview__header {
	text-align: center;
	margin-bottom: var(--space-xl);
}

.product-preview__label {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: var(--space-xs);
}

.product-preview__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: var(--space-sm);
}

.product-preview__subheading {
	font-size: 1rem;
	color: rgba(42, 42, 36, 0.6);
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.7;
}

/* --- Product Cards --- */

.product-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

.product-card {
	background-color: #fff;
	border: 1px solid rgba(42, 42, 36, 0.08);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow var(--transition-base);
}

.product-card:hover {
	box-shadow: 0 4px 24px rgba(26, 35, 24, 0.08);
}

.product-card__image {
	width: 100%;
	height: 250px;
	overflow: hidden;
}

.product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.product-card__body {
	padding: var(--space-md);
}

.product-card__title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: 0.5rem;
}

.product-card__desc {
	font-size: 0.875rem;
	color: rgba(42, 42, 36, 0.6);
	line-height: 1.6;
	margin-bottom: var(--space-sm);
}

.product-card__tag {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-gold-light);
	background-color: var(--color-dark);
	padding: 0.3rem 0.75rem;
	border-radius: var(--radius-pill);
}

/* ==========================================================================
   Section — Flagship Spotlight
   ========================================================================== */

.flagship {
	background-color: var(--color-warm);
	padding: var(--space-2xl) 0;
}

.flagship__inner {
	display: flex;
	flex-direction: column;
	gap: var(--space-xl);
}

/* --- Flagship Image --- */

.flagship__media {
	flex-shrink: 0;
}

.flagship__image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}

/* --- Flagship Content --- */

.flagship__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.flagship__label {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold-light);
	margin-bottom: var(--space-sm);
}

.flagship__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-text-light);
	margin-bottom: var(--space-md);
}

.flagship__body {
	font-size: 0.9375rem;
	line-height: 1.8;
	color: rgba(232, 228, 220, 0.65);
	margin-bottom: var(--space-lg);
}

/* --- Flagship Pills / Tags --- */

.flagship__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: var(--space-md);
}

.flagship__pill {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.03em;
	color: var(--color-gold-light);
	border: 1px solid rgba(201, 169, 110, 0.4);
	background: transparent;
	padding: 0.375rem 0.875rem;
	border-radius: var(--radius-pill);
	white-space: nowrap;
}

.flagship__note {
	font-size: 0.8125rem;
	font-style: italic;
	color: rgba(232, 228, 220, 0.35);
	line-height: 1.6;
}

/* ==========================================================================
   Section — Brand Story + CTA
   ========================================================================== */

.brand-story {
	background-color: var(--color-cream);
	padding: var(--space-2xl) 0;
}

.brand-story__inner {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.brand-story__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: var(--space-md);
}

.brand-story__text {
	font-size: 1rem;
	line-height: 1.8;
	color: rgba(42, 42, 36, 0.65);
	margin-bottom: var(--space-lg);
}

/* --- Divider --- */

.brand-story__divider {
	width: 80px;
	height: 1px;
	background-color: rgba(139, 115, 85, 0.35);
	border: none;
	margin: 0 auto var(--space-lg);
}

/* --- CTA Block --- */

.brand-story__cta-heading {
	font-family: var(--font-heading);
	font-size: clamp(1.375rem, 3vw, 1.75rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: 0.5rem;
}

.brand-story__cta-sub {
	font-size: 0.9375rem;
	color: rgba(42, 42, 36, 0.55);
	margin-bottom: var(--space-md);
}

.brand-story__form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

.brand-story__form-row {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.brand-story__input {
	flex: 1;
	padding: 0.8125rem 1rem;
	font-size: 0.9375rem;
	color: var(--color-text-dark);
	background-color: #fff;
	border: 1px solid rgba(42, 42, 36, 0.15);
	border-radius: var(--radius-md);
	outline: none;
	transition: border-color var(--transition-fast);
}

.brand-story__input::placeholder {
	color: rgba(42, 42, 36, 0.35);
}

.brand-story__input:focus {
	border-color: var(--color-gold);
}

.brand-story__submit {
	display: inline-block;
	padding: 0.8125rem 1.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #fff;
	background-color: var(--color-gold);
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: background-color var(--transition-fast);
	white-space: nowrap;
}

.brand-story__submit:hover,
.brand-story__submit:focus-visible {
	background-color: var(--color-gold-light);
}

/* ==========================================================================
   Section — Hero (centered variant)
   ========================================================================== */

.hero__inner--centered {
	text-align: center;
	align-items: center;
}

.hero__content--centered {
	max-width: var(--container-narrow);
	margin-left: auto;
	margin-right: auto;
}

.hero__content--centered .hero__subheading {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.hero__content--centered .hero__form {
	max-width: 460px;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   Section — Meet Mylo (homepage)
   ========================================================================== */

.homepage-mylo {
	background-color: var(--color-light);
	padding: var(--space-2xl) 0 var(--space-3xl);
}

.homepage-mylo__inner {
	max-width: var(--container-narrow);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.homepage-mylo__eyebrow {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: var(--space-sm);
}

.homepage-mylo__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: var(--space-lg);
}

.homepage-mylo__text {
	font-size: 1rem;
	line-height: 1.8;
	color: rgba(42, 42, 36, 0.75);
	margin-bottom: var(--space-xl);
}

.homepage-mylo__quote {
	border-left: 3px solid var(--color-gold);
	padding-left: var(--space-md);
	margin: 0 auto var(--space-xl);
	max-width: 400px;
	text-align: left;
}

.homepage-mylo__quote p {
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 3vw, 1.5rem);
	font-style: italic;
	color: var(--color-text-dark);
	line-height: 1.4;
}

.homepage-mylo__link {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-gold);
	transition: color var(--transition-fast);
}

.homepage-mylo__link:hover {
	color: var(--color-gold-light);
}

/* ==========================================================================
   Section — Latest from the Journal (homepage)
   ========================================================================== */

.homepage-journal {
	background-color: var(--color-warm);
	padding: var(--space-2xl) 0 var(--space-3xl);
}

.homepage-journal__header {
	text-align: center;
	margin-bottom: var(--space-xl);
}

.homepage-journal__eyebrow {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold-light);
	margin-bottom: var(--space-xs);
}

.homepage-journal__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 500;
	color: var(--color-text-light);
}

.homepage-journal__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

.homepage-journal__card {
	background-color: rgba(0, 0, 0, 0.25);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.homepage-journal__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.homepage-journal__card-image-link {
	display: block;
}

.homepage-journal__card-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.homepage-journal__card-placeholder {
	width: 100%;
	height: 200px;
	background-color: rgba(255, 255, 255, 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(232, 228, 220, 0.3);
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-style: italic;
}

.homepage-journal__card-body {
	padding: var(--space-md);
}

.homepage-journal__card-category {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-gold-light);
	margin-bottom: var(--space-xs);
}

.homepage-journal__card-title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: var(--space-xs);
}

.homepage-journal__card-title a {
	color: var(--color-text-light);
	transition: color var(--transition-fast);
}

.homepage-journal__card-title a:hover {
	color: var(--color-gold-light);
}

.homepage-journal__card-date {
	display: block;
	font-size: 0.8125rem;
	color: rgba(232, 228, 220, 0.5);
	margin-bottom: var(--space-sm);
}

.homepage-journal__card-excerpt {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgba(232, 228, 220, 0.65);
	margin-bottom: var(--space-sm);
}

.homepage-journal__card-more {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-gold-light);
	transition: color var(--transition-fast);
}

.homepage-journal__card-more:hover {
	color: #fff;
}

.homepage-journal__footer {
	text-align: center;
	margin-top: var(--space-xl);
}

.homepage-journal__all-link {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-gold-light);
	transition: color var(--transition-fast);
}

.homepage-journal__all-link:hover {
	color: #fff;
}

/* ==========================================================================
   Page — Our Story: Page Hero
   ========================================================================== */

.page-hero {
	background-color: var(--color-dark);
	padding: var(--space-2xl) 0;
	text-align: center;
}

.page-hero__inner {
	max-width: var(--container-narrow);
	margin-left: auto;
	margin-right: auto;
}

.page-hero__title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 500;
	line-height: 1.15;
	color: var(--color-text-light);
	margin-bottom: var(--space-sm);
}

.page-hero__subtitle {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: rgba(232, 228, 220, 0.6);
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   Page — Our Story: Prose Sections
   ========================================================================== */

.story-section {
	padding: var(--space-2xl) 0;
}

.story-section--cream {
	background-color: var(--color-cream);
}

.story-section--light {
	background-color: var(--color-light);
}

.story-section--warm {
	background-color: var(--color-warm);
}

.story-section__inner {
	max-width: var(--container-narrow);
	margin-left: auto;
	margin-right: auto;
}

.story-section__inner--centered {
	text-align: center;
}

.story-section__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: var(--space-md);
}

.story-section--warm .story-section__heading {
	color: var(--color-text-light);
}

.story-section__text {
	font-size: 1rem;
	line-height: 1.85;
	color: rgba(42, 42, 36, 0.7);
	margin-bottom: var(--space-md);
}

.story-section__text:last-child {
	margin-bottom: 0;
}

.story-section--warm .story-section__text {
	color: rgba(232, 228, 220, 0.65);
}

/* ==========================================================================
   Page — Our Story: Beliefs Grid
   ========================================================================== */

.beliefs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-lg) var(--space-md);
	margin-bottom: var(--space-xl);
}

.belief-item {
	text-align: center;
}

.belief-item__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--color-warm);
	color: var(--color-gold-light);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto var(--space-xs);
	font-size: 1rem;
	font-weight: 600;
}

.belief-item__title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: 0.25rem;
}

.belief-item__desc {
	font-size: 0.8125rem;
	color: rgba(42, 42, 36, 0.6);
	line-height: 1.5;
}

.beliefs-summary {
	max-width: var(--container-narrow);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 1rem;
	line-height: 1.8;
	color: rgba(42, 42, 36, 0.6);
}

/* ==========================================================================
   Archive — Journal Post Grid
   ========================================================================== */

.journal-archive {
	background-color: var(--color-light);
	padding: var(--space-2xl) 0 var(--space-3xl);
}

.journal-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

/* --- Journal Card --- */

.journal-card {
	background-color: #fff;
	border: 1px solid rgba(42, 42, 36, 0.08);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow var(--transition-base);
}

.journal-card:hover {
	box-shadow: 0 4px 24px rgba(26, 35, 24, 0.08);
}

.journal-card__image {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.journal-card__image-placeholder {
	width: 100%;
	height: 220px;
	background: linear-gradient(135deg, var(--color-warm) 0%, var(--color-dark) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(232, 228, 220, 0.2);
	font-size: 0.8125rem;
}

.journal-card__body {
	padding: var(--space-md);
}

.journal-card__date {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(42, 42, 36, 0.4);
	margin-bottom: 0.5rem;
}

.journal-card__title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--color-text-dark);
	margin-bottom: 0.5rem;
}

.journal-card__title a {
	color: inherit;
	transition: color var(--transition-fast);
}

.journal-card__title a:hover {
	color: var(--color-gold);
}

.journal-card__excerpt {
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgba(42, 42, 36, 0.6);
	margin-bottom: var(--space-sm);
}

.journal-card__more {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--color-gold);
	transition: color var(--transition-fast);
}

.journal-card__more:hover {
	color: var(--color-gold-light);
}

/* --- Journal Empty State --- */

.journal-empty {
	text-align: center;
	padding: var(--space-3xl) 0;
}

.journal-empty__text {
	font-size: 1.0625rem;
	color: rgba(42, 42, 36, 0.5);
	line-height: 1.7;
}

/* --- Pagination --- */

.journal-pagination {
	margin-top: var(--space-xl);
}

.journal-pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.journal-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
	color: rgba(42, 42, 36, 0.6);
	border: 1px solid rgba(42, 42, 36, 0.12);
	border-radius: var(--radius-md);
	background: #fff;
	transition: color var(--transition-fast),
	            border-color var(--transition-fast),
	            background-color var(--transition-fast);
}

.journal-pagination .page-numbers:hover {
	color: var(--color-gold);
	border-color: var(--color-gold);
}

.journal-pagination .page-numbers.current {
	background-color: var(--color-gold);
	border-color: var(--color-gold);
	color: #fff;
	font-weight: 500;
}

.journal-pagination .page-numbers.dots {
	border: none;
	background: none;
	color: rgba(42, 42, 36, 0.35);
}

.journal-pagination .page-numbers.prev,
.journal-pagination .page-numbers.next {
	letter-spacing: 0.03em;
	font-size: 0.8125rem;
	text-transform: uppercase;
}

/* ==========================================================================
   Single Post — Post Hero
   ========================================================================== */

.post-hero {
	background-color: var(--color-dark);
	padding: var(--space-2xl) 0;
	text-align: center;
}

.post-hero__inner {
	max-width: var(--container-narrow);
	margin-left: auto;
	margin-right: auto;
}

.post-hero__category {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: var(--space-sm);
}

.post-hero__category a {
	color: var(--color-gold);
	transition: color var(--transition-fast);
}

.post-hero__category a:hover {
	color: var(--color-gold-light);
}

.post-hero__title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 5vw, 2.75rem);
	font-weight: 500;
	line-height: 1.15;
	color: var(--color-text-light);
	margin-bottom: var(--space-sm);
}

.post-hero__date {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: rgba(232, 228, 220, 0.45);
	letter-spacing: 0.02em;
}

/* ==========================================================================
   Single Post — Featured Image
   ========================================================================== */

.post-featured {
	max-width: 960px;
	margin: calc(-1 * var(--space-lg)) auto var(--space-xl);
	padding-left: var(--space-md);
	padding-right: var(--space-md);
}

.post-featured__img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	display: block;
}

/* ==========================================================================
   Single Post — Content / Prose
   ========================================================================== */

.post-content {
	background-color: var(--color-light);
	padding: var(--space-2xl) 0 var(--space-3xl);
}

.post-content__inner {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

/* --- Prose typography --- */

.post-prose h2 {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3.5vw, 1.875rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-top: var(--space-xl);
	margin-bottom: var(--space-sm);
}

.post-prose h3 {
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 3vw, 1.5rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-top: var(--space-lg);
	margin-bottom: var(--space-xs);
}

.post-prose h4 {
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--color-text-dark);
	margin-top: var(--space-lg);
	margin-bottom: var(--space-xs);
}

.post-prose p {
	font-size: 1.0625rem;
	line-height: 1.85;
	color: rgba(42, 42, 36, 0.8);
	margin-bottom: var(--space-md);
}

.post-prose p:last-child {
	margin-bottom: 0;
}

.post-prose a {
	color: var(--color-gold);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color var(--transition-fast);
}

.post-prose a:hover {
	color: var(--color-gold-light);
}

.post-prose strong {
	font-weight: 600;
	color: var(--color-text-dark);
}

.post-prose em {
	font-style: italic;
}

/* --- Lists --- */

.post-prose ul,
.post-prose ol {
	margin-bottom: var(--space-md);
	padding-left: 1.5rem;
}

.post-prose ul {
	list-style: disc;
}

.post-prose ol {
	list-style: decimal;
}

.post-prose li {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: rgba(42, 42, 36, 0.8);
	margin-bottom: 0.375rem;
}

.post-prose li:last-child {
	margin-bottom: 0;
}

/* --- Blockquote --- */

.post-prose blockquote {
	margin: var(--space-lg) 0;
	padding: var(--space-md) var(--space-lg);
	border-left: 3px solid var(--color-gold);
	background-color: var(--color-cream);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-prose blockquote p {
	font-size: 1.0625rem;
	font-style: italic;
	line-height: 1.8;
	color: rgba(42, 42, 36, 0.7);
	margin-bottom: 0;
}

/* --- Images inside content --- */

.post-prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
	margin: var(--space-lg) 0;
}

.post-prose figure {
	margin: var(--space-lg) 0;
}

.post-prose figcaption {
	font-size: 0.8125rem;
	color: rgba(42, 42, 36, 0.5);
	text-align: center;
	margin-top: var(--space-xs);
}

/* --- Horizontal rule --- */

.post-prose hr {
	border: none;
	height: 1px;
	background-color: rgba(42, 42, 36, 0.1);
	margin: var(--space-xl) 0;
}

/* ==========================================================================
   Single Post — Post Navigation
   ========================================================================== */

.post-nav {
	background-color: var(--color-cream);
	padding: var(--space-xl) 0;
}

.post-nav__inner {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.post-nav__links {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.post-nav__item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.post-nav__label {
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(42, 42, 36, 0.4);
}

.post-nav__item a {
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--color-text-dark);
	transition: color var(--transition-fast);
}

.post-nav__item a:hover {
	color: var(--color-gold);
}

.post-nav__item--next {
	text-align: right;
}

.post-nav__divider {
	width: 100%;
	height: 1px;
	background-color: rgba(42, 42, 36, 0.1);
	border: none;
	margin: var(--space-sm) 0;
}

.post-nav__back {
	text-align: center;
	margin-top: var(--space-md);
}

.post-nav__back a {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-gold);
	transition: color var(--transition-fast);
}

.post-nav__back a:hover {
	color: var(--color-gold-light);
}

/* ==========================================================================
   Single Post — Collapsible Report Section
   ========================================================================== */

.journal-collapsible {
	margin-top: 3rem;
	border-top: 1px solid var(--color-gold-light);
	padding-top: 2rem;
}

.journal-collapsible summary {
	font-family: 'Playfair Display', serif;
	font-size: 1.25rem;
	color: var(--color-gold);
	cursor: pointer;
	padding: 1rem 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.journal-collapsible summary::-webkit-details-marker {
	display: none;
}

.journal-collapsible summary::before {
	content: '▸';
	transition: transform 0.2s ease;
	display: inline-block;
}

.journal-collapsible[open] summary::before {
	transform: rotate(90deg);
}

.journal-collapsible .report-content {
	padding: 2rem 0;
	line-height: 1.8;
}

.journal-collapsible .report-content h2 {
	font-family: 'Playfair Display', serif;
	font-size: 1.5rem;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	color: var(--color-text-dark);
}

.journal-collapsible .report-content h3 {
	font-size: 1.15rem;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.journal-collapsible .report-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 0.95rem;
}

.journal-collapsible .report-content th,
.journal-collapsible .report-content td {
	padding: 0.6rem 1rem;
	border-bottom: 1px solid rgba(139, 115, 85, 0.2);
	text-align: left;
}

.journal-collapsible .report-content th {
	color: var(--color-gold);
	font-weight: 600;
}

.journal-collapsible .report-content code {
	background: rgba(139, 115, 85, 0.1);
	padding: 0.15rem 0.4rem;
	border-radius: 3px;
	font-size: 0.9em;
}

.journal-collapsible .report-content pre {
	background: var(--color-dark);
	color: var(--color-text-light);
	padding: 1.25rem;
	border-radius: 6px;
	overflow-x: auto;
	margin: 1.5rem 0;
}

.journal-collapsible .report-content pre code {
	background: none;
	padding: 0;
	color: inherit;
}

/* ==========================================================================
   Page — Contact
   ========================================================================== */

.contact-section {
	background-color: var(--color-cream);
	padding: var(--space-2xl) 0 var(--space-3xl);
	position: relative;
	overflow: hidden;
}

.contact-section__accent {
	position: absolute;
	top: -3%;
	left: -5%;
	width: 500px;
	height: auto;
	opacity: 0.12;
	pointer-events: none;
	z-index: 0;
	border-radius: 8px;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	position: relative;
	z-index: 1;
}

/* --- Contact Info (left column) --- */

.contact-info__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: var(--space-lg);
}

.contact-info__block {
	margin-bottom: var(--space-lg);
}

.contact-info__block:last-child {
	margin-bottom: 0;
}

.contact-info__label {
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(42, 42, 36, 0.45);
	margin-bottom: 0.375rem;
}

.contact-info__link {
	font-size: 1rem;
	color: var(--color-gold);
	transition: color var(--transition-fast);
}

.contact-info__link:hover {
	color: var(--color-gold-light);
}

.contact-info__social {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

/* --- Contact Form Wrapper (right column) --- */

.contact-form-wrap {
	background-color: #fff;
	border: 1px solid rgba(42, 42, 36, 0.08);
	border-radius: var(--radius-lg);
	padding: var(--space-lg);
}

/* --- CF7 Form Overrides --- */

.contact-form__field {
	margin-bottom: var(--space-md);
}

.contact-form__field label {
	display: block;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: var(--color-text-dark);
	margin-bottom: 0.375rem;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea {
	width: 100%;
	padding: 0.8125rem 1rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--color-text-dark);
	background-color: var(--color-light);
	border: 1px solid rgba(42, 42, 36, 0.15);
	border-radius: var(--radius-md);
	outline: none;
	transition: border-color var(--transition-fast);
}

.contact-form-wrap input[type="text"]::placeholder,
.contact-form-wrap input[type="email"]::placeholder,
.contact-form-wrap textarea::placeholder {
	color: rgba(42, 42, 36, 0.35);
}

.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap textarea:focus {
	border-color: var(--color-gold);
}

.contact-form-wrap textarea {
	min-height: 160px;
	resize: vertical;
}

.contact-form-wrap input[type="submit"] {
	display: inline-block;
	padding: 0.8125rem 2rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #fff;
	background-color: var(--color-gold);
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: background-color var(--transition-fast);
	white-space: nowrap;
	margin-top: var(--space-xs);
}

.contact-form-wrap input[type="submit"]:hover,
.contact-form-wrap input[type="submit"]:focus-visible {
	background-color: var(--color-gold-light);
}

/* --- CF7 Validation Messages --- */

.contact-form-wrap .wpcf7-not-valid-tip {
	font-size: 0.75rem;
	color: #b94a48;
	margin-top: 0.25rem;
}

.contact-form-wrap .wpcf7-response-output {
	font-family: var(--font-body);
	font-size: 0.875rem;
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-md);
	margin-top: var(--space-md);
	border: 1px solid rgba(42, 42, 36, 0.15);
}

.contact-form-wrap .wpcf7-mail-sent-ok {
	border-color: var(--color-gold);
	color: var(--color-warm);
	background-color: rgba(139, 115, 85, 0.08);
}

/* --- CF7 Spinner --- */

.contact-form-wrap .wpcf7-spinner {
	margin-left: var(--space-sm);
}

/* ==========================================================================
   Archive — Shop / Product Grid
   ========================================================================== */

.shop-archive {
	background-color: var(--color-light);
	padding: var(--space-2xl) 0 var(--space-3xl);
}

.shop-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

/* --- Shop Card --- */

.shop-card {
	position: relative;
	display: block;
	background-color: #fff;
	border: 1px solid rgba(42, 42, 36, 0.08);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow var(--transition-base),
	            transform var(--transition-base);
}

.shop-card:hover {
	box-shadow: 0 4px 24px rgba(26, 35, 24, 0.08);
	transform: translateY(-2px);
}

/* --- Badge --- */

.shop-card__badge {
	position: absolute;
	top: var(--space-sm);
	right: var(--space-sm);
	z-index: 2;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-gold-light);
	border: 1px solid rgba(201, 169, 110, 0.4);
	background-color: rgba(26, 35, 24, 0.85);
	padding: 0.3rem 0.75rem;
	border-radius: var(--radius-pill);
	white-space: nowrap;
}

/* --- Card Image --- */

.shop-card__image {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.shop-card__image-placeholder {
	width: 100%;
	height: 260px;
	background: linear-gradient(135deg, var(--color-warm) 0%, var(--color-dark) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(232, 228, 220, 0.2);
	font-size: 0.8125rem;
}

/* --- Card Body --- */

.shop-card__body {
	padding: var(--space-md);
}

.shop-card__title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--color-text-dark);
	margin-bottom: 0.5rem;
}

.shop-card__desc {
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgba(42, 42, 36, 0.6);
}

/* --- Shop Empty State --- */

.shop-empty {
	text-align: center;
	padding: var(--space-3xl) 0;
}

.shop-empty__text {
	font-size: 1.0625rem;
	color: rgba(42, 42, 36, 0.5);
	line-height: 1.7;
}

/* ==========================================================================
   Page Hero — Category Label (Products + reusable)
   ========================================================================== */

.page-hero__category {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: var(--space-sm);
}

.page-hero__category a {
	color: var(--color-gold);
	transition: color var(--transition-fast);
}

.page-hero__category a:hover {
	color: var(--color-gold-light);
}

/* ==========================================================================
   Single Product — Product Detail
   ========================================================================== */

.product-detail {
	background-color: var(--color-light);
	padding: var(--space-2xl) 0 var(--space-3xl);
}

.product-detail__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

/* --- Product Image --- */

.product-detail__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
}

.product-detail__image-placeholder {
	width: 100%;
	aspect-ratio: 1;
	max-height: 500px;
	background: linear-gradient(135deg, var(--color-warm) 0%, var(--color-dark) 100%);
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(232, 228, 220, 0.2);
	font-size: 0.875rem;
}

/* --- Product Content --- */

.product-detail__content {
	display: flex;
	flex-direction: column;
}

.product-detail__badge {
	display: inline-block;
	align-self: flex-start;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-gold-light);
	border: 1px solid rgba(201, 169, 110, 0.4);
	background-color: rgba(26, 35, 24, 0.85);
	padding: 0.3rem 0.75rem;
	border-radius: var(--radius-pill);
	margin-bottom: var(--space-md);
}

.product-detail__short-desc {
	font-size: 1.125rem;
	line-height: 1.75;
	color: rgba(42, 42, 36, 0.8);
	margin-bottom: var(--space-lg);
	padding-bottom: var(--space-lg);
	border-bottom: 1px solid rgba(42, 42, 36, 0.1);
}

/* Uses .post-prose for full description typography (shared with Journal) */

.product-detail__prose {
	margin-top: 0;
}

/* ==========================================================================
   Page — Our Story: Hero Image
   ========================================================================== */

.page-hero__image {
	display: block;
	width: 100%;
	max-width: var(--container-max);
	max-height: 400px;
	object-fit: cover;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   Page — Our Story: Two-Column Layout
   ========================================================================== */

.story-columns {
	display: flex;
	flex-direction: column;
	gap: var(--space-lg);
}

.story-columns__text {
	max-width: var(--container-narrow);
}

.story-columns__media {
	flex-shrink: 0;
}

.story-columns__image {
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

/* ==========================================================================
   Page — Our Story: Beliefs Section Image
   ========================================================================== */

.beliefs-image {
	display: block;
	width: 100%;
	max-height: 350px;
	object-fit: cover;
	border-radius: var(--radius-md);
	margin-bottom: var(--space-2xl);
}

/* ==========================================================================
   Page — Our Story: Dual-Voice Layout
   ========================================================================== */

.ourstory-hero__eyebrow {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold-light);
	margin-bottom: var(--space-sm);
}

/* --- Reading column --- */

.ourstory-reading-col {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.ourstory-reading-col__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3.5vw, 1.875rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: var(--space-lg);
}

/* --- Section images (full-width within reading col) --- */

.ourstory-section-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
	margin-bottom: var(--space-xl);
}

/* --- Voice blocks --- */

.ourstory-voice {
	margin-bottom: var(--space-xl);
}

.ourstory-voice:last-of-type {
	margin-bottom: 0;
}

.ourstory-voice__label {
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: var(--space-sm);
}

.ourstory-voice__text {
	font-size: 1.0625rem;
	line-height: 1.85;
	color: rgba(42, 42, 36, 0.8);
	margin-bottom: var(--space-md);
}

.ourstory-voice__text:last-child {
	margin-bottom: 0;
}

.ourstory-voice__text em {
	font-style: italic;
}

/* --- Mylo voice — left border accent --- */

.ourstory-voice--mylo {
	border-left: 3px solid var(--color-gold);
	padding-left: var(--space-lg);
}

/* --- On dark backgrounds (--color-warm) --- */

.ourstory-reading-col--on-dark .ourstory-reading-col__heading {
	color: var(--color-text-light);
}

.ourstory-reading-col--on-dark .ourstory-voice__label {
	color: var(--color-gold-light);
}

.ourstory-reading-col--on-dark .ourstory-voice__text {
	color: rgba(232, 228, 220, 0.75);
}

.ourstory-reading-col--on-dark .ourstory-voice--mylo {
	border-left-color: var(--color-gold-light);
}

.ourstory-reading-col--on-dark .mylo-pullquote {
	color: var(--color-text-light);
	border-color: rgba(232, 228, 220, 0.15);
}

/* --- "Read Mylo's full story" link --- */

.ourstory-mylo-link {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-gold-light);
	letter-spacing: 0.02em;
	margin-top: var(--space-lg);
	transition: color var(--transition-fast);
}

.ourstory-mylo-link:hover {
	color: var(--color-gold);
}

/* ==========================================================================
   Page — Meet Mylo: Hero Eyebrow
   ========================================================================== */

.mylo-hero__eyebrow {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold-light);
	margin-bottom: var(--space-sm);
}

/* ==========================================================================
   Page — Meet Mylo: Prose Sections
   ========================================================================== */

.mylo-prose {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.mylo-prose__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3.5vw, 1.875rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-top: var(--space-xl);
	margin-bottom: var(--space-sm);
}

.mylo-prose__heading:first-child {
	margin-top: 0;
}

.mylo-prose__text {
	font-size: 1.0625rem;
	line-height: 1.85;
	color: rgba(42, 42, 36, 0.8);
	margin-bottom: var(--space-md);
}

.mylo-prose__text:last-child {
	margin-bottom: 0;
}

.mylo-prose__text em {
	font-style: italic;
}

/* --- Pull quotes — key emotional lines --- */

.mylo-pullquote {
	font-family: var(--font-heading);
	font-size: clamp(1.375rem, 3.5vw, 1.75rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	color: var(--color-text-dark);
	margin: var(--space-xl) 0;
	padding: var(--space-lg) 0;
	border-top: 1px solid rgba(139, 115, 85, 0.2);
	border-bottom: 1px solid rgba(139, 115, 85, 0.2);
}

.mylo-pullquote strong {
	font-weight: 700;
	font-style: normal;
}

/* --- On dark backgrounds (--color-warm) --- */

.mylo-prose--on-dark .mylo-prose__heading {
	color: var(--color-text-light);
}

.mylo-prose--on-dark .mylo-prose__text {
	color: rgba(232, 228, 220, 0.75);
}

.mylo-prose--on-dark .mylo-pullquote {
	color: var(--color-text-light);
	border-color: rgba(232, 228, 220, 0.15);
}

/* --- Meet Mylo section images --- */

.meet-mylo-visual {
	margin: 2rem 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.meet-mylo-visual img {
	width: 100%;
	height: auto;
	display: block;
}

/* --- Meet Mylo — Daily Rhythm Timeline --- */

.mylo-timeline-wrap {
	background: #fafaf8;
	padding: 1.5rem 1rem;
}

.mylo-timeline--desktop {
	display: block;
	width: 100%;
	height: auto;
}

.mylo-timeline--mobile {
	display: none;
}

/* Vertical mobile timeline */
.mylo-vtl {
	list-style: none;
	margin: 0;
	padding: 0 0 0 1.5rem;
	position: relative;
}

.mylo-vtl::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 6px;
	bottom: 6px;
	width: 1.5px;
	background: #c9c6be;
}

.mylo-vtl__item {
	position: relative;
	padding: 0 0 1.5rem 1rem;
}

.mylo-vtl__item:last-child {
	padding-bottom: 0;
}

.mylo-vtl__node {
	position: absolute;
	left: -1.5rem;
	top: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	z-index: 1;
}

.mylo-vtl__node--teal {
	background: #1D9E75;
}

.mylo-vtl__node--purple {
	background: #7F77DD;
	box-shadow: 0 0 0 4px rgba(127, 119, 221, 0.2);
}

.mylo-vtl__item--range .mylo-vtl__node {
	top: 3px;
}

.mylo-vtl__content {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.mylo-vtl__time {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--color-text-dark);
}

.mylo-vtl__label {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 600;
}

.mylo-vtl__label--teal  { color: #1D9E75; }
.mylo-vtl__label--purple { color: #7F77DD; }

.mylo-vtl__desc {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: #888780;
	line-height: 1.4;
}

@media (max-width: 640px) {
	.mylo-timeline--desktop {
		display: none;
	}

	.mylo-timeline--mobile {
		display: block;
	}
}

/* --- Meet Mylo — Senses Sensor Diagram --- */

.mylo-senses-wrap {
	background: #fafaf8;
	padding: 1.5rem 1rem;
}

.mylo-senses--desktop {
	display: block;
	width: 100%;
	height: auto;
}

.mylo-senses--mobile {
	display: none;
}

/* Mobile vertical sensor flow */
.mylo-sf__group {
	display: flex;
	gap: 0.5rem;
}

.mylo-sf__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0.75rem 1rem;
	border-radius: var(--radius-md);
	border: 1px solid transparent;
}

.mylo-sf__box strong {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
}

.mylo-sf__box span {
	font-family: var(--font-body);
	font-size: 0.75rem;
	margin-top: 0.125rem;
}

.mylo-sf__box--teal {
	flex: 1;
	background: #E1F5EE;
	border-color: #1D9E75;
}
.mylo-sf__box--teal strong { color: #085041; }
.mylo-sf__box--teal span   { color: #0F6E56; }

.mylo-sf__box--coral {
	background: #FAECE7;
	border-color: #D85A30;
}
.mylo-sf__box--coral strong { color: #712B13; }
.mylo-sf__box--coral span   { color: #993C1D; }

.mylo-sf__box--purple {
	background: #EEEDFE;
	border-color: #7F77DD;
}
.mylo-sf__box--purple strong { color: #3C3489; }
.mylo-sf__box--purple span   { color: #534AB7; }

.mylo-sf__arrow {
	text-align: center;
	color: #B4B2A9;
	font-size: 1.25rem;
	line-height: 1;
	padding: 0.5rem 0;
}

.mylo-sf__arrow--vpn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.125rem;
}

.mylo-sf__arrow--vpn em {
	font-style: normal;
	font-size: 0.6875rem;
	color: #534AB7;
	letter-spacing: 0.03em;
}

@media (max-width: 640px) {
	.mylo-senses--desktop {
		display: none;
	}

	.mylo-senses--mobile {
		display: block;
	}
}

/* ==========================================================================
   Page — Meet Mylo: Sign-off + CTA
   ========================================================================== */

.mylo-signoff {
	background-color: var(--color-dark);
	padding: var(--space-2xl) 0;
}

.mylo-signoff__inner {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.mylo-signoff__signature {
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 3vw, 1.375rem);
	font-style: italic;
	font-weight: 400;
	color: var(--color-text-light);
	margin-bottom: var(--space-lg);
}

.mylo-signoff__divider {
	width: 80px;
	height: 1px;
	background-color: rgba(139, 115, 85, 0.35);
	border: none;
	margin: 0 auto var(--space-lg);
}

.mylo-signoff__heading {
	font-family: var(--font-heading);
	font-size: clamp(1.375rem, 3vw, 1.75rem);
	font-weight: 500;
	color: var(--color-text-light);
	margin-bottom: var(--space-sm);
}

.mylo-signoff__text {
	font-size: 1rem;
	line-height: 1.8;
	color: rgba(232, 228, 220, 0.6);
	margin-bottom: var(--space-md);
}

.mylo-signoff__journal-link {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-gold-light);
	text-decoration: none;
	letter-spacing: 0.02em;
	margin-bottom: var(--space-lg);
	transition: color var(--transition-fast);
}

.mylo-signoff__journal-link:hover {
	color: var(--color-gold);
}

.mylo-signoff__cta-text {
	font-size: 0.9375rem;
	color: rgba(232, 228, 220, 0.55);
	margin-bottom: var(--space-md);
}

/* Override brand-story form colors for dark bg */
.mylo-signoff .brand-story__input {
	background-color: rgba(255, 255, 255, 0.08);
	border-color: rgba(232, 228, 220, 0.15);
	color: var(--color-text-light);
}

.mylo-signoff .brand-story__input::placeholder {
	color: rgba(232, 228, 220, 0.35);
}

.mylo-signoff .brand-story__input:focus {
	border-color: var(--color-gold);
}

/* ==========================================================================
   MC4WP Form Styling
   ========================================================================== */

/* Base form layout — cream/light backgrounds */
.mc4wp-form {
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

.mc4wp-form p {
	margin: 0 0 0.75rem;
}

.mc4wp-form p:last-of-type {
	margin-bottom: 0;
}

.mc4wp-form input[type="email"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.8125rem 1rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--color-text-dark);
	background-color: #fff;
	border: 1px solid rgba(42, 42, 36, 0.15);
	border-radius: var(--radius-md);
	outline: none;
	transition: border-color var(--transition-fast);
}

.mc4wp-form input[type="email"]::placeholder {
	color: rgba(42, 42, 36, 0.35);
}

.mc4wp-form input[type="email"]:focus {
	border-color: var(--color-gold);
}

.mc4wp-form input[type="submit"] {
	display: block;
	width: 100%;
	padding: 0.8125rem 1.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #fff;
	background-color: var(--color-gold);
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: background-color var(--transition-fast);
	white-space: nowrap;
}

.mc4wp-form input[type="submit"]:hover,
.mc4wp-form input[type="submit"]:focus-visible {
	background-color: var(--color-gold-light);
}

/* MC4WP on dark backgrounds (hero, mylo signoff) */
.page-hero .mc4wp-form input[type="email"],
.mylo-signoff .mc4wp-form input[type="email"] {
	color: var(--color-text-light);
	background-color: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
}

.page-hero .mc4wp-form input[type="email"]::placeholder,
.mylo-signoff .mc4wp-form input[type="email"]::placeholder {
	color: rgba(232, 228, 220, 0.4);
}

.page-hero .mc4wp-form input[type="email"]:focus,
.mylo-signoff .mc4wp-form input[type="email"]:focus {
	border-color: var(--color-gold);
}

/* MC4WP success/error messages */
.mc4wp-alert {
	margin-top: var(--space-sm);
	font-size: 0.8125rem;
	text-align: center;
}

.mc4wp-success {
	color: var(--color-gold);
}

.mc4wp-error {
	color: #cf6679;
}

/* ==========================================================================
   Responsive — Tablet (768px+)
   ========================================================================== */

@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.container {
		padding-left: var(--space-lg);
		padding-right: var(--space-lg);
	}

	/* Hero — form row horizontal */
	.hero__form-row {
		flex-direction: row;
	}

	/* Trust strip — stays 2x2 */

	/* Product cards — 2 columns on tablet */
	.product-cards {
		grid-template-columns: 1fr 1fr;
	}

	/* Shop grid — 2 columns on tablet */
	.shop-grid {
		grid-template-columns: 1fr 1fr;
	}

	/* Brand story — form row horizontal */
	.brand-story__form-row {
		flex-direction: row;
	}

	/* Journal grid — 2 columns on tablet */
	.journal-grid {
		grid-template-columns: 1fr 1fr;
	}

	/* Homepage journal — 2 columns on tablet */
	.homepage-journal__grid {
		grid-template-columns: 1fr 1fr;
	}

	/* Post nav — side by side */
	.post-nav__links {
		flex-direction: row;
		justify-content: space-between;
	}

	.post-nav__item {
		flex: 1;
	}

	.post-nav__divider {
		display: none;
	}

	/* Post featured image — more negative pull */
	.post-featured {
		margin-top: calc(-1 * var(--space-xl));
		padding-left: var(--space-lg);
		padding-right: var(--space-lg);
	}

	/* Contact form — more padding */
	.contact-form-wrap {
		padding: var(--space-xl);
	}

	/* Product detail — image border radius */
	.product-detail__image-placeholder {
		max-height: 450px;
	}

	/* Story columns — two-column on tablet */
	.story-columns {
		flex-direction: row;
		align-items: center;
		gap: var(--space-xl);
	}

	.story-columns--reversed {
		flex-direction: row-reverse;
	}

	.story-columns__text {
		flex: 1;
	}

	.story-columns__media {
		flex: 0 0 45%;
	}
}

/* ==========================================================================
   Responsive — Desktop (1024px+)
   ========================================================================== */

@media (min-width: 1024px) {
	/* Show desktop nav, hide hamburger + mobile panel */
	.primary-nav {
		display: block;
	}

	.header-cta {
		display: block;
	}

	.menu-toggle {
		display: none;
	}

	.mobile-nav {
		display: none !important;
	}

	/* Footer — 4 columns */
	.site-footer__grid {
		grid-template-columns: 1.5fr 1fr 1fr 1fr;
		gap: var(--space-xl);
	}

	.site-footer__copyright {
		text-align: center;
	}

	/* Hero — desktop overrides */
	.hero {
		min-height: 85vh;
	}

	.hero::before {
		background: linear-gradient(
			to right,
			rgba(26, 35, 24, 0.92) 0%,
			rgba(26, 35, 24, 0.7) 50%,
			rgba(26, 35, 24, 0.2) 100%
		);
	}

	.hero__inner {
		min-height: 85vh;
		padding: var(--space-2xl) var(--space-md);
		padding-left: max(var(--space-md), calc((100vw - var(--container-max)) / 2 + var(--space-md)));
	}

	.hero__content {
		text-align: left;
		max-width: 600px;
	}

	/* Trust strip — 4 across */
	.trust-strip__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--space-xl);
	}

	/* Product cards — 3 columns */
	.product-cards {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Product preview — more padding */
	.product-preview {
		padding: var(--space-3xl) 0;
	}

	/* Flagship — two-column layout */
	.flagship {
		padding: 80px 0;
	}

	.flagship__inner {
		flex-direction: row;
		align-items: center;
		gap: var(--space-3xl);
	}

	.flagship__media {
		flex: 0 0 42%;
	}

	.flagship__content {
		flex: 1;
	}

	/* Brand story — more breathing room */
	.brand-story {
		padding: 80px 0;
	}

	/* Page hero — more padding on desktop */
	.page-hero {
		padding: 80px 0 60px;
	}

	/* Story sections — more breathing room */
	.story-section {
		padding: 80px 0;
	}

	/* Beliefs — 4 across on desktop */
	.beliefs-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--space-xl);
	}

	/* Journal grid — 3 columns on desktop */
	.journal-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Homepage journal — 3 columns on desktop */
	.homepage-journal__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Homepage Mylo — more breathing room */
	.homepage-mylo {
		padding: 80px 0;
	}

	/* Homepage journal — more breathing room */
	.homepage-journal {
		padding: 80px 0;
	}

	/* Journal archive — more breathing room */
	.journal-archive {
		padding: var(--space-3xl) 0;
	}

	/* Post hero — more padding */
	.post-hero {
		padding: 80px 0 60px;
	}

	/* Post content — more vertical padding */
	.post-content {
		padding: var(--space-3xl) 0;
	}

	/* Contact — two-column layout */
	.contact-section {
		padding: var(--space-3xl) 0;
	}

	.contact-section__accent {
		width: 700px;
		left: -3%;
		top: -5%;
	}

	.contact-grid {
		grid-template-columns: 1fr 1.4fr;
		gap: var(--space-3xl);
		align-items: start;
	}

	/* Shop grid — 3 columns on desktop */
	.shop-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Shop archive — more breathing room */
	.shop-archive {
		padding: var(--space-3xl) 0;
	}

	/* Product detail — two-column layout */
	.product-detail {
		padding: var(--space-3xl) 0;
	}

	.product-detail__grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-3xl);
		align-items: start;
	}

	/* Post featured — larger negative pull */
	.post-featured {
		margin-top: calc(-1 * var(--space-2xl));
		margin-bottom: var(--space-2xl);
	}

	/* Story columns — wider media on desktop */
	.story-columns {
		gap: var(--space-3xl);
	}

	.story-columns__media {
		flex: 0 0 42%;
	}

	/* Meet Mylo — more breathing room on desktop */
	.mylo-signoff {
		padding: 80px 0;
	}
}

/* ==========================================================================
   Products Landing Page
   ========================================================================== */

.products-landing-hero {
	padding: var(--space-3xl) 0;
	text-align: center;
}

.products-landing-hero__inner {
	max-width: var(--container-narrow);
	margin: 0 auto;
}

.products-landing-hero__title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.2;
	margin-top: var(--space-sm);
}

.products-landing-explanation {
	padding: var(--space-3xl) 0;
}

.products-landing-explanation__inner {
	max-width: 720px;
	margin: 0 auto;
}

.products-landing-explanation__inner p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: var(--space-md);
}

.products-landing-link {
	display: inline-block;
	margin-top: var(--space-sm);
	font-weight: 600;
	color: var(--color-gold);
	text-decoration: none;
	transition: color 0.2s ease;
}

.products-landing-link:hover {
	color: var(--color-gold-light);
}

.products-landing-cta {
	padding: var(--space-3xl) 0;
	text-align: center;
}

.products-landing-cta__inner {
	max-width: 600px;
	margin: 0 auto;
}

.products-landing-cta__inner h3 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	margin-bottom: var(--space-lg);
}

/* ─── How Mylo Works — Tables ─── */
.hmw-table-wrap {
	overflow-x: auto;
	margin: 1.5rem 0;
	-webkit-overflow-scrolling: touch;
}

.hmw-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.hmw-table th,
.hmw-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hmw-table thead th {
	font-weight: 600;
	letter-spacing: 0.02em;
	border-bottom-width: 2px;
}

.hmw-table tbody tr:last-child td {
	border-bottom: none;
}

/* Light section table styling */
.story-section--light .hmw-table th,
.story-section--light .hmw-table td,
.story-section--cream .hmw-table th,
.story-section--cream .hmw-table td {
	border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* Warm (dark) section table styling */
.story-section--warm .hmw-table th,
.story-section--warm .hmw-table td {
	border-bottom-color: rgba(255, 255, 255, 0.15);
}

/* H3 subheading style for attribution section */
.mylo-prose__subheading {
	font-size: 1.15rem;
	font-weight: 600;
	margin: 1.5rem 0 0.5rem;
}

/* ─── How Mylo Works — Diagrams ─── */
.hmw-diagram {
	margin: 2rem auto;
	max-width: 680px;
	text-align: center;
}

.hmw-diagram img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

@media (max-width: 720px) {
	.hmw-diagram {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.hmw-diagram img {
		min-width: 500px;
	}
}

/* ─── How Mylo Works — Memory Pipeline Diagram ─── */
.hmw-pipeline {
	max-width: 740px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

.hmw-pipeline__header {
	background-color: #1A1A2E;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.25rem;
	text-align: center;
}

.hmw-pipeline__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.03em;
}

.hmw-pipeline__subtitle {
	margin: 0.3rem 0 0;
	font-size: 0.8rem;
	color: #9AA0A6;
}

.hmw-pipeline__footer {
	text-align: center;
	font-size: 0.7rem;
	color: #9AA0A6;
	margin-top: 1rem;
}

/* Legend */
.hmw-pipeline__legend {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
	font-size: 0.7rem;
	color: #5F6368;
}

.hmw-pipeline__legend-item {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.hmw-mem-swatch {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 3px;
	border: 1.5px solid;
}

.hmw-mem-swatch--native { background: #EEEDFE; border-color: #534AB7; }
.hmw-mem-swatch--custom { background: #E1F5EE; border-color: #0F6E56; }
.hmw-mem-swatch--both { background: #FFF8E1; border-color: #F9AB00; }
.hmw-mem-swatch--opensource { background: #FAECE7; border-color: #993C1D; }

/* Phase blocks */
.hmw-mem-phase {
	border: 2px solid #ddd;
	border-radius: 12px;
	padding: 1rem 1.25rem;
	margin-bottom: 0;
	position: relative;
	background: #fff;
}

.hmw-mem-phase__label {
	position: absolute;
	top: -0.7rem;
	left: 1rem;
	background: #fff;
	padding: 0 0.5rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hmw-mem-phase__note {
	font-weight: 400;
	color: #5F6368;
	margin-left: 0.4rem;
	text-transform: none;
	letter-spacing: 0;
}

.hmw-mem-phase__desc {
	font-size: 0.78rem;
	color: #5F6368;
	margin: 0.4rem 0 0.75rem;
	line-height: 1.5;
}

/* File tags */
.hmw-mem-filelist {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
}

.hmw-mem-file {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	padding: 0.3rem 0.6rem;
	border-radius: 6px;
	font-size: 0.78rem;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
	border: 1.5px solid;
}

.hmw-mem-file--small {
	font-size: 0.72rem;
	padding: 0.2rem 0.5rem;
}

.hmw-mem-file__sub {
	display: block;
	font-size: 0.65rem;
	font-weight: 400;
	opacity: 0.8;
	margin-top: 0.1rem;
}

.hmw-mem-file--native { background: #EEEDFE; border-color: #534AB7; color: #3C3489; }
.hmw-mem-file--custom { background: #E1F5EE; border-color: #0F6E56; color: #085041; }
.hmw-mem-file--both { background: #FFF8E1; border-color: #F9AB00; color: #E37400; }
.hmw-mem-file--opensource { background: #FAECE7; border-color: #993C1D; color: #712B13; }

/* Detail blocks (expanded info toggles) */
.hmw-mem-detail {
	margin-top: 0.6rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.72rem;
	color: #5F6368;
	background: #F8F9FA;
	border-radius: 6px;
	line-height: 1.5;
}

/* Arrows between phases */
.hmw-mem-arrow {
	text-align: right;
	padding-right: 2.5rem;
	color: #5F6368;
	padding-top: 0.3rem;
	padding-bottom: 0.3rem;
	font-size: 1rem;
	line-height: 1;
}

.hmw-mem-arrow span {
	display: block;
	font-size: 0.68rem;
	margin-bottom: 0.15rem;
}

/* Startup sequence (horizontal flow) */
.hmw-mem-sequence {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.hmw-mem-seq-arrow {
	color: #5F6368;
	font-size: 0.9rem;
	font-weight: 700;
}

/* Three-column layout */
.hmw-mem-columns {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0.75rem;
}

@media (max-width: 600px) {
	.hmw-mem-columns {
		grid-template-columns: 1fr;
	}
}

.hmw-mem-column {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	text-align: center;
}

.hmw-mem-column__title {
	font-size: 0.65rem;
	font-weight: 600;
	color: #5F6368;
	margin-bottom: 0.3rem;
	letter-spacing: 0.05em;
}

/* Write path routing */
.hmw-mem-routing {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	max-width: 560px;
	margin: 0 auto;
}

.hmw-mem-route {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 0.5rem;
	align-items: center;
}

.hmw-mem-route__info {
	font-size: 0.7rem;
	color: #5F6368;
	text-align: right;
}

.hmw-mem-route__arrow {
	color: #5F6368;
	font-weight: 700;
	font-size: 0.9rem;
}

/* Nightly curation cards */
.hmw-mem-curation {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.hmw-mem-curation__item {
	flex: 1;
	min-width: 200px;
	padding: 0.6rem 0.85rem;
	border-radius: 8px;
	font-size: 0.78rem;
	line-height: 1.4;
}

.hmw-mem-curation__item strong {
	display: block;
	margin-bottom: 0.2rem;
}

.hmw-mem-curation__item--custom {
	background: #E1F5EE;
	border: 1px solid rgba(15, 110, 86, 0.13);
	color: #085041;
}

.hmw-mem-curation__item--custom span {
	color: #0F6E56;
	font-size: 0.7rem;
}

/* Backup tags */
.hmw-mem-backup-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
}

.hmw-mem-backup-tag {
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	font-size: 0.7rem;
	background: #FDE7E7;
	border: 1px solid #EA4335;
	color: #C5221F;
}

/* Key insight box */
.hmw-mem-insight {
	margin-top: 1rem;
	padding: 1rem 1.25rem;
	border-radius: 10px;
	background: #F0F4FF;
	border: 1.5px solid #4285F4;
	text-align: center;
	font-size: 0.78rem;
	color: #202124;
	line-height: 1.6;
}

.hmw-mem-insight p {
	margin: 0.25rem 0;
}

/* Override dark-bg text for pipeline in cream section */
.story-section--cream .hmw-mem-phase__desc,
.story-section--cream .hmw-mem-detail,
.story-section--cream .hmw-mem-route__info,
.story-section--cream .hmw-mem-arrow,
.story-section--cream .hmw-mem-arrow span,
.story-section--cream .hmw-pipeline__legend {
	color: #5F6368;
}

/* ─── How Mylo Works — Research Pipeline Diagram ─── */

/* Input section */
.hmw-rp-input {
	padding: 0.75rem 1rem;
	margin-bottom: 0.5rem;
}

.hmw-rp-input__row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.hmw-rp-input__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
	font-size: 0.68rem;
	font-weight: 600;
	background: #534AB7;
	color: #fff;
	flex-shrink: 0;
}

.hmw-rp-input__badge--model {
	background: #0F6E56;
}

.hmw-rp-input__text {
	font-size: 0.78rem;
	color: #5F6368;
}

/* Phase cards */
.hmw-rp-phase {
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 0.4rem;
}

.hmw-rp-phase__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
}

.hmw-rp-phase__letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	flex-shrink: 0;
}

.hmw-rp-phase__name {
	font-size: 0.88rem;
	font-weight: 600;
}

.hmw-rp-phase__count {
	font-size: 0.75rem;
	opacity: 0.6;
}

/* Stages list */
.hmw-rp-phase__stages {
	padding: 0.5rem 1rem 0.75rem;
}

.hmw-rp-stage {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	padding: 0.5rem 0;
	border-top: 1px solid #e8e8e4;
}

.hmw-rp-stage:first-child {
	border-top: none;
}

.hmw-rp-stage__num {
	font-size: 0.7rem;
	color: #9AA0A6;
	min-width: 1.4rem;
	text-align: right;
	padding-top: 0.15rem;
	flex-shrink: 0;
}

.hmw-rp-stage__body {
	flex: 1;
}

.hmw-rp-stage__name {
	font-size: 0.82rem;
	font-weight: 600;
	color: #202124;
}

.hmw-rp-stage__badges {
	display: inline;
	margin-left: 0.4rem;
}

.hmw-rp-stage__desc {
	display: block;
	font-size: 0.72rem;
	color: #5F6368;
	margin-top: 0.1rem;
}

/* Badges */
.hmw-rp-badge {
	display: inline-block;
	font-size: 0.62rem;
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
	font-weight: 500;
	vertical-align: middle;
}

.hmw-rp-badge--gate {
	background: #FFF8E1;
	border: 1px solid #F9AB00;
	color: #E37400;
}

.hmw-rp-badge--multi {
	background: #EEEDFE;
	border: 1px solid #AFA9EC;
	color: #534AB7;
}

.hmw-rp-badge--heal {
	background: #E1F5EE;
	border: 1px solid #5DCAA5;
	color: #0F6E56;
}

.hmw-rp-badge--pivot {
	background: #FAECE7;
	border: 1px solid #E8A08C;
	color: #993C1D;
}

/* Output section */
.hmw-rp-output {
	border: 1px solid rgba(83, 74, 183, 0.13);
	border-radius: 10px;
	overflow: hidden;
}

.hmw-rp-output__header {
	padding: 0.75rem 1rem;
	background: #EEEDFE;
	font-size: 0.88rem;
	font-weight: 600;
	color: #3C3489;
}

.hmw-rp-output__grid {
	padding: 0.65rem 1rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.35rem;
	font-size: 0.72rem;
	color: #5F6368;
}

@media (max-width: 480px) {
	.hmw-rp-output__grid {
		grid-template-columns: 1fr;
	}
}

/* Integration cards */
.hmw-rp-integration {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.hmw-rp-integration__card {
	flex: 1;
	min-width: 200px;
	padding: 0.75rem 0.9rem;
	border-radius: 8px;
	font-size: 0.78rem;
	line-height: 1.4;
}

.hmw-rp-integration__card strong {
	display: block;
	font-size: 0.82rem;
	margin-bottom: 0.25rem;
}

.hmw-rp-integration__card span {
	font-size: 0.72rem;
}

.hmw-rp-integration__card--coral {
	background: #FAECE7;
	border: 1px solid rgba(153, 60, 29, 0.13);
	color: #712B13;
}

.hmw-rp-integration__card--coral span {
	color: #993C1D;
}

.hmw-rp-integration__card--teal {
	background: #E1F5EE;
	border: 1px solid rgba(15, 110, 86, 0.13);
	color: #085041;
}

.hmw-rp-integration__card--teal span {
	color: #0F6E56;
}

.hmw-rp-integration__tag {
	display: inline-block;
	margin-top: 0.4rem;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
	font-size: 0.65rem;
	font-weight: 500;
	background: #fff;
	border: 1px solid;
}

/* ─── Homepage — Meet Mylo Stats Grid ─── */
.homepage-mylo__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
	margin: 1.75rem 0;
}

@media (max-width: 600px) {
	.homepage-mylo__stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

.homepage-mylo__stat {
	text-align: center;
	padding: 1rem 0.5rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.homepage-mylo__stat-number {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 0.3rem;
}

.homepage-mylo__stat-label {
	display: block;
	font-size: 0.8rem;
	opacity: 0.75;
	line-height: 1.3;
}

/* CTA links row */
.homepage-mylo__links {
	display: flex;
	gap: 1.25rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 0.5rem;
}

.homepage-mylo__link--secondary {
	opacity: 0.75;
}

.homepage-mylo__link--secondary:hover {
	opacity: 1;
}

/* ==========================================================================
   Page — Mylo's Mechanics
   ========================================================================== */

/* ─── Lead quotes ─── */
.mm-lead-quote {
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 2.5vw, 1.25rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1.7;
	color: rgba(42, 42, 36, 0.8);
	margin: var(--space-lg) 0;
	padding: var(--space-md) 0 var(--space-md) var(--space-lg);
	border-left: 3px solid transparent;
}

.mm-lead-quote--purple { border-left-color: #7F77DD; }
.mm-lead-quote--coral  { border-left-color: #D85A30; }

/* ─── Diagram containers ─── */
.mm-diagram {
	margin: var(--space-xl) auto;
	max-width: 700px;
	background: #fafaf8;
	border: 1px solid #e8e6df;
	border-radius: var(--radius-lg);
	padding: var(--space-md);
}

.mm-diagram svg {
	width: 100%;
	height: auto;
	display: block;
}

.mm-diagram__caption {
	font-size: 0.875rem;
	font-style: italic;
	color: rgba(42, 42, 36, 0.5);
	text-align: center;
	margin-top: var(--space-sm);
}

@media (max-width: 720px) {
	.mm-diagram {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.mm-diagram svg {
		min-width: 500px;
	}
}

/* ─── Numbered steps ─── */
.mm-steps {
	list-style: none;
	margin: var(--space-lg) 0;
	padding: 0;
}

.mm-steps__item {
	display: flex;
	gap: var(--space-md);
	margin-bottom: var(--space-lg);
}

.mm-steps__item:last-child {
	margin-bottom: 0;
}

.mm-steps__number {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.mm-steps--purple .mm-steps__number { background-color: #7F77DD; }
.mm-steps--coral  .mm-steps__number { background-color: #D85A30; }

.mm-steps__content {
	flex: 1;
	min-width: 0;
}

.mm-steps__label {
	display: block;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-text-dark);
	margin-bottom: 0.375rem;
}

.mm-steps__content p {
	font-size: 1.0625rem;
	line-height: 1.85;
	color: rgba(42, 42, 36, 0.8);
	margin-bottom: 0;
}

/* ─── Feature / principle cards ─── */
.mm-card-grid {
	display: grid;
	gap: var(--space-md);
	margin: var(--space-xl) 0;
}

.mm-card-grid--2x2 {
	grid-template-columns: repeat(2, 1fr);
}

.mm-card-grid--3col {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 640px) {
	.mm-card-grid--2x2,
	.mm-card-grid--3col {
		grid-template-columns: 1fr;
	}
}

.mm-card {
	background: #fafaf8;
	border: 1px solid #e8e6df;
	border-left: 3px solid transparent;
	border-radius: var(--radius-sm);
	padding: var(--space-md);
}

.mm-card--purple { border-left-color: #7F77DD; }
.mm-card--teal   { border-left-color: #1D9E75; }
.mm-card--coral  { border-left-color: #D85A30; }
.mm-card--green  { border-left-color: #639922; }

.mm-card__title {
	display: block;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-text-dark);
	margin-bottom: 0.5rem;
}

.mm-card__text {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: rgba(42, 42, 36, 0.75);
	margin-bottom: 0;
}

/* ─── Snapshot badges ─── */
.mm-snapshot {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: rgba(42, 42, 36, 0.55);
	background: #f1efe8;
	padding: 0.3rem 0.85rem;
	border-radius: var(--radius-pill);
	margin-top: var(--space-lg);
}

.mechanics-credit {
	font-size: 0.9rem;
	line-height: 1.7;
	color: rgba(42, 42, 36, 0.5);
	text-align: center;
	margin-top: var(--space-xl);
}

.mechanics-credit a {
	color: rgba(42, 42, 36, 0.6);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mechanics-credit a:hover {
	color: var(--color-text-dark);
}

/* ==========================================================================
   Section — Build Log (homepage)
   ========================================================================== */

.homepage-buildlog {
	background-color: var(--color-cream);
	padding: var(--space-2xl) 0 var(--space-3xl);
	text-align: center;
}

.homepage-buildlog .section-eyebrow {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: var(--space-sm);
}

.homepage-buildlog h2 {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 500;
	color: var(--color-text-dark);
	margin-bottom: var(--space-lg);
}

.buildlog-lead {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	font-size: 1rem;
	line-height: 1.8;
	color: rgba(42, 42, 36, 0.75);
	margin-bottom: var(--space-xl);
}

.buildlog-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	text-align: left;
}

@media (min-width: 601px) {
	.buildlog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1025px) {
	.buildlog-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.buildlog-grid figure {
	margin: 0;
}

.buildlog-grid img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius-md);
}

.buildlog-grid figcaption {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: rgba(42, 42, 36, 0.5);
	text-align: center;
	margin-top: 12px;
}

.buildlog-status {
	font-size: 0.9375rem;
	color: rgba(42, 42, 36, 0.55);
	margin-top: 32px;
}

@media (min-width: 768px) {
	.homepage-buildlog {
		padding: 80px 0;
	}
}

/* ==========================================================================
   Build Log — Lightbox
   ========================================================================== */

.buildlog-lightbox[hidden] { display: none; }

.buildlog-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	cursor: zoom-out;
}

.buildlog-lightbox__img {
	max-width: min(1400px, 95vw);
	max-height: 85vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	cursor: default;
}

.buildlog-lightbox__caption {
	color: #eaeaea;
	font-size: 0.95rem;
	margin: 18px 0 0;
	max-width: 800px;
	text-align: center;
	cursor: default;
}

.buildlog-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 2.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 8px 16px;
	border-radius: 4px;
}

.buildlog-lightbox__close:hover,
.buildlog-lightbox__close:focus {
	background: rgba(255, 255, 255, 0.1);
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.buildlog-grid figure img:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}
