/*
Theme Name: Stephen Glenn
Theme URI: https://www.stephenglenn.com
Author: Stephen T. Glenn
Author URI: https://www.stephenglenn.com
Description: Commercial real estate portfolio and resume theme for Stephen T. Glenn — Acquisitions, Brokerage, Consulting & Development.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stephen-glenn
Tags: one-page, portfolio, business, real-estate
*/

/* ── RESET & ROOT ── */
:root {
	--cream:       #f5f1ea;
	--paper:       #ede8df;
	--charcoal:    #1a1a18;
	--warm-dark:   #2c2820;
	--gold:        #b8893a;
	--gold-light:  #d4a855;
	--rust:        #8b4b2a;
	--stone:       #8c8278;
	--stone-light: #c4bdb5;
	--border:      #d4cdc4;
	--serif: 'Cormorant Garamond', Georgia, serif;
	--sans:  'Jost', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	background: var(--cream);
	color: var(--charcoal);
	font-family: var(--sans);
	font-weight: 300;
	line-height: 1.7;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { transition: color 0.25s; }

/* ── NAV ── */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.2rem 4rem;
	background: rgba(245,241,234,0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}

.site-branding .site-title {
	font-family: var(--serif);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0;
}

.site-branding .site-title a {
	color: var(--charcoal);
	text-decoration: none;
}

.main-navigation ul {
	display: flex;
	gap: 2.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation a {
	font-size: 0.72rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--stone);
	text-decoration: none;
}

.main-navigation a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding-top: 80px;
}

.hero-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 6rem 5rem 6rem 7rem;
}

.hero-eyebrow {
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1.5rem;
}

.hero-name {
	font-family: var(--serif);
	font-size: clamp(3.5rem, 5vw, 5.5rem);
	font-weight: 300;
	line-height: 1.05;
	color: var(--charcoal);
	margin-bottom: 0.3rem;
}

.hero-name em {
	font-style: italic;
	color: var(--gold);
}

.hero-title {
	font-family: var(--serif);
	font-size: 1.1rem;
	font-weight: 300;
	font-style: italic;
	color: var(--stone);
	margin-bottom: 2.5rem;
}

.hero-divider {
	width: 60px;
	height: 1px;
	background: var(--gold);
	margin-bottom: 2rem;
}

.hero-bio {
	font-size: 0.9rem;
	color: var(--stone);
	max-width: 420px;
	line-height: 1.85;
	margin-bottom: 3rem;
}

.hero-contact {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	color: var(--stone);
}

.hero-contact a { color: var(--charcoal); text-decoration: none; }
.hero-contact a:hover { color: var(--gold); }

.hero-right {
	position: relative;
	overflow: hidden;
	background: var(--warm-dark);
}

.hero-img-grid {
	display: grid;
	grid-template-rows: 60% 40%;
	height: 100%;
}

.hero-img-grid > img,
.hero-img-bottom img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.85;
}

.hero-img-bottom {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.hero-img-bottom img { opacity: 0.75; }

.hero-overlay {
	position: absolute;
	bottom: 2.5rem;
	left: 2.5rem;
	background: rgba(26,26,24,0.75);
	backdrop-filter: blur(8px);
	padding: 1rem 1.5rem;
	border-left: 3px solid var(--gold);
}

.hero-overlay p {
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--stone-light);
}

.hero-overlay strong {
	display: block;
	font-family: var(--serif);
	font-size: 1rem;
	font-weight: 400;
	color: white;
	margin-top: 0.2rem;
}

/* ── SHARED SECTION ── */
.stg-section { padding: 7rem; }

.section-label {
	font-size: 0.68rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1rem;
}

.section-title {
	font-family: var(--serif);
	font-size: clamp(2.2rem, 3.5vw, 3.2rem);
	font-weight: 300;
	line-height: 1.15;
	color: var(--charcoal);
	margin-bottom: 1.5rem;
}

.section-title em { font-style: italic; }

.section-intro {
	font-size: 0.9rem;
	color: var(--stone);
	max-width: 680px;
	line-height: 1.85;
	margin-bottom: 4rem;
}

