@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Calibre:wght@400;500;600&display=swap');

/* =====================
   CSS VARIABLES
===================== */
:root {
    --navy: #0a192f;
    --light-navy: #112240;
    --lightest-navy: #233554;
    --navy-shadow: rgba(2,12,27,0.7);
    --dark-slate: #495670;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --green: #64ffda;
    --green-tint: rgba(100,255,218,0.1);
    --pink: #f57dff;
    --blue: #57cbff;

    --font-mono: 'Fira Code', 'SF Mono', 'Fira Mono', 'Roboto Mono', monospace;
    --font-sans: 'Calibre', 'Inter', 'San Francisco', 'SF Pro Text', -apple-system, system-ui, sans-serif;

    --fz-xxs: 11px;
    --fz-xs: 12px;
    --fz-sm: 13px;
    --fz-md: 14px;
    --fz-lg: 15px;
    --fz-xl: 16px;
    --fz-xxl: 18px;
    --fz-heading: 26px;

    --border-radius: 4px;
    --nav-height: 100px;
    --nav-scroll-height: 70px;

    --tab-height: 42px;
    --tab-width: 120px;

    --easing: cubic-bezier(0.645,0.045,0.355,1);
    --transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);

    --hamburger-width: 30px;

    --ham-before: top 0.1s ease-in 0.25s, opacity 0.1s ease-in;
    --ham-before-active: top 0.1s ease-out, opacity 0.1s ease-out 0.12s;
    --ham-after: bottom 0.1s ease-in 0.25s, transform 0.22s cubic-bezier(0.55,0.055,0.675,0.19);
    --ham-after-active: bottom 0.1s ease-out, transform 0.22s cubic-bezier(0.215,0.61,0.355,1) 0.12s;
}

/* =====================
   GLOBAL RESET
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--dark-slate) var(--navy);
}

body {
    font-family: var(--font-sans);
    background-color: var(--navy);
    color: var(--slate);
    font-size: var(--fz-lg);
    line-height: 1.3;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--lightest-navy);
    color: var(--lightest-slate);
}

/* =====================
   SCROLLBAR
===================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-slate);
    border-radius: 10px;
    border: 3px solid var(--navy);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate);
}

/* =====================
   LOADING SCREEN
===================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: 100px;
    height: 100px;
    animation: fadeIn 0.6s ease-in-out;
}

.loader-logo svg {
    width: 100%;
    height: 100%;
}

.loader-logo svg polygon {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw 2s ease-in-out forwards;
}

.loader-logo svg text {
    opacity: 0;
    animation: fadeInText 0.6s ease-in-out 1.5s forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

/* =====================
   FADE-UP ANIMATIONS
===================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-up.appear {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--easing),
                transform 0.6s var(--easing);
}

/* Staggered delays for hero section */
.hero .intro-label.fade-up.appear { transition-delay: 0.1s; }
.hero h1.fade-up.appear { transition-delay: 0.2s; }
.hero h2.fade-up.appear { transition-delay: 0.3s; }
.hero .hero-description.fade-up.appear { transition-delay: 0.4s; }
.hero .cta-button.fade-up.appear { transition-delay: 0.5s; }

/* Navbar animation */
.navbar {
    opacity: 0;
    transform: translateY(-20px);
}

.navbar.appear {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--easing) 0.1s,
                transform 0.6s var(--easing) 0.1s;
}

/* Side elements animation */
.fixed-email, .fixed-social {
    opacity: 0;
}

.fixed-email.appear {
    opacity: 1;
    animation: slideInRight 0.6s var(--easing) 0.2s forwards;
}

.fixed-social.appear {
    opacity: 1;
    animation: slideInLeft 0.6s var(--easing) 0.3s forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-40px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(40px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =====================
   TYPOGRAPHY
===================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--lightest-slate);
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: var(--green);
    transition: var(--transition);
    position: relative;
}

a:hover,
a:focus {
    color: var(--green);
}

.big-heading {
    margin: 0;
    font-size: clamp(35px, 7vw, 65px);
}

.section-heading {
    display: flex;
    align-items: center;
    position: relative;
    margin: 10px 0 40px;
    width: 100%;
    font-size: clamp(22px, 4vw, var(--fz-heading));
    white-space: nowrap;
    color: var(--lightest-slate);
    font-weight: 600;
}

.section-heading::after {
    content: "";
    display: block;
    position: relative;
    width: 300px;
    height: 1px;
    margin-left: 20px;
    background-color: var(--lightest-navy);
}

.section-number {
    margin-right: 10px;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: clamp(var(--fz-sm), 3vw, var(--fz-lg));
    font-weight: 400;
}

