/*
 * EM editorial system 2.0
 * Scoped to the redesigned Home, About, Field Notes archive and single posts.
 */

:root {
	--em2-ink: #172522;
	--em2-ink-2: #29403b;
	--em2-paper: #f3f0e8;
	--em2-paper-2: #ebe6da;
	--em2-white: #fffdf8;
	--em2-sage: #9fb6aa;
	--em2-gold: #d8b768;
	--em2-line: rgba(23, 37, 34, .16);
	--em2-muted: #66726f;
	--em2-radius: 22px;
}

body.em-home-v2,
body.em-about-v2,
body.blog,
body.single-post {
	background: var(--em2-paper);
	color: var(--em2-ink);
}

/* Header */

body .site-header,
body.em-home-v2 .site-header,
body.em-about-v2 .site-header,
body.blog .site-header,
body.single-post .site-header {
	position: relative;
	z-index: 20;
	padding: 0;
	border-bottom: 1px solid var(--em2-line);
	background: rgba(243, 240, 232, .94);
	backdrop-filter: blur(14px);
}

body .inside-header,
body.em-home-v2 .inside-header,
body.em-about-v2 .inside-header,
body.blog .inside-header,
body.single-post .inside-header {
	display: flex;
	min-height: 88px;
	max-width: 1180px;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 18px 24px;
}

.em-site-mark {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	color: var(--em2-ink) !important;
	text-decoration: none !important;
}

.em-site-monogram {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 50%;
	background: var(--em2-ink);
	color: var(--em2-white);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
}