/* ── PROJECTS ── */
#projects {
	background: var(--warm-dark);
	color: var(--cream);
	padding: 7rem;
}

#projects .section-label { color: var(--gold-light); }
#projects .section-title { color: var(--cream); }
#projects .section-intro { color: var(--stone-light); }

.projects-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3px;
}

.project-card {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4/3;
	cursor: default;
}

.project-card.wide {
	grid-column: span 2;
	aspect-ratio: 16/7;
}

.project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease, filter 0.5s ease;
	filter: brightness(0.55) saturate(0.8);
}

.project-card:hover img {
	transform: scale(1.04);
	filter: brightness(0.35) saturate(0.6);
}

.project-info {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 2rem 2rem 1.8rem;
	background: linear-gradient(transparent, rgba(20,18,14,0.92));
}

.project-tag {
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold-light);
	margin-bottom: 0.5rem;
}

.project-name {
	font-family: var(--serif);
	font-size: 1.45rem;
	font-weight: 400;
	color: white;
	line-height: 1.2;
	margin-bottom: 0.4rem;
}

.project-sub {
	font-size: 0.75rem;
	color: var(--stone-light);
}

.project-detail {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: rgba(20,18,14,0.88);
	opacity: 0;
	transition: opacity 0.4s;
}

.project-card:hover .project-detail { opacity: 1; }

.project-detail .pd-label {
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold-light);
	margin-bottom: 0.6rem;
}

.project-detail .pd-title {
	font-family: var(--serif);
	font-size: 1.6rem;
	font-weight: 300;
	color: white;
	margin-bottom: 1rem;
	line-height: 1.1;
}

.project-detail .pd-text {
	font-size: 0.8rem;
	color: var(--stone-light);
	line-height: 1.7;
	max-width: 400px;
}

.project-detail .pd-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 1rem;
}

.pd-pill {
	font-size: 0.6rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.25rem 0.7rem;
	border: 1px solid var(--gold);
	color: var(--gold-light);
	border-radius: 2px;
}

/* ── BROKERAGE ── */
#brokerage { background: var(--paper); }

.brokerage-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 2px;
	margin-top: 3rem;
}

.brokerage-item {
	padding: 2.5rem;
	background: var(--cream);
	border-top: 3px solid transparent;
	transition: border-color 0.25s;
}

.brokerage-item:hover { border-top-color: var(--gold); }

.bi-num {
	font-family: var(--serif);
	font-size: 3rem;
	font-weight: 300;
	color: var(--border);
	line-height: 1;
	margin-bottom: 1rem;
}

.bi-company {
	font-family: var(--serif);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--charcoal);
	margin-bottom: 0.2rem;
}

.bi-role {
	font-size: 0.75rem;
	color: var(--gold);
	letter-spacing: 0.08em;
	margin-bottom: 0.8rem;
}

.bi-period {
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	color: var(--stone-light);
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.bi-desc {
	font-size: 0.82rem;
	color: var(--stone);
	line-height: 1.7;
}

/* ── VENTURES ── */
#ventures { padding: 7rem; }

.ventures-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 3rem;
}

.venture-row {
	display: grid;
	grid-template-columns: 80px 1fr 2fr 120px;
	align-items: start;
	padding: 2rem 0;
	border-top: 1px solid var(--border);
	gap: 2rem;
}

.venture-year {
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--stone-light);
}

.venture-name {
	font-family: var(--serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--charcoal);
	line-height: 1.2;
}

.venture-desc {
	font-size: 0.83rem;
	color: var(--stone);
	line-height: 1.7;
}

.venture-status {
	font-size: 0.62rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.3rem 0.7rem;
	border: 1px solid var(--border);
	color: var(--stone);
	text-align: center;
	align-self: start;
}

.venture-status.active {
	border-color: var(--gold);
	color: var(--gold);
}

.venture-link {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.72rem;
	color: var(--gold);
	text-decoration: none;
}

.venture-link:hover { text-decoration: underline; }

