/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0F1B3C;
    --royal-blue: #1E3A8A;
    --accent-gold: #D4AF37;
    --light-gold: #F59E0B;
    --champagne: #F7E7CE;
    --dark-gray: #374151;
    --medium-gray: #6B7280;
    --light-gray: #F8FAFC;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(15,27,60,0.12);
    --glow-shadow: 0 8px 32px rgba(212,175,55,0.15);
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--champagne) 30%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(212,175,55,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content { position: relative; }

.hero-text-section {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.hero-text { text-align: left; }

.hero-photo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero-photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-gold);
    box-shadow: 0 8px 24px rgba(212,175,55,0.3);
    transition: all 0.3s ease;
}

.hero-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(212,175,55,0.4);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero .tagline-main {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--royal-blue);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
    line-height: 1.4;
}

.hero .tagline-sub {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.currently-at {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.625rem 1.125rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(15, 27, 60, 0.06);
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
    margin-bottom: 2.5rem;
    transition: all 0.25s ease;
}
.currently-at:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}
.currently-at-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--medium-gray);
}
.currently-at-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--light-gold) 100%);
    color: var(--white);
    box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--accent-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(212,175,55,0.1);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
    border-color: rgba(212,175,55,0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: 0 2px 4px rgba(212,175,55,0.2);
}

.stat-label {
    color: var(--medium-gray);
    margin-top: 0.5rem;
}

/* Section Styles */
section { padding: 4rem 2rem; }
.container { max-width: var(--max-width); margin: 0 auto; }

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
}

/* About Section */
.about { background: var(--light-gray); }

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.about-photo { position: relative; }

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--glow-shadow);
    border: 3px solid rgba(212,175,55,0.2);
    transition: all 0.3s ease;
}

.about-photo img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(212,175,55,0.25);
    border-color: rgba(212,175,55,0.4);
}

.about-text { font-size: 1.1rem; line-height: 1.8; color: var(--dark-gray); }
.about-intro { margin-bottom: 2rem; }
.about-intro .lead { font-size: 1.25rem; font-weight: 500; color: var(--royal-blue); margin: 0; }
.about-intro p { margin-bottom: 1rem; }

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15,27,60,0.08);
    border: 1px solid rgba(212,175,55,0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15,27,60,0.12);
    border-color: rgba(212,175,55,0.2);
}

.highlight-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--champagne) 0%, rgba(212,175,55,0.1) 100%);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--accent-gold);
}

.highlight-icon svg {
    width: 28px;
    height: 28px;
}

.highlight-content h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.highlight-content p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Current Projects Section (NEW) */
.current-projects { background: var(--white); }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}
.project-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212,175,55,0.12);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.05), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow-shadow);
    border-color: rgba(212,175,55,0.3);
}
.project-card:hover::before { left: 100%; }
.project-card--bet { border-top: 3px solid var(--accent-gold); }
.project-card--active { border-top: 3px solid var(--royal-blue); }
.project-card--personal { border-top: 3px solid var(--medium-gray); }
.project-logo {
    height: 64px;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.project-logo img { max-height: 56px; max-width: 180px; object-fit: contain; }
.project-logo--svg { color: var(--accent-gold); }
.project-logo--svg svg { width: 44px; height: 44px; }

/* Rounded-square variant for photo/illustrated icons (Party Lore, Mike's Website) */
.project-logo--rounded {
    height: 72px;
    width: 72px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(15, 27, 60, 0.18), 0 0 0 2px rgba(212, 175, 55, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-logo--rounded img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    max-height: none;
}
.project-card:hover .project-logo--rounded {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 27, 60, 0.22), 0 0 0 2px var(--accent-gold);
}
.project-card h3 {
    color: var(--primary-blue);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}
.project-tagline { font-style: italic; color: var(--royal-blue); font-weight: 500; margin: 0; }
.project-card p.project-description {
    color: var(--dark-gray);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0.25rem 0;
}
.project-status {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--light-gray);
}
.project-links {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    color: var(--primary-blue);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 999px;
    font-size: 0.825rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.project-links a:hover {
    background: var(--accent-gold);
    color: var(--white);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212,175,55,0.25);
}

/* MetaObjects Section */
.metaobjects { background: var(--light-gray); }

.origin-story {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--royal-blue) 50%, #1E40AF 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.origin-story::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.origin-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--white);
    margin: 1.5rem 0 2rem 0;
    padding: 0;
    border: none;
    background: none;
    position: relative;
    z-index: 1;
}

.platform-evolution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.evolution-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    min-width: 140px;
}

