/* =============================================
   Gaya — Personal Brand
   Editorial / Soho-inspired Design System
   ============================================= */

/* --- CSS Variables --- */
:root {
    /* Neutrals */
    --cream: #FAF8F5;
    --oatmeal: #F3EFE8;
    --sand: #E8E3DB;
    --ink: #1a1a1a;
    --ink-soft: #3D3935;
    --ink-muted: #6B6560;
    --ink-faint: #A8A29E;
    
    /* Accents */
    --teal: #2D5F5D;
    --teal-light: #3D7A78;
    --teal-glow: rgba(45, 95, 93, 0.08);
    --copper: #C4956A;
    --copper-light: #D4A87E;
    --copper-glow: rgba(196, 149, 106, 0.12);
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;
    
    /* Layout */
    --max-width: 1200px;
    --content-width: 820px;
    --radius: 4px;
    --radius-lg: 8px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.06);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Typography --- */
.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--ink-muted);
    max-width: 540px;
    line-height: 1.6;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand);
    padding: 0.75rem 0;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.nav-logo-dot {
    color: var(--copper);
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--ink-muted);
    transition: color 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--ink);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border: 1.5px solid var(--teal);
    color: var(--teal);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
    background: var(--teal);
    color: var(--cream);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 6rem;
    overflow: hidden;
}

.hero-accent {
    position: absolute;
    top: 20%;
    right: 8%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-texture {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 500;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-thesis {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    font-style: italic;
    color: var(--teal);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-thesis em {
    font-style: normal;
    font-weight: 600;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ink-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    background: var(--teal);
    color: var(--cream);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.cta-primary:hover {
    background: var(--teal-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(45, 95, 93, 0.2);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.85rem 2rem;
    color: var(--ink-soft);
    border: 1.5px solid var(--sand);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.cta-secondary:hover {
    border-color: var(--ink-muted);
}

.arrow {
    transition: transform 0.3s var(--ease-out);
}

.cta-secondary:hover .arrow {
    transform: translateX(4px);
}

/* --- Content Stream --- */
.content-stream {
    padding: var(--space-xl) 2rem var(--space-lg);
    background: var(--oatmeal);
    text-align: center;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin: 2rem 0;
    padding: 0.25rem;
    background: rgba(255,255,255,0.5);
    border-radius: 100px;
    display: inline-flex;
    border: 1px solid var(--sand);
}

.tab {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.55rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--ink-muted);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.tab.active {
    background: var(--teal);
    color: var(--cream);
}

.tab:not(.active):hover {
    color: var(--ink-soft);
}

.tab-panel {
    display: none;
    max-width: var(--max-width);
    margin: 0 auto;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s var(--ease-out);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--sand);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: left;
    transition: all 0.3s var(--ease-out);
}

.blog-card:hover {
    border-color: var(--teal-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.blog-card-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.blog-card-tag {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    background: var(--teal-glow);
    color: var(--teal);
    border-radius: 100px;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-card-summary {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--ink-faint);
}

.card-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--ink-faint);
    font-style: italic;
}

/* Repo List */
.repo-list {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.repo-item {
    background: #fff;
    border: 1px solid var(--sand);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s var(--ease-out);
}

.repo-item:hover {
    border-color: var(--teal-light);
    box-shadow: var(--shadow-sm);
}

.repo-info h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.repo-info p {
    font-size: 0.85rem;
    color: var(--ink-muted);
}

.repo-meta {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--ink-faint);
    flex-shrink: 0;
}

.repo-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--copper);
    font-weight: 500;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--teal);
    transition: gap 0.3s var(--ease-out);
}

.view-all:hover {
    gap: 0.75rem;
}

/* --- Thesis Section --- */
.thesis {
    padding: var(--space-2xl) 2rem;
    background: var(--cream);
}

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

.thesis-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 600;
    color: var(--sand);
    line-height: 1;
    margin-bottom: -1rem;
    user-select: none;
}

.thesis-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.thesis-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: var(--space-lg);
}

.thesis-body p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink-soft);
}

.thesis-body strong {
    color: var(--ink);
    font-weight: 600;
}

.thesis-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--sand);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-unit {
    font-family: var(--font-display);
    color: var(--copper);
    font-weight: 500;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--ink-muted);
}

