/* Independent MegaGen Journal — editorial, motion-led and fully RTL. */
:root {
	--mgj-ink: #0d0d0d;
	--mgj-paper: #f6f5f0;
	--mgj-white: #fff;
	--mgj-muted: #716f67;
	--mgj-line: rgba(13, 13, 13, .16);
	--mgj-lime: #c6fb50;
	--mgj-blue: #04629c; /* was #0578be: 4.33:1 on the #f6f5f0 paper, under AA for body-size text */
	--mgj-serif: Georgia, "Times New Roman", serif;
	--mgj-sans: Vazirmatn, Tahoma, Arial, sans-serif;
	--mgj-ease: cubic-bezier(.22, 1, .36, 1);
}

html.mg-blog-studio-html { scroll-behavior: smooth; background: var(--mgj-paper); }
html.lenis,
html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }
html.lenis.lenis-smooth iframe { pointer-events: none; }
body.mg-blog-studio {
	margin: 0;
	overflow-x: clip;
	background: var(--mgj-paper);
	color: var(--mgj-ink);
	font-family: var(--mgj-sans);
	font-size: 16px;
	line-height: 1.7;
	direction: rtl;
}
html[data-theme] body.mg-blog-studio {
	background: var(--mgj-paper) !important;
	color: var(--mgj-ink) !important;
}
body.mg-blog-studio .mg-fab,
body.mg-blog-studio .mg-mobile-conversion,
body.mg-blog-studio .mg-totop,
body.mg-blog-studio .mg-scroll-progress,
body.mg-blog-studio .mg-cursor,
body.mg-blog-studio .mg-cursor-dot,
body.mg-blog-studio .mg-cursor-ring { display: none !important; }
body.mg-blog-studio.menu-open { overflow: hidden; }
.mg-blog-studio *, .mg-blog-studio *::before, .mg-blog-studio *::after { box-sizing: border-box; }
.mg-blog-studio a { color: inherit; text-decoration: none; }
.mg-blog-studio img { display: block; max-width: 100%; }
.mg-blog-studio button { font: inherit; }
.mg-blog-studio #wpadminbar { direction: ltr; }
.mg-journal-arrow::before { content: "\2193"; display: inline-block; }
.mg-journal-arrow--out::before { content: "\2197"; }
.mg-journal-arrow--forward::before { content: "\2199"; }

.mg-journal-skip {
	position: fixed;
	inset: 8px auto auto 50%;
	z-index: 10010;
	padding: 10px 18px;
	transform: translate(-50%, -150%);
	border-radius: 999px;
	background: var(--mgj-lime);
	font-weight: 800;
	transition: transform .2s;
}
.mg-journal-skip:focus { transform: translate(-50%, 0); }

.mg-journal-header {
	position: fixed;
	z-index: 9500;
	inset-block-start: 24px;
	inset-inline: 28px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	min-height: 70px;
	padding: 10px 12px 10px 18px;
	border: 1px solid rgba(13, 13, 13, .1);
	border-radius: 999px;
	background: rgba(246, 245, 240, .82);
	box-shadow: 0 18px 50px rgba(13, 13, 13, .08);
	backdrop-filter: blur(18px) saturate(1.2);
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	transition: transform .5s var(--mgj-ease), background-color .3s, box-shadow .3s;
}
.admin-bar .mg-journal-header { inset-block-start: 56px; }
.mg-journal-header.is-compact { background: rgba(255, 255, 255, .92); box-shadow: 0 16px 46px rgba(13, 13, 13, .13); }
.mg-journal-header.is-hidden { transform: translateY(calc(-100% - 40px)); }

.mg-journal-brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.mg-journal-brand__mark {
	display: grid;
	place-items: center;
	width: 48px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--mgj-ink);
	color: var(--mgj-lime);
	font: italic 700 25px/1 var(--mgj-serif);
	transform: rotate(-8deg);
	transition: transform .6s var(--mgj-ease), border-radius .4s var(--mgj-ease);
}
.mg-journal-brand__mark:has(img) { border: 1px solid var(--mgj-line); background: var(--mgj-white); transform: none; }
.mg-journal-brand__mark img { width: 78%; height: 78%; object-fit: contain; filter: none; transform: none; }
.mg-journal-brand:hover .mg-journal-brand__mark { transform: rotate(0) scale(1.06); border-radius: 34% 66% 51% 49%; }
.mg-journal-brand > span:last-child { display: flex; flex-direction: column; gap: 0; direction: ltr; line-height: 1; }
.mg-journal-brand b { font-size: 13px; letter-spacing: .15em; }
.mg-journal-brand em { margin-top: 5px; color: var(--mgj-muted); font: italic 15px/1 var(--mgj-serif); letter-spacing: .04em; }

.mg-journal-thread { justify-self: center; display: flex; align-items: center; gap: clamp(18px, 3vw, 52px); direction: rtl; }
.mg-journal-thread a { position: relative; display: inline-flex; align-items: baseline; gap: 7px; padding: 10px 0; font-size: 12px; font-weight: 600; }
.mg-journal-thread a::after { content: ""; position: absolute; inset: auto 0 1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--mgj-ease); }
.mg-journal-thread a:hover::after, .mg-journal-thread a.is-active::after { transform: scaleX(1); }
.mg-journal-thread small { color: var(--mgj-muted); font: italic 12px/1 var(--mgj-serif); }
.mg-journal-site-link { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 999px; background: var(--mgj-ink); color: #fff !important; font-size: 12px; font-weight: 700; transition: background .3s, color .3s, transform .3s var(--mgj-ease); }
.mg-journal-site-link i { display: grid; place-items: center; width: 24px; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .14); font-style: normal; transition: transform .35s var(--mgj-ease); }
.mg-journal-site-link:hover { background: var(--mgj-lime); color: var(--mgj-ink) !important; transform: translateY(-2px); }
.mg-journal-site-link:hover i { transform: rotate(45deg); }
.mg-journal-menu-button { display: none; border: 0; background: transparent; cursor: pointer; }

.mg-journal-menu { display: none; }
.mg-journal-progress { position: fixed; z-index: 9550; inset: 0 0 auto; height: 3px; pointer-events: none; direction: ltr; }
.admin-bar .mg-journal-progress { top: 32px; }
.mg-journal-progress span { display: block; width: 100%; height: 100%; background: var(--mgj-lime); transform: scaleX(0); transform-origin: left; }

