/* ==========================================================================
   The Mia Menu – main stylesheet
   ========================================================================== */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-italic.woff2") format("woff2");
	font-weight: 300 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/instrument-sans.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ivory: #F7F4EE;
	--paper: #FFFCF7;
	--sand: #E7DAC9;
	--sand-soft: #EFE7DC;
	--wood: #44392F;
	--wood-soft: #6B5D50;
	--sage: #A3B3A1;
	--sage-soft: #E1E7DE;
	--terracotta: #C97E60;
	--terracotta-ink: #A55A3C;
	--line: rgba(68, 57, 47, .16);

	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--radius-lg: 24px;
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 13.2c-2.9 0-5.6 2.7-5.6 5 0 1.6 1.3 2.4 2.9 2.4 1.1 0 1.8-.5 2.7-.5s1.6.5 2.7.5c1.6 0 2.9-.8 2.9-2.4 0-2.3-2.7-5-5.6-5zM5.1 12.6c1.3-.3 1.9-1.9 1.5-3.4-.4-1.5-1.8-2.5-3-2.2-1.3.3-1.9 1.9-1.5 3.4.4 1.5 1.7 2.5 3 2.2zm3.9-3.8c1.5 0 2.6-1.6 2.6-3.4S10.5 2 9 2 6.4 3.6 6.4 5.4 7.5 8.8 9 8.8zm6 0c1.5 0 2.6-1.6 2.6-3.4S16.5 2 15 2s-2.6 1.6-2.6 3.4 1.1 3.4 2.6 3.4zm5.4-1.8c-1.3-.3-2.6.7-3 2.2-.4 1.5.2 3.1 1.5 3.4 1.3.3 2.6-.7 3-2.2.4-1.5-.2-3.1-1.5-3.4z'/%3E%3C/svg%3E");
}

/* Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}
html.nav-open { overflow: hidden; }

body {
	margin: 0;
	background: var(--ivory);
	color: var(--wood);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 420;
	font-optical-sizing: auto;
	line-height: 1.12;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

a {
	color: var(--terracotta-ink);
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}
a:hover { color: var(--wood); }

:focus-visible {
	outline: 3px solid var(--terracotta-ink);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection { background: var(--sand); color: var(--wood); }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--wood);
	color: var(--ivory);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--ivory); }

.paw {
	display: inline-block;
	width: 1em; height: 1em;
	vertical-align: -.12em;
	color: var(--terracotta);
}

/* Small UI ---------------------------------------------------------------- */

.eyebrow {
	font-family: var(--sans);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wood-soft);
	margin: 0 0 .9rem;
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--accent { color: var(--terracotta-ink); }

