/*
Theme Name: Reem Khamees
Theme URI: https://reemkhamees.com
Author: Reem Khamees
Description: A refined Arabic editorial WordPress theme for fiction, essays, and author publishing.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reem-khamees
*/

:root {
	--rk-black: #0a0907;
	--rk-ink: #1a1612;
	--rk-ink-soft: #3b332c;
	--rk-muted: #74695d;
	--rk-gold: #b8956b;
	--rk-gold-deep: #866841;
	--rk-gold-light: #d8bd91;
	--rk-paper: #f4efe5;
	--rk-paper-warm: #eae3d2;
	--rk-card: #fbf7ee;
	--rk-rule: #cfc3aa;
	--rk-rule-soft: #e1d8c7;
	--rk-display: "Markazi Text", Georgia, serif;
	--rk-editorial: "Amiri", Georgia, serif;
	--rk-ui: "Tajawal", Arial, sans-serif;
	--rk-shadow: 0 24px 70px rgba(10, 9, 7, 0.13);
	--rk-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--rk-paper);
	color: var(--rk-ink-soft);
	font-family: var(--rk-ui);
	font-size: 17px;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--rk-gold);
	color: var(--rk-black);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 60vw 60vh at 10% 20%, rgba(184, 149, 107, 0.05), transparent 55%),
		radial-gradient(ellipse 40vw 45vh at 90% 75%, rgba(184, 149, 107, 0.035), transparent 55%);
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--rk-gold-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--rk-ink);
}

button,
input,
textarea,
select {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 9999;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--rk-paper);
	color: var(--rk-ink);
}

.rk-container {
	width: min(1180px, calc(100% - 64px));
	margin-inline: auto;
}

.rk-narrow {
	width: min(760px, calc(100% - 48px));
	margin-inline: auto;
}

.rk-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 9, 7, 0.97);
	border-bottom: 1px solid rgba(184, 149, 107, 0.25);
	backdrop-filter: blur(14px);
	transition: background 0.3s var(--rk-ease), box-shadow 0.3s var(--rk-ease);
}

.rk-site-header.is-scrolled {
	background: rgba(10, 9, 7, 0.94);
	box-shadow: 0 16px 50px rgba(10, 9, 7, 0.18);
}

.rk-scroll-progress {
	position: absolute;
	inset: auto 0 0;
	height: 2px;
	overflow: hidden;
	background: rgba(184, 149, 107, 0.08);
}

.rk-scroll-progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--rk-gold-deep), var(--rk-gold-light));
	transform: scaleX(0);
	transform-origin: right center;
	will-change: transform;
}

html[dir="ltr"] .rk-scroll-progress span {
	transform-origin: left center;
}

.admin-bar .rk-site-header {
	top: 32px;
}

.rk-header-inner {
	min-height: 108px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 32px;
}

.rk-header-note {
	color: var(--rk-gold-light);
	font-size: 10px;
	letter-spacing: 0.22em;
	opacity: 0.6;
}

.rk-header-tools {
	display: flex;
	align-items: center;
	gap: 18px;
}

.rk-language-switch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 5px 12px;
	border: 1px solid rgba(216, 189, 145, 0.4);
	color: var(--rk-gold-light);
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
	transition: border-color 0.2s var(--rk-ease), color 0.2s var(--rk-ease);
}

.rk-language-switch:hover {
	border-color: var(--rk-gold);
	color: var(--rk-gold);
}

.rk-brand {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	color: var(--rk-gold);
	text-decoration: none;
	line-height: 1;
}

