/* Elegant Crochet Studio — refined editorial atelier: emerald, blush, cream */

:root {
	--ecs-emerald: #1f4a3d;
	--ecs-emerald-dark: #163329;
	--ecs-blush: #c08579;
	--ecs-blush-dark: #a66c60;
	--ecs-bg: #faf6f0;
	--ecs-surface: #ffffff;
	--ecs-text: #23302a;
	--ecs-text-secondary: #6b7a72;
	--ecs-border: #e4ded2;
	--ecs-font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ecs-font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
	background: var(--ecs-bg);
	color: var(--ecs-text);
	font-family: var(--ecs-font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ecs-font-heading);
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	color: var(--ecs-text);
}

a { color: var(--ecs-emerald); }
a:hover, a:focus { opacity: 1; color: var(--ecs-blush-dark); }
.entry-title a { color: var(--ecs-text); }

/* Header: centered monogram + wordmark, tracked-caps nav */
.site-header {
	background: var(--ecs-surface);
	border-bottom: 1px solid var(--ecs-border);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow 0.25s ease;
}

.site-header.ecs-scrolled { box-shadow: 0 2px 18px rgba(35, 48, 42, 0.07); }

.site-header .wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 26px 24px;
	text-align: center;
}

.site-title, .site-title a {
	font-family: var(--ecs-font-heading);
	font-weight: 600;
	font-size: 30px;
	color: var(--ecs-text);
}

.site-title a {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.ecs-logo-mark { display: inline-flex; flex: 0 0 auto; line-height: 0; }
.ecs-logo-text em { font-style: italic; color: var(--ecs-emerald); }

.site-description {
	font-family: var(--ecs-font-body);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ecs-text-secondary);
	margin-top: 6px;
}

.nav-primary { border-top: 1px solid var(--ecs-border); }

.nav-primary .wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

.nav-primary ul.genesis-nav-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-primary .menu-item { list-style: none; }

.nav-primary .genesis-nav-menu a {
	display: inline-block;
	padding: 16px 0;
	color: var(--ecs-text);
	font-family: var(--ecs-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
}

.nav-primary .genesis-nav-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 10px;
	height: 1px;
	background: var(--ecs-blush);
	transition: right 0.25s ease;
}

.nav-primary .genesis-nav-menu a:hover,
.nav-primary .genesis-nav-menu a[aria-current="page"] {
	color: var(--ecs-emerald);
	opacity: 1;
}

.nav-primary .genesis-nav-menu a:hover::after,
.nav-primary .genesis-nav-menu a[aria-current="page"]::after { right: 0; }

/* Buttons — thin border, tracked caps, fill on hover */
.wp-block-button__link {
	border-radius: 3px !important;
	background: var(--ecs-emerald) !important;
	color: #fff !important;
	padding: 15px 30px !important;
	font-family: var(--ecs-font-body);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid var(--ecs-emerald) !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.wp-block-button__link:hover { background: var(--ecs-emerald-dark) !important; }

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--ecs-emerald) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--ecs-emerald) !important;
	color: #fff !important;
}

/* Section rhythm */
.ecs-section { max-width: 1240px; margin: 0 auto; padding: 56px 24px; }

.ecs-section-head { text-align: center; margin-bottom: 40px; }

.ecs-rule {
	width: 64px;
	height: 1px;
	background: var(--ecs-blush);
	margin: 0 auto 18px;
}

.ecs-eyebrow {
	display: block;
	font-family: var(--ecs-font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ecs-blush-dark);
	margin-bottom: 10px;
}

.ecs-section-head h2 { font-size: 34px; margin: 0; }
.ecs-section-head p { color: var(--ecs-text-secondary); margin: 14px auto 0; max-width: 560px; }

/* Hero — framed photo card with cream margin, text below */
.ecs-hero { max-width: 1240px; margin: 0 auto; padding: 40px 24px 0; text-align: center; }