.button {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .85em 1.5em;
	border-radius: 999px;
	background: var(--wood);
	color: var(--ivory);
	font-weight: 600;
	font-size: .97rem;
	line-height: 1.2;
	text-decoration: none;
	border: 1.5px solid var(--wood);
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.button:hover { background: var(--terracotta-ink); border-color: var(--terracotta-ink); color: var(--paper); }
.button--ghost { background: transparent; color: var(--wood); }
.button--ghost:hover { background: var(--wood); border-color: var(--wood); color: var(--ivory); }

.link-arrow {
	font-weight: 600;
	color: var(--wood);
	text-decoration: underline;
	text-decoration-color: var(--terracotta);
	text-decoration-thickness: 2px;
	text-underline-offset: .3em;
}
.link-arrow::after {
	content: "→";
	display: inline-block;
	margin-left: .35em;
	transition: transform .25s var(--ease);
}
.link-arrow:hover { color: var(--terracotta-ink); }
.link-arrow:hover::after { transform: translateX(3px); }

.section-head { margin-bottom: clamp(24px, 4vw, 40px); max-width: 720px; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 0; }

/* Header -------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 244, 238, .92);
	-webkit-backdrop-filter: saturate(1.2) blur(10px);
	backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid var(--line);
}
/* backdrop-filter would make the fixed mobile menu panel size itself to the header. */
.site-header.is-open {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: var(--ivory);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.logo {
	display: inline-flex;
	align-items: baseline;
	gap: .3em;
	color: var(--wood);
	text-decoration: none;
	font-family: var(--serif);
	line-height: 1;
	white-space: nowrap;
}
.logo__the {
	font-style: italic;
	font-weight: 380;
	font-size: 1.05rem;
	color: var(--terracotta-ink);
}
.logo__name {
	font-size: 1.6rem;
	font-weight: 480;
	letter-spacing: -.02em;
}
.logo:hover { color: var(--wood); }

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	margin-right: -8px;
	background: none;
	border: 0;
	border-radius: 999px;
	color: var(--wood);
	font: 600 .92rem/1 var(--sans);
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 20px;
	height: 1.75px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.is-open .nav-toggle__bars { background: transparent; }
.is-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav .menu a {
	color: var(--wood);
	text-decoration: none;
}
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current-page-ancestor > a,
.site-nav .menu .current-post-ancestor > a,
.site-nav .menu .current-menu-parent > a {
	text-decoration: underline;
	text-decoration-color: var(--terracotta);
	text-decoration-thickness: 2px;
	text-underline-offset: .45em;
}

.lang-switch {
	display: inline-flex;
	list-style: none;
	margin: 0;
	padding: 3px;
	border: 1px solid var(--line);
	border-radius: 999px;
}
.lang-switch a {
	display: block;
	padding: 4px 10px;
	border-radius: 999px;
	color: var(--wood-soft);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-decoration: none;
}
.lang-switch a:hover { color: var(--wood); }
.lang-switch a.is-current { background: var(--wood); color: var(--ivory); }

@media (max-width: 959px) {
	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		padding: 28px var(--gutter) 40px;
		background: var(--ivory);
		display: flex;
		flex-direction: column;
		gap: 32px;
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
	}
	.admin-bar .site-nav { inset-block-start: calc(var(--header-h) + 46px); }
	.is-open .site-nav {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity .25s var(--ease), transform .25s var(--ease);
	}
	.site-nav .menu li { border-bottom: 1px solid var(--line); }
	.site-nav .menu a {
		display: block;
		padding: 16px 0;
		font-family: var(--serif);
		font-size: 1.7rem;
		line-height: 1.15;
	}
	.site-nav .lang-switch { align-self: flex-start; }
	.site-nav .lang-switch a { font-size: .95rem; padding: 8px 16px; }
}

@media (min-width: 960px) {
	.nav-toggle { display: none; }
	.site-nav { display: flex; align-items: center; gap: 28px; }
	.site-nav .menu { display: flex; gap: 26px; }
	.site-nav .menu a { font-size: .95rem; font-weight: 500; padding: 8px 0; }
	.site-nav .menu a:hover { color: var(--terracotta-ink); }
}

/* Breadcrumbs ----------------------------------------------------------------- */

.breadcrumbs { padding-top: 24px; font-size: .85rem; color: var(--wood-soft); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 .55em; color: var(--sand); color: rgba(68, 57, 47, .35); }
.breadcrumbs a { color: var(--wood-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--terracotta-ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--wood); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52ch; }

/* Homepage: hero --------------------------------------------------------------- */

.hero { padding-block: clamp(32px, 6vw, 88px) clamp(48px, 7vw, 104px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
	font-size: clamp(2.7rem, 6.4vw, 5.2rem);
	font-weight: 380;
	line-height: 1.02;
	letter-spacing: -.03em;
	margin-bottom: .35em;
}
.hero__paw .paw { width: .62em; height: .62em; vertical-align: .05em; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--wood-soft); max-width: 40ch; margin-bottom: 1.6em; }

.hero__media { position: relative; margin: 0; }
.hero__media::before {
	content: "";
	position: absolute;
	inset: 7% -5% -5% 9%;
	border-radius: var(--radius-lg);
	background: var(--sage);
	opacity: .55;
	z-index: -1;
}
.hero__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--radius-lg);
}
.hero__media figcaption {
	position: absolute;
	left: 16px; bottom: 16px;
	max-width: calc(100% - 32px);
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 252, 247, .92);
	font-size: .8rem;
	font-weight: 500;
	line-height: 1.3;
}

@media (min-width: 900px) {
	.hero__grid { grid-template-columns: 1.08fr .92fr; }
}
@media (max-width: 899px) {
	.hero__media { margin-right: 4%; }
}

/* Homepage: intro ------------------------------------------------------------------ */

.intro { background: var(--sand-soft); padding-block: clamp(48px, 7vw, 96px); }
.intro__grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.intro__media img {
	width: 100%;
	max-width: 380px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
}
.intro__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-style: italic; font-weight: 360; max-width: 20ch; }
.intro__text p { max-width: 58ch; }
@media (min-width: 800px) {
	.intro__grid { grid-template-columns: minmax(260px, 380px) 1fr; }
}
@media (max-width: 799px) {
	.intro__media img { max-width: 70%; }
}

