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

/* ============================================================
   ROOT & RESET
   ============================================================ */
   :root {
       --bg: #FFFFFF;
       --bg-soft: #F7F8F6;
       --primary: #1F3D2B;
       --accent: #2F5D44;
       --text: #1A1A1A;
       --text-muted: #6B7280;
       --border: #E5E7EB;
       --font-display: 'Cormorant Garamond', Georgia, serif;
       --font-body: 'DM Sans', system-ui, sans-serif;
   }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
    padding: 0;
}

h1, h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
}

p,
li {
    color: var(--text-muted);
}


/* ============================================================
   SITE NAV (other pages)
   ============================================================ */
header {
    background-color: transparent;
    text-align: center;
    padding: 4rem 1.5rem 2rem;
}

.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 100;
    transform: translateY(-8px);
}

.site-nav.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--primary);
    display: flex;
    justify-content: flex-end;
}

.site-nav ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.site-nav ul li a:hover {
    background-color: var(--accent);
}


/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    transition: height 0.4s ease;
}

.hero.shrunk {
    height: 70px;
    z-index: 10;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(31, 61, 43, 0.5) 0%,
            rgba(31, 61, 43, 0.65) 100%);
    transition: background 0.4s ease;
}

.hero.shrunk .hero-overlay {
    background: rgba(31, 61, 43, 0.75);
}

.hero-tribal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vh;
    height: 100vw;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    mask-image: radial-gradient(ellipse 55% 50% at center, transparent 30%, black 68%);
    -webkit-mask-image: radial-gradient(ellipse 55% 50% at center, transparent 30%, black 68%);
    transform: translate(-50%, -50%) rotate(90deg);
}

.home {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    box-sizing: border-box;
    transition: top 0.4s ease, left 0.4s ease, transform 0.4s ease;
}

.hero.shrunk .home {
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    text-align: left;
    width: auto;
}

.home h1 {
    font-size: clamp(3rem, 12vh, 8rem);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 0.95;
    color: white;
    transition: font-size 0.4s ease;
}

.hero.shrunk .home h1 {
    font-size: 1.3rem;
    white-space: nowrap;
}

.home p {
    font-size: clamp(1rem, 3vh, 1.5rem);
    margin-top: 1.5vh;
    color: rgba(255, 255, 255, 0.85);
    transition: opacity 0.3s ease, font-size 0.4s ease, margin 0.4s ease;
}

.hero.shrunk .home p {
    opacity: 0;
    font-size: 0;
    margin: 0;
}

.hero-nav {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    display: flex;
    gap: 0;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.hero.shrunk .hero-nav {
    opacity: 1;
    pointer-events: auto;
}

.hero-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 0px;
    transition: background 0.2s ease;
}

.hero-nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-spacer {
    height: 100vh;
    transition: height 0.4s ease;
}

.hero-spacer.shrunk {
    height: 70px;
}

.cursor {
    display: inline-block;
    color: white;
    font-weight: 300;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}
/* ============================================================
   PAGE SHEET
   ============================================================ */
.page-sheet {
    position: relative;
    z-index: 5;
    background-color: var(--bg);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}


/* ============================================================
   ABOUT
   ============================================================ */
.about-me {
    padding: 10rem 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg);
}

.about-title {
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
}

.about-title h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    font-weight: 700;
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.about-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex: 0 0 300px;
    text-align: center;
}

