:root {
	--future-black: #0c0d0f;
	--future-black-2: #15171a;
	--future-ivory: #f5f1e8;
	--future-paper: #fffdf8;
	--future-gold: #caa64e;
	--future-gold-light: #e4c977;
	--future-cyan: #86cbd4;
}

body.sfn-future-book {
	background: var(--future-paper);
	color: #182733;
}

.sfn-future-main {
	overflow: clip;
	background: var(--future-paper);
}

.sfn-reading-progress {
	position: fixed;
	top: 82px;
	right: 0;
	left: 0;
	z-index: 1002;
	height: 3px;
	pointer-events: none;
}

.admin-bar .sfn-reading-progress { top: 114px; }

.sfn-reading-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--future-gold), var(--future-cyan));
	box-shadow: 0 0 12px rgba(202, 166, 78, .6);
}

.sfn-future-hero {
	position: relative;
	isolation: isolate;
	min-height: 790px;
	padding: 78px 0 70px;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 18% 27%, rgba(55, 120, 133, .20), transparent 28%),
		radial-gradient(circle at 84% 62%, rgba(202, 166, 78, .16), transparent 27%),
		linear-gradient(135deg, #08090b 0%, #14171a 46%, #08090b 100%);
}

.sfn-future-hero::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image:
		linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
	background-size: 46px 46px;
	content: "";
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
	mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.sfn-future-hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(202, 166, 78, .75), transparent);
	content: "";
}

.sfn-future-orbit {
	position: absolute;
	z-index: -1;
	border: 1px solid rgba(134, 203, 212, .13);
	border-radius: 50%;
	pointer-events: none;
}

.sfn-future-orbit-one {
	top: 8%;
	left: -220px;
	width: 630px;
	height: 630px;
}

.sfn-future-orbit-two {
	right: 12%;
	bottom: -290px;
	width: 540px;
	height: 540px;
	border-color: rgba(202, 166, 78, .13);
}

.sfn-future-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
	align-items: center;
	gap: clamp(56px, 8vw, 120px);
}

.sfn-future-hero-copy { position: relative; z-index: 2; }

.sfn-future-kicker,
.sfn-future-section-heading > span,
.sfn-translator-copy > span,
.sfn-future-final span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	color: var(--future-gold-light);
	font-size: 14px;
	font-weight: 850;
}

.sfn-future-kicker::before,
.sfn-future-section-heading > span::before,
.sfn-translator-copy > span::before,
.sfn-future-final span::before {
	width: 34px;
	height: 1px;
	background: currentColor;
	content: "";
}

.sfn-future-hero h1 {
	margin: 0;
	font-size: clamp(52px, 7vw, 88px);
	font-weight: 900;
	line-height: 1.18;
	text-wrap: balance;
}

.sfn-future-subtitle {
	margin: 8px 0 27px;
	color: #d7bd67;
	font-size: clamp(18px, 2vw, 25px);
	font-weight: 680;
}

.sfn-future-blurb {
	max-width: 760px;
	color: #d1d7da;
	font-size: 15px;
	line-height: 2.05;
}

.sfn-future-blurb p { margin-bottom: 15px; }
.sfn-future-blurb p:last-child { margin-bottom: 0; }

.sfn-future-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 27px;
}

.sfn-future-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 11px 21px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 850;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.sfn-future-button:hover { transform: translateY(-2px); }

.sfn-future-button-primary {
	background: var(--future-gold);
	color: #111 !important;
}

.sfn-future-button-primary:hover { background: #ddba60; }

.sfn-future-button-secondary {
	border-color: rgba(255, 255, 255, .25);
	background: rgba(255, 255, 255, .04);
	color: #fff !important;
}

.sfn-future-button-secondary:hover {
	border-color: rgba(255, 255, 255, .55);
	background: rgba(255, 255, 255, .09);
}

.sfn-book-stage {
	position: relative;
	display: grid;
	min-height: 600px;
	place-items: center;
	perspective: 1500px;
}

.sfn-book-stage::before {
	position: absolute;
	width: 480px;
	height: 480px;
	border: 1px solid rgba(202, 166, 78, .16);
	border-radius: 50%;
	box-shadow: inset 0 0 120px rgba(134, 203, 212, .04);
	content: "";
}

.sfn-book-shadow {
	position: absolute;
	bottom: 84px;
	width: 330px;
	height: 66px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .72);
	filter: blur(22px);
	transform: none;
}