#mg-journal-main { overflow: clip; }
.mg-journal-hero { min-height: 1180px; padding: 155px clamp(28px, 5.5vw, 92px) 100px; background: var(--mgj-paper); color: var(--mgj-ink); }
.mg-journal-hero__eyebrow { display: flex; justify-content: space-between; align-items: center; padding-block-end: 18px; border-bottom: 1px solid var(--mgj-line); color: var(--mgj-muted); font-size: 11px; font-weight: 650; letter-spacing: .06em; }
.mg-journal-hero__eyebrow span:last-child { direction: ltr; font-family: Arial, sans-serif; letter-spacing: .16em; }
.mg-journal-hero h1 {
	max-width: 1240px;
	margin: 70px auto 54px;
	font-size: clamp(64px, 9vw, 145px);
	font-weight: 500;
	line-height: .98;
	letter-spacing: -.065em;
	text-align: center;
}
.mg-journal-hero h1 em { display: inline-block; color: var(--mgj-blue); font-family: var(--mgj-serif); font-weight: 400; font-style: italic; letter-spacing: -.04em; transform: rotate(-2deg); }
.mg-journal-hero h1 span { position: relative; display: inline-block; }
.mg-journal-hero h1 span::after { content: ""; position: absolute; inset: auto 2% 3% 0; height: .12em; z-index: -1; background: var(--mgj-lime); transform: rotate(-1.5deg); border-radius: 99px; }
.mg-journal-hero__grid { display: grid; grid-template-columns: minmax(280px, 520px) auto; justify-content: space-between; align-items: end; max-width: 1120px; margin: 0 auto 90px; gap: 36px; }
.mg-journal-hero__grid p { max-width: 540px; margin: 0; color: #403f3a; font-size: clamp(16px, 1.35vw, 20px); line-height: 2; }
.mg-journal-pill { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-width: 205px; min-height: 64px; padding: 9px 10px 9px 24px; border-radius: 999px; background: var(--mgj-ink); color: #fff !important; font-weight: 750; font-size: 14px; transition: transform .35s var(--mgj-ease), background .3s, color .3s; }
.mg-journal-pill i { display: grid; place-items: center; width: 46px; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .12); font-style: normal; transition: transform .45s var(--mgj-ease); }
.mg-journal-pill:hover { transform: translateY(-4px); background: var(--mgj-blue); }
.mg-journal-pill:hover i { transform: rotate(45deg); }

.mg-journal-hero__feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); max-width: 1160px; min-height: 450px; margin: 0 auto; overflow: hidden; border-radius: 24px; background: var(--mgj-ink); color: #fff; box-shadow: 0 34px 90px rgba(13, 13, 13, .18); }
.mg-journal-hero__feature-image { overflow: hidden; min-height: 450px; background: #222; }
.mg-journal-hero__feature-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.03); transition: transform 1.2s var(--mgj-ease), filter .5s; }
.mg-journal-hero__feature:hover img { transform: scale(1.035); filter: saturate(1); }
.mg-journal-hero__feature-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 4vw, 58px); }
.mg-journal-hero__feature-copy > span { color: var(--mgj-lime); font-size: 11px; letter-spacing: .06em; }
.mg-journal-hero__feature-copy h2 { margin: 32px 0; font-size: clamp(27px, 3vw, 47px); line-height: 1.45; letter-spacing: -.04em; }
.mg-journal-hero__feature-copy h2 a { transition: color .3s; }
.mg-journal-hero__feature-copy h2 a:hover { color: var(--mgj-lime); }
.mg-journal-hero__feature-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .65); font-size: 12px; }
.mg-journal-hero__feature-copy > div a { color: #fff; font-weight: 700; }
.mg-journal-hero__feature-copy i { font-style: normal; margin-inline-start: 8px; }

.mg-journal-marquee { display: flex; width: max-content; border-block: 1px solid var(--mgj-line); overflow: hidden; direction: ltr; }
.mg-journal-marquee > div { display: flex; align-items: center; gap: 34px; min-width: max-content; padding: 28px 17px; animation: mgj-marquee 26s linear infinite; }
.mg-journal-marquee span { font: 500 clamp(21px, 2.4vw, 38px)/1 var(--mgj-sans); letter-spacing: -.03em; }
.mg-journal-marquee i { color: var(--mgj-blue); font-style: normal; font-size: 14px; }
@keyframes mgj-marquee { to { transform: translateX(-100%); } }

.mg-journal-section { padding: 130px clamp(28px, 5.5vw, 92px); }
.mg-journal-section__head { display: grid; grid-template-columns: minmax(180px, .5fr) minmax(450px, 1fr) minmax(240px, .62fr); align-items: start; gap: clamp(30px, 5vw, 90px); margin-bottom: 82px; }
.mg-journal-section__head > span { display: flex; gap: 12px; color: var(--mgj-muted); font-size: 12px; font-weight: 650; letter-spacing: .04em; }
.mg-journal-section__head > span b { color: var(--mgj-blue); font: italic 17px/1 var(--mgj-serif); }
.mg-journal-section__head h2 { margin: 0; font-size: clamp(43px, 5vw, 78px); font-weight: 500; line-height: 1.12; letter-spacing: -.055em; }
.mg-journal-section__head h2 em { color: var(--mgj-blue); font-family: var(--mgj-serif); font-weight: 400; font-style: italic; }
.mg-journal-section__head p { margin: 8px 0 0; color: var(--mgj-muted); font-size: 15px; line-height: 2; }

.mg-journal-section--selected { background: var(--mgj-white); }
.mg-journal-selected-stack { max-width: 1120px; margin-inline-start: auto; }
.mg-journal-selected {
	position: sticky;
	top: 100px;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(350px, .88fr);
	min-height: 620px;
	margin-bottom: 62px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 24px;
	background: var(--mgj-ink);
	color: #fff;
	box-shadow: 0 36px 90px rgba(13, 13, 13, .18);
	transform-origin: center top;
}
.mg-journal-selected:nth-child(2) { top: 114px; }
.mg-journal-selected:nth-child(3) { top: 128px; }
.mg-journal-selected:nth-child(4) { top: 142px; }
.mg-journal-selected__visual { position: relative; min-height: 620px; overflow: hidden; background: #242424; }
.mg-journal-selected__visual > a { display: block; width: 100%; height: 100%; }
.mg-journal-selected__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--mgj-ease), filter .5s; }
.mg-journal-selected:hover .mg-journal-selected__visual img { transform: scale(1.035); }
.mg-journal-selected__visual > span { position: absolute; inset: 22px 22px auto auto; padding: 9px 14px; border-radius: 99px; background: rgba(13, 13, 13, .6); color: #fff; font: 600 10px/1 Arial, sans-serif; letter-spacing: .12em; backdrop-filter: blur(10px); }
.mg-journal-selected__copy { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 58px); }
.mg-journal-selected__meta { display: flex; justify-content: space-between; gap: 18px; color: rgba(255, 255, 255, .58); font-size: 11px; }
.mg-journal-selected__meta span:first-child { color: var(--mgj-lime); }
.mg-journal-selected__copy h3 { margin: auto 0 22px; font-size: clamp(28px, 3.6vw, 54px); line-height: 1.4; letter-spacing: -.045em; }
.mg-journal-selected__copy h3 a { transition: color .3s; }
.mg-journal-selected__copy h3 a:hover { color: var(--mgj-lime); }
.mg-journal-selected__copy > p { margin: 0 0 34px; color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 2; }
.mg-journal-selected__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .55); font-size: 12px; }
.mg-journal-selected__bottom a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.mg-journal-selected__bottom i { display: grid; place-items: center; width: 32px; aspect-ratio: 1; border-radius: 50%; background: var(--mgj-lime); color: var(--mgj-ink); font-style: normal; transition: transform .35s var(--mgj-ease); }
.mg-journal-selected__bottom a:hover i { transform: rotate(45deg); }