/* ── EDUCATION ── */
#education {
	background: var(--warm-dark);
	color: var(--cream);
	padding: 7rem;
}

#education .section-title { color: var(--cream); }
#education .section-intro { color: var(--stone-light); }

.edu-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	margin-top: 3rem;
}

.edu-degree {
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 400;
	color: white;
	margin-bottom: 0.3rem;
}

.edu-school {
	font-size: 0.8rem;
	color: var(--gold-light);
	letter-spacing: 0.1em;
	margin-bottom: 0.4rem;
}

.edu-year {
	font-size: 0.7rem;
	color: var(--stone-light);
	letter-spacing: 0.1em;
	margin-bottom: 1.5rem;
}

.edu-desc {
	font-size: 0.83rem;
	color: var(--stone-light);
	line-height: 1.75;
}

.edu-block { margin-bottom: 3rem; }
.edu-block:last-child { margin-bottom: 0; }

.pubs-section { }

.pubs-title {
	font-family: var(--serif);
	font-size: 1.6rem;
	font-weight: 300;
	font-style: italic;
	color: var(--cream);
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}

.pub-item {
	padding: 1.5rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pub-journal {
	font-size: 0.65rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--gold-light);
	margin-bottom: 0.4rem;
}

.pub-title {
	font-family: var(--serif);
	font-size: 1rem;
	font-weight: 400;
	color: white;
	margin-bottom: 0.4rem;
	line-height: 1.3;
}

.pub-authors {
	font-size: 0.75rem;
	color: var(--stone-light);
	font-style: italic;
}

/* ── SITE FOOTER ── */
.site-footer {
	background: var(--charcoal);
	color: var(--stone-light);
	padding: 4rem 7rem;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

.footer-brand {
	font-family: var(--serif);
	font-size: 1.4rem;
	font-weight: 300;
	color: white;
	margin-bottom: 0.8rem;
}

.footer-sub {
	font-size: 0.75rem;
	color: var(--stone);
	line-height: 1.6;
}

.footer-col-title {
	font-size: 0.65rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1rem;
}

.footer-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-nav a {
	font-size: 0.8rem;
	color: var(--stone);
	text-decoration: none;
}

.footer-nav a:hover { color: var(--gold-light); }

.footer-contact p {
	font-size: 0.8rem;
	color: var(--stone);
	margin-bottom: 0.4rem;
}

.footer-contact a {
	color: var(--gold-light);
	text-decoration: none;
}

.footer-bottom {
	background: var(--charcoal);
	color: var(--stone);
	padding: 1.5rem 7rem;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	border-top: 1px solid rgba(255,255,255,0.07);
	display: flex;
	justify-content: space-between;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}

.hero-left > * {
	opacity: 0;
	animation: fadeUp 0.8s ease forwards;
}

.hero-eyebrow { animation-delay: 0.1s; }
.hero-name    { animation-delay: 0.2s; }
.hero-title   { animation-delay: 0.3s; }
.hero-divider { animation-delay: 0.4s; }
.hero-bio     { animation-delay: 0.5s; }
.hero-contact { animation-delay: 0.6s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
	.brokerage-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.site-header { padding: 1rem 2rem; }
	.main-navigation { display: none; }
	.hero { grid-template-columns: 1fr; }
	.hero-right { height: 50vh; }
	.hero-left { padding: 5rem 2rem 3rem; }
	.stg-section,
	#projects,
	#brokerage,
	#ventures,
	#education { padding: 4rem 2rem; }
	.projects-grid,
	.brokerage-grid,
	.edu-grid { grid-template-columns: 1fr; }
	.project-card.wide { grid-column: span 1; }
	.venture-row { grid-template-columns: 1fr; gap: 0.5rem; }
	.site-footer { grid-template-columns: 1fr; padding: 4rem 2rem; }
	.footer-bottom { padding: 1.5rem 2rem; flex-direction: column; gap: 0.4rem; }
}

@media (max-width: 600px) {
	.brokerage-grid { grid-template-columns: 1fr; }
}