.profile h1 {
    font-size: 2rem;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

.headshot {
    width: 250px;
    height: auto;
    object-fit: cover;
}

.about-summary {
    flex: 1;
    min-width: 300px;
}

.about-summary p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.centered {
    text-align: center;
    color: var(--text);
    margin: 2rem 0;
}
/* Hidden expandable section */
.about-more {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

/* When expanded, tall enough to show all content */
.about-more.expanded {
    max-height: 700px;
}

.about-more-inner {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.about-family-photo {
    width: 140px;
    flex-shrink: 0;
    height: auto;
    display: block;
}

/* The button */
.read-more-btn {
    background: none;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 0;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s ease, color 0.2s ease;
}

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

/* Arrow flips when expanded */
.btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.read-more-btn.open .btn-arrow {
    transform: rotate(180deg);
}

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
.experience {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
}

.page-tribal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: auto;
    mix-blend-mode: multiply;
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    animation: tribalFloat 16s ease-in-out infinite;
}

@keyframes tribalFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%       { transform: translate(-50%, -50%) scale(1.05); }
}

.exp-list {
    display: flex;
    flex-direction: column;
}

.exp-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.exp-item:first-child {
    border-top: 1px solid var(--border);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.3rem;
}

.exp-company {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.exp-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: monospace;
    white-space: nowrap;
}

.exp-role {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.exp-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.exp-bullets li {
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.6;
}

.exp-bullets li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.sectionTitle {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--primary);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

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

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item.left {
    left: 0;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--accent);
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-content {
    background-color: var(--bg-soft);
    padding: 1.5rem;
    border-radius: 0px;
    border: 1px solid var(--border);
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.timeline-content ul {
    list-style: disc inside;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    padding-left: 1rem;
}


/* ============================================================
   SKILLS
   ============================================================ */
.skills {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
}

.skills-featured {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.skills-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.skills-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill {
    padding: 0.45rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.88rem;
    color: var(--text);
    background: var(--bg-soft);
}

.pill-featured {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    font-size: 1rem;
    padding: 0.6rem 1.4rem;
    font-weight: 500;
}

.pill-learning {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(47, 93, 68, 0.06);
    font-size: 1rem;
    padding: 0.6rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.pill-learning em {
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--accent);
    color: white;
    padding: 0.15rem 0.45rem;
    border-radius: 0;
}

.skills-groups {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.skills-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}


/* ============================================================
   PROJECTS
   ============================================================ */
.projects-page header {
    background-color: transparent;
    text-align: center;
    padding: 4rem 1.5rem 2rem;
}

.projects-page header h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--primary);
    font-weight: 700;
}

.projects-page main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.project-category {
    background-color: var(--bg-soft);
    border-radius: 0px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* animation: fadeUp 0.6s ease forwards; */
}

.project-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-category h2 {
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent);
}

.project-category>p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.project {
    margin-top: 2rem;
}

.project h3 {
    color: var(--accent);
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.project h4 {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.mission {
    background: linear-gradient(135deg,
            rgba(47, 93, 68, 0.08) 0%,
            rgba(31, 61, 43, 0.08) 100%);
    padding: 1.5rem;
    border-radius: 0px;
    border-left: 4px solid var(--accent);
    margin: 1.5rem 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.mission strong {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.project ul {
    list-style-position: inside;
    margin-left: 1rem;
    margin-top: 1rem;
}

.project ul li {
    padding: 0.6rem 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.project ul li::marker {
    color: var(--accent);
    font-weight: bold;
}


/* ============================================================
   INSTAGRAM
   ============================================================ */
.instagram-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--accent);
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg,
            rgba(47, 93, 68, 0.1) 0%,
            rgba(31, 61, 43, 0.1) 100%);
    border-radius: 0px;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.instagram-link:hover {
    background: linear-gradient(135deg,
            rgba(47, 93, 68, 0.2) 0%,
            rgba(31, 61, 43, 0.2) 100%);
    transform: translateY(-2px);
}

.instagram-link svg {
    width: 24px;
    height: 24px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.instagram-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;
    background-color: #000;
    border-radius: 0px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.instagram-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-form {
    background-color: var(--bg-soft);
    padding: 2.5rem;
    border-radius: 0px;
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    margin-bottom: 16px;
    border-radius: 0px;
    border: 1px solid #ccc;
    background-color: white;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0px;
    font-size: 1rem;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: var(--accent);
}

.contact-info {
    padding-top: 1rem;
}

.contact-photo {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.25rem;
}

.contact-info h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.8;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('tribal2.png');
    background-size: 260px 260px;
    background-repeat: repeat;
    mix-blend-mode: screen;
    opacity: 0.12;
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: all 0.3s ease;
}

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

.footer-social img {
    opacity: 0.9;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    border-radius: 0;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    animation: fadeUp 0.3s ease forwards;
    /* ADD THIS LINE */
}
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}
.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 8px 28px rgba(47, 93, 68, 0.14);
}

.project-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

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

.tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 0;
    background: rgba(47, 93, 68, 0.1);
    color: var(--accent);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.card-status {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.view-btn {
    background: none;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.35rem 0.9rem;
    border-radius: 0;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.view-btn:hover {
    background: var(--accent);
    color: white;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: white;
    border-radius: 0;
    padding: 2.5rem;
    max-width: 560px;
    width: 100%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text);
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.modal-status {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-detail {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ============================================================
   CURRENTLY BUILDING
   ============================================================ */
.currently-building {
    padding: 5rem 2rem;
    background: var(--bg);
    max-width: 1200px;
    margin: 0 auto;
}

.building-inner {
    max-width: 700px;
    margin: 0 auto;
}

.building-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.building-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 1rem;
    padding: 0;
}

.building-card-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.building-body {
    padding: 1.25rem 1.75rem 1.75rem;
}

.building-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.building-top h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.building-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}

/* Pulsing green dot */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.building-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

/* Progress bar track */
.building-bar {
    height: 3px;
    background: var(--border);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

/* Progress bar fill */
.building-progress {
    height: 100%;
    background: var(--accent);
    border-radius: 0;
    transition: width 1s ease;
}

.building-percent {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}
/* ============================================================
   CONTACT LINKS
   ============================================================ */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-link-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.contact-link-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(47, 93, 68, 0.05);
}

/* ============================================================
   FORM SUCCESS MESSAGE
   ============================================================ */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 0;
    margin-top: 1rem;
}

.form-success.visible {
    display: block;
    animation: fadeUp 0.4s ease forwards;
}

.success-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.form-success h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {

    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .about-left,
    .about-summary {
        width: 100%;
        text-align: center;
    }

    .headshot {
        width: 100%;
        max-width: 250px;
    }

    .about-title h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .timeline-item {
        width: 100%;
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-item::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .skills-layout-simple {
        grid-template-columns: 1fr;
    }

    .tech-skills {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        text-align: center;
    }

    .projects-page main {
        margin: 1.5rem auto;
        padding: 0 1.5rem;
    }

    .project-category {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .project-category h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .project h3 {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
    }

    .instagram-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }

    .site-footer {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {

    .projects-page header {
        padding: 3rem 1rem 1.5rem;
    }

    .project-category {
        padding: 1.5rem;
    }

    .mission {
        padding: 1.25rem;
    }

    .project ul {
        margin-left: 0.5rem;
    }

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

    .instagram-video-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
}


/* ============================================================
   ROADMAP PAGE
   ============================================================ */
.roadmap-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.roadmap-header {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.roadmap-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.roadmap-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
}

.meta-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

/* Phase strip */
.phase-strip {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 3.5rem;
    border: 1px solid var(--border);
    overflow: hidden;
}

.phase-strip-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.25rem;
    background: var(--bg-soft);
    border-right: 1px solid var(--border);
    transition: background 0.2s;
}

.phase-strip-item:last-child {
    border-right: none;
}

.phase-strip-item.active {
    background: var(--primary);
}

.phase-strip-item.active .ps-num,
.phase-strip-item.active .ps-name,
.phase-strip-item.active .ps-date {
    color: white;
}

.phase-arrow {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: var(--bg-soft);
    border-right: 1px solid var(--border);
}

.ps-num {
    font-size: 0.68rem;
    font-weight: 700;
    font-family: monospace;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.ps-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.ps-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: monospace;
}

/* Phase blocks */
.phases-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.roadmap-phase {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}

.roadmap-phase:last-child {
    border-bottom: 1px solid var(--border);
}

.phase-sidebar {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.phase-big-num {
    font-size: 4rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--border);
    line-height: 1;
    letter-spacing: -0.02em;
    position: absolute;
    top: -0.5rem;
    right: 2rem;
    pointer-events: none;
    user-select: none;
}

.phase-info {
    position: relative;
    z-index: 1;
}

.phase-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.phase-dates {
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.phase-weeks {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.phase-hours {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
}

.phase-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    margin-top: 0.75rem;
    width: fit-content;
}

.phase-status.current {
    background: rgba(47, 93, 68, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.phase-status.upcoming {
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* Phase content */
.phase-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.phase-week-block {
    border-left: 2px solid var(--border);
    padding-left: 1.25rem;
}

.week-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.phase-week-block h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.phase-week-block p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.phase-checkpoint {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-top: 2px solid var(--primary);
    padding: 0.9rem 1.1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.checkpoint-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

/* Job targets */
.roadmap-job-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.roadmap-sub-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.job-targets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
}

.job-target {
    border: 1px solid var(--border);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: var(--bg-soft);
    transition: border-color 0.2s;
}

.job-target:hover {
    border-color: var(--accent);
}

.job-target.primary {
    border-top: 2px solid var(--primary);
}

.job-target.stretch {
    border-style: dashed;
}

.job-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.job-range {
    font-size: 0.82rem;
    font-family: monospace;
    color: var(--accent);
    font-weight: 600;
}

.job-note {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

/* Roadmap responsive */
@media (max-width: 700px) {
    .roadmap-phase {
        grid-template-columns: 1fr;
    }

    .phase-sidebar {
        padding-right: 0;
        padding-bottom: 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 1rem;
    }

    .phase-big-num {
        display: none;
    }

    .phase-strip {
        flex-wrap: wrap;
    }

    .phase-strip-item {
        min-width: 45%;
    }

    .phase-arrow {
        display: none;
    }
}


/* ============================================================
   HAMBURGER BUTTON (shared by site-nav and hero-nav)
   ============================================================ */
.nav-hamburger {
    display: none; /* hidden on desktop */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 110;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

/* X shape when open */
.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero-nav links wrapper — flex on desktop */
.hero-nav-links {
    display: flex;
    gap: 0;
}


/* ============================================================
   MOBILE NAV (≤ 700px)
   ============================================================ */
@media (max-width: 700px) {

    /* ── Site-nav (all non-home pages) ── */
    .site-nav {
        background: var(--primary);
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0 1rem;
        height: 50px;
    }

    .nav-hamburger {
        display: flex; /* show on mobile */
    }

    .site-nav ul {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--primary);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        z-index: 99;
    }

    .site-nav ul.mobile-open {
        display: flex;
    }

    .site-nav ul li a {
        text-align: left;
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* ── Hero-nav (homepage) ── */
    .hero-hamburger {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .hero.shrunk .hero-hamburger {
        opacity: 1;
        pointer-events: auto;
    }

    .hero-nav-links {
        display: none;
        position: fixed;
        top: 70px; /* height of shrunk hero */
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(31, 61, 43, 0.97);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        z-index: 200;
    }

    .hero-nav-links.mobile-open {
        display: flex;
    }

    .hero-nav-links a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1rem;
        border-radius: 0;
    }
}


/* ============================================================
   GENERAL MOBILE RESPONSIVE FIXES (≤ 700px)
   ============================================================ */
@media (max-width: 700px) {

    /* About section — reduce crushing side padding */
    .about-me {
        padding: 4rem 1.5rem 2rem;
    }

    /* Skills section */
    .skills {
        padding: 3rem 1.5rem;
    }

    /* Experience section */
    .experience {
        padding: 3rem 1.5rem;
    }

    /* Roadmap page */
    .roadmap-page {
        padding: 3rem 1.25rem 4rem;
    }

    /* Contact page */
    .contact {
        padding: 3rem 1.25rem 4rem;
    }

    /* Contact form padding */
    .contact-form {
        padding: 1.75rem 1.25rem;
    }

    /* Currently building cards — full width stack */
    .building-inner {
        max-width: 100%;
    }

    /* Project cards single column */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Filter bar wraps cleanly */
    .filter-bar {
        gap: 0.4rem;
    }

    .filter-btn {
        font-size: 0.78rem;
        padding: 0.35rem 0.75rem;
    }

    /* Footer */
    .site-footer {
        margin-top: 3rem;
    }

    /* Section titles */
    .sectionTitle {
        margin-bottom: 2rem;
    }
}


/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   VERTICAL TIMELINE (Experience page)
   ============================================================ */
.timeline-v {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

/* The vertical line */
.timeline-v::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: var(--border);
}

.tl-item {
    position: relative;
    padding-left: 1.75rem;
    padding-bottom: 2.25rem;
}

.tl-item:last-child {
    padding-bottom: 0;
}

/* Square marker dot */
.tl-dot {
    position: absolute;
    left: -4px;
    top: 5px;
    width: 9px;
    height: 9px;
    background: var(--primary);
    border: 2px solid var(--bg);
    transition: background 0.2s;
}

.tl-item:first-child .tl-dot {
    background: var(--accent);
    width: 11px;
    height: 11px;
    left: -5px;
}

.tl-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}

.tl-company {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}

.tl-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    white-space: nowrap;
}

.tl-role {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.tl-photo-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.tl-photo {
    width: 120px;
    flex-shrink: 0;
    height: auto;
    display: block;
}

.tl-site-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    text-decoration: none;
    color: var(--text);
    font-size: 0.85rem;
    transition: border-color 0.2s, background 0.2s;
}

.tl-site-link:hover {
    border-color: var(--accent);
    background: white;
}

.tl-site-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tl-site-url {
    color: var(--accent);
    font-weight: 600;
}

.tl-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin: 3rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tl-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}


/* ============================================================
   CONTACT FORM — GLASSMORPHISM
   ============================================================ */
.contact {
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('tribal2.png');
    background-size: 220px 220px;
    background-repeat: repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.contact > * {
    position: relative;
    z-index: 1;
}

.contact-form {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(31, 61, 43, 0.08);
}


/* ============================================================
   HERO NAME LETTER STAGGER (anime.js)
   ============================================================ */
.name-letter {
    display: inline-block;
}


/* ============================================================
   ROADMAP HOUR COUNTER
   ============================================================ */
.phase-hours[data-target] {
    font-variant-numeric: tabular-nums;
}