/* ============================================================
   Agnani Deb Portfolio — Main Stylesheet
   assets/css/main.css
   ============================================================ */

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

:root {
    --navy:       #1B2A4A;
    --navy-dark:  #0f1c33;
    --teal:       #4E7F8C;
    --teal-light: #6A9BA8;
    --teal-pale:  #D6E8EC;
    --teal-mist:  #EFF6F8;
    --sand:       #C9B49A;
    --sand-light: #E8DDD0;
    --sand-pale:  #F5F0E8;
    --cream:      #FAFAF7;
    --text-main:  #1B2A4A;
    --text-muted: #5A6E80;
    --serif:      "Cormorant Garamond", Georgia, serif;
    --sans:       "Jost", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── NAV ────────────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 6vw;
    background: rgba(27, 42, 74, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(78, 127, 140, 0.25);
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--sand-light);
    letter-spacing: .04em;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    transition: color .2s;
}
.nav-links a:hover { color: var(--sand); }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: rgba(255,255,255,.7);
    border-radius: 2px;
    transition: .3s;
}

/* ── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    position: relative;
    overflow: hidden;
}

.hero-left {
    background: var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10rem 5vw 6rem 8vw;
    position: relative;
    z-index: 2;
}

.hero-left::after {
    content: "";
    position: absolute;
    right: -60px; top: 0; bottom: 0;
    width: 120px;
    background: var(--navy);
    clip-path: polygon(0 0, 60% 0, 100% 100%, 0 100%);
    z-index: 3;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.6rem;
}
.hero-eyebrow-line { width: 36px; height: 1.5px; background: var(--teal-light); }
.hero-eyebrow span {
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--teal-light);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.6rem;
}
.hero h1 em { font-style: italic; color: var(--sand); }

.hero-sub {
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    max-width: 380px;
    margin-bottom: 2.8rem;
    line-height: 1.85;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--sand);
    color: var(--navy-dark);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .85rem 2.2rem;
    border-radius: 2px;
    transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--sand-light); transform: translateY(-2px); }

.btn-outline {
    display: inline-block;
    border: 1px solid rgba(78,127,140,.6);
    color: var(--teal-light);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .85rem 2.2rem;
    border-radius: 2px;
    transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--teal-light); background: rgba(78,127,140,.1); }

/* Stats bar */
.hero-stats-inline {
    display: flex;
    border: 1px solid rgba(78,127,140,.25);
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}
.h-stat {
    padding: .9rem 1.6rem;
    text-align: center;
    border-right: 1px solid rgba(78,127,140,.2);
    background: rgba(255,255,255,.04);
}
.h-stat:last-child { border-right: none; }
.h-stat-num {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--sand);
    line-height: 1;
    margin-bottom: 3px;
}
.h-stat-lbl {
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

.hero-right {
    position: relative;
    overflow: hidden;
}
.hero-right img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(.85);
}
.hero-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--navy) 0%, transparent 30%);
}

/* Placeholder when no hero image */
.hero-right-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 8rem;
    color: rgba(255,255,255,.08);
    font-style: italic;
}

/* ── SHARED SECTION STYLES ──────────────────────────────────────────────────── */
.site-section { padding: 6rem 8vw; }

.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.section-label-line { width: 28px; height: 1.5px; background: var(--teal); }
.section-label span {
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal);
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: .5rem;
}
.section-title em { font-style: italic; color: var(--teal); }

/* ── ABOUT ──────────────────────────────────────────────────────────────────── */
.about-section { background: #fff; }

.about-inner {
    display: grid;
    grid-template-columns: .52fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 3.5rem;
}

.about-photo-stack {
    position: relative;
    height: 540px;
}
.about-photo-main {
    position: absolute;
    top: 0; left: 0;
    width: 76%; height: 88%;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    filter: saturate(.9);
}
.about-photo-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 76%; height: 88%;
    background: linear-gradient(160deg, var(--teal-pale) 0%, var(--sand-pale) 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: .4;
}
.about-teal-block {
    position: absolute;
    bottom: 50%; right: 0;
    width: 26px; height: 72px;
    background: var(--teal);
    border-radius: 2px;
}

.about-quote {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--navy);
    padding-left: 1.4rem;
    border-left: 3px solid var(--teal);
    margin-bottom: 2rem;
}

.about-body {
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.95;
    margin-bottom: 2.2rem;
}
.about-body p { margin-bottom: .9rem; }

.values-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}
.value-pill {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 1rem;
    background: var(--teal-mist);
    border: 1px solid var(--teal-pale);
    border-radius: 6px;
}
.value-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    margin-top: 6px;
}
.value-pill h4 {
    font-size: .82rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 2px;
}
.value-pill p {
    font-size: .76rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.about-photo-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 52%;
    height: 50%;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    border: 5px solid #fff;
    filter: saturate(.9);
}
/* ── EXPERIENCE / TIMELINE ──────────────────────────────────────────────────── */
.experience-section { background: var(--sand-pale); }