.rk-brand-mark {
	font-family: var(--rk-display);
	font-size: 26px;
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.rk-brand-ar {
	font-family: var(--rk-display);
	font-size: 20px;
	font-weight: 700;
	margin-top: 5px;
}

.rk-brand-ornament {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 7px 0;
	font-size: 7px;
}

.rk-brand-ornament::before,
.rk-brand-ornament::after {
	content: "";
	width: 18px;
	height: 1px;
	background: currentColor;
	opacity: 0.45;
}

.rk-brand-en {
	color: var(--rk-gold-light);
	font-size: 8px;
	letter-spacing: 0.42em;
	opacity: 0.65;
}

.rk-main-nav {
	justify-self: end;
}

.rk-main-nav ul {
	display: flex;
	align-items: center;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rk-main-nav a {
	position: relative;
	color: var(--rk-gold-light);
	font-size: 13px;
	text-decoration: none;
	opacity: 0.72;
	transition: color 0.2s var(--rk-ease), opacity 0.2s var(--rk-ease);
}

.rk-main-nav a:hover,
.rk-main-nav .current-menu-item > a,
.rk-main-nav .current_page_item > a {
	color: var(--rk-gold);
	opacity: 1;
}

.rk-main-nav .current-menu-item > a::after,
.rk-main-nav .current_page_item > a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -8px;
	height: 1px;
	background: var(--rk-gold);
}

.rk-menu-toggle {
	display: none;
	justify-self: end;
	padding: 10px 0;
	color: var(--rk-gold);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.rk-hero {
	padding: 110px 0 90px;
}

.rk-hero-cinematic {
	position: relative;
	min-height: calc(100svh - 108px);
	display: grid;
	align-items: center;
	overflow: hidden;
	padding: clamp(78px, 10vh, 130px) 0 100px;
	background:
		linear-gradient(115deg, rgba(244, 239, 229, 0.94), rgba(244, 239, 229, 0.72)),
		repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(134, 104, 65, 0.07) 25%);
	isolation: isolate;
}

.rk-hero-cinematic::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(circle at 77% 40%, rgba(184, 149, 107, 0.19), transparent 25%),
		radial-gradient(circle at 15% 85%, rgba(134, 104, 65, 0.09), transparent 24%);
}

.rk-hero-cinematic::after {
	content: "";
	position: absolute;
	inset: 24px;
	z-index: -1;
	pointer-events: none;
	border: 1px solid rgba(134, 104, 65, 0.13);
}

.rk-hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
	gap: clamp(58px, 7vw, 110px);
	align-items: center;
}

.rk-hero-copy-block {
	max-width: 730px;
}

.rk-hero-index {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 42px;
	color: var(--rk-muted);
	font-family: var(--rk-ui);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.28em;
}

.rk-hero-index i {
	width: 44px;
	height: 1px;
	background: var(--rk-rule);
}

.rk-hero-atmosphere {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.rk-hero-glyph {
	position: absolute;
	inset-inline-start: -0.06em;
	bottom: -0.36em;
	color: transparent;
	font-family: var(--rk-display);
	font-size: min(72vw, 900px);
	font-weight: 700;
	line-height: 1;
	-webkit-text-stroke: 1px rgba(134, 104, 65, 0.08);
	transform: translate3d(var(--rk-parallax-x, 0), var(--rk-parallax-y, 0), 0);
	transition: transform 0.15s linear;
}

.rk-orbit {
	position: absolute;
	border: 1px solid rgba(134, 104, 65, 0.15);
	border-radius: 50%;
}

.rk-orbit::after {
	content: "";
	position: absolute;
	top: 16%;
	left: 14%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rk-gold);
	box-shadow: 0 0 0 8px rgba(184, 149, 107, 0.08);
}

.rk-orbit-one {
	width: 500px;
	height: 500px;
	inset-inline-end: -160px;
	top: -220px;
	animation: rk-spin 28s linear infinite;
}

.rk-orbit-two {
	width: 270px;
	height: 270px;
	inset-inline-end: 16%;
	bottom: -170px;
	animation: rk-spin-reverse 20s linear infinite;
}

.rk-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--rk-gold-deep);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.rk-eyebrow::before {
	content: "";
	width: 32px;
	height: 1px;
	background: var(--rk-gold);
}

