*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--ink: #0e0e0e;
	--paper: #f5f0e8;
	--cream: #ede7d8;
	--accent: #c8382a;
	--accent-muted: #8b2920;
	--gold: #b89a4a;
	--rule: rgba(14,14,14,0.15);
	--text-muted: #5a5248;
	--serif: 'Playfair Display', Georgia, serif;
	--mono: 'DM Mono', monospace;
	--body-serif: 'Lora', serif;
}

html { scroll-behavior: smooth; }

body {
	background: var(--ink);
	color: var(--paper);
	font-family: var(--body-serif);
	font-size: 16px;
	line-height: 1.75;
	overflow-x: hidden;
}

/* ─── MASTHEAD ─── */
.masthead {
	position: relative;
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
}

.masthead-left {
	background: var(--ink);
	padding: 80px 60px 80px 80px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	z-index: 2;
}

.masthead-left::after {
	content: '';
	position: absolute;
	right: -1px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--accent);
}

.masthead-right {
	background: var(--paper);
	position: relative;
	overflow: hidden;
}

.photo-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, #1a1612 0%, #0e0e0e 50%, #1f1a14 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background-image: url('/assets/img/bg-1.jpeg');
	background-repeat: no-repeat;
	background-size: cover;
}

.photo-placeholder svg {
	width: 60%;
	opacity: 0.06;
}

.photo-caption {
	position: absolute;
	bottom: 40px;
	left: 40px;
	right: 40px;
	color: var(--paper);
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.5;
}

.issue-line {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 60px;
}

.prof-name {
	font-family: var(--serif);
	font-size: clamp(52px, 6vw, 86px);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.02em;
	color: var(--paper);
	margin-bottom: 28px;
}

.prof-name em {
	font-style: italic;
	color: var(--gold);
	display: block;
}

.title-block {
	border-left: 3px solid var(--accent);
	padding-left: 20px;
	margin-bottom: 48px;
}

.title-block p {
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0.06em;
	color: rgba(245,240,232,0.6);
	line-height: 1.6;
	text-transform: uppercase;
}

.title-block p strong {
	color: var(--paper);
	font-weight: 400;
}

.pull-quote-hero {
	font-family: var(--serif);
	font-style: italic;
	font-size: 19px;
	line-height: 1.55;
	color: rgba(245,240,232,0.75);
	border-top: 1px solid var(--rule);
	padding-top: 32px;
	max-width: 420px;
}

.pull-quote-hero span {
	color: var(--gold);
}

/* ─── IDEOLOGY TICKER ─── */
.ticker {
	background: var(--accent);
	overflow: hidden;
	padding: 14px 0;
	border-top: 1px solid var(--accent-muted);
	border-bottom: 1px solid var(--accent-muted);
}

.ticker-inner {
	display: flex;
	gap: 60px;
	animation: ticker 28s linear infinite;
	white-space: nowrap;
	width: max-content;
}

.ticker-inner span {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	flex-shrink: 0;
}

.ticker-inner span::before {
	content: '◆';
	margin-right: 18px;
	opacity: 0.6;
}

@keyframes ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ─── MAIN CONTENT ─── */
.content {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 60px;
}

/* ─── SECTION LABEL ─── */
.section-label {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--accent);
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 40px;
}

.section-label::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--rule);
	background: rgba(245,240,232,0.12);
}

/* ─── BIOGRAPHY ─── */
.biography {
	padding: 100px 0 80px;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 80px;
	border-bottom: 1px solid rgba(245,240,232,0.1);
}

.bio-sidebar h2 {
	font-family: var(--serif);
	font-size: 42px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 24px;
}

.bio-sidebar h2 em {
	font-style: italic;
	color: var(--gold);
}

.bio-stat {
	margin-top: 40px;
}

.bio-stat-item {
	padding: 16px 0;
	border-top: 1px solid rgba(245,240,232,0.1);
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.bio-stat-item:last-child {
	border-bottom: 1px solid rgba(245,240,232,0.1);
}

.stat-label {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(245,240,232,0.4);
}

.stat-value {
	font-family: var(--serif);
	font-size: 15px;
	color: var(--paper);
}

.bio-body p {
	color: rgba(245,240,232,0.78);
	font-size: 17px;
	line-height: 1.85;
	margin-bottom: 24px;
	text-align: justify !important;
}

.bio-body .bio-body-1 p:first-child::first-letter {
	font-family: var(--serif);
	font-size: 72px;
	font-weight: 900;
	float: left;
	line-height: 0.75;
	margin-right: 10px;
	margin-top: 10px;
	color: var(--gold);
	margin-bottom: -20px;
}

.bio-body .bio-body-1 {
	margin-bottom: 36px;
}

.bio-body blockquote {
	border-left: 3px solid var(--accent);
	margin-bottom: 36px;
	padding: 4px 0 4px 28px;
	font-style: italic;
	font-size: 20px;
	color: var(--paper);
	line-height: 1.55;
}

/* ─── IDEOLOGIES ─── */
.ideologies {
padding: 100px 0 80px;
border-bottom: 1px solid rgba(245,240,232,0.1);
}

.ideology-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2px;
margin-top: 56px;
}