.step-icon { font-size: 2rem; margin-bottom: 0.5rem; color: var(--accent-gold); display: flex; justify-content: center; }
.step-icon svg { width: 32px; height: 32px; }
.step-text { font-size: 0.9rem; color: rgba(255,255,255,0.9); font-weight: 500; }
.evolution-arrow { font-size: 1.5rem; color: var(--accent-gold); font-weight: bold; }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; display: flex; justify-content: center; color: var(--accent-gold); }
.feature-icon svg { width: 44px; height: 44px; }
.origin-story h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.origin-story p { font-size: 1.1rem; line-height: 1.8; opacity: 0.95; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(212,175,55,0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-shadow);
    border-color: rgba(212,175,55,0.3);
}

.feature-card:hover::before { left: 100%; }
.feature-card h3 { color: var(--primary-blue); margin-bottom: 1rem; }

.success-stories { margin-top: 3rem; }

.story-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212,175,55,0.1);
}

.story-card h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Experience Section */
.experience { background: var(--white); }

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-blue);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 2rem;
    margin-bottom: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: calc(50% - 2rem);
    transition: all 0.3s ease;
    border: 1px solid rgba(212,175,55,0.1);
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
    border-color: rgba(212,175,55,0.2);
}

.timeline-item:nth-child(even) { margin-left: auto; }

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-gold);
    border: 3px solid var(--white);
    border-radius: 50%;
    top: 2rem;
    box-shadow: 0 2px 8px rgba(212,175,55,0.3);
}

.timeline-item:nth-child(odd)::before { right: -2.5rem; }
.timeline-item:nth-child(even)::before { left: -2.5rem; }

.timeline-date { color: var(--accent-gold); font-weight: 600; margin-bottom: 0.5rem; }
.timeline-title { color: var(--primary-blue); font-size: 1.25rem; margin-bottom: 0.5rem; }
.timeline-company { color: var(--medium-gray); margin-bottom: 1rem; }
.timeline-item ul { list-style: none; padding: 0; }
.timeline-item ul li {
    padding: 0.4rem 0 0.4rem 1rem;
    position: relative;
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}
.timeline-item ul li::before {
    content: '▸';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
}

/* Patent Callout (NEW) */
.patent-section { background: var(--light-gray); }
.patent-callout {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--royal-blue) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.patent-callout::before {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(212,175,55,0.25) 0%, transparent 70%);
    border-radius: 50%;
}
.patent-callout > * { position: relative; z-index: 1; }
.patent-label {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.patent-callout h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.patent-callout p { font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,0.95); margin: 0; }