/* Homepage: hub cards ------------------------------------------------------------- */

.menu-section { padding-block: clamp(56px, 8vw, 112px); }
.hub-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(20px, 2.6vw, 32px);
	grid-template-columns: 1fr;
}
@media (min-width: 560px) { .hub-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hub-cards { grid-template-columns: repeat(4, 1fr); } }
.hub-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--wood);
	text-decoration: none;
}
.hub-card__media {
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--sand);
	margin-bottom: 18px;
}
.hub-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hub-card__link:hover .hub-card__media img { transform: scale(1.035); }
.hub-card__num {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1rem;
	color: var(--terracotta-ink);
}
.hub-card__title {
	font-family: var(--serif);
	font-size: 1.55rem;
	line-height: 1.15;
	letter-spacing: -.015em;
	margin: 2px 0 8px;
}
.hub-card__link:hover .hub-card__title { color: var(--terracotta-ink); }
.hub-card__text { color: var(--wood-soft); font-size: .97rem; flex: 1; }
.hub-card__count {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px dotted rgba(68, 57, 47, .4);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--wood-soft);
}

/* Cards ---------------------------------------------------------------------------- */

.latest { padding-block: 0 clamp(56px, 8vw, 112px); }

.card-grid {
	display: grid;
	gap: clamp(28px, 3vw, 40px) clamp(20px, 2.6vw, 32px);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.card { display: flex; flex-direction: column; }
.card__media {
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--sand);
	margin-bottom: 18px;
	text-decoration: none;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.card__media--empty {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 1px 1px, rgba(68, 57, 47, .13) 1px, transparent 0) 0 0 / 14px 14px,
		var(--sand);
}
.card__placeholder {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
	color: var(--wood);
	padding: 6px 18px;
	background: var(--sand);
	border-radius: 999px;
}
.card .eyebrow { margin-bottom: .5rem; }
.card__title { font-size: 1.4rem; line-height: 1.2; margin: 0 0 .45em; }
.card__title a { color: var(--wood); text-decoration: none; }
.card__title a:hover { color: var(--terracotta-ink); text-decoration: underline; text-decoration-thickness: 1px; }
.card__excerpt { color: var(--wood-soft); font-size: .97rem; margin-bottom: .8em; }
.card__meta { font-size: .82rem; color: var(--wood-soft); margin: auto 0 0; }

/* Featured --------------------------------------------------------------------------- */

.featured { padding-block: 0 clamp(56px, 8vw, 112px); }
.featured__grid {
	display: grid;
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	padding-top: clamp(40px, 6vw, 80px);
	border-top: 1px solid var(--line);
}
.featured__media { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
.featured__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.featured__media:hover img { transform: scale(1.025); }
.featured__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.featured__title a { color: var(--wood); text-decoration: none; }
.featured__title a:hover { color: var(--terracotta-ink); }
.featured__text > p:not(.eyebrow):not(.card__meta) { color: var(--wood-soft); font-size: 1.08rem; max-width: 46ch; }
@media (min-width: 900px) {
	.featured__grid { grid-template-columns: 1.3fr 1fr; }
}

/* Promise / Mia's verdict ---------------------------------------------------------- */

.promise { padding-block: 0 clamp(56px, 8vw, 112px); }
.promise__panel {
	display: grid;
	gap: clamp(24px, 4vw, 64px);
	padding: clamp(28px, 5vw, 64px);
	border-radius: var(--radius-lg);
	background: var(--sage-soft);
}
.promise__intro p:not(.eyebrow) { max-width: 52ch; }
.verdict-card {
	align-self: center;
	padding: clamp(22px, 3vw, 30px);
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--sand);
	box-shadow: 0 18px 40px -28px rgba(68, 57, 47, .35);
	transform: rotate(-1.2deg);
}
.verdict-card__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 6px 14px 6px 12px;
	border-radius: 999px;
	background: var(--terracotta-ink);
	color: var(--paper);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.2;
}
.verdict-card__label .paw { color: var(--paper); width: 14px; height: 14px; }
.verdict-card dl { margin: 0; }
.verdict-card dl div {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
}
.verdict-card dt { font-weight: 650; font-size: .95rem; white-space: nowrap; }
.verdict-card dd {
	flex: 1;
	margin: 0;
	height: .7em;
	border-bottom: 1.5px dotted rgba(68, 57, 47, .35);
}
@media (min-width: 900px) {
	.promise__panel { grid-template-columns: 1fr 1fr; }
}

