/* =========================================================
   DAO · ROOT
   Homepage Styles
   Version 2.1 — Final Mobile Hero
   ========================================================= */


/* ---------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------- */

.daoroot-home {
	--dr-ink: #1c1b18;
	--dr-deep: #2f2b25;
	--dr-earth: #5c5043;
	--dr-clay: #8a6848;
	--dr-border: #ddd6c8;
	--dr-ivory: #f7f4ee;
	--dr-soft: #fcfaf5;
	--dr-bg: #f7f4ee;

	background: var(--dr-ivory);
	color: var(--dr-ink);
}


/* ---------------------------------------------------------
   2. GLOBAL LAYOUT
   --------------------------------------------------------- */

.dr-container {
	width: min(1240px, calc(100% - 80px));
	margin-inline: auto;
}

.dr-section-label,
.dr-eyebrow {
	margin: 0 0 24px;
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--dr-clay);
}



/* =========================================================
   GLOBAL RESPONSIVE CONTAINER
   ========================================================= */
@media (max-width:999px) {
	.dr-container { width:min(100% - 40px,720px); }
}
@media (max-width:560px) {
	.dr-container { width:calc(100% - 32px); }
}
/* =========================================================
   3. DAOROOT HERO — FULL WIDTH
   ========================================================= */

.dr-hero {
	position: relative;
	width: 100%;
	min-height: 720px;
	overflow: hidden;
	background: #eee8dd;
}
.dr-hero-background { position:absolute; inset:0; z-index:0; overflow:hidden; }
.dr-hero-background picture { display:block; width:100%; height:100%; }
.dr-hero-background-image { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.dr-hero-overlay {
	position:absolute; inset:0; z-index:1; pointer-events:none;
	background:linear-gradient(90deg,rgba(246,242,234,.90) 0%,rgba(246,242,234,.72) 30%,rgba(246,242,234,.18) 53%,rgba(246,242,234,0) 70%);
}
.dr-hero-container { position:relative; z-index:2; display:flex; align-items:center; min-height:720px; }
.dr-hero-content { width:100%; max-width:680px; padding:80px 0; }
.dr-hero-mark {
	margin:0 0 27px; font-family:"Noto Sans",Arial,sans-serif; font-size:10px; font-weight:500;
	line-height:1; letter-spacing:.28em; text-transform:uppercase; color:var(--dr-clay);
}
.dr-hero-title {
	max-width:680px; margin:0; font-family:"Noto Serif",Georgia,serif;
	font-size:clamp(56px,4.8vw,76px); font-weight:500; line-height:1.03;
	letter-spacing:-.04em; color:var(--dr-ink);
}
.dr-hero-positioning {
	margin:16px 0 0; font-family:"Noto Serif",Georgia,serif; font-size:clamp(28px,2.35vw,38px);
	font-weight:400; font-style:italic; line-height:1.18; letter-spacing:-.02em; color:#96785e;
}
.dr-hero-intro {
	max-width:480px; margin:28px 0 0; font-family:"Noto Sans",Arial,sans-serif;
	font-size:14px; font-weight:400; line-height:1.8; color:var(--dr-earth);
}
.dr-hero-button {
	display:inline-flex; align-items:center; justify-content:center; min-height:48px; margin-top:31px; padding:0 27px;
	background:var(--dr-ink); font-family:"Noto Sans",Arial,sans-serif; font-size:10px; font-weight:600;
	line-height:1; letter-spacing:.10em; text-transform:uppercase; color:#fff; text-decoration:none;
	transition:background-color .3s ease,transform .3s ease;
}
.dr-hero-button:hover { background:#3a3731; color:#fff; transform:translateY(-1px); }

@media (max-width:999px) {
	.dr-hero,.dr-hero-container { min-height:660px; }
	.dr-hero-content { max-width:570px; padding:70px 0; }
	.dr-hero-title { max-width:570px; font-size:clamp(52px,7vw,68px); }
	.dr-hero-positioning { font-size:clamp(28px,4vw,36px); }
	.dr-hero-overlay {
		background:linear-gradient(90deg,rgba(246,242,234,.94) 0%,rgba(246,242,234,.78) 42%,rgba(246,242,234,.25) 70%,rgba(246,242,234,.05) 100%);
	}
}
@media (max-width:767px) {
	.dr-hero {
		min-height:760px;
		background:#f4f0e7;
	}

	.dr-hero-container {
		align-items:flex-end;
		min-height:760px;
	}

	.dr-hero-background,
	.dr-hero-background picture {
		width:100%;
		height:100%;
	}

	.dr-hero-background-image {
		display:block;
		width:100%;
		height:100%;
		object-fit:cover;
		object-position:center center;
	}

	.dr-hero-overlay {
		background:linear-gradient(
			180deg,
			rgba(246,242,234,0) 0%,
			rgba(246,242,234,0) 30%,
			rgba(246,242,234,.18) 42%,
			rgba(246,242,234,.72) 57%,
			rgba(246,242,234,.93) 72%,
			rgba(246,242,234,.98) 100%
		);
	}

	.dr-hero-content {
		width:100%;
		max-width:100%;
		padding:0 0 44px;
	}

	.dr-hero-mark {
		margin:0 0 17px;
		font-size:9px;
		line-height:1;
		letter-spacing:.26em;
	}

	.dr-hero-title {
		max-width:100%;
		margin:0;
		font-size:clamp(43px,11.5vw,52px);
		line-height:1.01;
		letter-spacing:-.04em;
	}

	.dr-hero-positioning {
		margin:18px 0 0;
		font-size:clamp(25px,7vw,29px);
		line-height:1.15;
	}

	.dr-hero-intro {
		max-width:330px;
		margin:22px 0 0;
		font-size:13px;
		line-height:1.7;
	}

	.dr-hero-button {
		min-height:46px;
		margin-top:26px;
		padding:0 20px;
		font-size:9px;
		letter-spacing:.08em;
	}
}
/* ---------------------------------------------------------
   5. SELECTED ROOTS
   --------------------------------------------------------- */

.dr-roots {
	padding: 120px 0 130px;
	border-top: 1px solid var(--dr-border);
}

.dr-roots-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 60px;
}

.dr-roots h2 {
	max-width: 720px;
	margin: 0;

	font-family: "Noto Serif", serif;
	font-size: clamp(38px, 4vw, 56px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.025em;

	color: var(--dr-ink);
}

.dr-roots-heading > p {
	max-width: 350px;
	margin: 0 0 7px;

	font-family: "Noto Sans", sans-serif;
	font-size: 14px;
	line-height: 1.75;

	color: var(--dr-earth);
}


/* Four category cards */

.dr-root-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;

	margin-top: 65px;

	border: 0;
}

.dr-root-card,
.dr-root-card:first-child {
	display: block;

	min-height: 0;
	padding: 0;

	border: 0;

	color: var(--dr-ink);
	text-decoration: none;
	background: transparent;
}


/* Images */

.dr-root-image {
	position: relative;

	width: 100%;
	aspect-ratio: 4 / 5;

	overflow: hidden;

	background: #ebe5da;
}

.dr-root-image img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.7s cubic-bezier(.2,.6,.2,1);
}