.exp-grid {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 4rem;
    margin-top: 3.5rem;
    align-items: start;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 1.5px;
    background: linear-gradient(to bottom, var(--teal), var(--teal-pale));
}

.tl-item {
    position: relative;
    padding-bottom: 2.2rem;
}
.tl-dot {
    position: absolute;
    left: -1.92rem; top: 5px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--teal-pale);
    border: 2px solid var(--teal);
}
.tl-dot.active { background: var(--teal); }

.tl-company {
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 2px;
}
.tl-period { font-size: .72rem; color: var(--text-muted); margin-bottom: 3px; }
.tl-role {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
}
.tl-location { font-size: .73rem; color: var(--text-muted); margin-top: 2px; }

.current-tag {
    display: inline-block;
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--teal);
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 6px;
    vertical-align: middle;
}

.exp-photo-col { display: flex; flex-direction: column; }
.exp-photo-speaking {
    width: 100%; height: 480px;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
    filter: saturate(.85);
}
.exp-photo-placeholder {
    width: 100%; height: 480px;
    background: linear-gradient(160deg, var(--navy) 0%, var(--teal) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    opacity: .2;
}

/* ── SKILLS ─────────────────────────────────────────────────────────────────── */
.skills-section { background: var(--navy); }

.skills-section .section-label-line { background: var(--teal-light); }
.skills-section .section-label span { color: var(--teal-light); }
.skills-section .section-title { color: #fff; }
.skills-section .section-title em { color: var(--sand); }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
}

.skill-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(78,127,140,.22);
    border-radius: 6px;
    padding: 1.6rem 1.4rem;
    transition: border-color .25s, background .25s, transform .2s;
}
.skill-card:hover {
    border-color: rgba(78,127,140,.6);
    background: rgba(78,127,140,.1);
    transform: translateY(-3px);
}
.skill-icon-wrap { font-size: 1.3rem; margin-bottom: .9rem; }
.skill-card h3 {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--sand-light);
    margin-bottom: .5rem;
}
.skill-card p {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    line-height: 1.7;
    font-weight: 300;
}

/* ── CONTACT ─────────────────────────────────────────────────────────────────── */
.contact-section {
    background: var(--navy-dark);
    padding: 8rem 8vw;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: "";
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    border: 80px solid rgba(78,127,140,.08);
    top: -200px; right: -150px;
}
.contact-section::after {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 50px solid rgba(201,180,154,.07);
    bottom: -100px; left: -60px;
}
.contact-section .section-label { justify-content: center; }
.contact-section .section-label-line { background: var(--teal-light); }
.contact-section .section-label span { color: var(--teal-light); }

.contact-section h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    position: relative; z-index: 2;
}
.contact-section h2 em { font-style: italic; color: var(--sand); }

.contact-section > p {
    font-size: .95rem;
    color: rgba(255,255,255,.55);
    max-width: 460px;
    margin: 0 auto 3rem;
    line-height: 1.9;
    font-weight: 300;
    position: relative; z-index: 2;
}

.contact-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative; z-index: 2;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .9rem 2rem;
    border-radius: 2px;
    transition: all .2s;
}
.contact-btn.primary { background: var(--sand); color: var(--navy-dark); }
.contact-btn.primary:hover { background: var(--sand-light); }
.contact-btn.ghost {
    border: 1px solid rgba(78,127,140,.5);
    color: var(--teal-light);
}
.contact-btn.ghost:hover { background: rgba(78,127,140,.12); border-color: var(--teal-light); }

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(78,127,140,.15);
    padding: 1.2rem 8vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .74rem;
    color: rgba(255,255,255,.3);
    letter-spacing: .04em;
    flex-wrap: wrap;
    gap: .5rem;
}
.footer-name {
    font-family: var(--serif);
    font-size: 1rem;
    color: rgba(255,255,255,.5);
}
.footer-copy { color: rgba(255,255,255,.3); }
.footer-copy span { color: var(--teal-light); }

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG — Archive
═══════════════════════════════════════════════════════════════════════════════ */
.blog-hero {
    min-height: 38vh;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8rem 8vw 4rem;
    position: relative;
    overflow: hidden;
}
.blog-hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%; height: 100%;
    opacity: .25;
    filter: saturate(.6);
}
.blog-hero-content { position: relative; z-index: 2; }
.blog-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: .5rem;
}
.blog-hero h1 em { font-style: italic; color: var(--sand); }
.blog-hero p {
    font-size: .95rem;
    color: rgba(255,255,255,.6);
    font-weight: 300;
    max-width: 520px;
}

.blog-grid-wrap { padding: 4rem 8vw 6rem; background: var(--cream); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--teal-pale);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27,42,74,.12);
}
.blog-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--teal-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.blog-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }

.blog-card-body {
    padding: 1.4rem 1.4rem 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-cats {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    margin-bottom: .7rem;
}
.blog-card-cat {
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--teal-mist);
    color: var(--teal);
    padding: 3px 8px;
    border-radius: 20px;
}
.blog-card h2 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: .6rem;
}
.blog-card h2 a { color: inherit; }
.blog-card h2 a:hover { color: var(--teal); }
.blog-card-excerpt {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1rem;
}
.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .7rem;
    color: var(--text-muted);
    border-top: 1px solid var(--teal-pale);
    padding-top: .8rem;
    margin-top: auto;
}
.blog-card-date { color: var(--text-muted); }
.blog-card-read {
    color: var(--teal);
    font-weight: 500;
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.blog-card-read:hover { color: var(--navy); }

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 2rem;
}
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--teal-pale);
    background: #fff;
    transition: all .2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG — Single Post
═══════════════════════════════════════════════════════════════════════════════ */
.single-post-wrap { max-width: 780px; margin: 0 auto; padding: 8rem 4vw 6rem; }

.single-post-header { margin-bottom: 2.5rem; }
.single-post-cats {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.single-post-cat {
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--teal-mist);
    color: var(--teal);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--teal-pale);
}

.single-post-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1rem;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: .78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.single-post-meta .sep { opacity: .4; }
.single-post-author { font-weight: 500; color: var(--teal); }

.single-featured-image {
    width: 100%;
    aspect-ratio: 16/8;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 3rem;
    filter: saturate(.9);
    box-shadow: 0 20px 60px rgba(27, 42, 74, 0.25), 
                0 8px 24px rgba(27, 42, 74, 0.15);
}

/* Post content typography */
.post-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-main);
}
.post-content h2 {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--navy);
    margin: 2.5rem 0 .8rem;
}
.post-content h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--navy);
    margin: 2rem 0 .6rem;
}
.post-content p { margin-bottom: 1.3rem; }
.post-content a { color: var(--teal); border-bottom: 1px solid var(--teal-pale); transition: color .2s; }
.post-content a:hover { color: var(--navy); }
.post-content blockquote {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--navy);
    padding-left: 1.4rem;
    border-left: 3px solid var(--teal);
    margin: 2rem 0;
    line-height: 1.6;
}
.post-content ul, .post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.3rem;
}
.post-content li { margin-bottom: .4rem; }
.post-content img { border-radius: 4px; margin: 1.5rem 0; }
.post-content strong { color: var(--navy); font-weight: 600; }
.post-content hr {
    border: none;
    height: 1px;
    background: var(--teal-pale);
    margin: 3rem 0;
}

/* Post CTA box */
.post-cta-box {
    background: var(--navy);
    border-radius: 8px;
    padding: 2.4rem 2.6rem;
    margin: 4rem 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.post-cta-text {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255,255,255,.85);
    flex: 1;
    line-height: 1.5;
}
.post-cta-btn {
    display: inline-block;
    background: var(--sand);
    color: var(--navy-dark);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .8rem 1.8rem;
    border-radius: 2px;
    white-space: nowrap;
    transition: background .2s;
}
.post-cta-btn:hover { background: var(--sand-light); }

/* Tags */
.post-tags {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.post-tag {
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--sand-pale);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--sand-light);
}
.post-tag:hover { background: var(--teal-mist); color: var(--teal); }

/* Related posts */
.related-posts {
    background: var(--sand-pale);
    padding: 4rem 8vw;
}
.related-posts h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── ANIMATIONS ──────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
.hero-left > * { animation: fadeUp .8s ease both; }
.hero-left > *:nth-child(1) { animation-delay: .1s; }
.hero-left > *:nth-child(2) { animation-delay: .25s; }
.hero-left > *:nth-child(3) { animation-delay: .4s; }
.hero-left > *:nth-child(4) { animation-delay: .55s; }
.hero-left > *:nth-child(5) { animation-delay: .7s; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero-right { min-height: 380px; height: 50vw; }
    .hero-left::after { display: none; }
    .hero-stats-inline { width: 100%; }
    .h-stat { flex: 1; }
    .about-inner { grid-template-columns: 1fr; }
    .about-photo-stack { height: 320px; }
    .exp-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px; left: 0; right: 0;
        background: var(--navy);
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(78,127,140,.2);
    }
    .single-post-wrap { padding: 6rem 5vw 4rem; }
}

@media (max-width: 600px) {
    .site-section { padding: 4rem 5vw; }
    .blog-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .values-row { grid-template-columns: 1fr; }
    .contact-section { padding: 5rem 5vw; }
    .blog-grid-wrap { padding: 3rem 5vw 4rem; }
    .post-cta-box { flex-direction: column; text-align: center; }
}