.rk-hero h1 {
	max-width: 680px;
	margin: 28px 0;
	color: var(--rk-ink);
	font-family: var(--rk-display);
	font-size: clamp(62px, 7.4vw, 112px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 0.94;
	text-wrap: balance;
}

.rk-hero-copy {
	max-width: 620px;
	margin: 0 0 36px;
	color: var(--rk-ink-soft);
	font-family: var(--rk-editorial);
	font-size: 22px;
	line-height: 1.9;
}

.rk-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.rk-button,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 13px 28px;
	border: 1px solid var(--rk-ink);
	border-radius: 0;
	background: var(--rk-ink);
	color: var(--rk-paper);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s var(--rk-ease), background 0.2s var(--rk-ease), color 0.2s var(--rk-ease);
}

.rk-button:hover,
.wp-element-button:hover {
	transform: translateY(-2px);
	background: var(--rk-gold);
	border-color: var(--rk-gold);
	color: var(--rk-ink);
}

.rk-button-secondary {
	background: transparent;
	color: var(--rk-ink);
	border-color: var(--rk-gold);
}

.rk-button-arrow::after {
	content: "↗";
	margin-inline-start: 14px;
	font-size: 17px;
	transition: transform 0.25s var(--rk-ease);
}

html[dir="rtl"] .rk-button-arrow::after {
	content: "↖";
}

.rk-button-arrow:hover::after {
	transform: translate(3px, -3px);
}

.rk-hero-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	max-width: 650px;
	margin-top: 58px;
	padding-top: 24px;
	border-top: 1px solid var(--rk-rule);
}

.rk-hero-facts div {
	padding-inline: 20px;
	border-inline-start: 1px solid var(--rk-rule-soft);
}

.rk-hero-facts div:first-child {
	padding-inline-start: 0;
	border-inline-start: 0;
}

.rk-hero-facts strong,
.rk-hero-facts span {
	display: block;
}

.rk-hero-facts strong {
	color: var(--rk-ink);
	font-family: var(--rk-display);
	font-size: 25px;
	line-height: 1;
}

.rk-hero-facts span {
	margin-top: 8px;
	color: var(--rk-muted);
	font-size: 10px;
	line-height: 1.5;
}

.rk-monogram-stage {
	position: relative;
	width: min(100%, 500px);
	margin-inline: auto;
	padding: 34px;
	perspective: 1100px;
}

.rk-monogram-card {
	position: relative;
	min-height: min(62vh, 610px);
	padding: 54px 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: linear-gradient(145deg, #0a0907, #2b241e);
	color: var(--rk-gold);
	box-shadow: 0 45px 100px rgba(10, 9, 7, 0.24);
	overflow: hidden;
	transform: rotateX(var(--rk-tilt-y, 0deg)) rotateY(var(--rk-tilt-x, 0deg));
	transform-style: preserve-3d;
	transition: transform 0.18s linear, box-shadow 0.3s var(--rk-ease);
	will-change: transform;
}

.rk-monogram-stage:hover .rk-monogram-card {
	box-shadow: 0 55px 120px rgba(10, 9, 7, 0.3);
}

.rk-monogram-card::before {
	content: "";
	position: absolute;
	inset: 18px;
	border: 1px solid rgba(184, 149, 107, 0.35);
}

.rk-monogram-card::after {
	content: "RK";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--rk-display);
	font-size: clamp(100px, 14vw, 170px);
	font-style: italic;
	font-weight: 700;
	opacity: 0.92;
	text-shadow: 0 8px 34px rgba(184, 149, 107, 0.18);
	transform: translateZ(36px);
}

.rk-card-label,
.rk-card-name {
	position: relative;
	z-index: 1;
	text-align: center;
}

.rk-card-label {
	font-size: 10px;
	letter-spacing: 0.35em;
	opacity: 0.55;
}

.rk-card-quote {
	position: relative;
	z-index: 1;
	align-self: center;
	margin: auto;
	padding: 0 28px;
	color: var(--rk-paper-warm);
	font-family: var(--rk-editorial);
	font-size: 16px;
	letter-spacing: 0.08em;
	opacity: 0.62;
	transform: translateZ(55px);
}

.rk-card-corner {
	position: absolute;
	z-index: 2;
	width: 42px;
	height: 42px;
	pointer-events: none;
}

.rk-card-corner-one {
	inset: 32px auto auto 32px;
	border-top: 1px solid var(--rk-gold);
	border-left: 1px solid var(--rk-gold);
}

