/* Neumorimite Depeshata — landing page for the newsletter, styled to match neumorimite.org */

.nmd-page {
	--nmd-navy: #111143;
	--nmd-navy-soft: #2A2A55;
	--nmd-muted: #4A4A6E;
	--nmd-muted-2: #3A3A5E;
	--nmd-accent: #FF6634;
	--nmd-accent-dark: #C8471B;
	--nmd-cream: #F5F6EE;
	--nmd-bg: #F8F8F6;
	--nmd-line: #C9CADA;

	font-family: "Nunito Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--nmd-navy);
	background: transparent;
	display: flex;
	flex-direction: column;
	gap: 88px;
	width: 100%;
}

.nmd-serif {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 500;
}

.nmd-page *,
.nmd-page *::before,
.nmd-page *::after {
	box-sizing: border-box;
}

.nmd-page a {
	color: var(--nmd-navy);
}

.nmd-page a:hover {
	color: var(--nmd-accent);
}

.nmd-page p {
	margin: 0;
}

.nmd-h2 {
	margin: 0;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 40px;
	line-height: 1.15;
}

.nmd-h2--sm {
	font-size: 32px;
}

.nmd-muted {
	margin: 0;
	font-size: 15px;
	color: var(--nmd-muted);
}

.nmd-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--nmd-accent-dark);
}

.nmd-eyebrow--light {
	color: var(--nmd-accent);
}

.nmd-eyebrow__dash {
	display: flex;
	gap: 6px;
	align-items: center;
}

.nmd-eyebrow__dash span:first-child {
	width: 22px;
	height: 5px;
	border-radius: 3px;
	background: currentColor;
}

.nmd-eyebrow__dash span:not(:first-child) {
	width: 6px;
	height: 6px;
	border-radius: 3px;
	background: currentColor;
}

.nmd-dot {
	color: var(--nmd-accent);
}

/* ---- Breadcrumb ---- */
.nmd-crumbs {
	font-size: 14px;
	color: var(--nmd-muted);
}

.nmd-crumbs a {
	color: var(--nmd-muted);
	text-decoration: none;
}

.nmd-crumbs a:hover {
	color: var(--nmd-accent);
}

.nmd-crumbs span[aria-hidden] {
	margin: 0 6px;
}

.nmd-crumbs__current {
	color: var(--nmd-navy);
	font-weight: 600;
}

/* ---- Hero + subscribe (single navy box, two columns — matches original mockup) ---- */
.nmd-hero {
	background: var(--nmd-navy);
	border-radius: 28px;
	padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 56px);
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: center;
	color: var(--nmd-cream);
}

.nmd-eyebrow--on-navy {
	color: #AEB0D4;
}

.nmd-hero__text {
	flex: 1 1 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.nmd-hero__title {
	margin: 0;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #fff;
}

.nmd-hero__text-copy {
	margin: 0;
	max-width: 560px;
	font-size: 18px;
	line-height: 1.6;
	color: #D9DAE6;
}

.nmd-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}

/* ---- Subscribe card (right column inside the hero box) ---- */
.nmd-subscribe {
	flex: 1 1 340px;
	min-width: 0;
	max-width: 400px;
	background: var(--nmd-cream);
	color: var(--nmd-navy);
	border-radius: 22px;
	padding: clamp(24px, 3vw, 36px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.nmd-subscribe__title {
	margin: 0;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 1.2;
	color: var(--nmd-navy);
}

.nmd-subscribe__text {
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--nmd-muted-2);
}

.nmd-subscribe .nmd-btn {
	width: 100%;
	justify-content: center;
}

.nmd-subscribe__readers {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--nmd-navy);
}

.nmd-subscribe__privacy {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--nmd-muted);
}

.nmd-subscribe__privacy a {
	color: var(--nmd-muted);
}

/* ---- Buttons ---- */
.nmd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 28px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.nmd-btn--navy {
	background: var(--nmd-navy);
	color: #fff !important;
}

.nmd-btn--navy:hover {
	background: var(--nmd-accent-dark);
	transform: translateY(-1px);
}

.nmd-btn--accent {
	background: var(--nmd-accent);
	color: #fff !important;
}