/* Party Lore Spotlight (replaces Patent dedicated section) */
.party-lore-spotlight {
    background: linear-gradient(135deg, #1a1f3a 0%, #2a3155 50%, #1e3a8a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.party-lore-spotlight::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.party-lore-spotlight::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212,175,55,0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.party-lore-spotlight > .container { position: relative; z-index: 1; }
.spotlight-block {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.spotlight-icon img {
    width: 240px;
    height: 240px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 4px rgba(212,175,55,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.spotlight-icon img:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 4px var(--accent-gold);
}
.spotlight-eyebrow {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.spotlight-content h2 {
    color: var(--white);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    text-align: left;
}
.spotlight-tagline {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
    font-style: italic;
    margin: 0 0 1.5rem;
}
.spotlight-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    gap: 0.85rem;
}
.spotlight-points li {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}
.spotlight-points li::before {
    content: '▸';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.spotlight-points strong { color: var(--white); font-weight: 700; }
.spotlight-cta { margin: 0; }
@media (max-width: 768px) {
    .spotlight-block { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .spotlight-icon img { width: 200px; height: 200px; margin: 0 auto; }
    .spotlight-content h2 { text-align: center; font-size: 2.25rem; }
    .spotlight-points { text-align: left; }
}

/* Expertise Section */
.expertise { background: var(--white); }

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.expertise-category {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.expertise-category h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.expertise-list { list-style: none; }
.expertise-list li { padding: 0.5rem 0; color: var(--dark-gray); }
.expertise-list li:before {
    content: "▸ ";
    color: var(--accent-gold);
    font-weight: bold;
}

/* Selected Past Work (NEW) */
.past-work { background: var(--light-gray); }
.past-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.past-work-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15,27,60,0.08);
    border: 1px solid rgba(212,175,55,0.12);
    transition: all 0.3s ease;
}
.past-work-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(212,175,55,0.3);
}
.past-work-card h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
    font-weight: 700;
}
.past-work-meta {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}
.past-work-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Writing / Thought Leadership */
.thought-leadership { background: var(--white); }

/* Vertical date-prominent post list (used on /writing/ AND homepage Writing section) */
.post-archive-list {
    max-width: 760px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.post-archive-entry {
    padding: 1.75rem 1.75rem 1.75rem 1.5rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(247, 231, 206, 0.18) 0%, rgba(255, 255, 255, 0) 60%);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 3px rgba(15, 27, 60, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    display: block;
}
.post-archive-entry:hover {
    transform: translateX(3px);
    background: linear-gradient(135deg, rgba(247, 231, 206, 0.32) 0%, rgba(255, 255, 255, 0) 60%);
    border-color: rgba(212, 175, 55, 0.35);
    border-left-color: var(--accent-gold);
    box-shadow: 0 6px 18px rgba(15, 27, 60, 0.08);
}
.post-archive-entry:last-child { margin-bottom: 0; }

.post-archive-entry a.post-archive-entry-link {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.post-archive-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.post-archive-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 0.75rem;
    transition: color 0.2s ease;
}
.post-archive-entry a.post-archive-entry-link:hover .post-archive-title {
    color: var(--accent-gold);
}

.post-archive-tags {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin: 0 0 0.875rem;
    font-weight: 500;
}
.post-archive-tag {
    display: inline;
}
.post-archive-tag + .post-archive-tag::before {
    content: ' · ';
    color: rgba(212,175,55,0.6);
}

.post-archive-excerpt {
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.writing-more {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 600px) {
    .post-archive-title { font-size: 1.375rem; }
    .post-archive-entry { padding: 1.75rem 0; }
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--royal-blue) 50%, #1E40AF 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50px, 50px);
}

.contact > .container { position: relative; z-index: 1; }
.contact h2 { color: var(--white); margin-bottom: 2rem; }

.contact-lede {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    color: rgba(255,255,255,0.92);
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--white);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-link:hover { background: var(--white); color: var(--primary-blue); }

.contact-emails { margin-top: 3rem; }
.contact-emails p { margin-bottom: 0.5rem; font-size: 1.1rem; }
.contact-emails a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-emails a:hover { text-decoration: underline; }

/* Footer */
footer.site-footer {
    background: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}
footer.site-footer a {
    color: var(--accent-gold);
    text-decoration: none;
    margin: 0 0.5rem;
}
footer.site-footer a:hover { text-decoration: underline; }

/* === Individual post pages === */
.post-page { padding: 7rem 2rem 4rem; }
.post {
    max-width: 760px;
    margin: 0 auto;
}
.post-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(212,175,55,0.25);
}
.post-header .post-date {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.875rem;
}
.post-header h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin: 0 0 1.25rem;
}
.post-header .post-tags {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}
.post-header .post-tag {
    display: inline;
}
.post-header .post-tag + .post-tag::before {
    content: ' · ';
    color: rgba(212,175,55,0.6);
}

.post-body { font-size: 1.0625rem; line-height: 1.85; color: var(--dark-gray); }
.post-body h2 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 3rem 0 1rem;
}
.post-body h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}
.post-body p { margin-bottom: 1.5rem; }
.post-body ul, .post-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-body li { margin-bottom: 0.5rem; }
.post-body strong { color: var(--primary-blue); font-weight: 600; }
.post-body em { color: var(--royal-blue); }
.post-body a {
    color: var(--royal-blue);
    border-bottom: 1px solid rgba(30,58,138,0.3);
    text-decoration: none;
    transition: all 0.2s ease;
}
.post-body a:hover { color: var(--accent-gold); border-bottom-color: var(--accent-gold); }

.disclosure {
    margin: 3rem 0;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, var(--champagne) 0%, rgba(247,231,206,0.5) 100%);
    border-left: 4px solid var(--accent-gold);
    border-radius: 8px;
    color: var(--dark-gray);
    font-size: 0.95rem;
}
.disclosure strong { color: var(--primary-blue); }

.post-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212,175,55,0.2);
}
.post-footer a { color: var(--royal-blue); font-weight: 600; text-decoration: none; }
.post-footer a:hover { color: var(--accent-gold); }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* fade-in: visible by default (so non-JS and screenshots see content),
   re-animates on scroll via JS adding/removing .visible */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    .nav-links.active { display: flex; }
    .mobile-menu { display: flex; }
    .hero-text-section { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .hero-text { text-align: center; order: 2; }
    .hero-photo { order: 1; justify-content: center; }
    .hero-photo img { width: 120px; height: 120px; }
    .hero h1 { font-size: 2rem; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .about-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .about-photo { max-width: 250px; margin: 0 auto; }
    .platform-evolution { flex-direction: column; gap: 1.5rem; }
    .evolution-arrow { transform: rotate(90deg); font-size: 1.2rem; }
    .timeline::before { left: 30px; }
    .timeline-item { width: calc(100% - 60px); margin-left: 60px !important; }
    .timeline-item::before { left: -45px !important; }
    .cta-buttons { flex-direction: column; }
    .btn { text-align: center; }
    .post-page { padding: 6rem 1.5rem 3rem; }
    .post-header h1 { font-size: 1.875rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .section-title { font-size: 1.75rem; }
    .stats-bar { grid-template-columns: 1fr; }
}