.rk-card-corner-two {
	inset: auto 32px 32px auto;
	border-right: 1px solid var(--rk-gold);
	border-bottom: 1px solid var(--rk-gold);
}

.rk-stage-note {
	position: absolute;
	z-index: 3;
	color: var(--rk-gold-deep);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.24em;
	line-height: 1.7;
}

.rk-stage-note-top {
	inset: 5px auto auto 0;
}

.rk-stage-note-bottom {
	inset: auto 0 4px auto;
	text-align: end;
}

.rk-scroll-cue {
	position: absolute;
	inset-inline-start: 50%;
	bottom: 28px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--rk-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-decoration: none;
	transform: translateX(50%);
}

html[dir="ltr"] .rk-scroll-cue {
	transform: translateX(-50%);
}

.rk-scroll-cue i {
	position: relative;
	width: 1px;
	height: 38px;
	overflow: hidden;
	background: var(--rk-rule);
}

.rk-scroll-cue i::after {
	content: "";
	position: absolute;
	inset: -100% 0 auto;
	height: 100%;
	background: var(--rk-gold-deep);
	animation: rk-scroll-line 2s var(--rk-ease) infinite;
}

.rk-word-ribbon {
	overflow: hidden;
	border-block: 1px solid rgba(184, 149, 107, 0.25);
	background: var(--rk-black);
	color: var(--rk-gold-light);
}

.rk-word-ribbon-track {
	display: flex;
	align-items: center;
	width: max-content;
	padding: 13px 0;
	animation: rk-ribbon 32s linear infinite;
}

.rk-word-ribbon span {
	padding-inline: 38px;
	font-family: var(--rk-display);
	font-size: 17px;
	letter-spacing: 0.12em;
	white-space: nowrap;
	opacity: 0.82;
}

.rk-word-ribbon i {
	color: var(--rk-gold);
	font-size: 7px;
	font-style: normal;
}

.rk-card-name strong {
	display: block;
	font-family: var(--rk-display);
	font-size: 32px;
}

.rk-card-name span {
	display: block;
	margin-top: 7px;
	color: var(--rk-gold-light);
	font-size: 9px;
	letter-spacing: 0.4em;
	opacity: 0.55;
}

.rk-current {
	border-block: 1px solid var(--rk-rule-soft);
	background: var(--rk-paper-warm);
}

.rk-current-grid {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 60px;
	align-items: center;
	padding-block: 52px;
}

.rk-current h2 {
	margin: 5px 0 0;
	color: var(--rk-ink);
	font-family: var(--rk-display);
	font-size: 35px;
	line-height: 1;
}

.rk-current-copy {
	margin: 0;
	font-family: var(--rk-editorial);
	font-size: 20px;
	line-height: 1.9;
}

.rk-section {
	padding: 105px 0;
}

.rk-featured-section {
	position: relative;
	background:
		linear-gradient(180deg, rgba(234, 227, 210, 0.34), transparent 45%),
		var(--rk-paper);
}

.rk-section-compact {
	padding-top: 30px;
}

.rk-section-heading {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: baseline;
	gap: 28px;
	margin-bottom: 54px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--rk-rule);
}

.rk-section-number {
	color: var(--rk-gold);
	font-family: var(--rk-display);
	font-size: 52px;
	font-weight: 700;
	line-height: 1;
}

.rk-section-title {
	margin: 0;
	color: var(--rk-ink);
	font-family: var(--rk-display);
	font-size: 40px;
	line-height: 1;
}

.rk-section-meta {
	color: var(--rk-muted);
	font-size: 11px;
	letter-spacing: 0.16em;
}

.rk-featured-story {
	display: grid;
	grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
	gap: 78px;
	align-items: center;
	transform-style: preserve-3d;
}

.rk-cover {
	position: relative;
	aspect-ratio: 3 / 4;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 36px 30px;
	background: linear-gradient(145deg, #171310, #362d25);
	color: var(--rk-gold);
	text-decoration: none;
	box-shadow: var(--rk-shadow);
	overflow: hidden;
}

.rk-cover.has-image {
	background-position: center;
	background-size: cover;
}

.rk-cover.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 9, 7, 0.9), rgba(10, 9, 7, 0.12));
}