.dr-root-card:hover .dr-root-image img {
	transform: scale(1.035);
}


/* Card text */

.dr-root-content {
	position: relative;
	padding: 22px 0 0 34px;
}

.dr-root-number {
	position: absolute;
	top: 27px;
	left: 0;

	font-family: "Noto Sans", sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.12em;

	color: var(--dr-clay);
}

.dr-root-card h3 {
	margin: 0 0 8px;

	font-family: "Noto Serif", serif;
	font-size: 23px;
	font-weight: 500;
	line-height: 1.25;

	color: var(--dr-ink);
}

.dr-root-card p {
	margin: 0;

	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.025em;

	color: var(--dr-earth);
}


/* Subtle line beneath card */

.dr-root-content::after {
	content: "";

	display: block;

	width: 28px;
	height: 1px;

	margin-top: 18px;

	background: var(--dr-border);

	transition: width 0.35s ease;
}

.dr-root-card:hover .dr-root-content::after {
	width: 55px;
}


/* Tablet */

@media (max-width: 999px) {

	.dr-roots {
		padding: 90px 0;
	}

	.dr-roots-heading {
		display: block;
	}

	.dr-roots-heading > p {
		max-width: 500px;
		margin-top: 22px;
	}

	.dr-root-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 50px 22px;

		margin-top: 50px;
	}

	.dr-root-card,
	.dr-root-card:first-child,
	.dr-root-card:nth-child(3) {
		border: 0;
	}

}


/* Mobile */

