/* --------------------
   Global Styles
-------------------- */

:root {
    --background: #fafaf8;
    --text: #222222;
    --secondary: #666666;
    --accent: #5b7493;
    --border: #e5e5e0;
}

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

body {
    background-color: var(--background);
    color: var(--text);

    font-family: 'Inter', sans-serif;
    line-height: 1.7;

    padding-left: 2rem;
    padding-right: 2rem;
}

/* --------------------
   Navigation
-------------------- */

nav {
    border-bottom: 1px solid var(--border);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    text-decoration: none;
    color: var(--text);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--secondary);

    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

/* --------------------
   Hero Section
-------------------- */

.hero {
    max-width: 1000px;
    margin: 6rem auto;

    display: flex;
    align-items: center;
    gap: 5rem;
}

.hero-image img {
    width: 300px;
    border-radius: 12px;
}

.hero-text {
    max-width: 1000px;
}

.hero-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;

    margin-bottom: 1rem;

    white-space: nowrap;
}

.subtitle {
    color: var(--accent);
    font-size: 1rem;

    margin-bottom: 2rem;
}

.bio {
    color: var(--secondary);

    margin-bottom: 1.5rem;
}

.hero-links {
    margin-top: 2rem;

    display: flex;
    gap: 2rem;
}

.hero-links a {
    text-decoration: none;
    color: var(--text);

    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.hero-links a:hover {
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
}

/* --------------------
   Responsive Design
-------------------- */

@media (max-width: 800px) {

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-links {
        justify-content: center;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
}



/* --------------------
   Portfolio Page
-------------------- */

.portfolio-page {
    max-width: 900px;
    margin: 0 auto;
}

.page-intro {
    margin-top: 5rem;
    margin-bottom: 5rem;

    text-align: center;
}

.page-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 500;

    margin-bottom: 1rem;
}

.page-intro p {
    color: var(--secondary);

    max-width: 650px;
    margin: 0 auto;
}

/* Portfolio Grid */

.portfolio-grid {
    display: grid;
    gap: 2rem;

    margin-bottom: 6rem;
}

/* Portfolio Cards */

.portfolio-card {
    background-color: white;

    border: 1px solid var(--border);
    border-radius: 12px;

    padding: 2.5rem;

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.portfolio-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.project-type {
    color: var(--accent);

    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.portfolio-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;

    margin-bottom: 1rem;
}

.portfolio-card p {
    color: var(--secondary);

    margin-bottom: 1.5rem;
}

.portfolio-card a {
    text-decoration: none;
    color: var(--text);

    border-bottom: 1px solid transparent;

    transition: all 0.2s ease;
}

.portfolio-card a:hover {
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
}


/* --------------------
   Blog Page
-------------------- */

.blog-page {
    max-width: 900px;
    margin: 0 auto;
}

/* Blog Feed */

.blog-feed {
    display: flex;
    flex-direction: column;
    gap: 3rem;

    margin-bottom: 6rem;
}

/* Blog Cards */

.blog-card {
    display: flex;

    background-color: white;

    border: 1px solid var(--border);
    border-radius: 12px;

    overflow: hidden;

    height: 300px;

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

/* Images */

/*.blog-card img {
    width: 320px;
    height: 100%;

    object-fit: cover;
    flex-shrink: 0;
}

/* Image Container */

.blog-image-container {
    width: 320px;
    min-width: 320px;
    height: 100%;

    overflow: hidden;
}

/* Image */

.blog-image-container img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* Content */

.blog-content {
    flex: 1;
}

.blog-content {
    padding: 2rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-date {
    color: var(--accent);

    font-size: 0.9rem;

    margin-bottom: 1rem;
}

.blog-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 500;

    margin-bottom: 1rem;
}

.blog-content p {
    color: var(--secondary);

    margin-bottom: 1.5rem;
}

.blog-content a {
    width: fit-content;

    text-decoration: none;
    color: var(--text);

    border-bottom: 1px solid transparent;

    transition: all 0.2s ease;
}

.blog-content a:hover {
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
}

/* Responsive */

@media (max-width: 800px) {

    .blog-card {
        flex-direction: column;
    }

    .blog-card img {
        width: 100%;
        height: 250px;
    }

}


/* --------------------
   Article Pages
-------------------- */

.article-page {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */

.article-header {
    margin-top: 5rem;
    margin-bottom: 3rem;

    text-align: center;
}

.article-date {
    color: var(--accent);

    margin-bottom: 1rem;
}

.article-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 500;

    margin-bottom: 1rem;
}

.article-subtitle {
    color: var(--secondary);

    font-size: 1.1rem;
}

/* Hero Image */

.article-hero-image {
    width: 100%;
    max-height: 500px;

    object-fit: cover;

    border-radius: 12px;

    margin-bottom: 4rem;
}

/* Article Content */

.article-content {
    font-size: 1.1rem;
    line-height: 1.9;

    margin-bottom: 6rem;
}

.article-content p {
    margin-bottom: 2rem;
}

/* Inline Images */

.inline-image {
    width: 100%;

    border-radius: 12px;

    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

figure {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

figcaption {
    color: var(--secondary);

    font-size: 0.9rem;
    text-align: center;
}

/* Pull Quotes */

blockquote {
    font-family: 'Cormorant Garamond', serif;

    font-size: 2rem;
    line-height: 1.5;

    color: var(--accent);

    margin-top: 4rem;
    margin-bottom: 4rem;

    padding-left: 2rem;

    border-left: 2px solid var(--border);
}




/* --------------------
   Hero Wrapper
-------------------- */

.hero-wrapper {
    max-width: 1000px;
    margin: 6rem auto 3rem auto;
}

/* Hero */

.hero {
    display: flex;
    align-items: center;
    gap: 5rem;
}

/* Disclaimer */

.hero-disclaimer {
    margin-top: 0.25rem;

    color: var(--secondary);

    font-size: 0.62rem;
    line-height: 1.4;

    text-align: center;
}