/* =====================
   NAVBAR
===================== */
.navbar {
    position: fixed;
    top: 0;
    z-index: 11;
    padding: 0 50px;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    filter: none !important;
    pointer-events: auto !important;
    user-select: auto !important;
}

.navbar.scrolled {
    height: var(--nav-scroll-height);
    box-shadow: 0 10px 30px -10px var(--navy-shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    color: var(--lightest-slate);
    font-family: var(--font-mono);
    z-index: 12;
    height: 100%;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo a {
    display: inline-block;
    transition: var(--transition);
}

.logo a:hover {
    transform: translateY(-3px);
}

.logo a:hover svg {
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.4));
}

.logo svg {
    color: var(--green);
    width: 42px;
    height: 42px;
    transition: var(--transition);
}

.logo a:hover polygon {
    fill: rgba(100, 255, 218, 0.1);
}

.nav-links {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-links a {
    padding: 10px;
    color: var(--lightest-slate);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    margin-left: 30px;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--green);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 5px;
    left: 50%;
    background-color: var(--green);
    transition: all 0.3s var(--easing);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-number {
    color: var(--green);
    margin-right: 5px;
}

/* Resume Button */
.resume-btn {
    color: var(--green) !important;
    background-color: transparent;
    border: 1px solid var(--green);
    border-radius: var(--border-radius);
    padding: 0.6rem 0.9rem !important;
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 15px;
    position: relative;
    overflow: hidden;
}

.resume-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--green);
    transition: width 0.3s var(--easing);
    z-index: -1;
}

.resume-btn:hover::before {
    width: 100%;
}