.rk-cover > * {
	position: relative;
	z-index: 1;
}

.rk-cover-number,
.rk-cover-author {
	text-align: center;
	font-size: 10px;
	letter-spacing: 0.24em;
	opacity: 0.65;
}

.rk-cover-title {
	color: var(--rk-paper);
	font-family: var(--rk-display);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.08;
	text-align: center;
}

.rk-story-kicker {
	color: var(--rk-gold-deep);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.rk-featured-content h3 {
	margin: 18px 0 22px;
	color: var(--rk-ink);
	font-family: var(--rk-display);
	font-size: clamp(48px, 6vw, 76px);
	line-height: 1;
}

.rk-featured-excerpt {
	margin: 0 0 26px;
	font-family: var(--rk-editorial);
	font-size: 21px;
	line-height: 2;
}

.rk-story-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	margin: 0 0 30px;
	color: var(--rk-muted);
	font-size: 12px;
}

.rk-story-meta-centered {
	justify-content: center;
}

.rk-story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 46px;
}

.rk-story-card {
	min-width: 0;
	padding-top: 18px;
	border-top: 1px solid var(--rk-rule-soft);
}

.rk-story-card .rk-cover {
	margin-bottom: 24px;
	box-shadow: none;
	transition: transform 0.3s var(--rk-ease), box-shadow 0.3s var(--rk-ease);
}

.rk-story-card:hover .rk-cover {
	transform: translateY(-8px) rotate(0.35deg);
	box-shadow: var(--rk-shadow);
}

.rk-story-card:nth-child(2n):hover .rk-cover {
	transform: translateY(-8px) rotate(-0.35deg);
}

.rk-story-card h3 {
	margin: 10px 0;
	color: var(--rk-ink);
	font-family: var(--rk-display);
	font-size: 30px;
	line-height: 1.2;
}

.rk-story-card h3 a {
	color: inherit;
	text-decoration: none;
}

.rk-story-card p {
	margin: 0 0 16px;
	font-family: var(--rk-editorial);
	font-size: 17px;
	line-height: 1.85;
}

.rk-about-preview {
	background: var(--rk-paper-warm);
	border-block: 1px solid var(--rk-rule-soft);
}

.rk-about-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 80px;
	align-items: center;
}

.rk-author-portrait {
	aspect-ratio: 3 / 4;
	display: grid;
	place-items: center;
	background: var(--rk-black);
	color: var(--rk-gold);
	box-shadow: var(--rk-shadow);
	overflow: hidden;
}

.rk-author-portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rk-author-portrait span {
	font-family: var(--rk-display);
	font-size: 100px;
	font-style: italic;
	font-weight: 700;
}

.rk-about-copy h2 {
	margin: 18px 0 26px;
	color: var(--rk-ink);
	font-family: var(--rk-display);
	font-size: 54px;
	line-height: 1;
}

.rk-about-copy p {
	font-family: var(--rk-editorial);
	font-size: 21px;
	line-height: 2;
}

.rk-newsletter {
	position: relative;
	overflow: hidden;
	padding: 100px 0;
	background: var(--rk-black);
	color: var(--rk-paper);
	text-align: center;
}

.rk-newsletter::before {
	content: "";
	position: absolute;
	width: 680px;
	height: 680px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(184, 149, 107, 0.11), transparent 68%);
}

.rk-newsletter-inner {
	position: relative;
	z-index: 1;
	width: min(720px, calc(100% - 48px));
	margin-inline: auto;
}

.rk-newsletter h2 {
	margin: 16px 0;
	font-family: var(--rk-display);
	font-size: clamp(44px, 6vw, 68px);
	line-height: 1;
}

.rk-newsletter p {
	margin: 0 auto 30px;
	color: var(--rk-paper-warm);
	font-family: var(--rk-editorial);
	font-size: 19px;
	opacity: 0.82;
}