@media (max-width: 560px) {

	.dr-roots {
		padding: 75px 0 85px;
	}

	.dr-roots h2 {
		font-size: 38px;
	}

	.dr-root-grid {
		grid-template-columns: 1fr;
		gap: 48px;

		margin-top: 42px;
	}

	.dr-root-image {
		aspect-ratio: 4 / 4.6;
	}

	.dr-root-content {
		padding-top: 18px;
	}

	.dr-root-number {
		top: 23px;
	}

}

/* ---------------------------------------------------------
   6. CURATED OBJECTS
   --------------------------------------------------------- */

.dr-products {
	padding: 125px 0 135px;
	background: var(--dr-soft);
}

.dr-section-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;

	margin-bottom: 55px;
}

.dr-section-heading h2 {
	margin: 0;

	font-family: "Noto Serif", serif;
	font-size: clamp(38px, 4vw, 54px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.025em;

	color: var(--dr-ink);
}

.dr-section-heading > a {
	display: inline-block;

	padding-bottom: 5px;
	border-bottom: 1px solid var(--dr-ink);

	font-family: "Noto Sans", sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;

	color: var(--dr-ink);
	text-decoration: none;
}


/* ---------------------------------------------------------
   7. DAOROOT PRODUCT CARDS
   --------------------------------------------------------- */

.dr-product-grid ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 22px !important;

	margin: 0 !important;
	padding: 0 !important;
}

.dr-product-grid ul.products::before,
.dr-product-grid ul.products::after {
	display: none !important;
}

.dr-product-grid ul.products li.product {
	width: auto !important;
	float: none !important;

	margin: 0 !important;
	padding: 0 !important;

	text-align: left !important;
	background: transparent !important;
}


/* Product image */

.dr-product-grid ul.products li.product > a {
	display: block;
	text-decoration: none;
}

.dr-product-grid ul.products li.product img {
	display: block;

	width: 100% !important;
	aspect-ratio: 4 / 5;
	height: auto !important;

	margin: 0 0 20px !important;

	object-fit: cover;

	background: #f0ede6;

	transition:
		transform 0.6s cubic-bezier(.2,.6,.2,1),
		opacity 0.3s ease;
}

.dr-product-grid ul.products li.product:hover img {
	transform: scale(1.015);
}


/* Product title */

.dr-product-grid
ul.products
li.product
.woocommerce-loop-product__title {
	margin: 0 0 7px !important;
	padding: 0 !important;

	font-family: "Noto Serif", serif !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;

	color: var(--dr-ink) !important;
}


/* Price */

.dr-product-grid ul.products li.product .price {
	display: block;

	margin: 0 !important;

	font-family: "Noto Sans", sans-serif !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;

	color: var(--dr-earth) !important;
}


/* Hide WooCommerce visual clutter */

.dr-product-grid ul.products li.product .button,
.dr-product-grid ul.products li.product .added_to_cart,
.dr-product-grid ul.products li.product .ct-woo-card-actions,
.dr-product-grid ul.products li.product .product-categories,
.dr-product-grid ul.products li.product .ct-product-categories,
.dr-product-grid ul.products li.product .star-rating {
	display: none !important;
}


/* Sale badge — deliberately understated */

.dr-product-grid ul.products li.product .onsale {
	top: 12px !important;
	left: 12px !important;
	right: auto !important;

	min-width: auto !important;
	min-height: auto !important;

	padding: 6px 8px !important;

	border-radius: 0 !important;

	font-family: "Noto Sans", sans-serif !important;
	font-size: 9px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
}


/* ---------------------------------------------------------
   PRODUCT GRID — TABLET
   --------------------------------------------------------- */

@media (max-width: 999px) {

	.dr-products {
		padding: 90px 0 100px;
	}

	.dr-product-grid ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 45px 22px !important;
	}

}


/* ---------------------------------------------------------
   PRODUCT GRID — MOBILE
   --------------------------------------------------------- */

@media (max-width: 560px) {

	.dr-products {
		padding: 75px 0 85px;
	}

	.dr-section-heading {
		align-items: flex-end;
		margin-bottom: 38px;
	}

	.dr-section-heading h2 {
		font-size: 37px;
	}

	.dr-product-grid ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 36px 14px !important;
	}

	.dr-product-grid
	ul.products
	li.product
	.woocommerce-loop-product__title {
		font-size: 15px !important;
	}

}

/* =========================================================
   8. THE MAKERS
   ========================================================= */

.dr-makers {
	padding: 120px 0 130px;
	background: var(--dr-ivory);
}