.sfn-book-mockup {
	position: relative;
	z-index: 2;
	width: min(330px, 78vw);
	transform: rotateY(12deg) rotateX(1deg);
	transform-style: preserve-3d;
	transition: transform 500ms cubic-bezier(.2, .8, .2, 1);
}

.sfn-book-stage:hover .sfn-book-mockup { transform: rotateY(6deg) rotateX(0) translateY(-7px); }

.sfn-book-mockup > img {
	position: relative;
	z-index: 3;
	width: 100%;
	border-radius: 4px 1px 1px 4px;
	box-shadow: 24px 34px 50px rgba(0, 0, 0, .54), 0 0 0 1px rgba(255, 255, 255, .12);
}

.sfn-book-spine {
	position: absolute;
	top: 0;
	right: auto;
	left: 100%;
	z-index: 2;
	display: flex;
	width: 33px;
	height: 100%;
	align-items: center;
	justify-content: center;
	border-radius: 0 2px 2px 0;
	background: linear-gradient(90deg, #050607, #1a1b1e 72%, #050607);
	box-shadow: inset -1px 0 rgba(255, 255, 255, .14);
	transform: rotateY(90deg);
	transform-origin: left center;
}

.sfn-book-spine span {
	color: #eee;
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
	transform: rotate(-90deg);
}

.sfn-book-pages {
	position: absolute;
	top: 4px;
	right: auto;
	left: -12px;
	bottom: 5px;
	z-index: -1;
	width: 18px;
	border-radius: 4px 0 0 4px;
	background: repeating-linear-gradient(90deg, #d7d0c1 0, #f7f3e9 1px, #d7d0c1 2px);
	transform: translateZ(-8px);
}

.sfn-book-credit {
	position: absolute;
	right: 0;
	bottom: 17px;
	left: 0;
	margin: 0;
	color: #aeb9bd;
	font-size: 12px;
	line-height: 1.9;
	text-align: center;
}

.sfn-book-credit strong { color: var(--future-gold-light); }

.sfn-future-nav {
	position: sticky;
	top: 82px;
	z-index: 90;
	border-bottom: 1px solid #dce2e4;
	background: rgba(255, 253, 248, .96);
	box-shadow: 0 7px 24px rgba(15, 31, 41, .06);
	-webkit-backdrop-filter: blur(13px);
	backdrop-filter: blur(13px);
}

.admin-bar .sfn-future-nav { top: 114px; }

.sfn-future-nav .sfn-container {
	display: flex;
	overflow-x: auto;
	justify-content: center;
	gap: 34px;
	scrollbar-width: none;
}

.sfn-future-nav .sfn-container::-webkit-scrollbar { display: none; }

.sfn-future-nav a {
	position: relative;
	flex: 0 0 auto;
	padding: 17px 0 15px;
	color: #52636d !important;
	font-size: 13px;
	font-weight: 760;
}

.sfn-future-nav a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--future-gold);
	content: "";
	transform: scaleX(0);
	transition: transform 180ms ease;
}