.rk-newsletter-form {
	display: flex;
	flex-wrap: wrap;
	max-width: 560px;
	margin-inline: auto;
}

.rk-newsletter-form input {
	flex: 1;
	min-width: 0;
	padding: 16px 20px;
	border: 1px solid rgba(184, 149, 107, 0.45);
	border-inline-start: 0;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.04);
	color: var(--rk-paper);
	outline: 0;
}

.rk-newsletter-form input:focus {
	border-color: var(--rk-gold);
}

.rk-newsletter-form button {
	padding: 16px 28px;
	border: 1px solid var(--rk-gold);
	background: var(--rk-gold);
	color: var(--rk-ink);
	font-weight: 700;
	cursor: pointer;
}

.rk-newsletter-consent {
	flex-basis: 100%;
	margin-top: 12px;
	color: var(--rk-paper-warm);
	font-size: 12px;
	line-height: 1.6;
	opacity: 0.7;
}

.rk-newsletter-consent input,
.rk-consent input {
	width: auto;
	margin-inline-end: 6px;
}

.rk-consent {
	display: block;
	color: var(--rk-muted);
	font-family: var(--rk-ui);
	font-size: 13px;
	line-height: 1.6;
}

.rk-honeypot {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
}

.rk-form-notice {
	margin: 0 auto 24px;
	padding: 14px 18px;
	border: 1px solid currentColor;
	font-size: 14px;
}

.rk-form-notice-success {
	color: #587a58;
	background: #f0f7ee;
}

.rk-form-notice-error {
	color: #944d42;
	background: #fff2ef;
}

.rk-page-hero {
	padding: 95px 0 55px;
	text-align: center;
}

.rk-page-hero h1 {
	margin: 18px 0;
	color: var(--rk-ink);
	font-family: var(--rk-display);
	font-size: clamp(54px, 8vw, 92px);
	line-height: 1;
}

.rk-page-hero p {
	max-width: 620px;
	margin-inline: auto;
	font-family: var(--rk-editorial);
	font-size: 21px;
	font-style: italic;
}

.rk-content {
	padding-bottom: 90px;
}

.rk-entry-content {
	color: var(--rk-ink-soft);
	font-family: var(--rk-editorial);
	font-size: 21px;
	line-height: 2;
}

.rk-entry-content > * {
	max-width: 760px;
	margin-inline: auto;
}

.rk-entry-content > .alignwide {
	max-width: 1080px;
}

.rk-entry-content > .alignfull {
	max-width: none;
}

.rk-entry-content h2,
.rk-entry-content h3,
.rk-entry-content h4 {
	color: var(--rk-ink);
	font-family: var(--rk-display);
	line-height: 1.2;
}

.rk-entry-content h2 {
	margin-top: 2em;
	font-size: 42px;
}

.rk-entry-content h3 {
	margin-top: 1.8em;
	font-size: 32px;
}

.rk-entry-content blockquote {
	margin-block: 2.5em;
	padding: 32px 36px;
	border-inline-start: 3px solid var(--rk-gold);
	background: var(--rk-paper-warm);
	font-size: 1.18em;
	font-style: italic;
}

.rk-story-header {
	padding: 90px 0 45px;
	text-align: center;
}

.rk-story-header h1 {
	max-width: 900px;
	margin: 24px auto;
	color: var(--rk-ink);
	font-family: var(--rk-display);
	font-size: clamp(58px, 9vw, 104px);
	line-height: 0.95;
}

.rk-story-subtitle {
	max-width: 680px;
	margin: 0 auto 32px;
	color: var(--rk-muted);
	font-family: var(--rk-editorial);
	font-size: 24px;
	font-style: italic;
	line-height: 1.7;
}

.rk-story-body {
	padding: 45px 0 80px;
}

.rk-story-body .rk-entry-content > p:first-of-type::first-letter {
	float: right;
	margin: 0.02em 0 0 0.13em;
	color: var(--rk-gold);
	font-family: var(--rk-display);
	font-size: 4.6em;
	font-weight: 700;
	line-height: 0.8;
}

