@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;1,500&display=swap');

:root {
    --offwhite: #FAF9F6;
    --charcoal: #1A1A1A;
    --charcoal-light: #4A4A4A;
    --accent: rgba(57, 255, 20, 0.7);
    --accent-solid: #39FF14;
    --accent-bg: rgba(57, 255, 20, 0.12);
    --sidebar-bg: #F3F2EE;
    --sidebar-w: 260px;
    --border: rgba(26, 26, 26, 0.08);
    --card-bg: #FFFFFF;
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--offwhite);
    color: var(--charcoal);
    line-height: 1.7;
    font-size: 16px;
}

.accent-font {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ─── LAYOUT ─── */
.layout {
    display: flex;
    min-height: 100vh;
}

/* ─── SIDEBAR ─── */
.sidebar {
    width: var(--sidebar-w);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.sidebar-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-solid), #1A1A1A);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 16px;
    flex-shrink: 0;
}

.sidebar-profile-info h3 {
    font-size: 15px; font-weight: 600; line-height: 1.2;
}

.sidebar-profile-info span {
    font-size: 12px; color: var(--charcoal-light);
}

.sidebar-nav { list-style: none; margin-bottom: 28px; }

.sidebar-nav li a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 8px;
    text-decoration: none; color: var(--charcoal);
    font-size: 14px; font-weight: 500;
    transition: background 0.2s;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: rgba(26, 26, 26, 0.06);
}

.sidebar-nav li a.active {
    background: var(--card-bg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.sidebar-nav li a svg {
    width: 18px; height: 18px; opacity: 0.7; flex-shrink: 0;
}

.sidebar-section-label {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 2px; color: var(--charcoal-light);
    padding: 0 14px; margin-bottom: 8px;
}

.sidebar-socials { list-style: none; margin-bottom: 28px; }

.sidebar-socials li a {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px; border-radius: 8px;
    text-decoration: none; color: var(--charcoal);
    font-size: 14px; font-weight: 400;
    transition: background 0.2s;
}

.sidebar-socials li a:hover { background: rgba(26,26,26,0.06); }

.sidebar-socials li a svg {
    width: 18px; height: 18px; opacity: 0.6; flex-shrink: 0;
}

.sidebar-socials li a .ext-icon {
    margin-left: auto; width: 14px; height: 14px; opacity: 0.3;
}

.sidebar-toggle {
    display: none;
    position: fixed; top: 16px; left: 16px; z-index: 200;
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 8px; padding: 8px; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-toggle svg { width: 22px; height: 22px; }

.sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 90;
}

/* ─── MAIN CONTENT ─── */
.main {
    margin-left: var(--sidebar-w);
    flex: 1;
    padding: 48px 56px 80px;
    /* max-width: 960px; */ /* Removed to eliminate blank space on the right */
}

/* ─── HERO ─── */
.hero { margin-bottom: 64px; }

.hero-greeting {
    font-size: 13px; text-transform: uppercase;
    letter-spacing: 3px; color: var(--charcoal-light);
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700; line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 .accent-font { font-weight: 500; font-style: italic; }

.hero h1 .highlight {
    background: linear-gradient(180deg, transparent 60%, var(--accent) 60%);
}

.hero-subtitle {
    font-size: 17px; color: var(--charcoal-light);
    max-width: 580px; margin-bottom: 32px; line-height: 1.8;
}

.hero-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 28px; background: var(--charcoal);
    color: var(--offwhite); font-weight: 600; font-size: 14px;
    text-decoration: none; border-radius: 8px;
    transition: all 0.3s;
}

.hero-cta:hover { gap: 16px; opacity: 0.9; }
.hero-cta svg { width: 18px; height: 18px; }

/* ─── CARDS / SECTIONS ─── */
.content-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 32px;
}

.card-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 24px;
}

.card-header h2 {
    font-size: 20px; font-weight: 700;
}

.card-header .emoji { font-size: 22px; }

/* ─── STATS ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-box {
    text-align: center;
    padding: 20px 12px;
    border-radius: 10px;
    background: var(--offwhite);
    border: 1px solid var(--border);
}

.stat-box .num {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700; margin-bottom: 4px;
}

.stat-box .num .highlight {
    background: linear-gradient(180deg, transparent 60%, var(--accent) 60%);
}

.stat-box .label {
    font-size: 12px; color: var(--charcoal-light);
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* ─── WORDMARK LOGOS ─── */
.wordmark-section {
    text-align: center;
    padding: 8px 0 12px;
}

.wordmark-section .section-subhead {
    font-size: 13px; color: var(--charcoal-light);
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 28px;
}

.wordmark-grid {
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: center;
    gap: 32px 48px;
}

