/*
Theme Name: Patrick J. Wolf
Theme URI: https://patrickjwolf.com
Author: Patrick J. Wolf
Description: Personal website for Patrick J. Wolf — Strategist, Policy Researcher & Founder. Custom theme with full JSON-LD schema markup.
Version: 1.0
License: All Rights Reserved
*/

:root {
    --navy: #0a1628;
    --navy-mid: #12213a;
    --navy-light: #1a2d4d;
    --gold: #c8a55c;
    --gold-dim: #a08040;
    --cream: #f0ece4;
    --cream-mid: #d8d2c6;
    --text: #e8e4dc;
    --text-dim: #9a9488;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    background: var(--navy);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cream); }

/* --- HEADER --- */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(200,165,92,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,22,40,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-name {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.02em;
}
.site-name a { color: var(--cream); }
.site-nav { display: flex; gap: 28px; }
.site-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.site-nav a:hover { color: var(--gold); }

/* --- HERO --- */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 32px 72px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
}
.hero-text h1 {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.hero-titles {
    font-size: 15px;
    color: var(--gold);
    line-height: 1.9;
    margin-bottom: 28px;
    font-weight: 500;
}
.hero-titles span { display: block; }
.hero-intro {
    font-size: 17px;
    color: var(--text);
    line-height: 1.8;
    max-width: 560px;
}
.hero-photo { position: relative; }
.hero-photo .photo-frame {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--navy-mid);
    border: 1px solid rgba(200,165,92,0.2);
    overflow: hidden;
}
.hero-photo .photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.photo-caption {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 12px;
    text-align: center;
}

/* --- DIVIDER --- */
.divider {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}
.divider hr {
    border: none;
    border-top: 1px solid rgba(200,165,92,0.15);
}

/* --- SECTIONS --- */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 32px;
}
.section h2 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}
.section h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 16px;
}
.section p {
    margin-bottom: 20px;
    max-width: 720px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

/* --- ABOUT with side image --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}
.about-portrait {
    position: sticky;
    top: 100px;
}
.about-portrait img {
    width: 100%;
    border: 1px solid rgba(200,165,92,0.15);
}

/* --- CREDENTIALS --- */
.credentials {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.credential { display: flex; flex-direction: column; }
.credential .cred-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dim);
    font-weight: 600;
    margin-bottom: 4px;
}
.credential .cred-value {
    font-size: 15px;
    color: var(--cream);
    font-weight: 500;
}

/* --- AFFILIATIONS GRID --- */
.affiliations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.affiliation-card {
    background: var(--navy-mid);
    border: 1px solid rgba(200,165,92,0.12);
    padding: 32px 28px;
    transition: border-color 0.3s;
}
.affiliation-card:hover { border-color: rgba(200,165,92,0.35); }
.affiliation-card .card-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}
.affiliation-card h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 12px;
    line-height: 1.3;
}
.affiliation-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: none;
}
.card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.04em;
}
.card-link:hover { color: var(--cream); }

/* --- RESEARCH --- */
.research-list { margin-top: 28px; }
.research-item {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid rgba(200,165,92,0.1);
}
.research-item:first-child { border-top: 1px solid rgba(200,165,92,0.1); }
.research-item .research-source {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dim);
    font-weight: 600;
    margin-bottom: 4px;
}
.research-item h3 {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--cream);
    font-weight: 600;
    margin-bottom: 6px;
    transition: color 0.2s;
}
.research-item:hover h3 { color: var(--gold); }
.research-item .research-desc {
    font-size: 14px;
    color: var(--text-dim);
    max-width: 600px;
}

/* --- CONNECT --- */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(200,165,92,0.25);
    font-size: 14px;
    font-weight: 500;
    color: var(--cream);
    transition: all 0.2s;
}
.social-link:hover {
    border-color: var(--gold);
    background: rgba(200,165,92,0.06);
    color: var(--gold);
}

/* --- FOOTER --- */
.site-footer {
    border-top: 1px solid rgba(200,165,92,0.15);
    padding: 40px 32px;
    margin-top: 40px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
    flex-wrap: wrap;
}
.footer-text {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.8;
    max-width: 500px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    max-width: 1100px;
    margin: 24px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(200,165,92,0.08);
}
.footer-bottom p { font-size: 12px; color: var(--text-dim); }

/* --- ANIMATIONS --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-text { animation: fadeUp 0.6s ease-out; }
.hero-photo { animation: fadeUp 0.6s ease-out 0.15s both; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding: 60px 24px 48px; gap: 36px; }
    .hero-text { order: 1; }
    .hero-photo { order: 0; max-width: 320px; }
    .hero-text h1 { font-size: 40px; }
    .affiliations { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-portrait { position: static; max-width: 260px; }
    .section { padding: 48px 24px; }
    .site-nav { gap: 16px; }
    .site-nav a { font-size: 11px; }
    .header-inner { padding: 0 24px; }
    .credentials { gap: 24px; }
    .footer-inner { flex-direction: column; }
    .divider { padding: 0 24px; }
}
@media (max-width: 480px) {
    .hero-text h1 { font-size: 32px; }
    .hero-titles { font-size: 14px; }
    .section h2 { font-size: 26px; }
}