/* ---------------------------------------------------------
   Main two-column layout
   --------------------------------------------------------- */

.dr-makers-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
	gap: 80px;
	align-items: center;
}


/* ---------------------------------------------------------
   Left image
   --------------------------------------------------------- */

.dr-maker-visual {
	position: relative;

	width: 100%;
	height: 560px;

	overflow: hidden;

	background: #29251f;
}

.dr-maker-image {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	/*
	 * The artisan is on the right side of the image.
	 * This keeps the hands and working area visible.
	 */
	object-position: 58% center;

	transition: transform 0.8s cubic-bezier(.2,.6,.2,1);
}

.dr-maker-visual:hover .dr-maker-image {
	transform: scale(1.018);
}


/* ---------------------------------------------------------
   Right copy
   --------------------------------------------------------- */

.dr-maker-copy {
	max-width: 480px;
}


/* Small label */

.dr-maker-copy .dr-section-label {
	margin: 0 0 24px;

	font-family: "Noto Sans", sans-serif;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.4;

	letter-spacing: 0.22em;
	text-transform: uppercase;

	color: var(--dr-clay);
}


/* Main heading */

.dr-maker-copy h2 {
	max-width: 520px;

	margin: 0 0 20px;

	font-family: "Noto Serif", serif;
	font-size: clamp(42px, 4vw, 58px);
	font-weight: 500;
	line-height: 1.08;

	letter-spacing: -0.025em;

	color: var(--dr-ink);
}


/* Body copy */

.dr-maker-copy > p:not(.dr-section-label) {
	max-width: 450px;

	margin: 0 0 30px;

	font-family: "Noto Sans", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.85;

	color: var(--dr-earth);
}


/* ---------------------------------------------------------
   View the makers link
   --------------------------------------------------------- */

.dr-maker-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;

	padding-bottom: 5px;

	border-bottom: 1px solid var(--dr-ink);

	font-family: "Noto Sans", sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;

	letter-spacing: 0.06em;
	text-transform: uppercase;

	color: var(--dr-ink);
	text-decoration: none;

	transition:
		gap 0.3s ease,
		opacity 0.3s ease;
}

.dr-maker-link:hover {
	gap: 15px;
	opacity: 0.72;
}


/* Optional arrow */

.dr-maker-link::after {
	content: "→";

	font-size: 14px;
	line-height: 1;

	transition: transform 0.3s ease;
}