.resume-btn:hover {
    color: var(--navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(100, 255, 218, 0.3);
}

.resume-btn::after {
    display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 13;
}

.menu-toggle span {
    width: var(--hamburger-width);
    height: 2px;
    background-color: var(--green);
    margin: 4px 0;
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* =====================
   FIXED SIDE ELEMENTS
===================== */
.fixed-email,
.fixed-social {
    width: 40px;
    position: fixed;
    bottom: 0;
    left: auto;
    right: auto;
    z-index: 10;
    color: var(--light-slate);
}

.fixed-email {
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fixed-email a {
    font-family: var(--font-mono);
    font-size: var(--fz-xxs);
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    margin: 20px auto;
    padding: 10px;
    color: var(--light-slate);
    transition: var(--transition);
}

.fixed-email a:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.email-line,
.social-line {
    width: 1px;
    height: 90px;
    background-color: var(--light-slate);
}

.fixed-social {
    left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fixed-social a {
    padding: 10px;
    color: var(--light-slate);
    transition: var(--transition);
}

.fixed-social a:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.fixed-social a svg {
    width: 20px;
    height: 20px;
}

/* =====================
   CONTAINER & SECTIONS
===================== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 150px;
}

.section {
    margin: 0 auto;
    padding: 100px 0;
    max-width: 1600px;
}

/* =====================
   HERO SECTION
===================== */
.hero {
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.intro-label {
    margin: 0 0 25px 4px;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: clamp(var(--fz-sm), 5vw, var(--fz-md));
    font-weight: 400;
}

.subtitle {
    margin-top: 5px;
    color: var(--slate);
    line-height: 0.9;
}

.hero-description {
    margin: 20px 0 0;
    max-width: 540px;
    font-size: var(--fz-lg);
    line-height: 1.5;
}

/* CTA Button */
.cta-button {
    color: var(--green);
    background-color: transparent;
    border: 1px solid var(--green);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    font-size: var(--fz-sm);
    font-family: var(--font-mono);
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 50px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(100, 255, 218, 0.1);
    transition: width 0.3s var(--easing);
    z-index: -1;
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:hover {
    outline: none;
    transform: translate(-5px, -5px);
    box-shadow: 5px 5px 0 0 var(--green);
}

.cta-button.secondary {
    margin-left: 15px;
}

/* =====================
   ABOUT SECTION
===================== */
.about-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.about-text p {
    margin: 0 0 15px;
    font-size: var(--fz-lg);
    line-height: 1.5;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 0 10px;
    padding: 0;
    margin: 20px 0 0;
    overflow: hidden;
    list-style: none;
}

.skills-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--slate);
}

.skills-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: var(--fz-sm);
    line-height: 12px;
}

.about-image {
    position: relative;
    max-width: 300px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    background-color: var(--green);
    transition: var(--transition);
}

.image-wrapper::before,
.image-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.image-wrapper::before {
    top: 0;
    left: 0;
    background-color: var(--navy);
    mix-blend-mode: screen;
}

.image-wrapper::after {
    border: 2px solid var(--green);
    top: 20px;
    left: 20px;
    z-index: -1;
}

.image-wrapper:hover::after {
    top: 15px;
    left: 15px;
}

.image-wrapper:hover::before {
    background-color: transparent;
}

.image-wrapper img {
    position: relative;
    border-radius: var(--border-radius);
    width: 100%;
    filter: grayscale(100%) contrast(1) brightness(90%);
    transition: var(--transition);
}

.image-wrapper:hover img {
    filter: grayscale(0%) contrast(1) brightness(100%);
}

.resume-buttons {
    margin-top: 30px;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}

/* =====================
   BRITTANY CHIANG–STYLE TABBED EXPERIENCE
===================== */
.experience-tabbed {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 860px;
    margin: 0 auto;
}

/* ── Left rail ── */
.tab-nav {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: var(--tab-width);
    /* The thin vertical track line */
    border-left: 2px solid var(--lightest-navy);
}

/* Sliding green indicator — absolutely positioned inside .tab-nav */
.tab-indicator {
    position: absolute;
    left: -2px;                     /* sit right on the border-left edge */
    top: 0;
    width: 2px;
    height: var(--tab-height);
    background-color: var(--green);
    border-radius: 0 2px 2px 0;
    transition: top 0.3s var(--easing);
    z-index: 1;
}

/* Individual tab button */
.tab-btn {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    height: var(--tab-height);
    padding: 0 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: var(--fz-sm);
    color: var(--slate);
    text-align: left;
    white-space: nowrap;
    transition: color 0.25s var(--easing),
                background-color 0.25s var(--easing);
}

.tab-btn:hover {
    color: var(--lightest-slate);
    background-color: var(--green-tint);
}

.tab-btn.active {
    color: var(--green);
}

/* ── Right panel ── */
.tab-panels {
    flex: 1;
    min-width: 0;                   /* prevent flex overflow */
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.35s var(--easing) both;
}

.tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Title row */
.tab-panel__title {
    margin: 0 0 8px;
    font-size: var(--fz-xxl);
    font-weight: 600;
    color: var(--lightest-slate);
    line-height: 1.3;
}

.tab-panel__company {
    display: inline;
    color: var(--green);
    font-size: var(--fz-md);
    font-weight: 400;
    font-family: var(--font-mono);
}

/* Date / location row */
.tab-panel__date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 22px;
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--slate);
    flex-wrap: wrap;
}

.tab-panel__date-icon svg,
.tab-panel__location svg {
    vertical-align: middle;
    margin-right: 3px;
}

.tab-panel__sep {
    color: var(--dark-slate);
    margin: 0 4px;
}

.tab-panel__location {
    display: flex;
    align-items: center;
}

/* Duties list — ▹ bullets matching BC style */
.tab-panel__duties {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.tab-panel__duties li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
    font-size: var(--fz-md);
    line-height: 1.6;
    color: var(--light-slate);
}

.tab-panel__duties li::before {
    content: "▹";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--green);
    font-size: var(--fz-sm);
}

/* Certificate link */
.tab-panel__cert {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--green);
    transition: var(--transition);
}

.tab-panel__cert:hover {
    color: var(--lightest-slate);
    transform: translateX(4px);
}

/* =====================
   EXPERIENCE CTA (below tabs)
===================== */
.experience-cta {
    text-align: center;
    margin-top: 60px;
}

.experience-cta .cta-button {
    margin-top: 0;
}

/* =====================
   SKILLS SECTION
===================== */
.skill-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill-category {
    transition: var(--transition);
    padding: 20px;
    border-radius: var(--border-radius);
}

.skill-category:hover {
    background-color: var(--lightest-navy);
    transform: translateY(-5px);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--lightest-slate);
    font-size: var(--fz-xl);
    font-weight: 500;
}

.skill-category h3 span {
    color: var(--green);
    margin-right: 10px;
    font-size: var(--fz-lg);
}

.skill-category p {
    font-family: var(--font-mono);
    font-size: var(--fz-sm);
    color: var(--slate);
    line-height: 1.8;
}

/* =====================
   PROJECTS – FEATURED
===================== */
.featured-project {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    margin-bottom: 100px;
    transition: var(--transition);
}

.featured-project:last-of-type {
    margin-bottom: 0;
}

.project-content {
    position: relative;
    grid-area: 1 / 1 / -1 / 7;
    z-index: 2;
}

.featured-project.reverse .project-content {
    grid-column: 7 / -1;
    text-align: right;
}

