/* ─────────────────────────────────────────────────────────
   Design Tokens
───────────────────────────────────────────────────────── */
:root {
    --bg-color:        #050505;
    --text-color:      #E0E0E0;
    --accent-color:    #ffffff;
    --secondary-text:  #888888;
    --teal:            #6ec6c6;
    --border-subtle:   rgba(255, 255, 255, 0.07);
    --font-main:       'Inter', sans-serif;
    --max-width:       900px;
    --prose-width:     740px;
}

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

/* ─────────────────────────────────────────────────────────
   Base
───────────────────────────────────────────────────────── */
body {
    background: linear-gradient(-45deg, #050505, #070d1a, #071818, #0a0a16);
    background-size: 400% 400%;
    animation: aurora 20s ease infinite;
    color: var(--text-color);
    font-family: var(--font-main);
    min-height: 100vh;
}

/* ─────────────────────────────────────────────────────────
   Hero Section
───────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.hero-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 1.5s ease-out;
}

.profile-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    filter: none;
}

.name {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--secondary-text);
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: 600px;
}

/* ─────────────────────────────────────────────────────────
   Contact Footer (within hero)
───────────────────────────────────────────────────────── */
.contact-footer {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 4rem;
    animation: slideUp 1s ease-out 0.5s backwards;
}

.contact-text {
    font-size: 0.82rem;
    color: #050505;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    text-decoration: none;
    background: var(--teal);
    border: 1px solid var(--teal);
    padding: 0.85rem 2.5rem;
    border-radius: 2px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.contact-text:hover {
    background: #89d4d4;
    border-color: #89d4d4;
    color: #050505;
}

.social-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-color);
    font-size: 1.8rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.social-link:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateY(-3px);
}

.social-label {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary-text);
    transition: color 0.3s ease;
}

.social-link:hover .social-label {
    color: var(--accent-color);
}

/* ─────────────────────────────────────────────────────────
   Scroll Indicator
───────────────────────────────────────────────────────── */
.scroll-indicator {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.45;
    transition: opacity 0.3s ease;
    animation: bounce 2.5s ease-in-out infinite;
}

.scroll-indicator:hover {
    opacity: 0.8;
}

/* ─────────────────────────────────────────────────────────
   Content Sections (About, Proof, Help)
───────────────────────────────────────────────────────── */
.content-section {
    padding: 6rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.content-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.content-inner > .section-title {
    margin-bottom: 2.5rem;
}

/* About */
.about-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--accent-color);
    font-weight: 400;
    max-width: var(--prose-width);
    margin-bottom: 1.75rem;
}

.about-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: var(--prose-width);
}

.about-bullets li {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.7;
    font-weight: 300;
    padding-left: 1.5rem;
    position: relative;
}

.about-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal);
    opacity: 0.7;
    font-size: 0.8rem;
    top: 0.15em;
}

/* Proof Points */
.proof-list {
    list-style: none;
    margin-bottom: 2rem;
}

.proof-item {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 2rem;
    align-items: baseline;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-stat {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.proof-desc {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.65;
    font-weight: 300;
}

.proof-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.proof-bullets li {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.65;
    font-weight: 300;
    padding-left: 1.25rem;
    position: relative;
}

.proof-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--teal);
    opacity: 0.5;
}

/* How I Can Help */
.help-groups {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

.help-group-title {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.help-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.help-list li {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.65;
    font-weight: 300;
    padding-left: 1.5rem;
    position: relative;
}

.help-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal);
    opacity: 0.6;
    font-size: 0.75rem;
}

/* ─────────────────────────────────────────────────────────
   Writing Preview Section (landing page)
───────────────────────────────────────────────────────── */
.writing-section {
    padding: 6rem 2rem 8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.writing-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.writing-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.65rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--secondary-text);
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* ─────────────────────────────────────────────────────────
   Post Grid
───────────────────────────────────────────────────────── */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