.dr-maker-link:hover::after {
	transform: translateX(3px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 999px) {

	.dr-makers {
		padding: 90px 0 100px;
	}

	.dr-makers-grid {
		grid-template-columns: 1fr;
		gap: 55px;
	}

	.dr-maker-visual {
		height: auto;
		aspect-ratio: 16 / 10;
	}

	.dr-maker-image {
		min-height: 0;
		object-position: 58% center;
	}

	.dr-maker-copy {
		max-width: 620px;
	}

	.dr-maker-copy h2 {
		max-width: 540px;
	}

	.dr-maker-copy > p:not(.dr-section-label) {
		max-width: 560px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

	.dr-makers {
		padding: 75px 0 85px;
	}

	.dr-makers-grid {
		gap: 38px;
	}

	.dr-maker-visual {
		aspect-ratio: 4 / 3;
		height: auto;
	}

	.dr-maker-image {
		width: 100%;
		height: 100%;

		object-fit: cover;
		object-position: 62% center;
	}

	.dr-maker-copy .dr-section-label {
		margin-bottom: 18px;
	}

	.dr-maker-copy h2 {
		margin-bottom: 22px;

		font-size: 39px;
		line-height: 1.1;
	}

	.dr-maker-copy > p:not(.dr-section-label) {
		margin-bottom: 26px;

		font-size: 14px;
		line-height: 1.8;
	}

}

/* =========================================================
   9. DAOROOT BRAND MANIFESTO
   ========================================================= */

.dr-manifesto {
	position: relative;

	padding: 145px 0 150px;

	overflow: hidden;

	background: #292720;
	color: #f4f0e7;
}


/* Very subtle texture / depth */

.dr-manifesto::before {
	content: "";

	position: absolute;
	inset: 0;

	pointer-events: none;

	background:
		radial-gradient(
			circle at 50% 15%,
			rgba(255, 255, 255, 0.025),
			transparent 45%
		);
}


/* ---------------------------------------------------------
   Inner content
   --------------------------------------------------------- */

.dr-manifesto-inner {
	position: relative;
	z-index: 1;

	max-width: 900px;
	margin: 0 auto;

	text-align: center;
}


/* ---------------------------------------------------------
   DAO · ROOT mark
   --------------------------------------------------------- */

.dr-manifesto-mark {
	margin: 0 0 35px;

	font-family: "Noto Sans", sans-serif;

	font-size: 10px;
	font-weight: 500;
	line-height: 1;

	letter-spacing: 0.30em;
	text-transform: uppercase;

	color: #b99a72;
}


/* ---------------------------------------------------------
   Main manifesto title
   --------------------------------------------------------- */

.dr-manifesto-title {
	margin: 0;

	font-family: "Noto Serif", serif;

	font-size: clamp(52px, 5.5vw, 78px);
	font-weight: 500;
	line-height: 1.04;

	letter-spacing: -0.035em;

	color: #f4f0e7;
}

.dr-manifesto-title span {
	display: block;
}


/*
 * Give the second line a slightly softer tone.
 * Keeps the statement from feeling like one heavy block.
 */

.dr-manifesto-title span:last-child {
	color: #ddd5c7;
}


/* ---------------------------------------------------------
   Manifesto body
   --------------------------------------------------------- */

.dr-manifesto-text {
	max-width: 650px;

	margin: 38px auto 0;

	font-family: "Noto Sans", sans-serif;

	font-size: 14px;
	font-weight: 400;
	line-height: 1.9;

	letter-spacing: 0.005em;

	color: rgba(244, 240, 231, 0.72);
}


/* ---------------------------------------------------------
   Culture · Craft · Objects signature
   --------------------------------------------------------- */

.dr-manifesto-signature {
	display: flex;
	align-items: center;
	justify-content: center;

	gap: 18px;

	margin-top: 48px;
}

.dr-manifesto-signature > span {
	display: block;

	width: 38px;
	height: 1px;

	background: rgba(185, 154, 114, 0.42);
}

.dr-manifesto-signature p {
	margin: 0;

	font-family: "Noto Sans", sans-serif;

	font-size: 9px;
	font-weight: 500;
	line-height: 1;

	letter-spacing: 0.22em;
	text-transform: uppercase;

	color: #b99a72;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 999px) {

	.dr-manifesto {
		padding: 120px 0 125px;
	}

	.dr-manifesto-inner {
		max-width: 760px;
	}

	.dr-manifesto-title {
		font-size: clamp(48px, 7vw, 68px);
	}

	.dr-manifesto-text {
		max-width: 590px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

	.dr-manifesto {
		padding: 95px 0 100px;
	}

	.dr-manifesto-mark {
		margin-bottom: 27px;

		font-size: 9px;
		letter-spacing: 0.27em;
	}

	.dr-manifesto-title {
		font-size: clamp(40px, 12vw, 52px);
		line-height: 1.06;
		letter-spacing: -0.03em;
	}

	.dr-manifesto-text {
		max-width: 92%;

		margin-top: 30px;

		font-size: 13px;
		line-height: 1.85;
	}

	.dr-manifesto-signature {
		gap: 12px;

		margin-top: 38px;
	}

	.dr-manifesto-signature > span {
		width: 22px;
	}

	.dr-manifesto-signature p {
		font-size: 8px;
		letter-spacing: 0.17em;
	}

}



/* Homepage product metadata */
.dr-product-grid .product .entry-meta,
.dr-product-grid .product .product_meta,
.dr-product-grid .product .product-categories,
.dr-product-grid .product .ct-product-categories,
.dr-product-grid .product .woocommerce-loop-category__title {
	display:none !important;
}

/* Keyboard focus */
.dr-hero-button:focus-visible,
.dr-root-card:focus-visible,
.dr-section-heading > a:focus-visible,
.dr-maker-link:focus-visible {
	outline:2px solid currentColor;
	outline-offset:4px;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion:reduce) {
	.dr-root-image img,
	.dr-product-grid ul.products li.product img,
	.dr-maker-image,
	.dr-hero-button,
	.dr-maker-link,
	.dr-maker-link::after,
	.dr-root-content::after { transition:none !important; }

	.dr-root-card:hover .dr-root-image img,
	.dr-product-grid ul.products li.product:hover img,
	.dr-maker-visual:hover .dr-maker-image,
	.dr-hero-button:hover,
	.dr-maker-link:hover::after { transform:none !important; }
}