.em-site-name {
	display: flex;
	flex-direction: column;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.em-site-name small {
	margin-top: 3px;
	color: var(--em2-muted);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
}

body .main-navigation,
body.em-home-v2 .main-navigation,
body.em-about-v2 .main-navigation,
body.blog .main-navigation,
body.single-post .main-navigation {
	margin-left: auto;
	background: transparent;
}

body .main-navigation .main-nav ul li a,
body.em-home-v2 .main-navigation .main-nav ul li a,
body.em-about-v2 .main-navigation .main-nav ul li a,
body.blog .main-navigation .main-nav ul li a,
body.single-post .main-navigation .main-nav ul li a {
	padding: 10px 13px;
	border-radius: 999px;
	color: var(--em2-ink);
	font-size: 13px;
	font-weight: 600;
}

body .main-navigation .main-nav ul li a:hover,
body.em-about-v2 .main-navigation .main-nav ul li a:hover,
body.blog .main-navigation .main-nav ul li a:hover,
body.single-post .main-navigation .main-nav ul li a:hover,
body .main-navigation .main-nav ul li[class*="current-menu-"] > a,
body.em-home-v2 .main-navigation .main-nav ul li[class*="current-menu-"] > a,
body.em-about-v2 .main-navigation .main-nav ul li[class*="current-menu-"] > a,
body.blog .main-navigation .main-nav ul li[class*="current-menu-"] > a,
body.single-post .main-navigation .main-nav ul li[class*="current-menu-"] > a {
	background: rgba(23, 37, 34, .08);
	color: var(--em2-ink);
}

/* Shared page system */

body.em-home-v2 .grid-container,
body.em-about-v2 .grid-container,
body.blog .grid-container {
	max-width: 1180px;
}

body .site-content,
body.em-home-v2 .site-content,
body.em-about-v2 .site-content,
body.blog .site-content,
body.single-post .site-content {
	margin-top: 0;
}

body.em-home-v2 .site-content,
body.em-about-v2 .site-content {
	padding: 0 24px 80px;
}

body.em-home-v2 .inside-article,
body.em-about-v2 .inside-article {
	padding: 0;
	background: transparent;
}

body.em-home-v2 .entry-content,
body.em-about-v2 .entry-content,
.entry-content .em-page-v2 {
	max-width: none;
	margin: 0;
}

.entry-content .em-page-v2 {
	padding: 0 0 48px;
}

.em-page-v2 p,
.em-page-v2 li {
	color: var(--em2-ink-2);
}

.em-v2-eyebrow,
.entry-content .em-v2-eyebrow {
	margin: 0 0 24px;
	color: var(--em2-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.em-v2-lead,
.entry-content .em-v2-lead {
	max-width: 760px;
	margin: 0;
	color: var(--em2-ink-2);
	font-size: clamp(19px, 2vw, 25px);
	font-weight: 450;
	letter-spacing: -.025em;
	line-height: 1.48;
}

.em-v2-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	margin-top: 32px;
}

.entry-content .em-v2-button,
.em-v2-button {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	padding: 14px 18px;
	border: 1px solid var(--em2-ink);
	border-radius: 4px;
	background: var(--em2-ink);
	color: var(--em2-white) !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	transition: transform .2s ease, background .2s ease;
}

.entry-content .em-v2-button:hover,
.em-v2-button:hover {
	transform: translateY(-2px);
	background: #0d1715;
}

.entry-content .em-v2-link,
.em-v2-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	border-bottom: 1px solid currentColor;
	color: var(--em2-ink) !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
	text-decoration: none !important;
}

.em-v2-section {
	margin: 0;
	padding: 104px 0;
	border-top: 1px solid var(--em2-line);
}

.em-v2-section-number,
.entry-content .em-v2-section-number {
	margin: 0 0 20px;
	color: var(--em2-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.em-v2-section h2,
.entry-content .em-v2-section h2 {
	max-width: 680px;
	margin: 0;
	color: var(--em2-ink);
	font-size: clamp(34px, 4.2vw, 58px);
	font-weight: 650;
	letter-spacing: -.055em;
	line-height: 1.02;
}

.em-v2-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
	gap: 9vw;
}

.em-v2-copy p,
.entry-content .em-v2-copy p {
	margin: 0 0 22px;
	color: var(--em2-ink-2);
	font-size: 18px;
	line-height: 1.68;
}

.em-v2-copy p:first-child,
.entry-content .em-v2-copy p:first-child {
	color: var(--em2-ink);
	font-size: 22px;
	letter-spacing: -.025em;
	line-height: 1.5;
}

.em-v2-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
	align-items: end;
	gap: 8vw;
	margin-bottom: 48px;
}

.em-v2-section-head > p,
.entry-content .em-v2-section-head > p {
	margin: 0;
	color: var(--em2-muted);
	font-size: 16px;
	line-height: 1.65;
}

.em-v2-capabilities {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.em-v2-capabilities article {
	position: relative;
	min-height: 280px;
	padding: 24px;
	border: 1px solid var(--em2-line);
	border-radius: var(--em2-radius);
	background: rgba(255, 253, 248, .55);
	transition: transform .22s ease, background .22s ease;
}

.em-v2-capabilities article:hover {
	transform: translateY(-5px);
	background: var(--em2-white);
}

.em-v2-capabilities article > span {
	display: inline-grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid var(--em2-line);
	border-radius: 50%;
	color: var(--em2-muted);
	font-size: 10px;
	font-weight: 700;
}

.em-v2-capabilities h3,
.entry-content .em-v2-capabilities h3 {
	margin: 76px 0 12px;
	color: var(--em2-ink);
	font-size: 25px;
	font-weight: 650;
	letter-spacing: -.04em;
	line-height: 1.12;
}

.em-v2-capabilities p,
.entry-content .em-v2-capabilities p {
	margin: 0;
	color: var(--em2-muted);
	font-size: 15px;
	line-height: 1.6;
}

/* Home */

.em-home-hero-v2 {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
	gap: 7vw;
	align-items: center;
	min-height: 680px;
	padding: 72px 0 88px;
}

.em-home-hero-v2 h1,
.entry-content .em-home-hero-v2 h1 {
	max-width: 760px;
	margin: 0 0 34px;
	color: var(--em2-ink);
	font-size: clamp(53px, 6.5vw, 86px) !important;
	font-weight: 680;
	letter-spacing: -.07em !important;
	line-height: .94 !important;
}

.em-system-card {
	position: relative;
	overflow: hidden;
	padding: 30px;
	border-radius: 28px;
	background:
		radial-gradient(circle at 95% 0%, rgba(216, 183, 104, .25), transparent 38%),
		var(--em2-ink);
	color: var(--em2-white);
	box-shadow: 0 28px 70px rgba(23, 37, 34, .14);
}

.em-system-label,
.entry-content .em-system-label {
	margin: 0 0 32px;
	color: rgba(255, 253, 248, .58);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.em-system-line {
	display: grid;
	grid-template-columns: 32px 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 15px 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.em-system-line > span {
	color: var(--em2-gold);
	font-size: 10px;
	font-weight: 700;
}

.em-system-line > strong {
	font-size: 15px;
	font-weight: 650;
}

.em-system-line > small {
	color: rgba(255, 253, 248, .58);
	font-size: 10px;
}

.em-system-foot,
.entry-content .em-system-foot {
	margin: 30px 0 0;
	color: var(--em2-white);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -.02em;
	line-height: 1.45;
}

.em-proof-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--em2-line);
	border-bottom: 1px solid var(--em2-line);
}

.em-proof-strip > div {
	min-height: 118px;
	padding: 26px 20px;
	border-right: 1px solid var(--em2-line);
}

.em-proof-strip > div:first-child {
	padding-left: 0;
}

.em-proof-strip > div:last-child {
	border-right: 0;
}

.em-proof-strip strong,
.em-proof-strip span {
	display: block;
}

.em-proof-strip strong {
	margin-bottom: 8px;
	color: var(--em2-ink);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -.025em;
}

.em-proof-strip span {
	color: var(--em2-muted);
	font-size: 11px;
	line-height: 1.4;
}

.em-v2-terrain {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(380px, 1.18fr);
	column-gap: 8vw;
}

.em-v2-terrain > .em-v2-section-number {
	grid-column: 1 / -1;
}

.em-terrain-list {
	display: flex;
	flex-wrap: wrap;
	align-content: start;
	gap: 9px;
}

.em-terrain-list span {
	padding: 10px 13px;
	border: 1px solid var(--em2-line);
	border-radius: 999px;
	background: rgba(255, 253, 248, .44);
	color: var(--em2-ink-2);
	font-size: 11px;
	font-weight: 650;
}

.em-v2-terrain blockquote {
	grid-column: 1 / -1;
	max-width: 940px;
	margin: 84px 0 0 auto;
	padding: 0;
	border: 0;
	color: var(--em2-ink);
	font-size: clamp(32px, 4.4vw, 58px);
	font-weight: 580;
	letter-spacing: -.055em;
	line-height: 1.05;
}

.em-latest-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.em-latest-card {
	display: flex;
	min-height: 340px;
	flex-direction: column;
	padding: 26px;
	border: 1px solid var(--em2-line);
	border-radius: var(--em2-radius);
	background: var(--em2-white);
	transition: transform .22s ease, box-shadow .22s ease;
}

.em-latest-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 45px rgba(23, 37, 34, .09);
}

.em-latest-meta,
.entry-content .em-latest-meta {
	margin: 0 0 44px;
	color: var(--em2-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .11em;
	line-height: 1.4;
	text-transform: uppercase;
}

.em-latest-card h3,
.entry-content .em-latest-card h3 {
	margin: 0 0 18px;
	font-size: 26px;
	font-weight: 650;
	letter-spacing: -.045em;
	line-height: 1.08;
}

.em-latest-card h3 a {
	color: var(--em2-ink);
	text-decoration: none;
}

.em-latest-card > p:not(.em-latest-meta),
.entry-content .em-latest-card > p:not(.em-latest-meta) {
	margin: 0 0 24px;
	color: var(--em2-muted);
	font-size: 14px;
	line-height: 1.55;
}

.em-card-link {
	display: flex;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--em2-line);
	color: var(--em2-ink) !important;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none !important;
}

.em-v2-closing {
	display: flex;
	min-height: 330px;
	align-items: end;
	justify-content: space-between;
	gap: 48px;
	padding: 54px;
	border-radius: 30px;
	background: var(--em2-ink);
	color: var(--em2-white);
}

.em-v2-closing > p,
.entry-content .em-v2-closing > p {
	max-width: 760px;
	margin: 0;
	color: var(--em2-white);
	font-size: clamp(36px, 5vw, 66px);
	font-weight: 620;
	letter-spacing: -.06em;
	line-height: 1.02;
}

.entry-content .em-v2-button-light,
.em-v2-button-light {
	border-color: var(--em2-white);
	background: var(--em2-white);
	color: var(--em2-ink) !important;
}

/* About */

.em-about-hero-v2 {
	padding: 82px 0 94px;
}

.em-about-hero-v2 h1,
.entry-content .em-about-hero-v2 h1 {
	max-width: 1060px;
	margin: 0;
	color: var(--em2-ink);
	font-size: clamp(48px, 6.6vw, 82px);
	font-weight: 670;
	letter-spacing: -.07em;
	line-height: .98;
}

.em-about-hero-bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 60px;
	margin-top: 64px;
}