.mg-journal-topics { background: var(--mgj-paper); }
.mg-journal-topics .mg-journal-section__head { grid-template-columns: minmax(180px, .5fr) minmax(450px, 1.62fr); }
.mg-journal-topics__list { max-width: 1080px; margin-inline-start: auto; border-top: 1px solid var(--mgj-line); }
.mg-journal-topics__list a { display: grid; grid-template-columns: 64px minmax(280px, 1fr) 110px 54px; align-items: center; gap: 24px; min-height: 112px; border-bottom: 1px solid var(--mgj-line); transition: padding .45s var(--mgj-ease), color .3s, background .3s; }
.mg-journal-topics__list a:hover { padding-inline: 24px; background: var(--mgj-ink); color: #fff; }
.mg-journal-topics__list small { color: var(--mgj-blue); font: italic 22px/1 var(--mgj-serif); }
.mg-journal-topics__list strong { font-size: clamp(24px, 3vw, 42px); font-weight: 500; letter-spacing: -.04em; }
.mg-journal-topics__list span { color: var(--mgj-muted); font-size: 12px; }
.mg-journal-topics__list a:hover span { color: rgba(255, 255, 255, .58); }
.mg-journal-topics__list i { display: grid; place-items: center; width: 44px; aspect-ratio: 1; border: 1px solid var(--mgj-line); border-radius: 50%; font-style: normal; transition: transform .45s var(--mgj-ease), background .3s, color .3s; }
.mg-journal-topics__list a:hover i { transform: rotate(45deg); background: var(--mgj-lime); color: var(--mgj-ink); }

.mg-journal-latest { background: var(--mgj-white); }
.mg-journal-latest__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 70px 24px; }
.mg-journal-article { grid-column: span 4; }
.mg-journal-article:nth-child(6n + 1), .mg-journal-article:nth-child(6n + 5) { grid-column: span 5; }
.mg-journal-article:nth-child(6n + 2), .mg-journal-article:nth-child(6n + 4) { grid-column: span 3; margin-top: 110px; }
.mg-journal-article:nth-child(6n + 3), .mg-journal-article:nth-child(6n + 6) { grid-column: span 4; }
.mg-journal-article__image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: #e7e5dd; }
.mg-journal-article:nth-child(3n + 2) .mg-journal-article__image { aspect-ratio: 3 / 4; }
.mg-journal-article__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--mgj-ease), filter .5s; }
.mg-journal-article:hover .mg-journal-article__image img { transform: scale(1.045); filter: saturate(1.08); }
.mg-journal-article__image > span { position: absolute; inset: auto auto 16px 16px; display: grid; place-items: center; width: 50px; aspect-ratio: 1; border-radius: 50%; background: var(--mgj-lime); font-size: 18px; transform: translateY(75px) rotate(-45deg); transition: transform .5s var(--mgj-ease); }
.mg-journal-article:hover .mg-journal-article__image > span { transform: translateY(0) rotate(0); }
.mg-journal-article__copy { padding-top: 20px; }
.mg-journal-article__meta { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; color: var(--mgj-muted); font-size: 10px; }
.mg-journal-article__meta b { color: var(--mgj-blue); font: italic 16px/1 var(--mgj-serif); }
.mg-journal-article__copy h3 { margin: 18px 0 12px; font-size: clamp(21px, 2vw, 31px); line-height: 1.55; letter-spacing: -.03em; }
.mg-journal-article__copy h3 a { background-image: linear-gradient(currentColor, currentColor); background-position: 100% 100%; background-repeat: no-repeat; background-size: 0 1px; transition: background-size .5s var(--mgj-ease), color .3s; }
.mg-journal-article__copy h3 a:hover { color: var(--mgj-blue); background-size: 100% 1px; }
.mg-journal-article__copy > p { margin: 0; color: var(--mgj-muted); font-size: 13px; line-height: 1.95; }
.mg-journal-article__read { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--mgj-line); font-size: 12px; font-weight: 700; }
.mg-journal-article__read span { color: var(--mgj-muted); font-weight: 400; }
.mg-journal-pagination { margin-top: 90px; }
.mg-journal-pagination ul { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mg-journal-pagination a, .mg-journal-pagination span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--mgj-line); border-radius: 999px; font-size: 12px; }
.mg-journal-pagination .current, .mg-journal-pagination a:hover { background: var(--mgj-ink); color: #fff; }

.mg-journal-contact { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: 980px; padding: 130px clamp(28px, 7vw, 120px); overflow: hidden; background: var(--mgj-ink); color: #fff; }
.mg-journal-contact::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to left, #000, transparent 85%); }
.mg-journal-contact__orb { position: relative; display: grid; place-items: center; justify-self: center; width: min(35vw, 470px); aspect-ratio: 1; border-radius: 43% 57% 52% 48% / 48% 41% 59% 52%; background: var(--mgj-lime); color: var(--mgj-ink); box-shadow: 0 0 0 32px rgba(198, 251, 80, .045), 0 0 0 64px rgba(198, 251, 80, .025); animation: mgj-orb 9s ease-in-out infinite alternate; }
.mg-journal-contact__orb::before, .mg-journal-contact__orb::after { content: ""; position: absolute; border: 1px solid rgba(13, 13, 13, .22); border-radius: inherit; inset: 11%; transform: rotate(24deg); }
.mg-journal-contact__orb::after { inset: 24%; transform: rotate(-14deg); }
.mg-journal-contact__orb span { font: italic 800 clamp(90px, 13vw, 190px)/1 var(--mgj-serif); transform: rotate(-10deg); }
@keyframes mgj-orb { to { border-radius: 58% 42% 38% 62% / 56% 55% 45% 44%; transform: rotate(4deg) translateY(-14px); } }
.mg-journal-contact__copy { position: relative; z-index: 1; max-width: 760px; }
.mg-journal-contact__copy > span { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.58); font-size: 11px; }
.mg-journal-contact__copy > span i { width: 8px; aspect-ratio: 1; border-radius: 50%; background: var(--mgj-lime); box-shadow: 0 0 0 6px rgba(198,251,80,.09); }
.mg-journal-contact h2 { margin: 42px 0 34px; font-size: clamp(50px, 6.3vw, 104px); line-height: 1.04; font-weight: 500; letter-spacing: -.06em; }
.mg-journal-contact h2 em { color: var(--mgj-lime); font-family: var(--mgj-serif); font-weight: 400; }
.mg-journal-contact p { max-width: 590px; margin: 0 0 40px; color: rgba(255,255,255,.64); font-size: 16px; line-height: 2; }
.mg-journal-pill--lime { background: var(--mgj-lime); color: var(--mgj-ink) !important; }
.mg-journal-pill--lime i { background: rgba(13,13,13,.1); }
.mg-journal-pill--lime:hover { background: #fff; }

.mg-journal-footer { position: relative; padding: 100px clamp(28px, 5.5vw, 92px) 30px; overflow: hidden; background: #080808; color: #fff; border-top: 1px solid rgba(255,255,255,.1); }
.mg-journal-footer__top { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 60px; padding-bottom: 80px; }
.mg-journal-footer__top > div:first-child > span { color: var(--mgj-lime); font: 600 11px/1 Arial, sans-serif; letter-spacing: .16em; }
.mg-journal-footer__top h2 { margin: 34px 0 0; font-size: clamp(48px, 6vw, 92px); line-height: 1.08; font-weight: 500; letter-spacing: -.055em; }
.mg-journal-footer__top h2 em { color: var(--mgj-lime); font-family: var(--mgj-serif); font-weight: 400; }
.mg-journal-footer__time { display: flex; flex-direction: column; min-width: 180px; text-align: left; direction: rtl; }
.mg-journal-footer__time > span { color: rgba(255,255,255,.45); font-size: 11px; }
.mg-journal-footer__time b { margin: 18px 0 10px; font: 500 34px/1 Arial, sans-serif; direction: ltr; }
.mg-journal-footer__time small { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.66); }
.mg-journal-footer__time i { width: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--mgj-lime); animation: mgj-pulse 2.4s infinite; }
@keyframes mgj-pulse { 50% { box-shadow: 0 0 0 8px rgba(198,251,80,0); } }
.mg-journal-footer__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 34px; padding-block: 54px; border-block: 1px solid rgba(255,255,255,.12); }
.mg-journal-footer__links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mg-journal-footer__links span { margin-bottom: 10px; color: rgba(255,255,255,.4); font-size: 11px; }
.mg-journal-footer__links a { position: relative; color: rgba(255,255,255,.82); font-size: 14px; transition: color .3s, transform .35s var(--mgj-ease); }
.mg-journal-footer__links a:hover { color: var(--mgj-lime); transform: translateX(-7px); }
.mg-journal-footer__mark { margin-inline: calc(clamp(28px, 5.5vw, 92px) * -1); padding: 70px 20px 54px; overflow: hidden; white-space: nowrap; text-align: center; font: 600 clamp(64px, 12vw, 210px)/.78 Arial, sans-serif; letter-spacing: -.085em; color: #fff; }
.mg-journal-footer__mark em { color: var(--mgj-lime); font-family: var(--mgj-serif); font-weight: 400; }
.mg-journal-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: 10px; }

.mg-blog-motion-ready [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--mgj-ease), transform .9s var(--mgj-ease); }
.mg-blog-motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.mg-blog-motion-ready [data-reveal].is-past { opacity: .14; transform: translateY(-32px); }

.mg-blog-studio a:focus-visible, .mg-blog-studio button:focus-visible { outline: 3px solid var(--mgj-blue); outline-offset: 4px; }