.project-overline {
    margin: 10px 0;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    font-weight: 400;
}

.project-title {
    color: var(--lightest-slate);
    font-size: clamp(20px, 4vw, 24px);
    margin: 0 0 20px;
    transition: var(--transition);
}

.project-title a {
    color: var(--lightest-slate);
}

.project-title a:hover {
    color: var(--green);
}

.project-description {
    box-shadow: 0 10px 30px -15px var(--navy-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--light-navy);
    color: var(--light-slate);
    font-size: var(--fz-md);
    line-height: 1.5;
}

.project-description:hover {
    box-shadow: 0 20px 30px -15px var(--navy-shadow);
    transform: translateY(-2px);
}

.project-tech-list {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin: 25px 0 10px;
    padding: 0;
    list-style: none;
}

.featured-project.reverse .project-tech-list {
    justify-content: flex-end;
}

.project-tech-list li {
    margin: 0 20px 5px 0;
    color: var(--light-slate);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    white-space: nowrap;
}

.featured-project.reverse .project-tech-list li {
    margin: 0 0 5px 20px;
}

.project-links {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 10px;
    margin-left: -10px;
    color: var(--lightest-slate);
}

.featured-project.reverse .project-links {
    justify-content: flex-end;
    margin-left: 0;
    margin-right: -10px;
}

.project-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transition: var(--transition);
}

.project-links a:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.project-links a svg {
    width: 20px;
    height: 20px;
}

.project-image {
    grid-area: 1 / 6 / -1 / -1;
    position: relative;
    z-index: 1;
}

.featured-project.reverse .project-image {
    grid-column: 1 / 8;
}

.project-image a {
    width: 100%;
    height: 100%;
    background-color: var(--green);
    border-radius: var(--border-radius);
    vertical-align: middle;
    display: block;
    position: relative;
    overflow: hidden;
}

.project-image a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    transition: var(--transition);
    background-color: var(--navy);
    mix-blend-mode: screen;
}

.project-image a:hover::before {
    background: transparent;
}

.project-image img {
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1) brightness(80%);
    transition: var(--transition);
}

.project-image a:hover img {
    filter: grayscale(0%) contrast(1) brightness(100%);
    transform: scale(1.05);
}

/* =====================
   OTHER PROJECTS
===================== */
.other-projects {
    margin-top: 150px;
}

.other-projects-heading {
    font-size: clamp(20px, 4vw, var(--fz-heading));
    text-align: center;
    margin-bottom: 50px;
    color: var(--lightest-slate);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
    position: relative;
}

.project-card {
    cursor: default;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    height: 100%;
    padding: 1.75rem 1.5rem;
    border-radius: var(--border-radius);
    background-color: var(--light-navy);
    box-shadow: 0 10px 30px -15px var(--navy-shadow);
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 30px -15px var(--navy-shadow);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.project-card-header svg {
    color: var(--green);
    transition: var(--transition);
}

.project-card:hover .project-card-header svg {
    transform: scale(1.1);
}

.project-card-links {
    display: flex;
    align-items: center;
    margin-right: -10px;
    color: var(--light-slate);
}

.project-card-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 7px;
    transition: var(--transition);
}

.project-card-links a:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.project-card-links a svg {
    width: 20px;
    height: 20px;
}

.project-card h4 {
    margin: 0 0 10px;
    color: var(--lightest-slate);
    font-size: var(--fz-xxl);
    transition: var(--transition);
}

.project-card:hover h4 {
    color: var(--green);
}

.project-card p {
    color: var(--light-slate);
    font-size: var(--fz-md);
    line-height: 1.5;
    margin-bottom: 20px;
}

.project-card-tech {
    display: flex;
    align-items: flex-end;
    flex-grow: 1;
    flex-wrap: wrap;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.project-card-tech li {
    font-family: var(--font-mono);
    font-size: var(--fz-xxs);
    line-height: 1.75;
    margin-right: 15px;
    color: var(--slate);
}

/* =====================
   CONTACT SECTION
===================== */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-heading {
    font-size: clamp(35px, 5vw, 50px);
    color: var(--lightest-slate);
    margin: 20px 0;
}

.contact-description {
    margin-bottom: 30px;
    font-size: var(--fz-lg);
    line-height: 1.5;
}

.contact-info {
    margin: 30px 0;
    font-family: var(--font-mono);
    font-size: var(--fz-md);
    color: var(--light-slate);
}

.contact-info p {
    margin: 10px 0;
    transition: var(--transition);
}

.contact-info p:hover {
    color: var(--green);
}

/* =====================
   FOOTER
===================== */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: auto;
    min-height: 70px;
    padding: 30px 15px;
    text-align: center;
    gap: 20px;
    background-color: var(--navy);
    width: 100%;
    margin-top: 50px;
}