/* ─────────────────────────────────────────────────────────
   Post Card
───────────────────────────────────────────────────────── */
.post-card {
    border: 1px solid var(--border-subtle);
    border-radius: 3px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.post-card:hover {
    border-color: rgba(110, 198, 198, 0.22);
    background: rgba(110, 198, 198, 0.025);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.post-date {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 400;
}

.post-sep {
    color: var(--secondary-text);
    font-size: 0.7rem;
    line-height: 1;
}

.post-read-time {
    font-size: 0.7rem;
    color: var(--secondary-text);
    letter-spacing: 0.04em;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.post-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-title a:hover {
    color: var(--accent-color);
}

.post-excerpt {
    font-size: 0.875rem;
    color: var(--secondary-text);
    line-height: 1.65;
    font-weight: 300;
    flex: 1;
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.1rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.post-tag {
    font-size: 0.63rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    padding: 0.18rem 0.45rem;
}

.read-more {
    font-size: 0.72rem;
    color: var(--teal);
    text-decoration: none;
    letter-spacing: 0.08em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

.read-more i {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* ─────────────────────────────────────────────────────────
   Section Footer (view all)
───────────────────────────────────────────────────────── */
.section-footer {
    text-align: center;
}

.all-posts-link {
    font-size: 0.75rem;
    color: var(--secondary-text);
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.all-posts-link:hover {
    color: var(--accent-color);
}

.all-posts-link i {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.all-posts-link:hover i {
    transform: translateX(3px);
}

/* ─────────────────────────────────────────────────────────
   Blog List Page (blog.html)
───────────────────────────────────────────────────────── */
.blog-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 1.75rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

.blog-nav a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.blog-nav-sep {
    color: rgba(255, 255, 255, 0.18);
    font-size: 0.7rem;
}

.blog-nav-current {
    color: var(--text-color);
}

.blog-list-section {
    padding: 1rem 2rem 8rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.blog-list-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.blog-page-title {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.blog-page-desc {
    font-size: 1rem;
    color: var(--secondary-text);
    font-weight: 300;
}

/* ─────────────────────────────────────────────────────────
   Individual Post Page
───────────────────────────────────────────────────────── */
.post-page-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 1.75rem 2rem;
    max-width: var(--prose-width);
    margin: 0 auto;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

.post-page-nav a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-page-nav a:hover {
    color: var(--accent-color);
}

.post-page-main {
    max-width: var(--prose-width);
    margin: 0 auto;
    padding: 0 2rem 8rem;
}

.post-page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.post-page-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.post-page-date {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 400;
}

.post-page-title {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
}

.post-page-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* ─────────────────────────────────────────────────────────
   Post Prose Content
───────────────────────────────────────────────────────── */
.post-content {
    font-size: 1rem;
    line-height: 1.78;
    color: var(--text-color);
    font-weight: 300;
}

.post-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 2.75rem 0 1rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.005em;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content strong {
    font-weight: 600;
    color: var(--text-color);
}

.post-content blockquote {
    border-left: 2px solid var(--teal);
    padding: 0.25rem 0 0.25rem 1.25rem;
    margin: 2rem 0;
    color: var(--secondary-text);
    font-style: italic;
}

/* ─────────────────────────────────────────────────────────
   Post Back Navigation
───────────────────────────────────────────────────────── */
.post-back {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.post-back a {
    font-size: 0.75rem;
    color: var(--secondary-text);
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.post-back a:hover {
    color: var(--accent-color);
}

.post-back a i {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.post-back a:hover i {
    transform: translateX(-3px);
}

/* ─────────────────────────────────────────────────────────
   Site Footer
───────────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer-prompt {
    font-size: 1.1rem;
    color: var(--secondary-text);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.footer-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.footer-links a {
    color: var(--secondary-text);
    font-size: 1.15rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────────────────────
   Animations
───────────────────────────────────────────────────────── */
@keyframes aurora {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─────────────────────────────────────────────────────────
   Responsive
───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }

    .profile-image-container {
        width: 120px;
        height: 120px;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .post-page-title {
        font-size: 1.75rem;
    }

    .blog-page-title {
        font-size: 1.75rem;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .proof-item {
        grid-template-columns: 4.5rem 1fr;
        gap: 1.25rem;
    }

    .proof-stat {
        font-size: 1.25rem;
    }

    .writing-section {
        padding: 4rem 1.5rem 6rem;
    }

    .blog-list-section {
        padding: 1rem 1.5rem 6rem;
    }
}
