/* ====== EarthWeave Front Page ====== */

/* Hero section */
.sec-hero {
	padding: clamp(28px, 5vw, 56px) 0 56px;
	position: relative;
}
.hero-wrap {
	display: grid;
	gap: 32px;
	grid-template-columns: 1.1fr 1.4fr;
	align-items: start;
}

.hero-copy .eyebrow {
	color: var(--brand-2);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-size: 12px;
	margin: 0 0 8px;
}
.hero-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	line-height: 1.1;
	margin: 0 0 12px;
}
.hero-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 16px;
}
.hero-ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* СТАЛО — гибкая сетка широких карточек */
.hero-collage {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

/* Плитки теперь просто авто, без жёстких span'ов */
.tile {
	background: var(--card);
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 0 0 transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* УБЕРИ специальные раскладки, чтобы не сужались */
.t1,
.t2,
.t3,
.t4,
.t5,
.t6,
.t7,
.t8 {
	grid-column: auto !important;
}

/* Подписи и hover без изменений */
.tile:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(255, 255, 255, 0.12);
}
.tile figcaption {
	font-size: 12px;
	color: var(--muted);
	margin-top: 6px;
}

/* Адаптив — немного крупнее зазоры на десктопе */
@media (min-width: 1024px) {
	.hero-collage {
		gap: 18px;
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}
}

/* Мобильный — по 2 плитки в ряд, но остаётся auto-fit */
@media (max-width: 640px) {
	.hero-collage {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
		gap: 12px;
	}
}

/* Уважение к reduce motion — без изменений */
@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		transition: none;
	}
	.thread {
		animation: none;
	}
}

/* ambient “threads” */
.thread {
	position: absolute;
	inset: auto;
	pointer-events: none;
	z-index: -1;
	width: 140%;
	height: 160%;
	left: -20%;
	top: -20%;
	background: repeating-linear-gradient(
			115deg,
			rgba(198, 165, 114, 0.08) 0 2px,
			transparent 2px 8px
		),
		radial-gradient(
			900px 600px at 80% 10%,
			rgba(125, 143, 132, 0.12),
			transparent 60%
		),
		radial-gradient(
			700px 500px at 10% 80%,
			rgba(198, 165, 114, 0.1),
			transparent 50%
		);
	filter: blur(1px);
	mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 80%);
	animation: drift 26s linear infinite;
}
.thread-b {
	transform: rotate(8deg) scale(1.05);
	animation-duration: 32s;
	opacity: 0.6;
}

@keyframes drift {
	0% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}
	50% {
		transform: translate3d(2%, -2%, 0) rotate(2deg);
	}
	100% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}
}

/* Responsive tweaks */
@media (max-width: 1024px) {
	.hero-wrap {
		grid-template-columns: 1fr;
	}
	.hero-collage {
		grid-template-columns: repeat(3, 1fr);
	}
	.t1 {
		grid-column: 1 / span 2;
	}
	.t2 {
		grid-column: 2 / span 2;
	}
	.t7 {
		grid-column: 1 / span 2;
	}
}

@media (max-width: 640px) {
	.hero-collage {
		grid-template-columns: repeat(2, 1fr);
	}
	.t1,
	.t2,
	.t7 {
		grid-column: auto;
	}
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		transition: none;
	}
	.thread {
		animation: none;
	}
}
/* ====== SECTION 2: Material Atlas ====== */
.sec-atlas {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.atlas-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	line-height: 1.15;
	margin: 0 0 10px;
}
.atlas-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 20px;
}

.atlas-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.atlas-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 14px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.atlas-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(255, 255, 255, 0.12);
}
.atlas-card figure {
	margin: 0;
}
.atlas-card figcaption {
	color: var(--ink);
	font-weight: 600;
	margin-top: 8px;
}
.atlas-card .mini {
	color: var(--muted);
	font-size: 13px;
	margin: 8px 0 0;
}

