/* =====================================================
   Morning Routine Blocks - Frontend CSS
   Scoped to .mrb- prefixed classes only
   ===================================================== */

.mrb-section {
	font-family: "Manrope", system-ui, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: #3D362D;
	-webkit-font-smoothing: antialiased;
	padding: 90px 0;
	box-sizing: border-box;
}
.mrb-section *,
.mrb-section *::before,
.mrb-section *::after { box-sizing: border-box; }

.mrb-section h1,
.mrb-section h2,
.mrb-section h3,
.mrb-section h4 {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.1;
	margin: 0;
}
.mrb-section em { font-style: italic; font-weight: 400; }

.mrb-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 28px;
}

.mrb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 24px;
}
.mrb-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
}

.mrb-section-head { margin-bottom: 56px; max-width: 720px; }
.mrb-section-head h2 {
	font-size: clamp(34px, 4.4vw, 52px);
	font-weight: 400;
	margin-bottom: 18px;
}
.mrb-section-head p,
.mrb-section-sub { font-size: 18px; margin: 0; }

/* ====== BUTTONS ====== */
.mrb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
	text-decoration: none !important;
	line-height: 1;
}
.mrb-btn:hover { transform: translateY(-1px); }
.mrb-btn-secondary { border: 1.5px solid currentColor; }

/* ====== HERO ====== */
.mrb-hero-section { padding: 90px 0 60px; overflow: hidden; }
.mrb-hero {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 64px;
	align-items: center;
}
.mrb-hero h1 {
	font-size: clamp(42px, 6vw, 76px);
	font-weight: 400;
	margin-bottom: 24px;
}
.mrb-hero .mrb-lead {
	font-size: 19px;
	max-width: 540px;
	margin: 0 0 36px;
}
.mrb-hero-cta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}
.mrb-hero-visual {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(26, 22, 17, 0.08);
	background: linear-gradient(180deg, #F7C272 0%, #E9A23B 35%, #D96B4A 75%, #B85433 100%);
}
.mrb-hero-visual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mrb-hero-svg { position: absolute; inset: 0; }
.mrb-hero-svg svg {
	width: 100%; height: 100%;
}
.mrb-hero-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 75%, rgba(255,255,255,0.25), transparent 55%);
	pointer-events: none;
}
.mrb-hero-card {
	position: absolute;
	bottom: 24px;
	left: 24px;
	right: 24px;
	background: rgba(26, 22, 17, 0.85);
	backdrop-filter: blur(10px);
	color: #FAF4E8;
	padding: 18px 22px;
	border-radius: 12px;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 14px;
	line-height: 1.4;
	z-index: 2;
}
.mrb-hero-card-time {
	font-family: "Fraunces", Georgia, serif;
	font-size: 28px;
	font-weight: 500;
	color: #E9A23B;
	line-height: 1;
}
.mrb-hero-stats {
	margin-top: 80px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	padding-top: 36px;
	border-top: 1px solid #E8DBC0;
}
.mrb-stat-num {
	font-family: "Fraunces", Georgia, serif;
	font-size: 36px;
	line-height: 1;
}
.mrb-stat-label {
	font-size: 13px;
	margin-top: 8px;
	letter-spacing: 0.04em;
}

/* ====== ABOUT ====== */
.mrb-about-section { padding: 110px 0; }
.mrb-about-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 80px;
	align-items: start;
}
.mrb-amy-card {
	padding: 32px;
	border-radius: 18px;
}
.mrb-amy-photo {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 14px;
	background: linear-gradient(135deg, #F7C272, #D96B4A);
	margin-bottom: 24px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.mrb-amy-photo img {
	width: 100%; height: 100%; object-fit: cover;
}
.mrb-amy-initial {
	font-family: "Fraunces", Georgia, serif;
	font-size: 96px;
	font-style: italic;
	color: #fff;
}
.mrb-amy-name {
	font-family: "Fraunces", Georgia, serif;
	font-size: 24px;
	margin-bottom: 4px;
}
.mrb-amy-role { font-size: 14px; color: #6B6256; letter-spacing: 0.04em; }
.mrb-about-text p {
	font-size: 19px;
	line-height: 1.7;
	margin: 0 0 22px;
}
.mrb-about-text p.mrb-quote {
	font-family: "Fraunces", Georgia, serif;
	font-size: 28px;
	font-style: italic;
	line-height: 1.4;
	margin-bottom: 28px;
}
.mrb-about-text a { text-decoration: underline; text-underline-offset: 4px; }

/* ====== CATEGORIES ====== */
.mrb-cat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.mrb-cat-card {
	border: 1px solid;
	border-radius: 14px;
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-decoration: none !important;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
	position: relative;
	overflow: hidden;
}
.mrb-cat-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 6px; height: 100%;
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform .3s ease;
}
.mrb-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(26, 22, 17, 0.06);
	border-color: transparent !important;
}
.mrb-cat-card:hover::before { transform: scaleY(1); }
.mrb-cat-icon {
	width: 48px; height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}
.mrb-cat-card h3 { font-size: 22px; font-weight: 500; }
.mrb-cat-card p { margin: 0; font-size: 15px; line-height: 1.55; }
.mrb-cat-arrow { margin-top: 14px; font-size: 14px; font-weight: 600; }

/* ====== FEATURED POSTS ====== */
.mrb-post-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px;
}
.mrb-post-grid-right {
	display: grid;
	grid-template-rows: repeat(3, 1fr);
	gap: 20px;
}
.mrb-post-card {
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
	border: 1px solid #E8DBC0;
	transition: transform .25s ease, box-shadow .25s ease;
}
.mrb-post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(26, 22, 17, 0.06);
}
.mrb-post-thumb {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #F7C272, #D96B4A);
	position: relative;
}
.mrb-post-thumb::after {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.2), transparent 50%);
}
.mrb-post-body { padding: 26px 26px 28px; }
.mrb-post-meta {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	margin-bottom: 10px;
}
.mrb-post-card h3 {
	font-size: 24px;
	font-weight: 500;
	margin-bottom: 10px;
	line-height: 1.25;
}
.mrb-post-card p { margin: 0; font-size: 15px; }
.mrb-post-card-compact {
	display: grid;
	grid-template-columns: 140px 1fr;
}
.mrb-post-card-compact .mrb-post-thumb { aspect-ratio: auto; height: 100%; }
.mrb-post-card-compact .mrb-post-body { padding: 20px 22px; }
.mrb-post-card-compact h3 { font-size: 18px; margin-bottom: 6px; }
.mrb-post-card-compact p { font-size: 14px; }