.rk-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 55px;
	padding-block: 22px;
	border-block: 1px solid var(--rk-rule);
	font-family: var(--rk-ui);
	font-size: 13px;
}

.rk-share-links {
	display: flex;
	gap: 10px;
}

.rk-share-links a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--rk-rule);
	color: var(--rk-ink);
	text-decoration: none;
}

.rk-share-links a:hover {
	background: var(--rk-ink);
	color: var(--rk-gold);
}

.rk-archive-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 48px;
}

.rk-filter {
	padding: 9px 17px;
	border: 1px solid var(--rk-rule);
	color: var(--rk-muted);
	font-size: 13px;
	text-decoration: none;
}

.rk-filter:hover,
.rk-filter.is-active {
	background: var(--rk-ink);
	border-color: var(--rk-ink);
	color: var(--rk-paper);
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 60px;
}

.nav-links .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 1px solid var(--rk-rule);
	text-decoration: none;
}

.nav-links .current {
	background: var(--rk-ink);
	color: var(--rk-paper);
	border-color: var(--rk-ink);
}

.rk-form-shell {
	max-width: 820px;
	margin-inline: auto;
	padding: 48px;
	background: var(--rk-card);
	border: 1px solid var(--rk-rule);
}

.rk-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.rk-field {
	margin: 0 0 22px;
}

.rk-field label {
	display: block;
	margin-bottom: 7px;
	color: var(--rk-muted);
	font-family: var(--rk-ui);
	font-size: 12px;
	font-weight: 700;
}

.rk-field input,
.rk-field textarea,
.rk-field select {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--rk-rule);
	border-radius: 0;
	background: var(--rk-paper);
	color: var(--rk-ink);
	outline: 0;
}

.rk-field input:focus,
.rk-field textarea:focus,
.rk-field select:focus {
	border-color: var(--rk-gold-deep);
	box-shadow: 0 0 0 2px rgba(184, 149, 107, 0.15);
}

.rk-empty {
	padding: 70px 0;
	text-align: center;
}

.rk-empty h2 {
	font-family: var(--rk-display);
	font-size: 44px;
}

.rk-not-found {
	padding-block: 140px;
}

.rk-actions-centered {
	justify-content: center;
}

.rk-site-footer {
	margin-top: 80px;
	padding: 80px 0 35px;
	background: var(--rk-black);
	color: var(--rk-paper-warm);
}

.rk-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 60px;
	padding-bottom: 55px;
}

.rk-footer-brand h2 {
	margin: 12px 0;
	color: var(--rk-paper);
	font-family: var(--rk-display);
	font-size: 34px;
}

.rk-footer-brand p {
	max-width: 360px;
	margin: 0;
	font-family: var(--rk-editorial);
	opacity: 0.7;
}

.rk-footer-column h3 {
	margin: 0 0 18px;
	color: var(--rk-gold);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.rk-footer-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rk-footer-column li {
	margin-bottom: 10px;
}

.rk-footer-column a {
	color: var(--rk-paper-warm);
	font-size: 14px;
	text-decoration: none;
	opacity: 0.7;
}

.rk-footer-column a:hover {
	color: var(--rk-gold);
	opacity: 1;
}

.rk-footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 28px;
	border-top: 1px solid rgba(184, 149, 107, 0.18);
	font-size: 12px;
	opacity: 0.55;
}

.rk-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.rk-fade {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.75s var(--rk-ease), transform 0.75s var(--rk-ease);
	transition-delay: var(--rk-delay, 0ms);
}

.rk-fade.is-visible {
	opacity: 1;
	transform: none;
}

@keyframes rk-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes rk-spin-reverse {
	to {
		transform: rotate(-360deg);
	}
}

@keyframes rk-scroll-line {
	0% {
		transform: translateY(0);
	}
	55%,
	100% {
		transform: translateY(200%);
	}
}

@keyframes rk-ribbon {
	to {
		transform: translateX(50%);
	}
}

html[dir="ltr"] .rk-word-ribbon-track {
	animation-direction: reverse;
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}

	.rk-fade {
		opacity: 1;
		transform: none;
	}

	.rk-orbit,
	.rk-scroll-cue i::after,
	.rk-word-ribbon-track {
		animation: none;
	}

	.rk-monogram-card {
		transform: none !important;
	}
}