/* Instagram ------------------------------------------------------------------------- */

.insta { padding-block: 0 clamp(64px, 9vw, 120px); }
.insta__grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
.insta__photos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.insta__photos a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.insta__photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.insta__photos a:hover img { transform: scale(1.04); }
@media (min-width: 900px) {
	.insta__grid { grid-template-columns: .8fr 1.2fr; }
	.insta__photos { grid-template-columns: repeat(4, 1fr); }
	.insta__photos li:nth-child(even) { transform: translateY(18px); }
}

/* Article --------------------------------------------------------------------------- */

.article-head { padding-block: clamp(24px, 4vw, 48px) clamp(32px, 5vw, 64px); }
.article-head__grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: end; }
.article-head__title { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 400; line-height: 1.05; letter-spacing: -.025em; margin-bottom: .4em; }
.article-head__lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--wood-soft); max-width: 46ch; }
.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	font-size: .88rem;
	color: var(--wood-soft);
	margin: 1.4em 0 0;
}
.article-meta span + span::before { content: "·"; margin: 0 .6em; }
.article-meta a { color: var(--wood); }
.article-head__media { margin: 0; }
.article-head__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-lg);
}
.article-head__media figcaption,
.prose figcaption,
.prose .wp-element-caption {
	margin-top: 10px;
	font-size: .85rem;
	color: var(--wood-soft);
}
.article-head--plain .article-head__text { max-width: 860px; }
.article-head--plain .article-head__grid {
	padding-bottom: clamp(28px, 4vw, 48px);
	border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
	.article-head--media .article-head__grid { grid-template-columns: 1.15fr .85fr; }
	.article-head__media img { aspect-ratio: 4 / 5; max-height: 640px; }
	.article-head--media .article-head__grid:has(.article-head__media--landscape) { grid-template-columns: 1fr 1fr; }
	.article-head__media--landscape img { aspect-ratio: 4 / 3; }
}

.article-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: clamp(56px, 8vw, 96px); }
.prose { min-width: 0; }
.article-body .prose { width: 100%; max-width: 700px; }
@media (min-width: 1100px) {
	.article-body--toc { grid-template-columns: 250px minmax(0, 700px); gap: 72px; }
	.article-body:not(.article-body--toc) .prose { margin-inline: auto; }
}
@media (max-width: 1099px) {
	.article-body .prose { margin-inline: auto; }
	.toc { max-width: 700px; width: 100%; margin-inline: auto; }
}

/* Table of contents */
.toc__details {
	background: var(--sand-soft);
	border-radius: var(--radius);
	padding: 4px 20px;
}
.toc__title {
	list-style: none;
	cursor: pointer;
	padding: 14px 0;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after {
	content: "";
	width: 8px; height: 8px;
	border-right: 1.75px solid currentColor;
	border-bottom: 1.75px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s var(--ease);
}
.toc__details[open] .toc__title::after { transform: rotate(-135deg); }
.toc__list {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	counter-reset: toc;
	font-size: .92rem;
	line-height: 1.4;
}
.toc__list li { counter-increment: toc; display: flex; gap: 10px; padding: 7px 0; border-top: 1px dotted rgba(68, 57, 47, .3); }
.toc__list li::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--terracotta-ink); font-size: .85rem; padding-top: .05em; }
.toc__list a { color: var(--wood); text-decoration: none; }
.toc__list a:hover { color: var(--terracotta-ink); text-decoration: underline; }
@media (min-width: 1100px) {
	.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
	.toc__details { background: none; padding: 0; }
	.toc__title { cursor: default; padding-top: 0; pointer-events: none; }
	.toc__title::after { display: none; }
}

/* Prose ----------------------------------------------------------------------------- */

.prose { font-size: 1.0625rem; line-height: 1.75; }
@media (min-width: 900px) { .prose { font-size: 1.125rem; } }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	margin: 2.2em 0 .6em;
	scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose ol li::marker { color: var(--terracotta-ink); font-weight: 600; }