.em-about-signature,
.entry-content .em-about-signature {
	margin: 0;
	color: var(--em2-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-align: right;
}

.em-about-signature span {
	color: var(--em2-muted);
	font-size: 9px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.em-career-v2 {
	border-top: 1px solid var(--em2-line);
}

.em-career-v2 article {
	display: grid;
	grid-template-columns: 120px minmax(280px, 1fr) minmax(180px, .65fr);
	align-items: center;
	gap: 32px;
	padding: 26px 0;
	border-bottom: 1px solid var(--em2-line);
}

.em-career-v2 time,
.em-career-v2 > article > span {
	color: var(--em2-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.em-career-v2 h3,
.entry-content .em-career-v2 h3 {
	margin: 0 0 5px;
	color: var(--em2-ink);
	font-size: 21px;
	font-weight: 650;
	letter-spacing: -.035em;
	line-height: 1.2;
}

.em-career-v2 p,
.entry-content .em-career-v2 p {
	margin: 0;
	color: var(--em2-muted);
	font-size: 13px;
	line-height: 1.5;
}

.em-work-method article:nth-child(1) {
	background: var(--em2-ink);
}

.em-work-method article:nth-child(1) h3,
.em-work-method article:nth-child(1) p {
	color: var(--em2-white);
}

.em-work-method article:nth-child(1) > span {
	border-color: rgba(255, 255, 255, .25);
	color: var(--em2-gold);
}

.em-ai-section {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
	gap: 9vw;
}

.em-ai-section > div:last-child p,
.entry-content .em-ai-section > div:last-child p {
	margin: 0 0 24px;
	color: var(--em2-ink-2);
	font-size: 19px;
	line-height: 1.65;
}

.em-about-closing {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
	align-items: end;
}

.em-about-closing h2,
.entry-content .em-about-closing h2 {
	max-width: 680px;
	margin: 0;
	color: var(--em2-white);
	font-size: clamp(34px, 4.4vw, 58px);
	font-weight: 620;
	letter-spacing: -.055em;
	line-height: 1.04;
}

.em-about-closing > div:last-child > p,
.entry-content .em-about-closing > div:last-child > p {
	margin: 0;
	color: rgba(255, 253, 248, .72);
	font-size: 16px;
	line-height: 1.65;
}

.em-v2-link-light,
.entry-content .em-v2-link-light {
	color: var(--em2-white) !important;
}

.em-about-closing .em-v2-section-number {
	color: var(--em2-gold);
}

/* Field Notes archive */

body.blog .site-content {
	display: block;
	padding: 0 24px 90px;
	background: transparent;
}

body.blog #primary {
	width: 100%;
}

body.blog #main {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	counter-reset: em-note-card;
}

.em-notes-hero-v2 {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
	align-items: end;
	gap: 8vw;
	padding: 86px 0 72px;
}

.em-notes-hero-v2 h1 {
	max-width: 790px;
	margin: 0;
	color: var(--em2-ink);
	font-size: clamp(50px, 6.5vw, 84px);
	font-weight: 670;
	letter-spacing: -.07em;
	line-height: .96;
}

.em-notes-hero-v2 > p {
	margin: 0;
	color: var(--em2-muted);
	font-size: 17px;
	line-height: 1.65;
}

body.blog #main > article {
	margin: 0;
	counter-increment: em-note-card;
}

body.blog #main > article .inside-article {
	display: flex;
	min-height: 360px;
	height: 100%;
	flex-direction: column;
	margin: 0;
	padding: 28px;
	border: 1px solid var(--em2-line);
	border-radius: var(--em2-radius);
	background: var(--em2-white);
	transition: transform .22s ease, box-shadow .22s ease;
}

