/* =========================================================================
   Mathilde — typography.css
   Serif display headings + clean sans body, editorial rhythm.
   ========================================================================= */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: var(--lh-tight);
	color: var(--c-ink);
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

p {
	margin: 0 0 1.4em;
}

strong, b { font-weight: 600; color: var(--c-ink); }
em, i { font-style: italic; }

small { font-size: 0.82em; color: var(--c-text-soft); }

blockquote {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.45;
	color: var(--c-ink);
	border-left: 3px solid var(--c-accent);
	padding: 0.2em 0 0.2em 1.4em;
	margin: var(--space-7) 0;
}

blockquote cite {
	display: block;
	font-family: var(--font-eyebrow);
	font-size: 0.78rem;
	font-style: normal;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-text-soft);
	margin-top: var(--space-4);
}

/* Eyebrow / kicker labels — the rose uppercase tags in the mockups */
.m-eyebrow {
	display: inline-block;
	font-family: var(--font-eyebrow);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--c-text-soft);
	line-height: 1.2;
}

.m-eyebrow--cat {
	color: var(--c-accent);
}

a.m-eyebrow--cat:hover {
	color: var(--c-accent-ink);
}

/* Section titles in the homepage blocks ("FASHION POSTS" etc.) */
.m-section-title {
	font-family: var(--font-eyebrow);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-ink);
}

/* Large serif display title used for category headers / hero copy */
.m-display {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.015em;
}

/* The article body — generous measure & rhythm */
.m-prose {
	font-size: 1.08rem;
	line-height: 1.85;
	color: #34302d;
}

.m-prose p { margin-bottom: 1.6em; }

.m-prose h2 {
	font-size: clamp(1.5rem, 2.4vw, 1.95rem);
	margin: 1.8em 0 0.6em;
}

.m-prose h3 {
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
	margin: 1.6em 0 0.5em;
}

.m-prose a {
	color: var(--c-accent-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: var(--c-blush-deep);
}

.m-prose a:hover {
	text-decoration-color: var(--c-accent);
}

.m-prose ul,
.m-prose ol {
	margin: 0 0 1.6em;
	padding-left: 1.4em;
}

.m-prose ul { list-style: none; }

.m-prose ul li {
	position: relative;
	margin-bottom: 0.6em;
	padding-left: 0.2em;
}

.m-prose ul li::before {
	content: "";
	position: absolute;
	left: -1.1em;
	top: 0.72em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c-accent);
}

.m-prose ol {
	list-style: decimal;
}

.m-prose ol li {
	margin-bottom: 0.6em;
	padding-left: 0.3em;
}

.m-prose img,
.m-prose figure {
	margin: var(--space-7) 0;
	border-radius: var(--radius);
}

.m-prose figure img { margin: 0; }

.m-prose figcaption {
	font-size: 0.85rem;
	color: var(--c-text-soft);
	text-align: center;
	margin-top: var(--space-3);
}

.m-prose > *:first-child { margin-top: 0; }

/* Drop the first paragraph slightly larger for editorial feel */
.m-prose > p:first-of-type {
	font-size: 1.18rem;
	color: var(--c-ink);
}

/* Code */
code, kbd, pre {
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.m-prose code {
	background: var(--c-surface-alt);
	padding: 0.15em 0.4em;
	border-radius: 3px;
}

.m-prose pre {
	background: var(--c-ink);
	color: #f4eee9;
	padding: var(--space-5);
	border-radius: var(--radius);
	overflow-x: auto;
	margin: var(--space-6) 0;
}

.m-prose pre code { background: none; padding: 0; }

/* Tables */
.m-prose table {
	width: 100%;
	border-collapse: collapse;
	margin: var(--space-6) 0;
	font-size: 0.95rem;
}

.m-prose th,
.m-prose td {
	text-align: left;
	padding: var(--space-3) var(--space-4);
	border-bottom: 1px solid var(--c-border);
}

.m-prose thead th {
	font-family: var(--font-eyebrow);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-text-soft);
}