.sfn-future-nav a:hover,
.sfn-future-nav a.is-active { color: #152b37 !important; }
.sfn-future-nav a.is-active::after { transform: scaleX(1); }

.sfn-future-section { padding: 94px 0; scroll-margin-top: 148px; }

.sfn-future-section-heading { max-width: 590px; }

.sfn-future-section-heading h2,
.sfn-translator-copy h2,
.sfn-future-final h2 {
	margin: 0;
	color: #0d2636;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 900;
	line-height: 1.55;
	text-wrap: balance;
}

.sfn-future-section-heading > span,
.sfn-translator-copy > span { color: #9c7623; }

.sfn-future-heading-centered {
	max-width: 760px;
	margin: 0 auto 46px;
	text-align: center;
}

.sfn-future-heading-centered > span { justify-content: center; }
.sfn-future-heading-centered p { margin: 13px 0 0; color: #667782; }

.sfn-future-about {
	background:
		linear-gradient(90deg, rgba(202, 166, 78, .06) 1px, transparent 1px),
		linear-gradient(rgba(202, 166, 78, .05) 1px, transparent 1px),
		var(--future-paper);
	background-size: 64px 64px;
}

.sfn-future-about-grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: 9%;
}

.sfn-future-about-copy > p {
	margin: 4px 0 28px;
	color: #43545e;
	font-size: 17px;
	line-height: 2.15;
}

.sfn-future-audience {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid #e1ded4;
	border-radius: 6px;
	background: rgba(255, 255, 255, .72);
}

.sfn-future-audience article {
	min-height: 150px;
	padding: 25px 20px;
	border-left: 1px solid #e1ded4;
}

.sfn-future-audience article:last-child { border-left: 0; }
.sfn-future-audience strong { display: block; margin-bottom: 10px; color: #112a38; font-size: 14px; }
.sfn-future-audience span { color: #687781; font-size: 12px; line-height: 1.85; }

.sfn-future-editors {
	position: relative;
	background: #f0f2ef;
}

.sfn-future-editors::before {
	position: absolute;
	top: 0;
	right: 50%;
	width: 1px;
	height: 46px;
	background: var(--future-gold);
	content: "";
}

.sfn-editor-grid {
	display: grid;
	max-width: 960px;
	margin: 0 auto;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.sfn-editor-card {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 24px;
	padding: 34px;
	border: 1px solid #d7ddda;
	border-radius: 6px;
	background: rgba(255, 255, 255, .86);
	box-shadow: 0 22px 54px rgba(12, 35, 48, .06);
}

.sfn-editor-initial {
	display: grid;
	width: 90px;
	height: 106px;
	place-items: center;
	border: 1px solid rgba(202, 166, 78, .5);
	background: #11171b;
	color: var(--future-gold-light);
	font-family: Georgia, serif !important;
	font-size: 45px;
}

.sfn-editor-card p:first-child { margin: 0 0 4px; color: #9c7623; font-size: 11px; font-weight: 800; }
.sfn-editor-card h3 { margin: 0; color: #112b39; font-size: 24px; }
.sfn-editor-card small { display: block; margin: 2px 0 15px; color: #7b898f; direction: ltr; font-size: 12px; text-align: right; }
.sfn-editor-card p:last-child { margin: 0; color: #53636c; font-size: 13px; line-height: 2; }

.sfn-translator-note {
	color: #fff;
	background:
		radial-gradient(circle at 18% 70%, rgba(134, 203, 212, .12), transparent 25%),
		linear-gradient(135deg, #09273a, #071923);
}

.sfn-translator-grid {
	display: grid;
	max-width: 1040px;
	grid-template-columns: 340px minmax(0, 1fr);
	align-items: center;
	gap: 76px;
}

.sfn-translator-portrait {
	position: relative;
	margin: 0;
}

.sfn-translator-portrait::before {
	position: absolute;
	top: 22px;
	right: -22px;
	bottom: -22px;
	left: 22px;
	border: 1px solid rgba(202, 166, 78, .55);
	content: "";
}

.sfn-translator-portrait img {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 28%;
	filter: saturate(.76) contrast(1.03);
	box-shadow: 0 28px 60px rgba(0, 0, 0, .28);
}

.sfn-translator-copy h2 { color: #fff; }

.sfn-translator-copy blockquote {
	position: relative;
	margin: 26px 0 23px;
	padding: 18px 24px 18px 0;
	border-right: 2px solid var(--future-gold);
	color: #f1dfac;
	font-size: 18px;
	font-weight: 700;
	line-height: 2;
}

.sfn-translator-copy > p { margin: 0 0 13px; color: #c9d6da; font-size: 14px; line-height: 2.1; }

.sfn-future-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: var(--future-gold-light) !important;
	font-size: 13px;
	font-weight: 820;
}

.sfn-book-contents {
	position: relative;
	background:
		radial-gradient(circle at 50% 18%, rgba(202, 166, 78, .08), transparent 35%),
		#e8e4da;
}

.sfn-open-book {
	position: relative;
	display: grid;
	max-width: 1180px;
	margin: 0 auto;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	direction: rtl;
	filter: drop-shadow(0 28px 34px rgba(30, 34, 31, .18));
}

.sfn-open-book-spine {
	position: absolute;
	top: 22px;
	bottom: 22px;
	left: 50%;
	z-index: 4;
	width: 24px;
	background: linear-gradient(90deg, transparent, rgba(72, 62, 42, .15), rgba(255, 255, 255, .7), rgba(72, 62, 42, .15), transparent);
	transform: translateX(-50%);
	pointer-events: none;
}

.sfn-open-book-page {
	position: relative;
	min-height: 830px;
	padding: 47px 44px 56px;
	background: var(--future-paper);
}

.sfn-open-book-page-right {
	border-radius: 0 8px 8px 0;
	background: linear-gradient(90deg, rgba(84, 69, 42, .08), transparent 8%), var(--future-paper);
	transform: perspective(1800px) rotateY(-1.2deg);
	transform-origin: left center;
}

.sfn-open-book-page-left {
	border-radius: 8px 0 0 8px;
	background: linear-gradient(-90deg, rgba(84, 69, 42, .08), transparent 8%), var(--future-paper);
	transform: perspective(1800px) rotateY(1.2deg);
	transform-origin: right center;
}

.sfn-open-book-running {
	margin: 0 0 22px;
	padding-bottom: 11px;
	border-bottom: 1px solid #dcd4c3;
	color: #91712d;
	font-family: Georgia, "Vazirmatn", serif !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em !important;
}

.sfn-content-entry {
	display: grid;
	min-height: 105px;
	grid-template-columns: 43px minmax(0, 1fr) auto;
	align-items: center;
	gap: 13px;
	padding: 14px 0;
	border-bottom: 1px solid #e2ddcf;
}

.sfn-content-number {
	display: grid;
	width: 39px;
	height: 39px;
	place-items: center;
	border: 1px solid #cdb879;
	border-radius: 50%;
	color: #8c6b20;
	font-size: 13px;
	font-weight: 850;
}

.sfn-content-entry small { color: #9c7623; font-size: 10px; font-weight: 800; }
.sfn-content-entry h3 { margin: 2px 0 2px; color: #162d38; font-size: 15px; font-weight: 850; line-height: 1.65; }
.sfn-content-entry h3 a { color: inherit !important; text-decoration: none; transition: color 160ms ease; }
.sfn-content-entry h3 a:hover,
.sfn-content-entry h3 a:focus-visible { color: #1f646b !important; }
.sfn-content-entry p { margin: 0; color: #778187; font-size: 10px; }
.sfn-content-entry > a { display: flex; align-items: center; gap: 5px; color: #83631c !important; font-size: 12px; font-weight: 850; }
.sfn-content-entry > a:hover { color: #1f646b !important; }
.sfn-entry-pending { color: #9ba3a4; font-size: 10px; }
.sfn-page-number { position: absolute; right: 0; bottom: 19px; left: 0; color: #958c79; font-family: Georgia, serif !important; font-size: 11px; text-align: center; }

.sfn-future-final {
	padding: 78px 0;
	color: #fff;
	background:
		radial-gradient(circle at 80% 50%, rgba(202, 166, 78, .15), transparent 24%),
		#0b0d0f;
}

.sfn-future-final-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 70px;
}

.sfn-future-final h2 { max-width: 790px; color: #fff; font-size: clamp(28px, 4vw, 46px); }
.sfn-future-final .sfn-future-actions { margin-top: 0; }

@media (max-width: 1100px) {
	.sfn-future-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: 45px; }
	.sfn-book-mockup { width: 285px; }
	.sfn-future-blurb { font-size: 14px; }
	.sfn-future-audience { grid-template-columns: 1fr; }
	.sfn-future-audience article { min-height: 0; border-bottom: 1px solid #e1ded4; border-left: 0; }
	.sfn-future-audience article:last-child { border-bottom: 0; }
	.sfn-open-book-page { padding-inline: 30px; }
	.sfn-content-entry h3 { font-size: 14px; }
}

@media (max-width: 900px) {
	.sfn-future-hero { padding-top: 48px; }
	.sfn-future-hero-grid { grid-template-columns: 1fr; }
	.sfn-book-stage { min-height: 560px; order: -1; }
	.sfn-book-mockup { width: 300px; }
	.sfn-book-credit { bottom: 8px; }
	.sfn-future-about-grid { grid-template-columns: 1fr; gap: 36px; }
	.sfn-editor-grid { grid-template-columns: 1fr; }
	.sfn-translator-grid { max-width: 720px; grid-template-columns: 260px 1fr; gap: 46px; }
	.sfn-open-book { max-width: 680px; grid-template-columns: 1fr; gap: 18px; }
	.sfn-open-book-spine { display: none; }
	.sfn-open-book-page { min-height: 0; border-radius: 5px; transform: none; }
	.sfn-future-final-inner { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 780px) {
	.sfn-reading-progress { top: 70px; }
	.admin-bar .sfn-reading-progress { top: 116px; }
	.sfn-future-hero { min-height: 0; padding: 32px 0 58px; }
	.sfn-future-hero-grid { width: min(100% - 34px, 1200px); gap: 24px; }
	.sfn-book-stage { min-height: 470px; }
	.sfn-book-stage::before { width: 350px; height: 350px; }
	.sfn-book-mockup { width: 245px; }
	.sfn-book-shadow { bottom: 65px; width: 250px; }
	.sfn-book-credit { bottom: -2px; }
	.sfn-future-hero h1 { font-size: 50px; }
	.sfn-future-subtitle { font-size: 18px; }
	.sfn-future-blurb { line-height: 2; }
	.sfn-future-actions { display: grid; grid-template-columns: 1fr; }
	.sfn-future-nav { top: 70px; }
	.admin-bar .sfn-future-nav { top: 116px; }
	.sfn-future-nav .sfn-container { width: 100%; justify-content: flex-start; gap: 24px; padding: 0 20px; }
	.sfn-future-section { padding: 70px 0; scroll-margin-top: 132px; }
	.sfn-future-section-heading h2,
	.sfn-translator-copy h2 { font-size: 31px; }
	.sfn-future-about-grid,
	.sfn-editor-grid,
	.sfn-translator-grid { width: min(100% - 34px, 1200px); }
	.sfn-editor-card { grid-template-columns: 66px 1fr; gap: 17px; padding: 25px 20px; }
	.sfn-editor-initial { width: 66px; height: 82px; font-size: 34px; }
	.sfn-translator-grid { grid-template-columns: 1fr; gap: 52px; }
	.sfn-translator-portrait { max-width: 300px; margin-inline: auto; }
	.sfn-open-book { width: min(100% - 22px, 680px); }
	.sfn-open-book-page { padding: 35px 20px 50px; }
	.sfn-content-entry { grid-template-columns: 38px minmax(0, 1fr); gap: 11px; }
	.sfn-content-number { width: 35px; height: 35px; }
	.sfn-content-entry > a,
	.sfn-entry-pending { grid-column: 2; justify-self: start; margin-top: 4px; }
	.sfn-content-entry h3 { font-size: 13px; }
	.sfn-content-entry > a span { display: none; }
	.sfn-future-final-inner { width: min(100% - 34px, 1200px); }
	.sfn-future-final .sfn-future-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.sfn-book-mockup,
	.sfn-future-button,
	.sfn-future-nav a::after { transition: none; }
	.sfn-book-stage:hover .sfn-book-mockup { transform: rotateY(12deg) rotateX(1deg); }
}