@media (max-width: 1100px) {
	.mg-journal-thread { gap: 18px; }
	.mg-journal-thread a { display: inline-flex; }
	.mg-journal-section__head { grid-template-columns: 160px 1fr; }
	.mg-journal-section__head p { grid-column: 2; }
	.mg-journal-hero h1 { font-size: clamp(66px, 11vw, 116px); }
	.mg-journal-selected { grid-template-columns: 1fr 1fr; min-height: 560px; }
	.mg-journal-selected__visual { min-height: 560px; }
	.mg-journal-article, .mg-journal-article:nth-child(n) { grid-column: span 6; margin-top: 0; }
	.mg-journal-contact { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 782px) {
	.admin-bar .mg-journal-header { inset-block-start: 46px; }
	.admin-bar .mg-journal-progress { top: 46px; }
	.mg-journal-header,
	.mg-journal-header.is-hidden { inset-block-start: env(safe-area-inset-top,0); inset-inline: 0; grid-template-columns: 1fr auto; min-height: 62px; padding: 7px 12px; border-width: 0 0 1px; border-radius: 0 0 22px 22px; transform: none; }
	.admin-bar .mg-journal-header,
	.admin-bar .mg-journal-header.is-hidden { inset-block-start: 46px; }
	.mg-journal-thread, .mg-journal-site-link { display: none; }
	.mg-journal-brand__mark { width: 44px; }
	.mg-journal-menu-button { display: inline-flex; align-items: center; gap: 10px; justify-self: end; min-height: 46px; padding: 9px 15px; border-radius: 999px; background: var(--mgj-ink); color: #fff; font-size: 11px; font-weight: 700; }
	.mg-journal-menu-button__bars { display: flex; flex-direction: column; gap: 5px; width: 16px; }
	.mg-journal-menu-button__bars i { display: block; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--mgj-ease), width .35s; }
	.mg-journal-menu-button__bars i:last-child { width: 11px; }
	.mg-journal-menu-button[aria-expanded="true"] { background: var(--mgj-lime); color: var(--mgj-ink); }
	.mg-journal-menu-button[aria-expanded="true"] .mg-journal-menu-button__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
	.mg-journal-menu-button[aria-expanded="true"] .mg-journal-menu-button__bars i:last-child { width: 16px; transform: translateY(-3.25px) rotate(-45deg); }
	.mg-journal-menu { position: fixed; z-index: 9400; inset: 0; display: block; padding: 120px 24px 28px; overflow: hidden; background: var(--mgj-ink); color: #fff; transform: translateY(-105%); visibility: hidden; pointer-events: none; transition: transform .75s cubic-bezier(.7,.05,.2,1), visibility 0s .75s; }
	.mg-journal-menu.is-open { transform: translateY(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
	.mg-journal-menu__ghost { position: absolute; inset: auto -15vw -18vw auto; opacity: .045; color: #fff; font: italic 800 115vw/1 var(--mgj-serif); transform: rotate(-14deg); transition: transform 1.2s var(--mgj-ease); }
	.mg-journal-menu.is-open .mg-journal-menu__ghost { transform: rotate(-8deg) translate(-3vw,-3vw); }
	.mg-journal-menu nav { position: relative; z-index: 1; display: flex; flex-direction: column; }
	.mg-journal-menu nav a { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.09); opacity: 0; transform: translateY(22px); transition: opacity .65s var(--mgj-ease), transform .7s var(--mgj-ease), color .3s, padding .35s; }
	.mg-journal-menu.is-open nav a { opacity: 1; transform: none; }
	.mg-journal-menu.is-open nav a:nth-child(1) { transition-delay: .16s; }.mg-journal-menu.is-open nav a:nth-child(2) { transition-delay: .22s; }.mg-journal-menu.is-open nav a:nth-child(3) { transition-delay: .28s; }.mg-journal-menu.is-open nav a:nth-child(4) { transition-delay: .34s; }.mg-journal-menu.is-open nav a:nth-child(5) { transition-delay: .4s; }.mg-journal-menu.is-open nav a:nth-child(6) { transition-delay: .46s; }
	.mg-journal-menu nav a:hover { padding-inline-start: 8px; color: var(--mgj-lime); }
	.mg-journal-menu nav small { min-width: 30px; color: rgba(255,255,255,.32); font: italic 17px/1 var(--mgj-serif); }
	.mg-journal-menu nav span { font-size: clamp(31px, 8vw, 50px); font-weight: 550; line-height: 1.25; letter-spacing: -.04em; }
	.mg-journal-menu nav a:nth-child(even) span { font-family: var(--mgj-serif); font-style: italic; font-weight: 400; }
	.mg-journal-menu__foot { position: absolute; z-index: 1; inset: auto 24px 24px; display: flex; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.52); font-size: 10px; opacity: 0; transition: opacity .5s .55s; }
	.mg-journal-menu.is-open .mg-journal-menu__foot { opacity: 1; }
	.mg-journal-menu__foot span { display: inline-flex; align-items: center; gap: 8px; }
	.mg-journal-menu__foot i { width: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--mgj-lime); }

	.mg-journal-hero { min-height: auto; padding: 128px 20px 70px; }
	.admin-bar .mg-journal-hero { padding-top: 176px; }
	.mg-journal-hero__eyebrow span:last-child { display: none; }
	.mg-journal-hero h1 { margin: 54px 0 34px; font-size: clamp(50px, 15vw, 82px); line-height: 1.05; text-align: right; letter-spacing: -.065em; }
	.mg-journal-hero__grid { grid-template-columns: 1fr; margin-bottom: 52px; gap: 25px; }
	.mg-journal-hero__grid p { font-size: 15px; line-height: 1.95; }
	.mg-journal-pill { min-width: 185px; min-height: 58px; justify-self: start; }
	.mg-journal-hero__feature { grid-template-columns: 1fr; min-height: auto; border-radius: 18px; }
	.mg-journal-hero__feature-image { min-height: 0; aspect-ratio: 4 / 3; }
	.mg-journal-hero__feature-copy { min-height: 330px; padding: 26px 24px; }
	.mg-journal-hero__feature-copy h2 { margin: 22px 0; font-size: 27px; }
	.mg-journal-marquee > div { padding-block: 21px; gap: 24px; }
	.mg-journal-section { padding: 84px 20px; }
	.mg-journal-section__head, .mg-journal-topics .mg-journal-section__head { grid-template-columns: 1fr; gap: 26px; margin-bottom: 48px; }
	.mg-journal-section__head p { grid-column: auto; }
	.mg-journal-section__head h2 { font-size: clamp(40px, 11vw, 60px); }
	.mg-journal-selected-stack { margin: 0; }
	.mg-journal-selected, .mg-journal-selected:nth-child(n) { position: relative; top: auto; grid-template-columns: 1fr; min-height: auto; margin-bottom: 24px; border-radius: 18px; }
	.mg-journal-selected__visual { min-height: 0; aspect-ratio: 4 / 3; }
	.mg-journal-selected__copy { min-height: 420px; padding: 26px 24px; }
	.mg-journal-selected__copy h3 { margin: auto 0 18px; font-size: 29px; }
	.mg-journal-selected__copy > p { font-size: 13px; margin-bottom: 24px; }
	.mg-journal-selected__bottom { align-items: flex-end; }
	.mg-journal-topics__list a { grid-template-columns: 40px 1fr 42px; min-height: 88px; gap: 14px; }
	.mg-journal-topics__list a > span { display: none; }
	.mg-journal-topics__list strong { font-size: 23px; }
	.mg-journal-topics__list i { width: 38px; }
	.mg-journal-latest__grid { grid-template-columns: 1fr; gap: 52px; }
	.mg-journal-article, .mg-journal-article:nth-child(n) { grid-column: auto; margin-top: 0; }
	.mg-journal-article:nth-child(3n + 2) .mg-journal-article__image { aspect-ratio: 4 / 3; }
	.mg-journal-article__copy h3 { font-size: 24px; }
	.mg-journal-contact { grid-template-columns: 1fr; min-height: 940px; padding: 90px 20px; gap: 80px; }
	.mg-journal-contact__orb { width: min(78vw, 360px); order: 2; }
	.mg-journal-contact__copy { order: 1; }
	.mg-journal-contact h2 { font-size: clamp(47px, 13vw, 70px); }
	.mg-journal-footer { padding: 72px 20px 26px; }
	.mg-journal-footer__top { grid-template-columns: 1fr; gap: 42px; padding-bottom: 58px; }
	.mg-journal-footer__top h2 { font-size: 48px; }
	.mg-journal-footer__time { text-align: right; }
	.mg-journal-footer__links { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
	.mg-journal-footer__mark { margin-inline: -20px; padding-block: 54px 45px; font-size: 18vw; }
	.mg-journal-footer__bottom { flex-direction: column; }
	.mg-journal-custom { padding: 86px 20px 104px; }
	.mg-journal-custom--split .mg-journal-custom__inner,
	.mg-journal-custom--cards .mg-journal-custom__copy { grid-template-columns: 1fr; gap: 38px; }
	.mg-journal-custom--split .mg-journal-custom__media { min-height: 0; aspect-ratio: 4/5; order: 2; }
	.mg-journal-custom--left .mg-journal-custom__media { order: -1; }
	.mg-journal-custom__copy h2 { font-size: clamp(45px,14vw,72px); }
	.mg-journal-custom--statement { min-height: 780px; }
	.mg-journal-custom--statement .mg-journal-custom__copy h2 { font-size: clamp(58px,17vw,92px); }
	.mg-journal-custom--statement .mg-journal-custom__media { inset: auto -8% 6% auto; width: 58vw; opacity: .38; }
	.mg-journal-custom--media { min-height: 820px; padding: 18px; }
	.mg-journal-custom--media .mg-journal-custom__inner { min-height: 780px; }
	.mg-journal-custom--media .mg-journal-custom__copy { padding: 28px 22px; }
	.mg-journal-custom--cards .mg-journal-custom__copy > p { grid-column: auto; }
	.mg-journal-custom__cards { grid-template-columns: 1fr; }
	.mg-journal-custom__cards article { grid-column: auto; min-height: 300px; border-inline: 0; border-bottom: 1px solid var(--mgj-line); }
	.mg-journal-custom__cards article:first-child { border-inline: 0; }
}

@media (max-width: 420px) {
	.mg-journal-brand b { font-size: 11px; }.mg-journal-brand em { font-size: 13px; }
	.mg-journal-menu-button__label { display: none; }
	.mg-journal-menu-button { width: 46px; justify-content: center; padding: 0; }
	.mg-journal-hero h1 { font-size: 14.5vw; }
	.mg-journal-selected__copy { min-height: 390px; }
	.mg-journal-footer__links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html.mg-blog-studio-html { scroll-behavior: auto; }
	.mg-blog-studio *, .mg-blog-studio *::before, .mg-blog-studio *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
	.mg-blog-motion-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Dashboard-controlled editorial system. */
#mg-journal-main { display: flex; flex-direction: column; }
.mg-journal-hero { order: 0; }
.mg-journal-marquee { order: 1; }
.mg-journal-section,
.mg-journal-contact { order: var(--mgj-order, 10); }
.mg-journal-section { padding-block: var(--mgj-section-space, 130px); }
.mg-journal-hero h1,
.mg-journal-section__head h2,
.mg-journal-selected__copy h3,
.mg-journal-article__copy h3,
.mg-journal-contact h2,
.mg-journal-footer__top h2 { font-family: var(--mgj-display, var(--mgj-sans)); }
.mg-journal-contact { background: var(--mgj-contact, var(--mgj-ink)); }
.mg-journal-footer { background: var(--mgj-footer, #080808); }

/* Dashboard-created sections share one flexible, animated design language. */
.mg-journal-custom { position: relative; order: var(--mgj-order,20); overflow: clip; padding: clamp(92px,11vw,168px) clamp(24px,6vw,92px); background: var(--mgj-paper); color: var(--mgj-ink); }
.mg-journal-custom::before { content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none; background-image: radial-gradient(circle at 1px 1px,color-mix(in srgb,var(--mgj-ink) 24%,transparent) 1px,transparent 0); background-size: 23px 23px; mask-image: linear-gradient(130deg,#000,transparent 54%); }
.mg-journal-custom__inner { position: relative; z-index: 1; max-width: 1280px; margin-inline: auto; }
.mg-journal-custom__copy > span { display: block; margin-bottom: 24px; color: var(--mgj-blue); font: 700 10px/1 Arial,sans-serif; letter-spacing: .15em; }
.mg-journal-custom__copy h2 { max-width: 980px; margin: 0 0 30px; font-size: clamp(48px,7vw,112px); font-weight: 500; line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.mg-journal-custom__copy h2 em { color: var(--mgj-blue); font-family: var(--mgj-serif); font-weight: 400; }
.mg-journal-custom__copy > p { max-width: 640px; margin: 0 0 34px; color: var(--mgj-muted); font-size: clamp(15px,1.25vw,19px); line-height: 2; text-wrap: pretty; }
.mg-journal-custom__media { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: color-mix(in srgb,var(--mgj-ink) 8%,var(--mgj-paper)); }
.mg-journal-custom__media img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0,var(--mgj-image-shift,0),0) scale(1.02); transition: transform 1.1s var(--mgj-ease),filter .5s; }
.mg-journal-custom__media::after { content: ""; position: absolute; inset: 18px; border: 1px solid color-mix(in srgb,#fff 50%,transparent); border-radius: 12px; pointer-events: none; }
.mg-journal-custom__media > i { position: absolute; z-index: 2; inset: 50% auto auto 50%; width: 54px; aspect-ratio: 1; border-radius: 50%; background: var(--mgj-lime); box-shadow: 0 0 0 12px color-mix(in srgb,var(--mgj-lime) 18%,transparent); transform: translate(-50%,-50%); animation: mgj-custom-orb 4.8s ease-in-out infinite; }
@keyframes mgj-custom-orb { 50% { transform: translate(-50%,-50%) scale(.72); box-shadow: 0 0 0 28px color-mix(in srgb,var(--mgj-lime) 0%,transparent); } }
.mg-journal-custom--split .mg-journal-custom__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.9fr); align-items: center; gap: clamp(46px,8vw,130px); }
.mg-journal-custom--split.mg-journal-custom--no-media .mg-journal-custom__inner { grid-template-columns: 1fr; }
.mg-journal-custom--split.mg-journal-custom--no-media .mg-journal-custom__copy { max-width: 980px; }
.mg-journal-custom--split .mg-journal-custom__media { min-height: 620px; }
.mg-journal-custom--left .mg-journal-custom__media { order: -1; }
.mg-journal-custom--center .mg-journal-custom__copy { text-align: center; }
.mg-journal-custom--center .mg-journal-custom__copy > * { margin-inline: auto; }
.mg-journal-custom--statement { min-height: min(940px,100dvh); display: grid; align-items: center; }
.mg-journal-custom--statement .mg-journal-custom__copy h2 { max-width: 1180px; font-size: clamp(68px,10vw,164px); }
.mg-journal-custom--statement .mg-journal-custom__media { position: absolute; inset: 12% auto auto 6%; width: min(27vw,360px); aspect-ratio: 4/5; opacity: .92; transform: rotate(-4deg); }
.mg-journal-custom--media { min-height: min(1000px,110dvh); display: grid; align-items: end; padding-bottom: clamp(44px,7vw,100px); }
.mg-journal-custom--media.mg-journal-custom--no-media { min-height: auto; background: var(--mgj-ink); }
.mg-journal-custom--media .mg-journal-custom__inner { display: grid; min-height: 760px; align-items: end; }
.mg-journal-custom--media .mg-journal-custom__media { position: absolute; z-index: -1; inset: 0; border-radius: 24px; }
.mg-journal-custom--media .mg-journal-custom__media::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(to top,rgba(5,8,10,.82),rgba(5,8,10,.05) 65%); }
.mg-journal-custom--media .mg-journal-custom__copy { max-width: 760px; padding: clamp(28px,5vw,64px); color: #fff; }
.mg-journal-custom--media .mg-journal-custom__copy > p { color: rgba(255,255,255,.74); }
.mg-journal-custom--cards .mg-journal-custom__copy { display: grid; grid-template-columns: 1fr minmax(260px,.45fr); gap: 34px; align-items: end; margin-bottom: 72px; }
.mg-journal-custom--cards .mg-journal-custom__copy > p { grid-column: 2; }
.mg-journal-custom__cards { display: grid; grid-template-columns: repeat(12,1fr); border-block: 1px solid var(--mgj-line); }
.mg-journal-custom__cards article { position: relative; grid-column: span 4; min-height: 360px; padding: 34px 28px; border-inline-end: 1px solid var(--mgj-line); transition: background .4s,color .4s,transform .5s var(--mgj-ease); }
.mg-journal-custom__cards article:first-child { border-inline-start: 1px solid var(--mgj-line); }
.mg-journal-custom__cards article:hover { z-index: 2; background: var(--mgj-lime); color: var(--mgj-ink); transform: translateY(-10px); }
.mg-journal-custom__cards small { color: var(--mgj-blue); font: italic 16px/1 var(--mgj-serif); }
.mg-journal-custom__cards h3 { margin: 76px 0 18px; font-size: clamp(26px,3vw,44px); line-height: 1.25; }
.mg-journal-custom__cards p { color: var(--mgj-muted); line-height: 1.9; }
.mg-journal-custom__cards a { position: absolute; inset: auto auto 26px 28px; display: grid; place-items: center; width: 44px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.mg-journal-custom--white { background: var(--mgj-white); }
.mg-journal-custom--dark { background: var(--mgj-ink); color: #fff; }
.mg-journal-custom--dark .mg-journal-custom__copy > p,.mg-journal-custom--dark .mg-journal-custom__cards p { color: rgba(255,255,255,.62); }
.mg-journal-custom--dark .mg-journal-custom__cards { border-color: rgba(255,255,255,.16); }
.mg-journal-custom--dark .mg-journal-custom__cards article { border-color: rgba(255,255,255,.16); }
.mg-journal-custom--highlight { background: var(--mgj-lime); }
.mg-journal-custom--highlight .mg-journal-custom__copy > span,.mg-journal-custom--highlight .mg-journal-custom__copy h2 em { color: var(--mgj-ink); }
.mg-journal-header-dark .mg-journal-header { border-color: rgba(255,255,255,.12); background: color-mix(in srgb, var(--mgj-ink) 91%, transparent); color: #fff; box-shadow: 0 20px 55px color-mix(in srgb, var(--mgj-ink) 30%, transparent); }
.mg-journal-header-dark .mg-journal-header.is-compact { background: color-mix(in srgb, var(--mgj-ink) 96%, transparent); }
.mg-journal-header-dark .mg-journal-brand__mark { background: var(--mgj-lime); color: var(--mgj-ink); }
.mg-journal-header-dark .mg-journal-brand em,
.mg-journal-header-dark .mg-journal-thread small { color: rgba(255,255,255,.52); }
.mg-journal-header-dark .mg-journal-site-link { background: #fff; color: var(--mgj-ink) !important; }
.mg-journal-header-plain .mg-journal-header { inset-block-start: 0; inset-inline: 0; min-height: 82px; border-width: 0 0 1px; border-radius: 0; background: color-mix(in srgb, var(--mgj-white) 96%, transparent); box-shadow: none; }
.admin-bar.mg-journal-header-plain .mg-journal-header { inset-block-start: 32px; }
.mg-journal-thread { position: relative; }
.mg-journal-thread::before { content: ""; position: absolute; inset: auto 0 4px; height: 1px; background: var(--mgj-line); }
.mg-journal-thread a::before { content: ""; position: absolute; z-index: 1; inset: auto 50% 1px auto; width: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--mgj-paper); border: 1px solid currentColor; transform: translateX(50%); transition: background .3s, transform .35s var(--mgj-ease); }
.mg-journal-thread a.is-active::before,
.mg-journal-thread a:hover::before { background: var(--mgj-lime); transform: translateX(50%) scale(1.25); }
.mg-journal-thread a::after { bottom: 4px; }
.mg-journal-hero::before { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--mgj-blue) 14%, transparent) 0 1px, transparent 1.5px); background-size: 19px 19px; mask-image: linear-gradient(to bottom, #000, transparent 45%); }
.mg-journal-hero { position: relative; }
.mg-journal-hero > * { position: relative; z-index: 1; }
.mg-journal-hero__feature-image img,
.mg-journal-selected__visual img,
.mg-journal-article__image img { --mgj-hover-scale: 1; height: calc(100% + 26px); margin-top: -13px; transform: translate3d(0,var(--mgj-image-shift,0px),0) scale(var(--mgj-hover-scale)); will-change: transform; }
.mg-journal-hero__feature:hover img,
.mg-journal-selected:hover .mg-journal-selected__visual img { --mgj-hover-scale: 1.035; transform: translate3d(0,var(--mgj-image-shift,0px),0) scale(var(--mgj-hover-scale)); }
.mg-journal-article:hover .mg-journal-article__image img { --mgj-hover-scale: 1.045; transform: translate3d(0,var(--mgj-image-shift,0px),0) scale(var(--mgj-hover-scale)); }
.mg-blog-motion-ready [data-reveal] { transition-duration: var(--mgj-motion-duration, .9s); }
.mg-journal-motion-soft .mg-blog-motion-ready [data-reveal],
.mg-journal-motion-soft.mg-blog-motion-ready [data-reveal] { transform: translateY(22px); filter: none; }
.mg-journal-motion-off [data-reveal],
.mg-journal-motion-off .mg-blog-motion-ready [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
.mg-journal-motion-off [data-journal-parallax] img { transform: none !important; }
.mg-journal-density-compact .mg-journal-hero { min-height: 1050px; }
.mg-journal-density-airy .mg-journal-hero { min-height: 1300px; }
.mg-journal-layout-rows .mg-journal-latest__grid { display: block; max-width: 1080px; margin-inline-start: auto; }
.mg-journal-layout-rows .mg-journal-article,
.mg-journal-layout-rows .mg-journal-article:nth-child(n) { display: grid; grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); gap: clamp(28px,4vw,62px); align-items: center; margin: 0; padding: 32px 0; border-top: 1px solid var(--mgj-line); }
.mg-journal-layout-rows .mg-journal-article:last-child { border-bottom: 1px solid var(--mgj-line); }
.mg-journal-layout-rows .mg-journal-article__image,
.mg-journal-layout-rows .mg-journal-article:nth-child(n) .mg-journal-article__image { aspect-ratio: 16/10; border-radius: 12px; }
.mg-journal-layout-rows .mg-journal-article__copy { padding: 0; }
.mg-journal-layout-rows .mg-journal-article__copy h3 { margin-block: 14px 9px; font-size: clamp(25px,3vw,43px); line-height: 1.35; }
.mg-journal-layout-balanced .mg-journal-latest__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 70px 34px; }
.mg-journal-layout-balanced .mg-journal-article,
.mg-journal-layout-balanced .mg-journal-article:nth-child(n) { grid-column: auto; margin: 0; }
.mg-journal-layout-balanced .mg-journal-article:nth-child(n) .mg-journal-article__image { aspect-ratio: 16/10; }
.mg-journal-article:active,
.mg-journal-selected:active,
.mg-journal-topics__list a:active,
.mg-journal-pill:active { transform: scale(.992); }

@media (max-width: 782px) {
	.mg-journal-header-plain .mg-journal-header { inset-block-start: 0; inset-inline: 0; }
	.admin-bar.mg-journal-header-plain .mg-journal-header { inset-block-start: 46px; }
	.mg-journal-layout-rows .mg-journal-article,
	.mg-journal-layout-rows .mg-journal-article:nth-child(n),
	.mg-journal-layout-balanced .mg-journal-latest__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
	.mg-journal-layout-rows .mg-journal-article,
	.mg-journal-layout-rows .mg-journal-article:nth-child(n) { padding-block: 26px 42px; }
	.mg-journal-layout-rows .mg-journal-article__copy h3 { font-size: 27px; }
	.mg-journal-hero__feature-image img,
	.mg-journal-selected__visual img,
	.mg-journal-article__image img { height: 100%; margin-top: 0; }
}

/* Allgood-inspired chapter system — MegaGen Journal v2. */
@media (min-width: 783px) {
	body.mg-blog-studio { --mgj-rail-width: clamp(238px, 20vw, 292px); }
	body.mg-blog-studio.mg-journal-cursor-ready,
	body.mg-blog-studio.mg-journal-cursor-ready a,
	body.mg-blog-studio.mg-journal-cursor-ready button { cursor: none !important; }

	.mg-journal-header,
	.mg-journal-header.is-compact,
	.mg-journal-header,
	.mg-journal-header.is-hidden,
	.mg-journal-header-plain .mg-journal-header {
		inset: 0 0 auto;
		display: grid;
		grid-template-columns: clamp(150px,18vw,210px) minmax(0, 1fr);
		grid-template-areas: "brand thread";
		min-height: 126px;
		padding: 18px clamp(18px,3vw,38px) 14px clamp(22px,4vw,52px);
		border: 0;
		border-bottom: 1px solid color-mix(in srgb, var(--mgj-line) 74%, transparent);
		border-radius: 0;
		background: var(--mgj-paper);
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		transform: none;
		direction: ltr;
	}
	.admin-bar .mg-journal-header,
	.admin-bar.mg-journal-header-plain .mg-journal-header { inset-block-start: 32px; }
	.mg-journal-brand { grid-area: brand; align-self: start; justify-self: start; margin-top: 9px; direction: ltr; }
	.mg-journal-brand__mark { width: 43px; }
	.mg-journal-thread {
		grid-area: thread;
		position: relative;
		align-self: stretch;
		justify-self: stretch;
		display: grid;
		grid-template-columns: repeat(var(--mgj-nav-count, 4), minmax(56px, 1fr));
		align-items: start;
		gap: 0;
		padding: 0 18px;
		direction: rtl;
	}
	.mg-journal-thread a { z-index: 2; display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 0; padding: 4px 4px 36px; font-size: clamp(10px,1vw,13px); font-weight: 500; line-height: 1.25; text-align: center; }
	.mg-journal-thread a::before { display: none; }
	.mg-journal-thread a::after { inset: auto 50% 16px auto; z-index: 3; width: 7px; height: 7px; border: 0; border-radius: 50%; background: var(--mgj-ink); transform: translateX(50%) scale(.55); transition: transform .45s var(--mgj-ease), background .35s; }
	.mg-journal-thread a:hover::after,
	.mg-journal-thread a.is-active::after { transform: translateX(50%) scale(1); background: var(--mgj-lime); box-shadow: 0 0 0 5px color-mix(in srgb, var(--mgj-lime) 18%, transparent); }
	.mg-journal-thread small { margin-bottom: 2px; color: #87877f; font: 600 9px/1 Arial, sans-serif; letter-spacing: .12em; }
	.mg-journal-thread a span { max-width: 100%; overflow: hidden; font-family: var(--mgj-serif); font-size: clamp(12px,1.3vw,17px); font-style: italic; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
	.mg-journal-thread__wire { position: absolute; z-index: 0; inset: auto 18px 0; width: calc(100% - 36px); height: 48px; overflow: visible; pointer-events: none; }
	.mg-journal-thread__wire-base,
	.mg-journal-thread__wire-progress { fill: none; vector-effect: non-scaling-stroke; }
	.mg-journal-thread__wire-base { stroke: color-mix(in srgb, var(--mgj-ink) 54%, transparent); stroke-width: 1.15; }
	.mg-journal-thread__wire-progress { stroke: var(--mgj-lime); stroke-width: 2.25; stroke-linecap: round; stroke-dasharray: var(--mgj-thread-progress, 0) 1; transition: stroke-dasharray .32s linear; }
	.mg-journal-thread__traveller { position: absolute; z-index: 4; inset: var(--mgj-thread-y, 72px) auto auto var(--mgj-thread-x, 100%); display: grid; place-items: center; width: 43px; aspect-ratio: 1; border-radius: 50%; background: var(--mgj-ink); color: #fff; box-shadow: 0 10px 24px rgba(13,13,13,.2); transform: translate(-50%,-50%); transition: left .32s linear, top .32s linear, transform .45s var(--mgj-ease); pointer-events: none; }
	.mg-journal-thread__traveller i,
	.mg-journal-thread__traveller i::after { width: 14px; height: 14px; border: 1px solid rgba(255,255,255,.78); border-radius: 3px; }
	.mg-journal-thread__traveller i { position: relative; display: block; transform: rotate(45deg); }
	.mg-journal-thread__traveller i::after { content: ""; position: absolute; inset: 3px; width: 6px; height: 6px; }
.mg-journal-thread__traveller.is-moving { transform: translate(-50%,-50%) scale(1.12) rotate(8deg); }
	.mg-journal-thread__scrubber { position: absolute; z-index: 5; inset: auto 18px 0; width: calc(100% - 36px); height: 24px; margin: 0; opacity: 0; cursor: grab; direction: rtl; }
	.mg-journal-thread__scrubber:active { cursor: grabbing; }
	.mg-journal-thread:focus-within .mg-journal-thread__traveller { outline: 3px solid color-mix(in srgb, var(--mgj-lime) 65%, transparent); outline-offset: 5px; }
	.mg-journal-site-link { position: fixed; z-index: 9600; inset: 50% auto auto 0; display: flex; flex-direction: column; width: 52px; min-width: 0; height: 170px; padding: 15px 0; border-radius: 0; transform: translateY(-50%); writing-mode: vertical-rl; }
	.mg-journal-site-link:hover { transform: translateY(-50%); }
	.mg-journal-site-link::before { content: "MEGAGEN"; color: #fff; font: 700 9px/1 Arial,sans-serif; letter-spacing: .16em; writing-mode: vertical-rl; }
	.mg-journal-site-link span { display: none; }
	.mg-journal-site-link i { width: 26px; order: -1; }

	.mg-journal-chapter {
		position: fixed;
		z-index: 340;
		inset: 126px 0 0 auto;
		display: flex;
		flex-direction: column;
		width: var(--mgj-rail-width);
		padding: clamp(42px, 5vh, 72px) clamp(26px, 3vw, 44px) 34px;
		border-inline-start: 1px solid var(--mgj-line);
		background: color-mix(in srgb, var(--mgj-paper) 97%, transparent);
		color: var(--mgj-ink);
		transition: background .65s var(--mgj-ease), color .65s var(--mgj-ease), border-color .65s, opacity .5s var(--mgj-ease), transform .6s var(--mgj-ease), visibility .5s;
	}
	.admin-bar .mg-journal-chapter { inset-block-start: 158px; }
	.mg-journal-chapter__eyebrow { color: var(--mgj-muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
	.mg-journal-chapter strong { margin: 12px 0 22px; font: italic 400 clamp(92px, 10vw, 158px)/.82 var(--mgj-serif); letter-spacing: -.08em; direction: ltr; }
	.mg-journal-chapter > i { width: 100%; height: 1px; margin-bottom: 28px; background: linear-gradient(to left, var(--mgj-lime) 0 28%, var(--mgj-line) 28%); transition: background .5s; }
	.mg-journal-chapter h2 { margin: 0 0 16px; font-size: clamp(24px, 2vw, 34px); line-height: 1.35; letter-spacing: -.04em; }
	.mg-journal-chapter p { margin: 0; color: var(--mgj-muted); font-size: 13px; line-height: 2; transition: color .65s; }
	.mg-journal-chapter small { margin-top: auto; color: var(--mgj-blue); font: 700 10px/1 Arial, sans-serif; letter-spacing: .14em; direction: ltr; }
	.mg-journal-chapter.is-changing strong,
	.mg-journal-chapter.is-changing h2,
	.mg-journal-chapter.is-changing p { animation: mgj-chapter-change .62s var(--mgj-ease) both; }
	.mg-journal-chapter.is-changing h2 { animation-delay: .04s; }
	.mg-journal-chapter.is-changing p { animation-delay: .08s; }
	body.is-journal-contact .mg-journal-chapter { border-color: rgba(255,255,255,.12); background: var(--mgj-contact, var(--mgj-ink)); color: #fff; }
	body.is-journal-contact .mg-journal-chapter p,
	body.is-journal-contact .mg-journal-chapter__eyebrow { color: rgba(255,255,255,.52); }
	body.is-journal-contact .mg-journal-chapter > i { background: linear-gradient(to left, var(--mgj-lime) 0 28%, rgba(255,255,255,.17) 28%); }
	body.is-journal-contact .mg-journal-chapter small { color: var(--mgj-lime); }
	#mg-journal-main,
	.mg-journal-footer { width: calc(100% - var(--mgj-rail-width)); margin-left: 0; margin-right: auto; }
	.mg-journal-hero { min-height: 1120px; padding: 176px clamp(34px,5vw,76px) 96px; }
	.mg-journal-hero h1 { max-width: 1040px; margin-top: 72px; font-size: clamp(70px,8vw,126px); }
	.mg-journal-hero__feature { max-width: 1050px; border-radius: 16px; box-shadow: none; }
	.mg-journal-section { padding: clamp(110px,12vw,170px) clamp(38px,6vw,92px); }
	.mg-journal-section__head { grid-template-columns: minmax(430px,1fr) minmax(240px,.46fr); gap: clamp(42px,6vw,92px); }
	.mg-journal-section__head > span { display: none; }
	.mg-journal-section__head h2 { font-size: clamp(48px,5.2vw,82px); }
	.mg-journal-section__head > p { grid-column: 2; }

	.mg-journal-selected-stack { max-width: none; margin: 0; }
	.mg-journal-selected,
	.mg-journal-selected:nth-child(n) { position: relative; top: auto; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); min-height: 510px; margin: 0; padding: 38px 0; overflow: visible; border: 0; border-top: 1px solid var(--mgj-line); border-radius: 0; background: transparent; color: var(--mgj-ink); box-shadow: none; }
	.mg-journal-selected:last-child { border-bottom: 1px solid var(--mgj-line); }
	.mg-journal-selected:nth-child(even) { grid-template-columns: minmax(320px,.92fr) minmax(0,1.08fr); }
	.mg-journal-selected:nth-child(even) .mg-journal-selected__visual { order: 2; }
	.mg-journal-selected__visual { min-height: 430px; border-radius: 14px; }
	.mg-journal-selected__visual > span { border-radius: 0; background: var(--mgj-lime); color: var(--mgj-ink); backdrop-filter: none; }
	.mg-journal-selected__copy { min-height: 430px; padding: 20px clamp(30px,4vw,58px); }
	.mg-journal-selected__meta { color: var(--mgj-muted); }
	.mg-journal-selected__meta span:first-child { color: var(--mgj-blue); }
	.mg-journal-selected__copy h3 { margin: auto 0 20px; font-size: clamp(30px,3.3vw,51px); }
	.mg-journal-selected__copy h3 a:hover { color: var(--mgj-blue); }
	.mg-journal-selected__copy > p { color: var(--mgj-muted); }
	.mg-journal-selected__bottom { border-color: var(--mgj-line); color: var(--mgj-muted); }
	.mg-journal-selected__bottom a { color: var(--mgj-ink); }

	.mg-journal-layout-editorial .mg-journal-latest__grid,
	.mg-journal-layout-rows .mg-journal-latest__grid { display: block; max-width: none; }
	.mg-journal-layout-editorial .mg-journal-article,
	.mg-journal-layout-editorial .mg-journal-article:nth-child(n),
	.mg-journal-layout-rows .mg-journal-article,
	.mg-journal-layout-rows .mg-journal-article:nth-child(n) { display: grid; grid-template-columns: minmax(290px,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(34px,5vw,74px); margin: 0; padding: 40px 0; border-top: 1px solid var(--mgj-line); }
	.mg-journal-layout-editorial .mg-journal-article:last-child,
	.mg-journal-layout-rows .mg-journal-article:last-child { border-bottom: 1px solid var(--mgj-line); }
	.mg-journal-layout-editorial .mg-journal-article__image,
	.mg-journal-layout-editorial .mg-journal-article:nth-child(n) .mg-journal-article__image,
	.mg-journal-layout-rows .mg-journal-article__image,
	.mg-journal-layout-rows .mg-journal-article:nth-child(n) .mg-journal-article__image { aspect-ratio: 16/10; border-radius: 12px; }
	.mg-journal-layout-editorial .mg-journal-article__copy,
	.mg-journal-layout-rows .mg-journal-article__copy { padding: 0; }
	.mg-journal-layout-editorial .mg-journal-article__copy h3,
	.mg-journal-layout-rows .mg-journal-article__copy h3 { margin: 16px 0 10px; font-size: clamp(27px,3.2vw,48px); line-height: 1.42; }

	.mg-journal-section > *,
	.mg-journal-contact > * { transition: opacity .58s var(--mgj-ease), filter .72s var(--mgj-ease), transform .72s var(--mgj-ease); }
	.mg-journal-section.is-chapter-defocused > *,
	.mg-journal-contact.is-chapter-defocused > * { opacity: .24; filter: blur(7px); transform: translateY(var(--mgj-chapter-shift,18px)); }
	.mg-journal-section.is-chapter-active > *,
	.mg-journal-contact.is-chapter-active > * { opacity: 1; filter: blur(0); transform: none; }
	.mg-journal-footer__mark { margin-inline: 0; padding-inline: 0; font-size: clamp(58px,7vw,112px); letter-spacing: -.07em; }
}

/* Chapter 03 — evidence workflow inspired by the reference site's scroll choreography. */
.mg-journal-process { display: grid; grid-template-columns: minmax(260px,.6fr) minmax(0,1.4fr); gap: clamp(48px,8vw,130px); margin: 20px 0 clamp(100px,12vw,180px); padding-block: clamp(42px,6vw,90px); border-block: 1px solid var(--mgj-line); }
.mg-journal-process__intro { position: sticky; top: 174px; align-self: start; }
.mg-journal-process__intro > span { display: block; margin-bottom: 24px; color: var(--mgj-blue); font: 700 10px/1 Arial,sans-serif; letter-spacing: .16em; direction: ltr; }
.mg-journal-process__intro h3 { margin: 0 0 28px; font-size: clamp(38px,4vw,70px); font-weight: 500; line-height: 1.08; letter-spacing: -.055em; }
.mg-journal-process__intro h3 em { color: var(--mgj-blue); font-family: var(--mgj-serif); font-weight: 400; }
.mg-journal-process__intro p { max-width: 390px; margin: 0; color: var(--mgj-muted); line-height: 2; }
.mg-journal-process__timeline { position: relative; min-width: 0; padding-inline-start: 86px; }
.mg-journal-process__timeline ol { margin: 0; padding: 0; list-style: none; }
.mg-journal-process__timeline li { min-height: 260px; padding: 34px 0 52px; border-top: 1px solid var(--mgj-line); opacity: .22; filter: blur(5px); transform: translateY(24px); transition: opacity .62s var(--mgj-ease), filter .72s var(--mgj-ease), transform .72s var(--mgj-ease); }
.mg-journal-process__timeline li:last-child { border-bottom: 1px solid var(--mgj-line); }
/* Steps already read stay fully legible (at .58 the muted text fell to ~2.6:1); only the steps still ahead are dimmed. */
.mg-journal-process__timeline li.is-past { opacity: 1; filter: blur(0); transform: none; }
.mg-journal-process__timeline li.is-active { opacity: 1; filter: blur(0); transform: none; }
.mg-blog-motion-ready .mg-journal-process [data-process-step] { opacity: .22 !important; filter: blur(5px) !important; transform: translateY(24px) !important; }
.mg-blog-motion-ready .mg-journal-process [data-process-step].is-past { opacity: 1 !important; filter: blur(0) !important; transform: none !important; }
.mg-blog-motion-ready .mg-journal-process [data-process-step].is-active { opacity: 1 !important; filter: blur(0) !important; transform: none !important; }
.mg-journal-process__timeline li small { display: block; margin-bottom: 18px; color: var(--mgj-blue); font: 700 10px/1 Arial,sans-serif; letter-spacing: .14em; direction: ltr; }
.mg-journal-process__timeline li strong { display: block; margin-bottom: 16px; font-size: clamp(31px,4vw,58px); font-weight: 500; line-height: 1.15; letter-spacing: -.05em; }
.mg-journal-process__timeline li p { max-width: 640px; margin: 0 0 22px; color: var(--mgj-muted); font-size: clamp(15px,1.25vw,18px); line-height: 2; }
.mg-journal-process__timeline li > span { color: var(--mgj-muted); font: 700 9px/1 Arial,sans-serif; letter-spacing: .16em; direction: ltr; }
.mg-journal-process__rail { position: absolute; inset: 0 0 84px auto; width: 2px; background: color-mix(in srgb, var(--mgj-line) 76%, transparent); }
.mg-journal-process__rail > span { position: absolute; inset: 0; background: var(--mgj-lime); transform: scaleY(var(--mgj-process-progress,0)); transform-origin: top; will-change: transform; }
.mg-journal-process__rail > b { position: absolute; z-index: 2; inset: var(--mgj-process-orb,0px) auto auto 50%; display: grid; place-items: center; width: 48px; aspect-ratio: 1; border-radius: 50%; background: var(--mgj-ink); color: #fff; font: italic 700 12px/1 var(--mgj-serif); box-shadow: 0 12px 28px rgba(13,13,13,.18); transform: translate(-50%,-50%); transition: top .16s linear, transform .45s var(--mgj-ease); }
.mg-journal-process__close { margin: 54px 0 0; font-size: clamp(22px,2.4vw,36px); line-height: 1.5; }
.mg-journal-process__close em { color: var(--mgj-blue); font-family: var(--mgj-serif); }

.mg-journal-articles-entry { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: clamp(44px,6vw,82px); padding-top: 30px; border-top: 1px solid var(--mgj-line); }
.mg-journal-articles-entry p { max-width: 44ch; margin: 0; color: var(--mgj-muted); line-height: 1.9; }
@media (max-width: 620px) { .mg-journal-articles-entry { align-items: flex-start; flex-direction: column; } }

.mg-journal-footer__mark { display: flex; align-items: center; justify-content: center; gap: clamp(14px,2vw,30px); }
.mg-journal-footer__mark img { width: clamp(58px,7vw,112px); max-height: 112px; object-fit: contain; filter: none; }
.mg-journal-footer__mark > span { display: block; min-width: 0; }

.mg-journal-tap-feedback { display: none; }

@media (max-width: 899px) {
	.mg-journal-process { grid-template-columns: 1fr; gap: 46px; margin-bottom: 90px; }
	.mg-journal-process__intro { position: static; }
	.mg-journal-process__timeline { padding-inline-start: 46px; }
	.mg-journal-process__timeline li { min-height: 220px; padding: 28px 0 40px; }
	.mg-journal-process__rail { inset-block-end: 70px; }
	.mg-journal-process__rail > b { width: 38px; font-size: 10px; }
}

@keyframes mgj-chapter-change {
	0% { opacity: 0; filter: blur(8px); transform: translateY(18px); }
	100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.mg-journal-cursor { position: fixed; z-index: 100000; inset: 0 auto auto 0; width: 18px; height: 18px; opacity: 0; pointer-events: none; transform: translate3d(-100px,-100px,0); transition: opacity .18s cubic-bezier(.23,1,.32,1), background-color .18s cubic-bezier(.23,1,.32,1), border-color .18s cubic-bezier(.23,1,.32,1); border: 1px solid var(--mgj-ink); border-radius: 50%; background: transparent; }
.mg-journal-cursor::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--mgj-lime); transform: translate(-50%,-50%); transition: transform .14s cubic-bezier(.23,1,.32,1), opacity .14s cubic-bezier(.23,1,.32,1); }
.mg-journal-cursor > span { display: none; }
.mg-journal-cursor > i { position: absolute; inset: -8px; border: 1px solid color-mix(in srgb, var(--mgj-blue) 38%, transparent); border-radius: 50%; opacity: .5; transform: scale(1); transition: transform .18s cubic-bezier(.23,1,.32,1), opacity .18s cubic-bezier(.23,1,.32,1), border-color .18s cubic-bezier(.23,1,.32,1); }
.mg-journal-cursor.is-visible { opacity: 1; }
.mg-journal-cursor.is-interactive { border-color: var(--mgj-lime); background: color-mix(in srgb, var(--mgj-lime) 22%, transparent); }
.mg-journal-cursor.is-interactive::after { opacity: .8; transform: translate(-50%,-50%) scale(.9); }
.mg-journal-cursor.is-interactive > i { border-color: var(--mgj-lime); opacity: .38; transform: scale(1.65); }
.mg-journal-cursor.is-nav { background: var(--mgj-ink); border-color: var(--mgj-ink); }
.mg-journal-cursor.is-pressed::after { transform: translate(-50%,-50%) scale(.72); }
.mg-journal-cursor.is-pressed > i { transform: scale(1.3); }

@media (max-width: 782px), (pointer: coarse) {
	.mg-journal-chapter,
	.mg-journal-cursor,
	.mg-journal-thread__wire,
	.mg-journal-thread__traveller { display: none !important; }
	.mg-journal-thread__scrubber { display: none !important; }
	#mg-journal-main,
	.mg-journal-footer { width: auto; margin-inline-end: 0; }
	.mg-journal-tap-feedback { position: fixed; z-index: 100000; inset: 0 auto auto 0; display: grid; place-items: center; width: 42px; aspect-ratio: 1; opacity: 0; pointer-events: none; border: 1px solid var(--mgj-ink); border-radius: 50%; background: color-mix(in srgb, var(--mgj-lime) 38%, transparent); transform: translate3d(-120px,-120px,0) translate(-50%,-50%) scale(.92); }
	.mg-journal-tap-feedback.is-active { animation: mgj-tap-feedback .26s cubic-bezier(.23,1,.32,1) both; }
	.mg-journal-tap-feedback span { display: none; }
	.mg-journal-tap-feedback i { position: absolute; inset: -6px; border: 1px solid color-mix(in srgb, var(--mgj-blue) 42%, transparent); border-radius: inherit; }
	.mg-journal-touch-ready a:active,
	.mg-journal-touch-ready button:active { transform: scale(.985); transition-duration: .12s !important; }
}

@keyframes mgj-tap-feedback {
	0% { opacity: 0; transform: translate3d(var(--mgj-tap-x),var(--mgj-tap-y),0) translate(-50%,-50%) scale(.92); }
	35% { opacity: .72; transform: translate3d(var(--mgj-tap-x),var(--mgj-tap-y),0) translate(-50%,-50%) scale(1); }
	100% { opacity: 0; transform: translate3d(var(--mgj-tap-x),var(--mgj-tap-y),0) translate(-50%,-50%) scale(1.22); }
}

/* Alternate layouts selected independently from the BLOG dashboard. */
.mg-journal-topics-layout-grid .mg-journal-topics__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--mgj-line); }
.mg-journal-topics-layout-grid .mg-journal-topics__list a { grid-template-columns: 44px 1fr 52px; border-inline-start: 1px solid var(--mgj-line); }
.mg-journal-topics-layout-grid .mg-journal-topics__list a > span { display: none; }
.mg-journal-process--compact { grid-template-columns: minmax(250px,.7fr) minmax(0,1.3fr); }
.mg-journal-process--compact .mg-journal-process__intro { position: static; }
.mg-journal-process--compact .mg-journal-process__timeline li { min-height: 180px; padding-block: 28px; }
.mg-journal-contact--center { grid-template-columns: 1fr; place-items: center; text-align: center; }
.mg-journal-contact--center .mg-journal-contact__copy { max-width: 850px; }
.mg-journal-contact--center .mg-journal-contact__copy > span,
.mg-journal-contact--center .mg-journal-pill { margin-inline: auto; }
.mg-journal-contact--center .mg-journal-contact__orb { position: absolute; inset: 50% auto auto 50%; opacity: .11; transform: translate(-50%,-50%); }

@media (min-width: 783px) {
	.mg-journal-selected-layout-grid .mg-journal-selected-stack { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
	.mg-journal-selected-layout-grid .mg-journal-selected,
	.mg-journal-selected-layout-grid .mg-journal-selected:nth-child(n) { display: grid; grid-template-columns: 1fr; min-height: 760px; padding: 0; overflow: hidden; border: 1px solid var(--mgj-line); border-radius: 16px; }
	.mg-journal-selected-layout-grid .mg-journal-selected:nth-child(even) .mg-journal-selected__visual { order: initial; }
	.mg-journal-selected-layout-grid .mg-journal-selected__visual { min-height: 0; aspect-ratio: 16/10; border-radius: 0; }
	.mg-journal-selected-layout-grid .mg-journal-selected__copy { min-height: 390px; padding: 30px; }
}

@media (max-width: 782px) {
	.mg-journal-topics-layout-grid .mg-journal-topics__list { grid-template-columns: 1fr; }
	.mg-journal-process--compact { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.mg-journal-cursor { display: none !important; }
	.mg-blog-motion-ready .mg-journal-process [data-process-step] { opacity: 1 !important; filter: none !important; transform: none !important; }
	.mg-journal-section > *,
	.mg-journal-contact > * { opacity: 1 !important; filter: none !important; transform: none !important; }
}
