/* Tazvori - layout layer: header, bands, index mechanics, inner pages, footer */

/* ---------- header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	border-bottom: 1px solid var(--tz-rule);
	background: #F5F7F8F2; /* fog at 95% so the sticky bar stays readable over photos */
	backdrop-filter: saturate(140%) blur(8px);
}

.site-header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--tz-header-height);
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-family: var(--tz-font-display);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--tz-text);
	text-decoration: none;
}

.brand-mark svg {
	width: 34px;
	height: 34px;
}

.site-nav {
	margin-left: auto;
}

.site-nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 0;
	list-style: none;
}

.site-nav-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 10px;
	border-radius: var(--tz-radius-button);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--tz-text);
	text-decoration: none;
}

.site-nav-link:hover {
	color: var(--tz-pine);
	background: var(--tz-haze);
}

.site-nav-link[aria-current="page"] {
	color: var(--tz-pine);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

.menu-toggle {
	display: none;
}

@media (max-width: 1179px) {
	.site-nav {
		display: none;
	}

	.cart-button {
		margin-left: auto;
	}

	.menu-toggle {
		display: inline-flex;
	}
}

/* ---------- bands and rhythm ---------- */
.band-dense {
	padding-top: clamp(44px, 6vw, 68px);
	padding-bottom: clamp(44px, 6vw, 68px);
}

.band-airy {
	padding-top: clamp(72px, 10vw, 128px);
	padding-bottom: clamp(72px, 10vw, 128px);
}

.band-haze {
	background: linear-gradient(180deg, var(--tz-fog) 0%, var(--tz-haze) 16%, var(--tz-haze) 84%, var(--tz-fog) 100%);
}

.band-blobs {
	position: relative;
	isolation: isolate;
	overflow: clip;
}

.band-blobs::before,
.band-blobs::after {
	position: absolute;
	z-index: -1;
	width: 46vw;
	height: 46vw;
	max-width: 620px;
	max-height: 620px;
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.band-blobs::before {
	top: -12%;
	left: -14%;
	background: radial-gradient(closest-side, var(--tz-pine-wash), #2B635600);
}

.band-blobs::after {
	right: -12%;
	bottom: -16%;
	background: radial-gradient(closest-side, var(--tz-steel-wash), #3E5F7E00);
}

.section-intro {
	max-width: 720px;
}

.section-intro p {
	margin-top: 14px;
	color: var(--tz-muted);
}

.section-intro .label-spaced {
	margin-bottom: 12px;
}

.section-intro-centered {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.glow-host {
	position: relative;
	isolation: isolate;
}

.glow-host::before {
	position: absolute;
	z-index: -1;
	inset: -10% -2%; /* horizontal spill stays inside the page gutter (h-overflow) */
	background: radial-gradient(55% 60% at 50% 50%, var(--tz-pine-glow), #2B635600 72%);
	filter: blur(18px);
	content: "";
	pointer-events: none;
}

.glow-host-steel::before {
	background: radial-gradient(55% 60% at 50% 50%, var(--tz-steel-glow), #3E5F7E00 72%);
}

/* ---------- hero: collage layers ---------- */
.hero-collage-section {
	position: relative;
	overflow: clip;
	padding-top: clamp(36px, 5vw, 64px);
	padding-bottom: clamp(72px, 9vw, 120px);
	text-align: center;
	background:
		radial-gradient(46% 58% at 10% 16%, var(--tz-pine-wash), #2B635600 70%),
		radial-gradient(40% 50% at 90% 26%, var(--tz-steel-wash), #3E5F7E00 70%),
		linear-gradient(180deg, var(--tz-fog) 0%, var(--tz-haze) 100%);
}

.hero-copy {
	max-width: 1120px;
	margin-right: auto;
	margin-left: auto;
}

.hero-title {
	margin-top: 16px;
	font-size: clamp(2.75rem, 7.4vw, 6.5rem);
	line-height: 0.96;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.hero-lede {
	max-width: 660px;
	margin: 22px auto 0;
	font-size: 1.15rem;
	color: var(--tz-muted);
	text-wrap: pretty;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 28px;
	margin-top: 28px;
}

.hero-facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
	padding: 0;
	list-style: none;
}

.hero-collage {
	position: relative;
	width: min(100%, 1120px);
	margin: clamp(40px, 5vw, 60px) auto 0;
	padding: 0 9%;
}

.hero-collage-main {
	position: relative;
	box-shadow: var(--tz-shadow-lift);
}

.hero-collage-main img {
	width: 100%;
}

.hero-collage-layer {
	position: absolute;
	width: 21%;
	padding: 8px;
	background: var(--tz-white);
	box-shadow: var(--tz-shadow-soft);
	will-change: transform;
}

.hero-collage-layer-left {
	bottom: -12%;
	left: 0;
}

.hero-collage-layer-right {
	top: -10%;
	right: 0;
}

@media (max-width: 700px) {
	.hero-collage {
		padding: 0 4%;
	}

	.hero-collage-layer {
		width: 30%;
		padding: 5px;
	}

	.hero-collage-layer-left {
		bottom: -22%;
	}

	.hero-collage-layer-right {
		top: -16%;
	}
}

/* ---------- stepped grid: categories ---------- */
.category-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: 44px;
	padding: 0;
	list-style: none;
}

.category-step {
	padding: 0 18px;
	border-left: 1px solid var(--tz-rule);
}

.category-step:first-child {
	padding-left: 0;
	border-left: 0;
}

.category-step:last-child {
	padding-right: 0;
}

/* each tile sits one stair lower than the previous */
.category-step:nth-child(2) {
	margin-top: 28px;
}

.category-step:nth-child(3) {
	margin-top: 56px;
}

.category-step:nth-child(4) {
	margin-top: 84px;
}

.category-step:nth-child(5) {
	margin-top: 112px;
}

.category-step-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.category-step-photo {
	background: var(--tz-haze);
}

.category-step-name {
	margin-top: 16px;
}

.category-step-price {
	margin-top: 6px;
	font-weight: 700;
	color: var(--tz-pine);
}

.category-step-note {
	margin-top: 6px;
	font-size: 0.97rem;
	color: var(--tz-muted);
}

.category-step-more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
	color: var(--tz-pine);
}

.category-step-link:hover .category-step-more {
	color: var(--tz-steel);
	text-decoration: underline;
}

@media (max-width: 900px) {
	.category-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 36px;
	}

	.category-step,
	.category-step:first-child,
	.category-step:last-child {
		margin-top: 0;
		padding: 0 0 0 16px;
		border-left: 1px solid var(--tz-rule);
	}

	.category-step:nth-child(odd) {
		padding-left: 0;
		padding-right: 16px;
		border-left: 0;
	}

	.category-step:nth-child(even) {
		margin-top: 44px;
	}

	.category-step:nth-child(3),
	.category-step:nth-child(5) {
		margin-top: 0;
	}
}

/* ---------- svg path: order steps ---------- */
.order-path {
	position: relative;
	margin-top: 48px;
}

.order-path-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 200px;
	overflow: visible;
}

.order-path-line-vertical {
	display: none;
}

.order-path-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	padding: 0;
	list-style: none;
}

.order-path-step {
	padding: 0 12px;
	text-align: center;
}

.order-path-step:nth-child(even) {
	padding-top: 80px; /* node centre drops from y=40 to y=120, matching the svg wave */
}

.order-path-node {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 12px auto 0;
	border-radius: 50%;
	font-family: var(--tz-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--tz-pine);
	background: var(--tz-white);
	box-shadow: 0 0 0 7px var(--tz-pine-wash), var(--tz-shadow-soft);
}

.order-path-step h3 {
	margin-top: 20px;
	font-size: 1.25rem;
}

.order-path-step p {
	margin-top: 8px;
	font-size: 0.98rem;
	color: var(--tz-muted);
}

@media (max-width: 860px) {
	.order-path-line {
		display: none;
	}

	.order-path-line-vertical {
		position: absolute;
		top: 0;
		left: 0;
		display: block;
		width: 56px;
		height: 100%;
	}

	.order-path-steps {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 28px;
	}

	.order-path-step,
	.order-path-step:nth-child(even) {
		position: relative;
		min-height: 64px;
		padding: 4px 0 0 80px;
		text-align: left;
	}

	.order-path-node {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
	}

	.order-path-step h3 {
		margin-top: 8px;
	}
}

/* ---------- deck tabs: weather ---------- */
.weather-deck {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 36px;
	margin-top: 40px;
}

.weather-deck.woke {
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
}

.weather-tabs {
	display: none;
}

.weather-deck.woke .weather-tabs {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.weather-panel + .weather-panel {
	margin-top: 24px;
}

.weather-deck.woke .weather-panel + .weather-panel {
	margin-top: 0;
}

@media (max-width: 860px) {
	.weather-deck.woke {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.weather-deck.woke .weather-tabs {
		flex-direction: row;
		overflow-x: auto;
		padding: 6px 2px 14px;
		scroll-snap-type: x mandatory;
	}
}

/* ---------- fabric and fit ---------- */
.fabric-layout {
	display: grid;
	grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
	margin-top: 44px;
}

.fabric-portrait {
	width: min(100%, 360px);
}

.fabric-points {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
	padding: 0;
	list-style: none;
}

.fabric-texture {
	margin-top: 28px;
}

@media (max-width: 860px) {
	.fabric-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.fabric-points {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- inner page head ---------- */
.page-head {
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding-top: 28px;
	padding-bottom: clamp(32px, 4vw, 52px);
	background:
		radial-gradient(40% 70% at 92% 10%, var(--tz-steel-wash), #3E5F7E00 70%),
		radial-gradient(36% 80% at 4% 90%, var(--tz-pine-wash), #2B635600 70%),
		linear-gradient(180deg, var(--tz-fog) 0%, var(--tz-haze) 100%);
}

.page-trail {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 6px;
	min-height: 44px;
	padding: 0;
	list-style: none;
	font-size: 0.92rem;
	color: var(--tz-muted);
}

.page-trail a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--tz-muted);
}

.page-trail li + li::before {
	margin-right: 6px;
	content: "/";
	color: var(--tz-rule);
}

.page-title {
	max-width: 22ch;
	margin-top: 10px;
	font-size: clamp(2.2rem, 4.4vw, 3.5rem);
	line-height: 1.04;
	letter-spacing: -0.015em;
}

.page-lede {
	max-width: 700px;
	margin-top: 16px;
	font-size: 1.12rem;
	color: var(--tz-muted);
}

/* ---------- shop ---------- */
.shop-filter-band {
	position: sticky;
	top: var(--tz-header-height);
	z-index: 5;
	border-bottom: 1px solid var(--tz-rule);
	background: #F5F7F8F2;
}

.shop-filter-band:not(.woke) {
	display: none;
}

.shop-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 32px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.shop-filter-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.shop-section {
	padding-top: clamp(40px, 5vw, 60px);
	padding-bottom: 12px;
}

.shop-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px 28px;
	margin-top: 24px;
	padding: 0;
	list-style: none;
}

@media (max-width: 1100px) {
	.product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 16px;
	}
}

.shop-empty-note {
	padding-top: 40px;
}

/* ---------- cart, checkout, status ---------- */
.cart-page-layout,
.checkout-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.checkout-aside {
	position: sticky;
	top: calc(var(--tz-header-height) + 20px);
}

@media (max-width: 900px) {
	.cart-page-layout,
	.checkout-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.checkout-aside {
		position: static;
	}
}

.two-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.three-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 860px) {
	.two-cards,
	.three-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- legal and info pages ---------- */
.toc-band {
	padding-top: 24px;
	padding-bottom: 8px;
}

.legal-block {
	padding-top: clamp(36px, 5vw, 56px);
	padding-bottom: clamp(36px, 5vw, 56px);
	border-top: 1px solid var(--tz-rule);
}

.legal-block:first-of-type {
	border-top: 0;
}

.legal-block-inner {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
	gap: 20px clamp(28px, 5vw, 64px);
}

.legal-block-inner > h2 {
	align-self: start;
}

.legal-copy p + p,
.legal-copy p + ul,
.legal-copy ul + p,
.legal-copy .data-table-wrap + p,
.legal-copy p + .data-table-wrap,
.legal-copy p + .term-cards,
.legal-copy .term-cards + p {
	margin-top: 14px;
}

.legal-copy ul {
	padding-left: 1.2em;
}

.legal-copy li + li {
	margin-top: 6px;
}

@media (max-width: 860px) {
	.legal-block-inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- contact ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.contact-layout {
	grid-template-areas:
		"channels channels"
		"form hours";
}

.contact-channels {
	grid-area: channels;
}

.contact-form {
	grid-area: form;
}

.contact-hours {
	grid-area: hours;
}

.contact-channels .channel-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 28px;
	margin-top: 8px;
}

.contact-channels .channel-list li {
	border-top: 0;
}

.status-column {
	display: grid;
	gap: 24px;
}

@media (max-width: 900px) {
	/* phones: form first, link-free hours card under it, channels last (keeps the consent strip off fields and links) */
	.contact-layout {
		grid-template-areas:
			"form"
			"hours"
			"channels";
		grid-template-columns: minmax(0, 1fr);
	}

	.contact-channels .channel-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- footer ---------- */
.site-footer {
	padding-top: clamp(48px, 6vw, 72px);
	padding-bottom: 28px;
	border-top: 1px solid var(--tz-rule);
	background: linear-gradient(180deg, var(--tz-fog) 0%, var(--tz-haze) 100%);
}

.footer-columns {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 48px;
}

.footer-about p {
	max-width: 36ch;
	margin-top: 12px;
	color: var(--tz-muted);
}

.footer-links {
	margin-top: 10px;
	padding: 0;
	list-style: none;
}

.footer-links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--tz-text);
	text-decoration: none;
}

.footer-links a:hover {
	color: var(--tz-pine);
	text-decoration: underline;
}

.footer-legal-line {
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid var(--tz-rule);
	font-size: 0.9rem;
	color: var(--tz-muted);
}

@media (max-width: 860px) {
	.footer-columns {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.footer-about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 480px) {
	.footer-columns {
		grid-template-columns: minmax(0, 1fr);
	}
}