body.blog #main > article .inside-article:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 50px rgba(23, 37, 34, .08);
}

body.blog #main > article .inside-article::before {
	content: "FIELD NOTE · " counter(em-note-card, decimal-leading-zero);
	display: block;
	margin-bottom: 52px;
	color: var(--em2-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .14em;
}

body.blog #main > article.sticky {
	grid-column: 1 / -1;
}

body.blog #main > article.sticky .inside-article {
	min-height: 420px;
	padding: 38px;
	background:
		radial-gradient(circle at 90% 10%, rgba(216, 183, 104, .22), transparent 32%),
		var(--em2-ink);
}

body.blog #main > article.sticky .inside-article::before {
	content: "LECTURA DESTACADA · FIELD NOTE " counter(em-note-card, decimal-leading-zero);
	color: var(--em2-gold);
}

body.blog .entry-header {
	display: flex;
	flex-direction: column;
}

body.blog .entry-title,
body.blog #main > article .entry-title {
	max-width: 680px;
	margin: 0 0 18px;
	font-size: clamp(28px, 3.3vw, 42px);
	font-weight: 650;
	letter-spacing: -.05em;
	line-height: 1.04;
}

body.blog .entry-title a {
	color: var(--em2-ink);
}

body.blog .entry-meta {
	order: -1;
	margin: 0 0 14px;
	color: var(--em2-muted);
	font-size: 10px;
	font-weight: 650;
	letter-spacing: .08em;
	text-transform: uppercase;
}