.prose ul li::marker { color: var(--terracotta); }
.prose strong { font-weight: 650; }
.prose a { color: var(--terracotta-ink); }
.prose a:hover { color: var(--wood); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose blockquote {
	margin: 1.8em 0;
	padding: 0 0 0 1.2em;
	border-left: 3px solid var(--terracotta);
	font-family: var(--serif);
	font-size: 1.25em;
	line-height: 1.45;
}
.prose figure { margin: 2em 0; }
.prose .wp-block-image img { border-radius: var(--radius); }
.prose .is-style-mia-lead,
.prose--page > p:first-child { font-size: 1.2em; line-height: 1.6; color: var(--wood); }

.prose .wp-block-gallery.has-nested-images {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: clamp(8px, 1.5vw, 12px);
	margin: 2em 0;
}
.prose .wp-block-gallery.has-nested-images.columns-3 { grid-template-columns: repeat(3, 1fr); }
.prose .wp-block-gallery.has-nested-images.columns-2 { grid-template-columns: repeat(2, 1fr); }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image {
	width: auto !important;
	margin: 0;
}
.prose .wp-block-gallery .wp-block-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--radius);
}

/* Tables */
.prose .wp-block-table { overflow-x: auto; margin: 2em 0; -webkit-overflow-scrolling: touch; }
.prose table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: .93rem;
	line-height: 1.5;
	background: var(--paper);
	border-radius: var(--radius);
	overflow: hidden;
}
.prose th, .prose td,
.prose .wp-block-table th, .prose .wp-block-table td { text-align: left; vertical-align: top; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); }
.prose .wp-block-table thead { border-bottom: 0; }
.prose thead th { background: var(--sand); font-weight: 650; border-bottom: 0; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose .is-style-mia-compare td:first-child { font-weight: 650; color: var(--wood); width: 26%; }
.prose .wp-block-table figcaption { font-size: .85rem; }

/* Mia boxes (block styles on the Group block) */
.prose .is-style-mia-tip,
.prose .is-style-mia-verdict,
.prose .is-style-mia-note {
	margin: 2.2em 0;
	padding: clamp(22px, 3vw, 30px);
	border-radius: var(--radius);
}
.prose .is-style-mia-tip > :last-child,
.prose .is-style-mia-verdict > :last-child,
.prose .is-style-mia-note > :last-child { margin-bottom: 0; }

.prose .is-style-mia-tip { background: var(--sage-soft); }
.prose .is-style-mia-verdict {
	background: var(--paper);
	border: 1px solid var(--sand);
	box-shadow: 0 1px 0 var(--sand), 0 18px 40px -28px rgba(68, 57, 47, .35);
}
.prose .is-style-mia-verdict p { margin-bottom: .7em; }
.prose .is-style-mia-note {
	background: var(--sand-soft);
	font-size: .95em;
	border-left: 3px solid var(--terracotta-ink);
	border-radius: 0 var(--radius) var(--radius) 0;
}

.prose .mia-box-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 1em;
	padding: 6px 14px 6px 12px;
	border-radius: 999px;
	background: var(--wood);
	color: var(--ivory);
	font-family: var(--sans);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.2;
}
.prose .mia-box-label::before {
	content: "";
	width: 14px; height: 14px;
	background: var(--terracotta);
	-webkit-mask: var(--paw) center / contain no-repeat;
	mask: var(--paw) center / contain no-repeat;
}
.prose .is-style-mia-verdict .mia-box-label { background: var(--terracotta-ink); }
.prose .is-style-mia-verdict .mia-box-label::before { background: var(--paper); }
.prose .is-style-mia-note .mia-box-label { background: transparent; color: var(--terracotta-ink); padding: 0; }
.prose .is-style-mia-note .mia-box-label::before { display: none; }

/* Author box */
.author-box {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-top: clamp(40px, 6vw, 64px);
	padding-top: 28px;
	border-top: 1px solid var(--line);
	font-size: .95rem;
	line-height: 1.6;
}
.author-box__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box .eyebrow { margin-bottom: .3rem; }
.author-box__name { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 .3em; }
.author-box p:last-child { margin: 0; color: var(--wood-soft); }

/* Related */
.related { background: var(--sand-soft); padding-block: clamp(48px, 7vw, 88px); }

/* Pages ------------------------------------------------------------------------------- */