.ecs-hero-frame {
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(35, 48, 42, 0.14);
	max-height: 520px;
}

.ecs-hero-frame img { width: 100%; height: 520px; object-fit: cover; display: block; }

.ecs-hero-content { max-width: 680px; margin: -70px auto 0; position: relative; z-index: 2; }

.ecs-hero-card {
	background: var(--ecs-surface);
	border-radius: 6px;
	padding: 40px 48px;
	box-shadow: 0 16px 40px rgba(35, 48, 42, 0.1);
}

.ecs-hero-title {
	font-size: clamp(32px, 4.4vw, 48px);
	line-height: 1.15;
	margin: 6px 0 16px;
}

.ecs-hero-sub { color: var(--ecs-text-secondary); margin: 0 0 28px; }

.ecs-hero-search {
	display: flex;
	max-width: 440px;
	margin: 0 auto;
	border: 1px solid var(--ecs-border);
	border-radius: 3px;
	overflow: hidden;
}

.ecs-hero-search-field {
	flex: 1;
	border: none;
	padding: 14px 18px;
	font-family: var(--ecs-font-body);
	font-size: 14px;
	background: var(--ecs-bg);
	color: var(--ecs-text);
}

.ecs-hero-search-field:focus { outline: none; }

.ecs-hero-search-submit {
	border: none;
	background: var(--ecs-emerald);
	color: #fff;
	padding: 14px 26px;
	font-family: var(--ecs-font-body);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ecs-hero-search-submit:hover { background: var(--ecs-emerald-dark); }

/* Stats strip */
.ecs-stats {
	display: flex;
	justify-content: center;
	gap: 64px;
	flex-wrap: wrap;
	text-align: center;
}

.ecs-stat-num {
	font-family: var(--ecs-font-heading);
	font-weight: 600;
	font-style: italic;
	font-size: 38px;
	color: var(--ecs-emerald);
	line-height: 1;
}

.ecs-stat-label {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ecs-text-secondary);
	margin-top: 8px;
}

/* Category cards — framed image, caption below (not overlaid) */
.ecs-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.ecs-cat-card { display: block; text-decoration: none !important; text-align: center; }

.ecs-cat-card figure {
	margin: 0 0 16px;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(35, 48, 42, 0.1);
}

.ecs-cat-card img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.ecs-cat-card:hover img { transform: scale(1.05); }

.ecs-cat-card h3 {
	font-size: 20px;
	margin: 0 0 4px;
	color: var(--ecs-text);
}

.ecs-cat-card .ecs-cat-link {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ecs-blush-dark);
}

/* How it works / promise strip */
.ecs-promise {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	text-align: center;
}

.ecs-promise-item h3 { font-size: 21px; margin: 14px 0 8px; }
.ecs-promise-item p { color: var(--ecs-text-secondary); margin: 0; font-size: 15px; }

.ecs-promise-icon {
	width: 56px;
	height: 56px;
	border-radius: 999px;
	border: 1px solid var(--ecs-blush);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	font-family: var(--ecs-font-heading);
	font-style: italic;
	font-size: 24px;
	color: var(--ecs-emerald);
}

/* Trust quote */
.ecs-quote {
	background: var(--ecs-emerald);
	color: #fff;
	border-radius: 6px;
	padding: 56px;
	text-align: center;
}

.ecs-quote blockquote::before {
	content: none;
}

.ecs-quote blockquote {
	margin: 0;
	font-family: var(--ecs-font-heading);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.5;
	max-width: 760px;
	margin: 0 auto;
}

.ecs-quote cite {
	display: block;
	margin-top: 20px;
	font-style: normal;
	font-family: var(--ecs-font-body);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

/* Callout */
.ecs-callout {
	background: var(--ecs-surface);
	border: 1px solid var(--ecs-border);
	border-radius: 6px;
	padding: 48px;
	text-align: center;
}

.ecs-callout-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 26px;
}