body.blog .entry-meta .byline,
body.blog footer.entry-meta {
	display: none;
}

body.blog .entry-summary,
body.blog .entry-content {
	max-width: 680px;
	margin-top: auto;
}

body.blog .entry-summary p,
body.blog .entry-content p,
body.blog #main > article .entry-summary p,
body.blog #main > article .entry-content p {
	margin: 30px 0 0;
	color: var(--em2-muted);
	font-size: 15px;
	line-height: 1.6;
}

body.blog .read-more {
	display: inline-flex;
	margin-left: 5px;
	color: var(--em2-ink);
	font-size: 11px;
	font-weight: 700;
	text-underline-offset: 4px;
}

body.blog article.sticky .entry-title a,
body.blog article.sticky .entry-summary p,
body.blog article.sticky .entry-content p,
body.blog article.sticky .read-more {
	color: var(--em2-white);
}

body.blog article.sticky .entry-meta {
	color: rgba(255, 253, 248, .58);
}

body.blog .paging-navigation {
	grid-column: 1 / -1;
}

/* Single Field Note */

body.single-post .grid-container {
	max-width: 1020px;
}

body.single-post .site-content {
	padding: 52px 24px 96px;
	background: transparent;
}

body.single-post .inside-article {
	padding: 68px clamp(34px, 8vw, 92px) 88px;
	border: 1px solid var(--em2-line);
	border-radius: 30px;
	background: var(--em2-white);
	box-shadow: 0 26px 70px rgba(23, 37, 34, .07);
}