/* ====== PILLARS ====== */
.mrb-pillar-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}
.mrb-pillar {
	padding-top: 28px;
	border-top: 2px solid;
}
.mrb-pillar-num {
	font-family: "Fraunces", Georgia, serif;
	font-size: 14px;
	letter-spacing: 0.15em;
	margin-bottom: 14px;
	font-weight: 600;
}
.mrb-pillar h3 { font-size: 26px; font-weight: 500; margin-bottom: 14px; line-height: 1.2; }
.mrb-pillar p { margin: 0; }

/* ====== NEWSLETTER ====== */
.mrb-news-section { position: relative; overflow: hidden; }
.mrb-news-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
	position: relative;
}
.mrb-news-section h2 {
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 400;
	margin-bottom: 20px;
}
.mrb-news-sub {
	font-size: 18px;
	margin: 0 0 32px;
	max-width: 480px;
}
.mrb-signup-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	max-width: 520px;
}
.mrb-signup-form input[type="email"] {
	flex: 1;
	min-width: 220px;
	padding: 16px 20px;
	border-radius: 999px;
	border: 1px solid rgba(250, 244, 232, 0.2);
	background: rgba(250, 244, 232, 0.08);
	color: #FAF4E8;
	font-family: "Manrope", sans-serif;
	font-size: 15px;
	outline: none;
}
.mrb-signup-form input[type="email"]::placeholder { color: rgba(250, 244, 232, 0.45); }
.mrb-signup-form input[type="email"]:focus { border-color: #E9A23B; }
.mrb-signup-form button {
	border: 0;
	padding: 16px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	font-family: "Manrope", sans-serif;
	transition: background .2s ease, color .2s ease;
}
.mrb-signup-message {
	margin-top: 14px;
	font-size: 14px;
	min-height: 20px;
}
.mrb-signup-message.success { color: #8BD18B; }
.mrb-signup-message.error { color: #F5A380; }
.mrb-signup-note { margin-top: 14px; font-size: 13px; }
.mrb-envelope-letter {
	border-radius: 14px;
	padding: 36px;
	font-family: "Fraunces", Georgia, serif;
	font-style: italic;
	font-size: 22px;
	line-height: 1.5;
	box-shadow: 0 20px 50px rgba(26, 22, 17, 0.15);
	transform: rotate(-2deg);
}
.mrb-envelope-letter .mrb-signature {
	font-size: 28px;
	margin-top: 24px;
}

/* ====== FAQ ====== */
.mrb-faq-list { border-top: 1px solid; }
.mrb-faq-item {
	border-bottom: 1px solid;
	padding: 26px 0;
}
.mrb-faq-item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	font-family: "Fraunces", Georgia, serif;
	font-size: 22px;
	font-weight: 500;
}
.mrb-faq-item summary::-webkit-details-marker { display: none; }
.mrb-faq-item summary::after {
	content: "+";
	font-family: "Manrope", sans-serif;
	font-size: 28px;
	font-weight: 300;
	transition: transform .25s ease;
	line-height: 1;
}
.mrb-faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.mrb-faq-item p {
	margin: 14px 0 0;
	font-size: 16px;
	max-width: 800px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 960px) {
	.mrb-hero { grid-template-columns: 1fr; gap: 48px; }
	.mrb-hero-stats { grid-template-columns: repeat(2, 1fr); }
	.mrb-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.mrb-post-grid { grid-template-columns: 1fr; }
	.mrb-pillar-grid { grid-template-columns: 1fr; gap: 28px; }
	.mrb-about-grid { grid-template-columns: 1fr; gap: 40px; }
	.mrb-news-inner { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 640px) {
	.mrb-section { padding: 64px 0; font-size: 16px; }
	.mrb-hero-section { padding: 60px 0 40px; }
	.mrb-about-section { padding: 70px 0; }
	.mrb-cat-grid { grid-template-columns: 1fr; }
	.mrb-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 50px; }
	.mrb-stat-num { font-size: 28px; }
	.mrb-container { padding: 0 20px; }
	.mrb-post-card-compact { grid-template-columns: 100px 1fr; }
	.mrb-amy-card { padding: 24px; }
	.mrb-amy-initial { font-size: 70px; }
	.mrb-about-text p.mrb-quote { font-size: 22px; }
	.mrb-section-head { margin-bottom: 40px; }
	.mrb-envelope-letter { padding: 26px; font-size: 18px; }
}