/* ====== SECTION 3: Quiet Patterns ====== */
.sec-patterns {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.patterns-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.patterns-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

/* Horizontal ribbon with scroll-snap */
.pattern-ribbon {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(240px, 280px);
	gap: 16px;
	overflow-x: auto;
	padding: 8px 6vw;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	border-block: 1px dashed var(--line);
	mask-image: linear-gradient(
		90deg,
		transparent,
		#000 6%,
		#000 94%,
		transparent
	);
}
.pattern-card {
	scroll-snap-align: start;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 12px;
	min-height: 240px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pattern-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(255, 255, 255, 0.12);
}
.pattern-card figure {
	margin: 0;
}
.pattern-card figcaption {
	margin-top: 8px;
	font-weight: 600;
}
.pattern-card .mini {
	color: var(--muted);
	font-size: 13px;
	margin: 6px 0 0;
}

.patterns-foot {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 10px;
}

/* ====== SECTION 4: Underfoot Science ====== */
.sec-science {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.science-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.science-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 20px;
}

.science-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, 1fr);
}
.science-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 14px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.science-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(255, 255, 255, 0.12);
}
.science-card p {
	color: var(--muted);
	font-size: 14px;
	margin: 8px 0 0;
}

/* ====== Responsive for sections 2–4 ====== */
@media (max-width: 1024px) {
	.science-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.science-grid {
		grid-template-columns: 1fr;
	}
	.pattern-ribbon {
		grid-auto-columns: minmax(220px, 260px);
	}
}
/* ====== SECTION 6: Provenance Threads ====== */
.sec-provenance {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.prov-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.prov-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.prov-grid {
	display: grid;
	gap: 20px;
	align-items: start;
	grid-template-columns: 1.1fr 1fr;
}
.prov-map {
	position: relative;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 12px;
}
.prov-map img {
	border-radius: 12px;
}
.prov-thread {
	position: absolute;
	inset: auto;
	width: 60%;
	height: 2px;
	left: 20%;
	background: linear-gradient(
		90deg,
		rgba(198, 165, 114, 0),
		rgba(198, 165, 114, 0.5),
		rgba(198, 165, 114, 0)
	);
	filter: blur(0.2px);
	animation: thread-move 6s ease-in-out infinite;
}
.pt-1 {
	top: 24%;
}
.pt-2 {
	top: 52%;
	animation-duration: 7.5s;
}
.pt-3 {
	top: 76%;
	animation-duration: 9s;
}
@keyframes thread-move {
	0%,
	100% {
		transform: translateX(-6%);
		opacity: 0.6;
	}
	50% {
		transform: translateX(6%);
		opacity: 1;
	}
}

.prov-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.prov-item {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 14px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.prov-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(255, 255, 255, 0.12);
}
.prov-title {
	margin: 0 0 6px;
	font-size: var(--step-0);
}
.prov-text {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

@media (max-width: 980px) {
	.prov-grid {
		grid-template-columns: 1fr;
	}
}

/* ====== SECTION 7: Care Rhythm ====== */
.sec-care {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.care-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.care-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.care-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1.2fr 1fr;
	align-items: start;
}
.care-steps {
	counter-reset: step;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.care-steps li {
	position: relative;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 14px 14px 14px 44px;
	color: var(--ink);
}
.care-steps li::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-weight: 700;
	background: var(--brand);
	color: #111;
	box-shadow: 0 4px 18px rgba(198, 165, 114, 0.35);
}
.care-steps strong {
	color: var(--brand);
}

.care-art {
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 12px;
}
.care-art figcaption {
	color: var(--muted);
	font-size: 12px;
	margin-top: 6px;
}

@media (max-width: 980px) {
	.care-grid {
		grid-template-columns: 1fr;
	}
}

/* ====== SECTION 8: Edge Finishes ====== */
.sec-edges {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.edges-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.edges-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.edges-ui {
	display: grid;
	gap: 16px;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: start;
}
.edges-tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.edges-tab {
	background: transparent;
	border: 1px solid var(--line);
	color: var(--ink);
	padding: 8px 12px;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.edges-tab:hover {
	transform: translateY(-1px);
}
.edges-tab.is-active {
	border-color: var(--brand);
	background: rgba(198, 165, 114, 0.12);
	color: var(--brand);
}

.edges-panels {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 14px;
}
.edges-panel {
	display: grid;
	gap: 10px;
}
.edges-panel[hidden] {
	display: none;
}

.edges-sample {
	height: 54px;
	border-radius: 10px;
	border: 1px solid var(--line);
	position: relative;
	overflow: hidden;
}
/* stylistic samples via CSS only */
.edges-sample.binding {
	background: repeating-linear-gradient(
			90deg,
			rgba(198, 165, 114, 0.35) 0 10px,
			transparent 10px 20px
		),
		linear-gradient(#171a17, #171a17);
}
.edges-sample.serge {
	background: linear-gradient(
			90deg,
			rgba(198, 165, 114, 0.2) 0 18px,
			transparent 18px
		),
		linear-gradient(#171a17, #171a17);
}
.edges-sample.fringe {
	background: linear-gradient(#171a17, #171a17);
}
.edges-sample.fringe::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 16px;
	background: repeating-linear-gradient(
		90deg,
		rgba(198, 165, 114, 0.55) 0 3px,
		transparent 3px 6px
	);
}

.edges-art {
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 12px;
}
.edges-art figcaption {
	color: var(--muted);
	font-size: 12px;
	margin-top: 6px;
}

@media (max-width: 1024px) {
	.edges-ui {
		grid-template-columns: 1fr;
	}
}
/* ====== SECTION 9: Room Sets ====== */
.sec-roomsets {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.roomsets-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.roomsets-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.roomsets-grid {
	display: grid;
	gap: 20px;
	align-items: start;
	grid-template-columns: 1fr 1fr;
}
.room-stage {
	position: relative;
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 12px;
}
.room-stage img {
	border-radius: 12px;
}
.pin {
	position: absolute;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--brand);
	border: 0;
	cursor: pointer;
	outline: none;
	box-shadow: 0 6px 18px rgba(198, 165, 114, 0.35);
	transition: transform 0.15s ease;
}
.pin:hover,
.pin:focus {
	transform: scale(1.08);
}
.pin::after {
	content: attr(aria-label);
	position: absolute;
	left: 50%;
	transform: translate(-50%, -8px);
	bottom: 100%;
	white-space: nowrap;
	font-size: 12px;
	background: #111311;
	color: var(--ink);
	border: 1px solid var(--line);
	padding: 6px 8px;
	border-radius: 10px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.pin:hover::after,
.pin:focus::after {
	opacity: 1;
	transform: translate(-50%, -10px);
}

/* pin positions (no inline styles) */
.pos-a {
	left: 44%;
	top: 62%;
}
.pos-b {
	left: 18%;
	top: 78%;
}
.pos-c {
	left: 72%;
	top: 28%;
}

.room-notes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.note {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 14px;
	color: var(--muted);
}
.note strong {
	color: var(--ink);
}

@media (max-width: 980px) {
	.roomsets-grid {
		grid-template-columns: 1fr;
	}
}

/* ====== SECTION 10: Sizing Guide ====== */
.sec-sizing {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.sizing-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.sizing-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.sizing-grid {
	display: grid;
	gap: 20px;
	align-items: start;
	grid-template-columns: 0.6fr 1.4fr;
}
.size-ui {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.size-ui .btn {
	min-width: 46px;
	text-align: center;
}
.size-ui .is-active {
	border-color: var(--brand);
	color: var(--brand);
	background: rgba(198, 165, 114, 0.12);
}

.rug-stage {
	--rug: 0.62; /* default M */
	position: relative;
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 12px;
}
.rug-stage img {
	border-radius: 12px;
}
.rug-rect {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(var(--rug) * 100%);
	aspect-ratio: 7/5;
	border-radius: 12px;
	border: 2px dashed rgba(198, 165, 114, 0.7);
	background: rgba(198, 165, 114, 0.08);
	pointer-events: none;
	box-shadow: 0 8px 24px rgba(198, 165, 114, 0.15);
}

@media (max-width: 980px) {
	.sizing-grid {
		grid-template-columns: 1fr;
	}
}

/* ====== SECTION 11: Sustainability Ledger ====== */
.sec-ledger {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.ledger-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.ledger-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.ledger-grid {
	display: grid;
	gap: 20px;
	align-items: start;
	grid-template-columns: 1.2fr 0.8fr;
}
.ledger-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.ledger-item {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 14px;
	color: var(--muted);
}
.badge {
	display: inline-block;
	margin-right: 8px;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #111;
	background: var(--brand);
	box-shadow: 0 6px 18px rgba(198, 165, 114, 0.35);
}
.ledger-art {
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 12px;
}
.ledger-art figcaption {
	color: var(--muted);
	font-size: 12px;
	margin-top: 6px;
}

@media (max-width: 1024px) {
	.ledger-grid {
		grid-template-columns: 1fr;
	}
}
.sec-sizing {
	margin-bottom: 80px;
}
/* ====== SECTION 12: Palette Studio ====== */
.sec-palette {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.palette-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.palette-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.palette-ui {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.palette-ui .is-active {
	border-color: var(--brand);
	background: rgba(198, 165, 114, 0.12);
	color: var(--brand);
}

.palette-grid {
	--base: #d6c5a2;
	--accent: #c6a572;
	--weave: #8f8a7e;
	--grain: #7d8f84;
	--edge: #464a46;
	--shadow: #1a1d1a;
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	margin-bottom: 14px;
}
.palette-wrap.is-cool .palette-grid {
	--base: #c8d4d8;
	--accent: #8aa7b2;
	--weave: #6f7c7b;
	--grain: #5e6a64;
	--edge: #3c4240;
	--shadow: #171a17;
}
.palette-wrap.is-neutral .palette-grid {
	--base: #cfcfc6;
	--accent: #b9b49f;
	--weave: #919088;
	--grain: #7c827a;
	--edge: #4a4f4b;
	--shadow: #171a17;
}

.swatch {
	position: relative;
	height: 96px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--shadow);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.swatch:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: rgba(255, 255, 255, 0.12);
}
.swatch.s1 {
	background: linear-gradient(180deg, var(--base), var(--shadow));
}
.swatch.s2 {
	background: linear-gradient(180deg, var(--accent), var(--shadow));
}
.swatch.s3 {
	background: repeating-linear-gradient(
		135deg,
		var(--weave) 0 6px,
		var(--shadow) 6px 12px
	);
}
.swatch.s4 {
	background: repeating-linear-gradient(
			90deg,
			transparent 0 10px,
			rgba(255, 255, 255, 0.05) 10px 12px
		),
		linear-gradient(180deg, var(--grain), var(--shadow));
}
.swatch.s5 {
	background: linear-gradient(180deg, var(--edge), var(--shadow));
}
.swatch.s6 {
	background: radial-gradient(
			400px 140px at 70% 20%,
			rgba(255, 255, 255, 0.06),
			transparent 60%
		),
		linear-gradient(180deg, var(--shadow), #0e0f0e);
}
.swatch span {
	position: absolute;
	left: 10px;
	bottom: 8px;
	font-size: 12px;
	color: var(--ink);
	opacity: 0.9;
}

.palette-art {
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 12px;
}
.palette-art figcaption {
	color: var(--muted);
	font-size: 12px;
	margin-top: 6px;
}

/* ====== SECTION 13: Weave Timeline ====== */
.sec-timeline {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.timeline-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.timeline-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.timeline-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: start;
}
.timeline-list {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}
.timeline-list::before {
	content: '';
	position: absolute;
	left: 12px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(#333, #222);
	border-radius: 2px;
}
.t-step {
	position: relative;
	margin-left: 28px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 12px 14px;
	color: var(--muted);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.t-step:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: rgba(255, 255, 255, 0.12);
}
.t-step h3 {
	margin: 0 0 6px;
	color: var(--ink);
}
.t-step::before {
	content: '';
	position: absolute;
	left: -18px;
	top: 14px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--brand);
	box-shadow: 0 6px 18px rgba(198, 165, 114, 0.35);
}

.timeline-art {
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 12px;
}
.timeline-art figcaption {
	color: var(--muted);
	font-size: 12px;
	margin-top: 6px;
}

@media (max-width: 1024px) {
	.timeline-grid {
		grid-template-columns: 1fr;
	}
}

/* ====== SECTION 14: Pad Matcher ====== */
.sec-pad {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.pad-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.pad-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.pad-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: start;
}
.pad-controls .btn {
	margin-right: 8px;
	margin-bottom: 8px;
}
.pad-controls .is-active {
	border-color: var(--brand);
	background: rgba(198, 165, 114, 0.12);
	color: var(--brand);
}

.pad-meter {
	margin-top: 10px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 10px;
	display: grid;
	gap: 6px;
}
.pad-bar {
	--thick: 12px; /* default for tile */
	height: var(--thick);
	background: linear-gradient(
		90deg,
		rgba(198, 165, 114, 0.6),
		rgba(198, 165, 114, 0.2)
	);
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(198, 165, 114, 0.18) inset;
	transition: height 0.25s ease;
}
.pad-note {
	margin-top: 8px;
	color: var(--muted);
}

.pad-art {
	margin: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 12px;
}
.pad-art figcaption {
	color: var(--muted);
	font-size: 12px;
	margin-top: 6px;
}

@media (max-width: 1024px) {
	.pad-grid {
		grid-template-columns: 1fr;
	}
}
/* ====== SECTION 15: Contact ====== */
.sec-contact {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.contact-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.contact-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.contact-grid {
	display: grid;
	gap: 20px;
	align-items: start;
	grid-template-columns: 0.9fr 1.1fr;
}
.contact-aside {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 14px;
}
.contact-points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	color: var(--muted);
}
.contact-points strong {
	color: var(--ink);
}

.form-wrapper {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 14px;
	display: grid;
	gap: 12px;
}
.field input,
.field textarea {
	width: 100%;
	color: var(--ink);
	background: #121412;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 12px 14px;
	font: inherit;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.08s ease;
}
.field textarea {
	min-height: 140px;
	resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
	color: #8f948f;
}
.field input:focus,
.field textarea:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 4px rgba(198, 165, 114, 0.15);
	transform: translateY(-1px);
}

.form-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: 14px;
}
.form-checkbox input {
	appearance: none;
	width: 18px;
	height: 18px;
	border: 1px solid var(--line);
	border-radius: 6px;
	display: grid;
	place-items: center;
	background: #121412;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-checkbox input:checked {
	background: var(--brand);
	border-color: var(--brand);
	box-shadow: 0 4px 18px rgba(198, 165, 114, 0.35);
}
.form-checkbox a {
	color: var(--brand);
	text-decoration: none;
	border-bottom: 1px dashed transparent;
}
.form-checkbox a:hover {
	border-bottom-color: var(--brand);
}

.cta-button {
	display: inline-block;
	padding: 12px 16px;
	border-radius: 12px;
	cursor: pointer;
	background: var(--brand);
	color: #111;
	border: 1px solid transparent;
	font-weight: 600;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(198, 165, 114, 0.35);
}

@media (max-width: 1024px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

/* ====== SECTION 16: Reviews ====== */
.sec-reviews {
	padding: 56px 0;
	border-top: 1px solid var(--line);
}
.reviews-head .sec-title {
	font-family: 'Playfair Display', serif;
	font-size: var(--step-1);
	margin: 0 0 10px;
}
.reviews-head .sec-lede {
	color: var(--muted);
	font-size: var(--step--1);
	margin: 0 0 18px;
}

.reviews-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.review-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 14px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	display: grid;
	gap: 10px;
}
.review-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: rgba(255, 255, 255, 0.12);
}
.review-card blockquote {
	margin: 0;
	color: var(--ink);
}
.review-card cite {
	color: var(--muted);
	font-style: normal;
}
.review-photo {
	margin: 0;
}
.review-photo img {
	border-radius: 12px;
}