.nmd-btn--accent:hover {
	background: var(--nmd-accent-dark);
	transform: translateY(-1px);
}

.nmd-subscribe .nmd-btn--navy {
	background: var(--nmd-accent);
}

.nmd-subscribe .nmd-btn--navy:hover {
	background: var(--nmd-accent-dark);
	color: #fff !important;
}

/* ---- Archive ---- */
.nmd-archive {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.nmd-archive__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
}

.nmd-archive__head > div:first-child {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nmd-archive__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.nmd-issue {
	text-decoration: none;
	color: var(--nmd-navy);
	background: #fff;
	border-radius: 22px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nmd-issue:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(17, 17, 67, 0.12);
	color: var(--nmd-navy);
}

.nmd-issue__shot {
	background: var(--nmd-navy);
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.nmd-issue__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}

.nmd-issue:hover .nmd-issue__shot img {
	transform: scale(1.02);
}

.nmd-issue__body {
	padding: 28px 32px 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}

.nmd-issue__row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	font-weight: 700;
	color: var(--nmd-muted);
}

.nmd-issue__title {
	margin: 0;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.25;
}

.nmd-issue__excerpt {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--nmd-muted-2);
}

.nmd-issue__link {
	margin-top: auto;
	padding-top: 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--nmd-accent-dark);
	text-decoration: none;
}

.nmd-issue--upcoming {
	border: 1.5px dashed #9A9BB5;
	border-radius: 22px;
	padding: 32px;
	justify-content: center;
	gap: 14px;
	min-height: 240px;
	color: var(--nmd-muted);
}

.nmd-issue--upcoming .nmd-issue__title {
	color: var(--nmd-navy);
}

.nmd-issue--upcoming .nmd-issue__excerpt {
	color: var(--nmd-muted);
}

/* ---- Split sections (why / how) ---- */
.nmd-split {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: flex-start;
}

.nmd-split--rule {
	border-top: 1.5px solid var(--nmd-navy);
	padding-top: 56px;
	gap: 48px;
}

.nmd-split__label {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nmd-split__body {
	flex: 2 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-size: 18px;
	line-height: 1.65;
	color: var(--nmd-navy-soft);
}

/* ---- Features (what's inside) ---- */
.nmd-features {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.nmd-features__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 680px;
}

.nmd-features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.nmd-feature {
	background: #fff;
	border-radius: 22px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.nmd-feature__num {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 34px;
	color: var(--nmd-accent);
}

.nmd-feature__title {
	margin: 0;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
}

.nmd-feature p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--nmd-muted-2);
}

/* ---- Author card ---- */
.nmd-author {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	background: #fff;
	border-radius: 22px;
	padding: 24px;
}

.nmd-author__photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.nmd-author__body {
	flex: 1 1 240px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nmd-author__name {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-weight: 500;
	font-size: 22px;
	line-height: 1.25;
	color: var(--nmd-navy);
}

.nmd-author__bio {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--nmd-muted-2);
}

/* ---- FAQ ---- */
.nmd-faq {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: flex-start;
}

.nmd-faq__label {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nmd-faq__list {
	flex: 2 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.nmd-faq__item {
	border-top: 1px solid var(--nmd-line);
	padding: 22px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nmd-faq__q {
	margin: 0;
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
}

.nmd-faq__a {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--nmd-muted-2);
}

/* ---- Bottom CTA ---- */
.nmd-cta {
	background: #fff;
	border-radius: 28px;
	padding: clamp(28px, 5vw, 56px);
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
	justify-content: space-between;
}

.nmd-cta__text {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nmd-cta__text p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--nmd-muted-2);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
	.nmd-page {
		gap: 56px;
	}

	.nmd-hero,
	.nmd-split,
	.nmd-split--rule,
	.nmd-faq,
	.nmd-cta {
		gap: 32px;
	}

	.nmd-h2 {
		font-size: 28px;
	}

	.nmd-split__body {
		font-size: 16px;
	}
}

/* ---- Scroll-reveal animations ---- */
.nmd-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: calc(var(--nmd-delay, 0) * 90ms);
}

.nmd-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.nmd-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