footer .footer-link {
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
}

footer .footer-link p {
    color: #a8b2d1;
    font-family: 'Fira Code', 'SF Mono', 'Fira Mono', 'Roboto Mono', monospace;
    font-size: 12px;
    line-height: 1;
    margin: 0;
    transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
}

footer .footer-link:hover p {
    color: #64ffda;
}

/* Mobile Social Icons in Footer */
.footer-social-mobile {
    display: none;
    gap: 25px;
    margin-bottom: 15px;
}

.footer-social-mobile a {
    color: #a8b2d1;
    transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
    padding: 10px;
}

.footer-social-mobile a:hover {
    color: #64ffda;
    transform: translateY(-3px);
}

.footer-social-mobile a svg {
    width: 20px;
    height: 20px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1480px) {
    .container {
        padding: 0 100px;
    }
}

@media (max-width: 1080px) {
    .container {
        padding: 0 100px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 50px;
    }

    .section {
        padding: 80px 0;
    }

    .navbar {
        padding: 0 25px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        padding: 50px 10px;
        width: min(75vw, 400px);
        height: 100vh;
        outline: 0;
        background-color: var(--light-navy);
        box-shadow: -10px 0 30px -15px var(--navy-shadow);
        z-index: 9;
        transform: translateX(100vw);
        visibility: hidden;
        transition: var(--transition);
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links a {
        margin: 0 auto 20px;
        width: 100%;
        text-align: center;
        font-size: var(--fz-lg);
        padding: 3px 20px 20px;
    }

    .nav-number {
        display: block;
        margin-bottom: 5px;
    }

    .resume-btn {
        margin: 10% auto 0;
        width: 50%;
    }

    .fixed-email,
    .fixed-social {
        display: none;
    }

    .section-heading::after {
        width: 100%;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin: 50px auto 0;
        width: 70%;
    }

    /* Tabbed experience — stack on mobile */
    .experience-tabbed {
        flex-direction: column;
        gap: 30px;
    }

    .tab-nav {
        flex-direction: row;
        border-left: none;
        border-bottom: 2px solid var(--lightest-navy);
        min-width: unset;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0;
    }

    .tab-indicator {
        left: 0;
        top: auto;
        bottom: -2px;
        width: var(--tab-width);
        height: 2px;
        transition: left 0.3s var(--easing);
    }

    .tab-btn {
        flex-shrink: 0;
        width: var(--tab-width);
        height: var(--tab-height);
        justify-content: center;
        text-align: center;
    }

    .featured-project,
    .featured-project.reverse {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        background-color: var(--light-navy);
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px -15px var(--navy-shadow);
    }

    .project-content,
    .featured-project.reverse .project-content {
        grid-column: 1 / -1;
        text-align: left;
    }

    .project-description {
        padding: 20px 0;
        background-color: transparent;
        box-shadow: none;
    }

    .project-tech-list,
    .featured-project.reverse .project-tech-list {
        justify-content: flex-start;
    }

    .project-tech-list li,
    .featured-project.reverse .project-tech-list li {
        margin: 0 10px 5px 0;
    }

    .project-links,
    .featured-project.reverse .project-links {
        margin-left: -10px;
        justify-content: flex-start;
    }

    .project-image,
    .featured-project.reverse .project-image {
        grid-column: 1 / -1;
        opacity: 0.25;
        height: 100%;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .resume-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-button.secondary {
        margin-left: 0;
    }

    .footer-social-mobile {
        display: flex;
    }

    footer {
        padding: 30px 15px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 25px;
    }

    .navbar {
        padding: 0 15px;
    }

    .big-heading {
        font-size: clamp(28px, 5vw, 45px);
    }

    .hero-description {
        font-size: var(--fz-md);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}
/* =====================
   ARCHIVE LINK
   Add this to the end of style.css
===================== */

/* "view the archive →" link under Other Noteworthy Projects heading */
.archive-link {
    display: block;
    width: fit-content;
    margin: -30px auto 50px;
    font-family: var(--font-mono);
    font-size: var(--fz-sm);
    color: var(--green);
    transition: var(--transition);
    text-decoration: none;
}

.archive-link::after {
    content: ' →';
    display: inline;
    transition: letter-spacing 0.25s var(--easing);
}

.archive-link:hover {
    letter-spacing: 1px;
}

.archive-link:hover::after {
    letter-spacing: 3px;
}