/* --- Expertise Section --- */
.expertise {
    padding: var(--space-2xl) 2rem;
    background: var(--cream);
    text-align: center;
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: var(--space-lg) auto 0;
}

.exp-card {
    background: #fff;
    border: 1px solid var(--sand);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: left;
    transition: all 0.3s var(--ease-out);
}

.exp-card:hover {
    border-color: var(--copper-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.exp-icon {
    width: 48px;
    height: 48px;
    color: var(--teal);
    margin-bottom: 1.25rem;
}

.exp-icon svg {
    width: 100%;
    height: 100%;
}

.exp-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.exp-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ink-muted);
}

/* --- Weapons Section --- */
.weapons {
    padding: var(--space-2xl) 2rem;
    background: var(--oatmeal);
    text-align: center;
}

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

.weapon-list {
    display: grid;
    gap: 1.5rem;
    max-width: 780px;
    margin: var(--space-lg) auto 0;
    text-align: left;
}

.weapon-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--sand);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out);
}

.weapon-item:hover {
    border-color: var(--teal-light);
    box-shadow: var(--shadow-sm);
}

.weapon-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal);
    flex-shrink: 0;
    width: 3rem;
    opacity: 0.5;
}

.weapon-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.weapon-badge {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    background: var(--copper-glow);
    color: var(--copper);
    border-radius: 100px;
}

.weapon-content p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

/* --- Projects Section --- */
.projects {
    padding: var(--space-2xl) 2rem;
    background: #fff;
    text-align: center;
}

.project-list {
    max-width: var(--max-width);
    margin: var(--space-lg) auto 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--sand);
    border: 1px solid var(--sand);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.project-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 2rem;
    background: #fff;
    text-align: left;
    transition: background 0.3s var(--ease-out);
}

.project-item:hover {
    background: var(--cream);
}

.project-index {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal);
    flex-shrink: 0;
    width: 2.5rem;
    line-height: 1;
    padding-top: 0.25rem;
}

.project-content {
    flex: 1;
    min-width: 0;
}

.project-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.project-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.project-name a:hover {
    color: var(--teal);
}

.project-arrow {
    font-size: 0.8em;
    color: var(--ink-faint);
    transition: color 0.2s;
}

.project-name a:hover .project-arrow {
    color: var(--teal);
}

.project-tagline {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
}

.project-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ink-muted);
    margin-bottom: 0.75rem;
    max-width: 56ch;
}

.project-tech {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--copper);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .project-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.5rem;
    }

    .project-index {
        padding-top: 0;
        font-size: 1.25rem;
    }

    .project-name {
        font-size: 1.15rem;
    }
}

/* --- Engagement Section --- */
.engagement {
    padding: var(--space-2xl) 2rem;
    background: var(--cream);
    text-align: center;
}

.eng-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: var(--space-lg) auto 0;
}

.eng-card {
    background: #fff;
    border: 1px solid var(--sand);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: left;
    transition: all 0.3s var(--ease-out);
}

.eng-card:hover {
    border-color: var(--copper-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.eng-card.primary {
    border-color: var(--teal);
    border-width: 2px;
    background: linear-gradient(135deg, #fff 0%, var(--teal-glow) 100%);
}

.eng-level {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.eng-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.eng-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ink-muted);
}

/* --- Contact Section --- */
.contact {
    padding: var(--space-2xl) 2rem;
    background: var(--cream);
}

.contact-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 1rem;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.contact-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-muted);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--teal);
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--teal-light);
}

.contact-link-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--sand);
    flex-shrink: 0;
}

.contact-loc {
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
    border: 1.5px solid var(--sand);
    border-radius: var(--radius-lg);
    background: #fff;
    color: var(--ink);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--ink-faint);
}

.contact-form button {
    align-self: flex-start;
}

/* --- Footer --- */
.footer {
    padding: 3rem 2rem;
    background: var(--oatmeal);
    border-top: 1px solid var(--sand);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--ink-muted);
}

.footer-right {
    font-size: 0.8rem;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-sep {
    color: var(--sand);
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .nav-cta {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 4rem;
    }
    
    .thesis-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .thesis-stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .weapon-item {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .repo-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .tabs {
        gap: 0;
    }
    
    .tab {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-link:nth-child(2) {
        display: none;
    }
    
    .exp-grid,
    .eng-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
}