/* Page header: centred column (plain) or band with square photo (media). */
.page-head .breadcrumbs { padding-top: 0; margin-bottom: clamp(20px, 3vw, 32px); }
.page-head__title { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.04; margin-bottom: .3em; }
.page-head__lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--wood-soft); max-width: 44ch; margin-bottom: 0; }

.page--plain .page-head { padding-block: 24px clamp(28px, 4vw, 44px); }
.page--plain .page-head__grid,
.page--plain .page-head__crumbs { max-width: calc(720px + 2 * var(--gutter)); }
.page--plain .page-head__text { padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }

.page--media .page-head { background: var(--sand-soft); padding-block: 24px clamp(36px, 5vw, 64px); }
.page-head__grid { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
.page-head__media { position: relative; }
.page-head__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--radius-lg);
}
@media (min-width: 900px) {
	.page--media .page-head__grid { grid-template-columns: 1fr minmax(320px, 460px); }
	.page--media .page-head { padding-top: 28px; }
}
@media (max-width: 899px) {
	.page-head__media { max-width: 520px; }
}

.prose--page { max-width: 720px; margin-inline: auto; padding-bottom: clamp(56px, 8vw, 96px); }
.page--media .prose--page { padding-top: clamp(36px, 5vw, 64px); }

/* Hubs ---------------------------------------------------------------------------------- */

.hub-head { padding-block: clamp(28px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.hub-head__title { font-size: clamp(2.6rem, 6.6vw, 5rem); font-weight: 380; letter-spacing: -.03em; line-height: 1; margin-bottom: .3em; }
.hub-head__lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--wood-soft); max-width: 52ch; }
.hub-nav ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-nav a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--wood);
	font-size: .9rem;
	font-weight: 500;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}
.hub-nav a:hover { border-color: var(--wood); }
.hub-nav a[aria-current] { background: var(--wood); border-color: var(--wood); color: var(--ivory); }
.prose--hub { max-width: 720px; padding-bottom: 24px; }
.hub-list { padding-block: clamp(16px, 3vw, 32px) clamp(64px, 9vw, 120px); }
.empty-state {
	padding: clamp(32px, 6vw, 72px) clamp(20px, 4vw, 48px);
	border: 1.5px dashed rgba(68, 57, 47, .3);
	border-radius: var(--radius-lg);
	text-align: center;
}
.empty-state h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.empty-state p { color: var(--wood-soft); max-width: 46ch; margin-inline: auto; }

.not-found { padding-block: clamp(48px, 9vw, 120px); }
.not-found .button { margin-top: .5em; }

/* Footer ---------------------------------------------------------------------------------- */

.site-footer { background: var(--wood); color: var(--sand); padding-top: clamp(48px, 7vw, 88px); }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer .logo { color: var(--ivory); }
.site-footer .logo__the { color: var(--terracotta); }
.site-footer .eyebrow { color: var(--sage); }
.site-footer__grid { display: grid; gap: 36px 32px; grid-template-columns: 1fr; padding-bottom: 48px; }
.site-footer__tagline { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ivory); margin: 18px 0 6px; }
.site-footer__promise { font-size: .95rem; max-width: 34ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 10px; }
.site-footer .lang-switch { margin-top: 18px; border-color: rgba(247, 244, 238, .25); }
.site-footer .lang-switch a { color: var(--sand); }
.site-footer .lang-switch a.is-current { background: var(--ivory); color: var(--wood); }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	padding-block: 22px 28px;
	border-top: 1px solid rgba(247, 244, 238, .15);
	font-size: .82rem;
	color: rgba(231, 218, 201, .85);
}
.site-footer__bottom p { margin: 0; max-width: 70ch; }
@media (min-width: 640px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
	.site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* Editor palette classes ------------------------------------------------------------------ */

.has-ivory-background-color { background-color: var(--ivory); }
.has-sand-background-color { background-color: var(--sand); }
.has-wood-background-color { background-color: var(--wood); }
.has-sage-background-color { background-color: var(--sage); }
.has-terracotta-background-color { background-color: var(--terracotta); }
.has-ivory-color { color: var(--ivory); }
.has-sand-color { color: var(--sand); }
.has-wood-color { color: var(--wood); }
.has-sage-color { color: var(--sage); }
.has-terracotta-color { color: var(--terracotta-ink); }

/* Motion -------------------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.site-header, .site-footer, .toc, .related, .author-box, .breadcrumbs { display: none; }
	body { background: #fff; }
}