body.single-post .entry-header,
body.single-post .entry-content,
body.single-post .entry-footer,
body.single-post .post-navigation {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
}

body.single-post .entry-title {
	margin: 0 0 24px;
	color: var(--em2-ink);
	font-size: clamp(43px, 6vw, 70px);
	font-weight: 670;
	letter-spacing: -.065em;
	line-height: .98;
}

body.single-post .entry-meta {
	margin: 0 0 54px;
	color: var(--em2-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
}

body.single-post .entry-meta .byline,
body.single-post footer.entry-meta {
	display: none;
}

body.single-post .entry-content {
	color: var(--em2-ink-2);
}

body.single-post .entry-content .em-note > p:not(.em-note-kicker):not(.em-note-lead) {
	margin-bottom: 24px;
	color: var(--em2-ink-2);
	font-size: 18px;
	line-height: 1.72;
}

body.single-post .em-note .em-note-kicker {
	margin-bottom: 22px;
	color: var(--em2-muted);
	font-size: 10px;
	letter-spacing: .13em;
}

body.single-post .em-note .em-note-lead {
	margin-bottom: 48px;
	padding-bottom: 42px;
	border-bottom: 1px solid var(--em2-line);
	color: var(--em2-ink);
	font-size: clamp(21px, 2.5vw, 28px);
	font-weight: 520;
	letter-spacing: -.03em;
	line-height: 1.42;
}

body.single-post .em-note h2 {
	margin: 58px 0 20px;
	color: var(--em2-ink);
	font-size: clamp(28px, 3.4vw, 39px);
	font-weight: 650;
	letter-spacing: -.045em;
	line-height: 1.08;
}

body.single-post .em-note-framework,
body.single-post .em-note-grid > div,
body.single-post .em-note blockquote {
	border-color: var(--em2-line);
	background: var(--em2-paper);
}

body.single-post .em-note-framework {
	margin: 42px 0;
	padding: 16px;
	border-radius: 18px;
}

body.single-post .em-note-framework > div {
	background: var(--em2-white);
}

body.single-post .em-note-framework .em-note-result {
	background: var(--em2-ink);
}

body.single-post .em-note-framework-5 {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.single-post .em-note-framework-5 > b {
	display: none;
}

body.single-post .em-note-grid {
	gap: 12px;
	margin: 38px 0;
}

body.single-post .em-note-grid > div {
	padding: 18px;
	border-radius: 14px;
}

body.single-post .em-note blockquote {
	margin: 48px 0;
	padding: 28px 30px;
	border-left: 0;
	border-radius: 18px;
}

body.single-post .em-note blockquote p,
body.single-post .em-note blockquote p:last-child {
	margin: 0;
	color: var(--em2-ink);
	font-size: clamp(22px, 3vw, 31px);
	font-weight: 590;
	letter-spacing: -.04em;
	line-height: 1.25;
}

/* Tablet */

@media (max-width: 920px) {
	.em-site-name small {
		display: none;
	}

	.em-home-hero-v2,
	.em-v2-intro-grid,
	.em-ai-section,
	.em-notes-hero-v2,
	.em-about-closing {
		grid-template-columns: 1fr;
	}

	.em-home-hero-v2 {
		min-height: 0;
	}

	.em-system-card {
		max-width: 620px;
	}

	.em-v2-capabilities,
	.em-latest-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.em-v2-capabilities article:last-child,
	.em-latest-card:last-child {
		grid-column: 1 / -1;
	}

	.em-v2-terrain {
		grid-template-columns: 1fr;
	}

	.em-terrain-list {
		margin-top: 42px;
	}
}

/* Mobile */

@media (max-width: 700px) {
	body .inside-header,
	body.em-home-v2 .inside-header,
	body.em-about-v2 .inside-header,
	body.blog .inside-header,
	body.single-post .inside-header {
		min-height: 72px;
		padding: 13px 18px;
	}

	.em-site-name {
		display: none;
	}

	.em-site-monogram {
		width: 34px;
		height: 34px;
	}

	body.em-home-v2 .site-content,
	body.em-about-v2 .site-content,
	body.blog .site-content,
	body.single-post .site-content {
		padding-right: 16px;
		padding-left: 16px;
	}

	.em-home-hero-v2,
	.em-about-hero-v2 {
		padding: 58px 0 64px;
	}

	.em-home-hero-v2 h1,
	.entry-content .em-home-hero-v2 h1,
	.em-about-hero-v2 h1,
	.entry-content .em-about-hero-v2 h1,
	.em-notes-hero-v2 h1 {
		font-size: clamp(43px, 13vw, 60px) !important;
		line-height: .98 !important;
	}

	.em-system-card {
		padding: 23px;
	}

	.em-system-line {
		grid-template-columns: 28px 1fr;
	}

	.em-system-line small {
		display: none;
	}

	.em-proof-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.em-proof-strip > div,
	.em-proof-strip > div:first-child {
		min-height: 96px;
		padding: 20px 12px;
		border-bottom: 1px solid var(--em2-line);
	}

	.em-proof-strip > div:nth-child(2) {
		border-right: 0;
	}

	.em-proof-strip > div:nth-child(3),
	.em-proof-strip > div:nth-child(4) {
		border-bottom: 0;
	}

	.em-v2-section {
		padding: 70px 0;
	}

	.em-v2-section-head,
	.em-about-hero-bottom {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-bottom: 34px;
	}

	.em-about-signature,
	.entry-content .em-about-signature {
		text-align: left;
	}

	.em-v2-capabilities,
	.em-latest-grid,
	body.blog #main {
		grid-template-columns: 1fr;
	}

	.em-v2-capabilities article,
	.em-latest-card,
	body.blog #main > article .inside-article {
		min-height: 0;
	}

	.em-v2-capabilities article:last-child,
	.em-latest-card:last-child,
	body.blog #main > article.sticky {
		grid-column: auto;
	}

	.em-v2-capabilities h3,
	.entry-content .em-v2-capabilities h3 {
		margin-top: 46px;
	}

	.em-v2-terrain blockquote {
		margin-top: 56px;
	}

	.em-v2-closing {
		min-height: 0;
		align-items: start;
		flex-direction: column;
		padding: 34px 26px;
	}

	.em-about-closing {
		display: grid;
	}

	.em-career-v2 article {
		grid-template-columns: 1fr;
		gap: 9px;
		padding: 22px 0;
	}

	.em-notes-hero-v2 {
		padding: 60px 0 46px;
	}

	body.blog #main > article.sticky .inside-article,
	body.blog #main > article .inside-article {
		min-height: 330px;
		padding: 24px;
	}

	body.blog #main > article .inside-article::before {
		margin-bottom: 36px;
	}

	body.blog .entry-title,
	body.blog #main > article .entry-title {
		font-size: 30px;
	}

	body.single-post .site-content {
		padding-top: 20px;
		padding-bottom: 58px;
	}

	body.single-post .inside-article {
		padding: 38px 22px 52px;
		border-radius: 20px;
	}

	body.single-post .entry-title {
		font-size: clamp(39px, 12vw, 54px);
	}

	body.single-post .em-note-framework-5,
	body.single-post .em-note-framework {
		display: flex;
		flex-direction: column;
	}

	body.single-post .em-note-framework-5 > b {
		display: flex;
	}

	body.single-post .em-note-grid,
	body.single-post .em-note-grid-3 {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.em-v2-button,
	.em-v2-capabilities article,
	.em-latest-card,
	body.blog #main > article .inside-article {
		transition: none;
	}
}