.ideology-card {
background: rgba(245,240,232,0.03);
border: 1px solid rgba(245,240,232,0.08);
padding: 40px 36px;
position: relative;
transition: background 0.3s ease;
}

.ideology-card:hover {
background: rgba(245,240,232,0.06);
}

.ideology-number {
font-family: var(--serif);
font-size: 72px;
font-weight: 900;
color: rgba(245,240,232,0.05);
line-height: 1;
position: absolute;
top: 20px;
right: 24px;
letter-spacing: -0.04em;
}

.ideology-icon {
font-size: 22px;
margin-bottom: 20px;
}

.ideology-card h3 {
font-family: var(--serif);
font-size: 22px;
font-weight: 700;
line-height: 1.2;
margin-bottom: 16px;
color: var(--paper);
}

.ideology-card h3 em {
font-style: italic;
color: var(--gold);
}

.ideology-card p {
font-size: 14px;
line-height: 1.75;
color: rgba(245,240,232,0.6);
}

.ideology-tag {
display: inline-block;
margin-top: 20px;
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--accent);
border: 1px solid var(--accent);
padding: 4px 10px;
}

/* ─── SELECTED WORKS ─── */
.works {
padding: 100px 0 80px;
border-bottom: 1px solid rgba(245,240,232,0.1);
}

.works-list {
margin-top: 56px;
}

.work-item {
display: grid;
grid-template-columns: 80px 1fr auto;
align-items: start;
gap: 32px;
padding: 32px 0;
transition: background 0.2s;
}

.work-item:last-child {
border-bottom: 1px solid rgba(245,240,232,0.08);
}

.work-year {
font-family: var(--mono);
font-size: 12px;
letter-spacing: 0.08em;
color: rgba(245,240,232,0.35);
padding-top: 4px;
}

.work-title {
font-family: var(--serif);
font-size: 20px;
font-style: italic;
font-weight: 400;
color: var(--paper);
margin-bottom: 8px;
line-height: 1.3;
}

.work-desc {
font-size: 13px;
color: rgba(245,240,232,0.5);
line-height: 1.6;
}

.work-type {
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--gold);
padding-top: 6px;
text-align: right;
white-space: nowrap;
}

/* ─── CONTACT / FOOTER ─── */
.footer-bar {
padding: 80px 0;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 80px;
align-items: end;
}

.footer-bar h2 {
font-family: var(--serif);
font-size: 38px;
font-weight: 700;
line-height: 1.1;
margin-bottom: 24px;
}

.footer-bar h2 em {
font-style: italic;
color: var(--gold);
}

.contact-links {
display: flex;
flex-direction: column;
gap: 14px;
}

.contact-link {
font-family: var(--mono);
font-size: 13px;
color: rgba(245,240,232,0.5);
text-decoration: none;
letter-spacing: 0.04em;
display: flex;
align-items: center;
gap: 12px;
transition: color 0.2s;
}

.contact-link:hover {
color: var(--paper);
}

.contact-link span {
width: 40px;
font-size: 10px;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--accent);
}

.colophon {
	text-align: right;
	text-decoration: none;
}

.colophon p {
font-family: var(--mono);
font-size: 10px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: rgba(245,240,232,0.2);
line-height: 2;
}

.wordmark {
font-family: var(--serif);
font-size: 64px;
font-weight: 900;
letter-spacing: -0.04em;
color: rgba(245,240,232,0.04);
margin-bottom: 8px;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: translateY(0); }
}

.masthead-left > * {
animation: fadeUp 0.8s ease both;
}

.masthead-left > *:nth-child(1) { animation-delay: 0.1s; }
.masthead-left > *:nth-child(2) { animation-delay: 0.25s; }
.masthead-left > *:nth-child(3) { animation-delay: 0.4s; }
.masthead-left > *:nth-child(4) { animation-delay: 0.55s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
.masthead { grid-template-columns: 1fr; min-height: auto; }
.masthead-right { display: none; }
.masthead-left { padding: 60px 32px; }
.biography { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
.ideology-grid { grid-template-columns: 1fr; }
.work-item { grid-template-columns: 60px 1fr; }
.work-type { display: none; }
.footer-bar { grid-template-columns: 1fr; }
.colophon { text-align: left; }
.content { padding: 0 28px; }
}

.login-form {
	max-width: 400px;
}

.login-btns {
	width: 150px;
}

.bio-body-write {
	color: var(--gold);
	font-weight: bolder;
	cursor: pointer;
}

.note-editor .note-editable {
    background-color: #000000;
}