.wordmark {
    color: var(--charcoal);
    opacity: 0.75;
    transition: opacity 0.3s;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.wordmark:hover { opacity: 1; }

.wordmark-xl {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    font-family: 'Playfair Display', Georgia, serif;
}

.wordmark-lg {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wordmark-md {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.wordmark-sm {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--charcoal-light);
}

.wordmark .sub {
    display: block;
    font-size: 11px; font-weight: 500;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--charcoal-light);
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
}

/* ─── BLOG GRID ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.blog-card {
    display: flex; gap: 14px;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--offwhite);
    text-decoration: none; color: inherit;
    transition: box-shadow 0.3s, transform 0.2s;
}

.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.blog-thumb {
    width: 72px; height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-bg), rgba(26,26,26,0.05));
}

.blog-card-body h3 {
    font-size: 14px; font-weight: 600;
    line-height: 1.4; margin-bottom: 4px;
}

.blog-card-body .blog-tag {
    font-size: 12px; color: var(--charcoal-light);
}

.blog-card.coming-soon {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.blog-card.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--charcoal);
    color: var(--offwhite);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── PILLARS ─── */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    padding: 24px;
    background: var(--offwhite);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.pillar-card h3 {
    font-size: 16px; font-weight: 700; margin-bottom: 8px;
}

.pillar-card p {
    font-size: 14px; color: var(--charcoal-light);
    margin-bottom: 12px; line-height: 1.6;
}

.pillar-proof {
    font-size: 13px; padding-left: 12px;
    border-left: 2px solid var(--accent);
    margin-bottom: 6px; line-height: 1.5;
}

/* ─── SKILLS ─── */
.skills-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.skill-col h3 {
    font-size: 15px; font-weight: 700;
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.skill-col h3 .accent-font {
    font-weight: 500; font-style: italic;
}

.skill-entry {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 0; font-size: 14px;
    color: var(--charcoal-light);
}

.skill-dot {
    width: 5px; height: 5px;
    background: var(--charcoal);
    border-radius: 50%; flex-shrink: 0;
}

/* ─── TIMELINE ─── */
.timeline { position: relative; padding-left: 24px; }

.timeline::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px; background: var(--border);
}

.tl-item {
    position: relative; padding-bottom: 32px;
}

.tl-item::before {
    content: ''; position: absolute;
    left: -28px; top: 6px;
    width: 8px; height: 8px;
    background: var(--charcoal);
    border-radius: 50%;
}

.tl-year {
    font-size: 12px; color: var(--charcoal-light);
    margin-bottom: 4px;
}

.tl-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }

.tl-company {
    font-size: 14px; color: var(--charcoal-light);
    margin-bottom: 8px;
}

.tl-desc {
    font-size: 14px; color: var(--charcoal-light);
    line-height: 1.6;
}

/* ─── CTA ─── */
.cta-card {
    text-align: center;
    background: var(--accent-bg);
    border: 1px solid rgba(57,255,20,0.15);
}

.cta-card h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 12px;
}

.cta-card h2 .accent-font {
    font-weight: 500; font-style: italic;
}

.cta-card p {
    color: var(--charcoal-light);
    margin-bottom: 24px; max-width: 420px;
    margin-left: auto; margin-right: auto;
    font-size: 15px;
}

.cta-btns {
    display: flex; justify-content: center;
    gap: 12px; flex-wrap: wrap;
}

.btn-pri {
    padding: 12px 28px; background: var(--charcoal);
    color: var(--offwhite); font-weight: 600;
    text-decoration: none; border-radius: 8px;
    font-size: 14px; transition: opacity 0.3s;
}

.btn-pri:hover { opacity: 0.85; }

.btn-sec {
    padding: 12px 28px; border: 2px solid var(--charcoal);
    color: var(--charcoal); font-weight: 600;
    text-decoration: none; background: transparent;
    border-radius: 8px; font-size: 14px;
    transition: all 0.3s;
}

.btn-sec:hover { background: var(--charcoal); color: var(--offwhite); }

/* ─── FOOTER ─── */
.main-footer {
    margin-top: 48px; padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 16px;
}

.footer-status {
    font-size: 14px; font-weight: 500;
}

.footer-status .dot {
    display: inline-block; width: 8px; height: 8px;
    background: var(--accent-solid); border-radius: 50%;
    margin-left: 6px; animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.footer-clock {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700; color: var(--charcoal);
    opacity: 0.08; line-height: 1;
}

.footer-reach {
    font-size: 14px; color: var(--charcoal-light);
    text-decoration: none; display: flex;
    align-items: center; gap: 6px;
    transition: color 0.3s;
}

.footer-reach:hover { color: var(--charcoal); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .main { padding: 48px 32px 80px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid, .skills-cols { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .wordmark-grid { gap: 20px 32px; }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .sidebar-toggle { display: block; }
    .sidebar-overlay.show { display: block; }
    .main { margin-left: 0; padding: 72px 20px 60px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-btns { flex-direction: column; align-items: center; }
    .main-footer { flex-direction: column; text-align: center; }
    .blog-grid { grid-template-columns: 1fr; }
}