@media (max-width: 960px) {
	.admin-bar .rk-site-header {
		top: 46px;
	}

	.rk-container {
		width: min(100% - 40px, 760px);
	}

	.rk-header-inner {
		min-height: 92px;
		grid-template-columns: auto 1fr auto;
	}

	.rk-header-note {
		display: none;
	}

	.rk-header-tools {
		justify-self: start;
	}

	.rk-brand {
		justify-self: center;
	}

	.rk-menu-toggle {
		display: inline-flex;
	}

	.rk-main-nav {
		display: none;
		grid-column: 1 / -1;
		justify-self: stretch;
		padding-bottom: 22px;
	}

	.rk-main-nav.is-open {
		display: block;
	}

	.rk-main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.rk-main-nav a {
		display: block;
		padding: 11px 0;
		border-bottom: 1px solid rgba(184, 149, 107, 0.14);
	}

	.rk-main-nav .current-menu-item > a::after,
	.rk-main-nav .current_page_item > a::after {
		display: none;
	}

	.rk-hero {
		padding: 70px 0;
	}

	.rk-hero-cinematic {
		min-height: auto;
		padding: 80px 0 110px;
	}

	.rk-hero-grid,
	.rk-featured-story,
	.rk-about-grid {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.rk-hero-copy-block {
		max-width: none;
	}

	.rk-hero-facts {
		max-width: none;
	}

	.rk-monogram-stage {
		width: min(100%, 520px);
	}

	.rk-monogram-card {
		min-height: 480px;
	}

	.rk-scroll-cue {
		bottom: 22px;
	}

	.rk-current-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.rk-story-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rk-footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.rk-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 620px) {
	.rk-container,
	.rk-narrow {
		width: calc(100% - 32px);
	}

	.rk-hero h1 {
		font-size: clamp(50px, 15vw, 72px);
	}

	.rk-hero-cinematic::after {
		inset: 10px;
	}

	.rk-hero-index {
		margin-bottom: 30px;
	}

	.rk-hero-copy {
		font-size: 19px;
	}

	.rk-hero-facts {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 42px;
	}

	.rk-hero-facts div,
	.rk-hero-facts div:first-child {
		display: grid;
		grid-template-columns: 90px 1fr;
		align-items: center;
		padding: 0 0 16px;
		border: 0;
		border-bottom: 1px solid var(--rk-rule-soft);
	}

	.rk-hero-facts strong {
		font-size: 22px;
	}

	.rk-hero-facts span {
		margin: 0;
	}

	.rk-monogram-stage {
		padding: 22px;
	}

	.rk-monogram-card {
		min-height: 410px;
	}

	.rk-stage-note,
	.rk-scroll-cue span {
		display: none;
	}

	.rk-scroll-cue {
		inset-inline-start: auto;
		inset-inline-end: 24px;
		transform: none;
	}

	html[dir="ltr"] .rk-scroll-cue {
		transform: none;
	}

	.rk-word-ribbon span {
		padding-inline: 24px;
		font-size: 15px;
	}

	.rk-section {
		padding: 75px 0;
	}

	.rk-section-heading {
		grid-template-columns: auto 1fr;
		gap: 16px;
	}

	.rk-section-meta {
		grid-column: 1 / -1;
	}

	.rk-story-grid {
		grid-template-columns: 1fr;
	}

	.rk-featured-story {
		gap: 38px;
	}

	.rk-newsletter-form {
		flex-direction: column;
		gap: 10px;
	}

	.rk-newsletter-form input {
		border: 1px solid rgba(184, 149, 107, 0.45);
	}

	.rk-form-shell {
		padding: 28px 20px;
	}

	.rk-form-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.rk-footer-grid {
		grid-template-columns: 1fr;
	}

	.rk-footer-brand {
		grid-column: auto;
	}

	.rk-footer-bottom,
	.rk-share {
		flex-direction: column;
		align-items: flex-start;
	}
}