.ecs-callout-links a {
	padding: 12px 22px;
	border: 1px solid var(--ecs-emerald);
	border-radius: 3px;
	color: var(--ecs-emerald);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ecs-callout-links a:hover { background: var(--ecs-emerald); color: #fff; opacity: 1; }

/* About / newsletter split card */
.ecs-split-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(35, 48, 42, 0.1);
}

.ecs-split-card img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }

.ecs-split-text {
	background: var(--ecs-surface);
	padding: 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ecs-split-text p { color: var(--ecs-text-secondary); margin: 14px 0 24px; }

/* Footer */
.site-footer { background: var(--ecs-emerald); color: #f3ede2; }

.site-footer a {
	color: #f3ede2;
	opacity: 0.82;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.site-footer a:hover { opacity: 1; color: var(--ecs-blush); }

.site-footer .wrap { max-width: 1240px; margin: 0 auto; padding: 56px 24px 0; }

.ecs-footer-inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(243, 237, 226, 0.15);
}

.ecs-footer-brand {
	font-family: var(--ecs-font-heading);
	font-weight: 600;
	font-size: 21px;
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
}

.ecs-footer-brand em { font-style: italic; color: var(--ecs-blush); }
.ecs-footer-badge { display: inline-flex; line-height: 0; }

.ecs-footer-col h3 {
	font-family: var(--ecs-font-body);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #f3ede2;
	opacity: 0.7;
	margin: 0 0 16px;
}

.ecs-footer-col ul { list-style: none; margin: 0; padding: 0; }
.ecs-footer-col li { margin-bottom: 11px; }

.ecs-footer-bottom {
	padding: 22px 0;
	font-size: 12px;
	opacity: 0.65;
	text-align: center;
}

.ecs-footer-bottom p { margin: 0; }

/* Images, cards: subtle motion */
.entry-image img, .entry img, .wp-block-image img {
	transition: transform 0.35s ease;
	border-radius: 6px;
}

a:hover .entry-image img, a:hover.entry-image img { transform: scale(1.03); }

/* FAQ — thin-rule list, elegant */
.ecs-faq-item { border-bottom: 1px solid var(--ecs-border); padding: 22px 0; }

.ecs-faq-item summary {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
	font-family: var(--ecs-font-heading);
	font-size: 20px;
	font-weight: 600;
	color: var(--ecs-text);
}

.ecs-faq-item summary::-webkit-details-marker { display: none; }

.ecs-faq-item summary::after {
	content: "+";
	flex: 0 0 auto;
	margin-left: 16px;
	font-family: var(--ecs-font-body);
	font-size: 20px;
	color: var(--ecs-blush-dark);
	transition: transform 0.2s ease;
}

.ecs-faq-item[open] summary::after { transform: rotate(45deg); }

.ecs-faq-item p { margin: 14px 0 0; color: var(--ecs-text-secondary); }

/* Category photography (interior pages) */
.ecs-category-photo { margin: 0 0 20px; }
.ecs-category-photo img { width: 100%; height: 340px; object-fit: cover; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

@media (max-width: 900px) {
	.ecs-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.ecs-footer-inner { grid-template-columns: 1fr 1fr; }
	.ecs-promise { grid-template-columns: 1fr; gap: 32px; }
	.ecs-split-card { grid-template-columns: 1fr; }
	.ecs-split-card img { min-height: 240px; }
	.ecs-stats { gap: 36px; }
}

@media (max-width: 560px) {
	.ecs-cat-grid { grid-template-columns: 1fr; }
	.ecs-footer-inner { grid-template-columns: 1fr; }
	.ecs-hero-card { padding: 28px 24px; }
	.ecs-hero-frame img { height: 360px; }
	.ecs-quote, .ecs-callout { padding: 32px 24px; }
	.site-title, .site-title a { font-size: 22px; }
	.nav-primary ul.genesis-nav-menu { gap: 18px; }
}
