/* ============================
   Design System - Warm Ethereal
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=DM+Sans:wght@400;500;700&family=Great+Vibes&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Warm Cream Palette */
    --bg-primary: #FAF7F2;
    --bg-secondary: #F2EDE5;
    --bg-card: #FFFDFB;
    --bg-card-hover: #FFFFFF;
    --bg-nav: rgba(250, 247, 242, 0.85);

    /* Accent - Warm amber-gold */
    --accent: #B08968;
    --accent-light: #D4A574;
    --accent-lighter: #E6CCB2;
    --accent-bg: rgba(176, 137, 104, 0.07);
    --accent-bg-hover: rgba(176, 137, 104, 0.12);

    /* Secondary palette */
    --warm: #C08552;
    --warm-light: #E6C9A8;
    --teal: #7C9A72;
    --rose: #C97B6B;

    /* Text */
    --text-primary: #2D2418;
    --text-secondary: #7A6E60;
    --text-muted: #A69B8E;
    --text-light: #C5BAA8;

    /* Borders & Shadows */
    --border: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(176, 137, 104, 0.25);
    --shadow-xs: 0 1px 2px rgba(45, 36, 24, 0.04);
    --shadow-sm: 0 1px 3px rgba(45, 36, 24, 0.06), 0 1px 2px rgba(45, 36, 24, 0.04);
    --shadow-md: 0 4px 16px rgba(45, 36, 24, 0.06);
    --shadow-lg: 0 10px 40px rgba(45, 36, 24, 0.08);
    --shadow-glow: 0 0 40px rgba(176, 137, 104, 0.08);

    /* Sizing */
    --container: 1240px;
    --nav-height: 64px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background: var(--accent-lighter);
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

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

/* ============================
   Particle Canvas
   ============================ */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ============================
   Floating Decorations
   ============================ */
.float-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    opacity: 0.15;
}

.float-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-lighter), transparent);
    top: -100px;
    right: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.float-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 154, 114, 0.3), transparent);
    bottom: 10%;
    left: -80px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.float-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201, 123, 107, 0.2), transparent);
    top: 40%;
    right: 5%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {

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

    33% {
        transform: translate(-40px, 60px) scale(1.1);
    }

    66% {
        transform: translate(30px, -40px) scale(0.9);
    }
}

@keyframes orbFloat2 {

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

    50% {
        transform: translate(60px, -50px) scale(1.15);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    40% {
        transform: translate(-30px, 40px);
    }

    80% {
        transform: translate(20px, -30px);
    }
}

/* ============================
   Container
   ============================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

/* ============================
   Navigation
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    transition: all 0.35s var(--ease);
}

.navbar.scrolled {
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: 'Great Vibes', cursive;
    font-size: 1.4rem;
    color: var(--accent);
    letter-spacing: 1px;
    transition: opacity 0.2s var(--ease);
}

.nav-brand:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s var(--ease);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--accent-bg);
}

.nav-link.active {
    color: var(--accent);
    background: var(--accent-bg);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-cv {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    padding: 7px 16px;
    border: 1.5px solid var(--accent-lighter);
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    font-family: Georgia, serif;
}

.nav-cv:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(176, 137, 104, 0.25);
}

.nav-cv svg {
    width: 14px;
    height: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* ============================
   Page Header (shared)
   ============================ */
.page-header {
    padding: 100px 0 30px;
    text-align: center;
}

.page-header .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-header .label::before,
.page-header .label::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent-lighter);
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 1px;
    line-height: 1.2;
}

.page-header h1 em {
    font-style: italic;
    color: var(--accent);
}

.page-header .subtitle {
    margin-top: 14px;
    font-size: 1.02rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Decorative dot */
.dot-divider {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 40px 0;
}

.dot-divider span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-lighter);
}

.dot-divider span:nth-child(2) {
    background: var(--accent);
    width: 20px;
    border-radius: 2px;
}

/* ============================
   Hero (Home Page)
   ============================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 32px 50px;
    position: relative;
    z-index: 2;
}

/* ---- TPMAM Monogram ---- */
.hero-monogram {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.15s forwards;
}

.monogram-text {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(4.5rem, 14vw, 10rem);
    font-weight: 400;
    letter-spacing: 8px;
    color: var(--accent);
    position: relative;
    display: inline-block;
    line-height: 1;
    user-select: none;
    text-shadow: 0 2px 30px rgba(176, 137, 104, 0.15);
}

.monogram-text::after {
    content: 'TPMAM';
    position: absolute;
    inset: 0;
    font-family: 'Great Vibes', cursive;
    font-size: inherit;
    font-weight: 400;
    letter-spacing: inherit;
    background: linear-gradient(135deg,
            var(--accent) 0%,
            var(--accent-light) 30%,
            var(--warm) 60%,
            var(--accent) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 10s ease infinite;
    opacity: 0.8;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.monogram-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 12px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

.monogram-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-lighter), transparent);
    margin: 20px auto 0;
}

/* ---- Decorative leaf SVG ---- */
.hero-leaf {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.hero-leaf-1 {
    width: 200px;
    top: 15%;
    left: 5%;
    animation: leafFloat 15s ease-in-out infinite;
    transform: rotate(-25deg);
}

.hero-leaf-2 {
    width: 160px;
    bottom: 15%;
    right: 8%;
    animation: leafFloat 18s ease-in-out infinite reverse;
    transform: rotate(15deg);
}

@keyframes leafFloat {

    0%,
    100% {
        transform: rotate(-25deg) translateY(0);
    }

    50% {
        transform: rotate(-20deg) translateY(-15px);
    }
}

/* ---- Hero Split Layout ---- */
.hero-split {
    display: flex;
    gap: 60px;
    max-width: 1080px;
    width: 100%;
    align-items: flex-start;
    opacity: 0;
    animation: fadeUp 0.9s var(--ease) 0.55s forwards;
}

.hero-identity {
    flex: 0 0 290px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-id-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-lighter);
    flex-shrink: 0;
    box-shadow: 0 2px 16px rgba(176, 137, 104, 0.15);
    transition: transform 0.3s var(--ease-spring);
}

.hero-avatar:hover {
    transform: scale(1.06);
}

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

.hero-id-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.hero-id-name .en {
    display: block;
    font-family: Georgia, serif;
    font-size: 0.78rem;
    font-weight: normal;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px;
}

.hero-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    transition: all 0.2s var(--ease);
    letter-spacing: 0.2px;
}

a.hero-contact-item:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.hero-contact-item svg {
    width: 15px;
    height: 15px;
    opacity: 0.4;
    flex-shrink: 0;
}

/* Divider */
.hero-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(to bottom, transparent, var(--accent-lighter), transparent);
    flex-shrink: 0;
}

/* Right side */
.hero-about {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-kw {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-weight: 500;
    font-style: italic;
    color: var(--accent);
    padding: 4px 14px;
    border: 1px solid var(--accent-lighter);
    border-radius: 20px;
    transition: all 0.3s var(--ease);
    letter-spacing: 0.5px;
}

.hero-kw:hover {
    background: var(--accent-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.hero-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    letter-spacing: 0.2px;
}

.hero-bio strong {
    color: var(--text-primary);
    font-weight: bold;
}

.hero-bio em {
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1em;
    color: var(--accent);
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: transparent;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 24px;
    border: 1px solid var(--accent-lighter);
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.hero-btn-primary svg {
    width: 14px;
    height: 14px;
}

.hero-btn-primary:hover {
    background: var(--accent-bg);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(176, 137, 104, 0.1);
}

/* Scroll */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 1.1s forwards;
}

.hero-scroll .line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--accent-lighter), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    font-family: Georgia, serif;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================
   Home Sections
   ============================ */
.home-section {
    padding: 60px 0;
}

.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.home-section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    font-style: italic;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    color: var(--accent);
    transition: gap 0.2s var(--ease);
}

.view-all:hover {
    gap: 10px;
}

.view-all svg {
    width: 14px;
    height: 14px;
}

/* ============================
   Cards (shared)
   ============================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(176, 137, 104, 0.02), transparent);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-3px);
}

.card-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-label-active {
    background: rgba(124, 154, 114, 0.1);
    color: var(--teal);
}

.card-label-completed {
    background: var(--accent-bg);
    color: var(--accent);
}

.card h3 {
    font-size: 1.05rem;
    font-weight: bold;
    margin: 12px 0 4px;
    line-height: 1.4;
}

.card .meta {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.card .date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 12px;
}

.card ul {
    list-style: none;
    margin-top: 12px;
}

.card li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
    font-size: 1.2em;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.tag {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--accent-bg);
    color: var(--accent);
    border: 1px solid transparent;
    transition: all 0.2s var(--ease);
    font-family: Georgia, serif;
}

.tag:hover {
    border-color: var(--accent-lighter);
}

/* ============================
   Research Grid
   ============================ */
.research-grid {
    display: grid;
    gap: 20px;
}

.research-card-featured {
    border-left: 3px solid var(--accent);
}

.research-card .supervisor {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 2px;
}

/* ============================
   Publications
   ============================ */
.pub-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.pub-item {
    display: flex;
    gap: 20px;
    padding: 24px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease);
}

.pub-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.pub-type-indicator {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 6px;
    border-radius: var(--radius-sm);
    text-align: center;
    flex-shrink: 0;
}

.pub-type-poster {
    background: rgba(124, 154, 114, 0.1);
    color: var(--teal);
}

.pub-type-paper {
    background: var(--accent-bg);
    color: var(--accent);
}

.pub-type-preprint {
    background: rgba(201, 123, 107, 0.08);
    color: var(--rose);
}

.pub-body h3 {
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.45;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pub-authors {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pub-authors strong {
    color: var(--accent);
    font-weight: bold;
}

.pub-venue {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 12px;
}

.pub-venue strong {
    color: var(--text-secondary);
}

.pub-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pub-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(192, 133, 82, 0.1), rgba(201, 123, 107, 0.08));
    color: var(--warm);
    border: 1px solid rgba(192, 133, 82, 0.2);
}

.pub-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(176, 137, 104, 0.3);
    background: rgba(176, 137, 104, 0.05);
    transition: all 0.2s var(--ease);
    text-decoration: none;
}

.pub-link svg {
    width: 12px;
    height: 12px;
}

.pub-link:hover {
    background: var(--accent);
    color: var(--bg-main);
    border-color: var(--accent);
}

/* ============================
   Projects Grid
   ============================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card .project-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    color: rgba(176, 137, 104, 0.06);
    line-height: 1;
    font-family: 'Cormorant Garamond', serif;
}

.project-card .icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.project-card h3 {
    font-size: 1.05rem;
}

.project-card .sub {
    font-size: 0.82rem;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    margin-bottom: 8px;
}

.project-card .highlight {
    color: var(--rose);
    font-weight: bold;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 14px;
}

.project-tech span {
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(124, 154, 114, 0.08);
    color: var(--teal);
    border: 1px solid rgba(124, 154, 114, 0.15);
    font-family: Georgia, serif;
}

/* ============================
   Experience Page
   ============================ */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.exp-card .icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent);
}

.exp-card .company {
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.exp-card .location-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Timeline */
.edu-timeline {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
}

.edu-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent-lighter), var(--border));
}

.edu-item {
    position: relative;
    margin-bottom: 32px;
}

.edu-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--accent-lighter);
}

.edu-item h3 {
    font-size: 1.05rem;
    font-weight: bold;
    margin-bottom: 2px;
}

.edu-item .degree {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.edu-item .edu-meta {
    display: flex;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 6px 0 10px;
}

.edu-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.edu-badge-gpa {
    background: var(--accent-bg);
    color: var(--accent);
}

.edu-badge-honor {
    background: rgba(201, 123, 107, 0.08);
    color: var(--rose);
}

.edu-badge-exchange {
    background: rgba(124, 154, 114, 0.08);
    color: var(--teal);
}

/* ============================
   Skills
   ============================ */
.skills-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease);
}

.skill-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.skill-card-header .icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.skill-card-header h3 {
    font-size: 0.95rem;
    font-weight: bold;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all 0.2s var(--ease);
}

.skill-tag:hover {
    background: var(--accent-bg);
    color: var(--accent);
    border-color: var(--accent-lighter);
    transform: translateY(-1px);
}

/* Language Bars */
.lang-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lang-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lang-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.lang-info span:first-child {
    font-weight: bold;
}

.lang-level {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.lang-track {
    width: 100%;
    height: 4px;
    background: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
}

.lang-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    width: 0;
    transition: width 1.2s var(--ease);
}

/* ============================
   Contact Page
   ============================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s var(--ease);
}

.contact-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-card .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-card .value {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Extra Activities */
.extra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 60px;
}

.extra-item {
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease);
}

.extra-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.extra-item .emoji {
    font-size: 2rem;
    margin-bottom: 12px;
}

.extra-item h3 {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 6px;
}

.extra-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================
   Footer
   ============================ */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 80px;
}

.footer p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================
   Scroll Animations
   ============================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
[data-stagger]>* {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-stagger].revealed>*:nth-child(1) {
    transition-delay: 0s;
    opacity: 1;
    transform: none;
}

[data-stagger].revealed>*:nth-child(2) {
    transition-delay: 0.08s;
    opacity: 1;
    transform: none;
}

[data-stagger].revealed>*:nth-child(3) {
    transition-delay: 0.16s;
    opacity: 1;
    transform: none;
}

[data-stagger].revealed>*:nth-child(4) {
    transition-delay: 0.24s;
    opacity: 1;
    transform: none;
}

[data-stagger].revealed>*:nth-child(5) {
    transition-delay: 0.32s;
    opacity: 1;
    transform: none;
}

[data-stagger].revealed>*:nth-child(6) {
    transition-delay: 0.40s;
    opacity: 1;
    transform: none;
}

/* ============================
   Responsive — Wide screens
   ============================ */
@media (min-width: 1400px) {
    :root {
        --container: 1320px;
    }

    .hero-split {
        max-width: 1180px;
        gap: 72px;
    }

    .hero-identity {
        flex: 0 0 320px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .contact-grid {
        gap: 28px;
    }

    .page-header h1 {
        font-size: 3.8rem;
    }
}

/* ============================
   Responsive — Small screens
   ============================ */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

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

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

    .extra-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-split {
        gap: 40px;
    }

    .hero-identity {
        flex: 0 0 220px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        transition: right 0.35s var(--ease);
        border-left: 1px solid var(--border);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(6.5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-6.5px);
    }

    .hero-split {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .hero-identity {
        flex: none;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .hero-id-top {
        flex-direction: column;
    }

    .hero-contacts {
        align-items: center;
    }

    .hero-divider {
        width: 60px;
        height: 1px;
        align-self: auto;
        background: linear-gradient(90deg, transparent, var(--accent-lighter), transparent);
    }

    .hero-about {
        align-items: center;
        text-align: center;
    }

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

    .monogram-text {
        letter-spacing: 4px;
    }

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

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

    .pub-item {
        flex-direction: column;
    }

    .pub-type-indicator {
        writing-mode: horizontal-tb;
    }

    .page-header {
        padding: 120px 0 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav-inner {
        padding: 0 20px;
    }

    .monogram-text {
        letter-spacing: 2px;
    }

    .nav-brand {
        font-size: 1.2rem;
    }
}

/* ============================
   Canonical Personal Folio · 2026
   ============================ */
.personal-home {
    --folio-bg: rgba(245, 239, 230, .76);
    --folio-bg-secondary: rgba(237, 228, 211, .68);
    --folio-card: rgba(250, 246, 238, .80);
    --folio-deeper: rgba(232, 221, 200, .62);
    --folio-text: #2C2620;
    --folio-soft: #4A3F35;
    --folio-muted: #7A6B5D;
    --folio-faint: #A89B8A;
    --folio-copper: #B07853;
    --folio-moss: #6B7A4F;
    --folio-line: rgba(176, 120, 83, .15);
    --folio-shadow: 0 4px 24px -8px rgba(80, 60, 40, .08);
    --folio-shadow-hover: 0 24px 64px -20px rgba(80, 60, 40, .18);
    --folio-display: Georgia, "Times New Roman", serif;
    --folio-serif: "Libre Caslon Text", Georgia, serif;
    --folio-sans: "DM Sans", Arial, sans-serif;
    --folio-ease: cubic-bezier(.22, 1, .36, 1);
    --folio-width: 1080px;
    margin: 0;
    background: var(--folio-bg);
    color: var(--folio-text);
    font-family: var(--folio-sans);
    line-height: 1.7;
}

.personal-home::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(176, 120, 83, .03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(107, 122, 79, .025) 0%, transparent 50%);
    mix-blend-mode: multiply;
}

.personal-home #particleCanvas { z-index: 2; opacity: .6; }
.personal-orbs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.personal-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .45;
    animation: folio-drift 30s cubic-bezier(.65, 0, .35, 1) infinite alternate;
}
.personal-orb-1 { width: 620px; height: 620px; background: #D4B896; top: -200px; left: -150px; animation-duration: 38s; }
.personal-orb-2 { width: 520px; height: 520px; background: #C9A0A0; top: 30%; right: -100px; animation-duration: 42s; animation-delay: -5s; }
.personal-orb-3 { width: 460px; height: 460px; background: #B5C4A8; bottom: 5%; left: 15%; animation-duration: 46s; animation-delay: -12s; }
.personal-orb-4 { width: 400px; height: 400px; background: #E8C9A0; top: 55%; left: 48%; animation-duration: 40s; animation-delay: -18s; }
@keyframes folio-drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, -60px) scale(1.1); }
    100% { transform: translate(-60px, 80px) scale(.95); }
}

.personal-content,
.personal-footer { position: relative; z-index: 3; }
.folio-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    min-height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(245, 239, 230, .5);
    border: 0;
    border-bottom: 1px solid rgba(176, 120, 83, .11);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    transform: translateY(0);
    transition: background .35s ease, box-shadow .35s ease;
}
.folio-header.scrolled { background: rgba(245, 239, 230, .82); box-shadow: none; }
.folio-brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.folio-brand-mark {
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(57, 52, 47, .42);
    border-radius: 999px;
    font-family: var(--folio-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.folio-brand-copy { font-family: var(--folio-serif); font-size: 15px; letter-spacing: .01em; }
.folio-brand-copy i { color: var(--folio-copper); font-weight: 400; margin-left: 4px; }
.folio-nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.folio-nav .nav-link {
    padding: 8px 0;
    color: var(--folio-muted);
    border-radius: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.folio-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    background: var(--folio-copper);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--folio-ease);
}
.folio-nav .nav-link:hover { color: var(--folio-text); background: transparent; }
.folio-nav .nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.folio-nav .folio-academic-link { color: var(--folio-copper); }
.folio-menu-toggle { display: none; }
.personal-home .hero { position: relative; z-index: 3; padding-top: 138px; }

.portfolio-section {
    position: relative;
    width: min(100%, calc(var(--folio-width) + 96px));
    margin: 0 auto;
    padding: 140px 48px;
    scroll-margin-top: 105px;
}
.portfolio-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 48px;
    right: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--folio-line) 12%, var(--folio-line) 88%, transparent);
}
.portfolio-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 82px;
}
.portfolio-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: var(--folio-moss);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
}
.portfolio-section h2,
.contact-section h2 {
    margin: 0;
    color: var(--folio-text);
    font-family: var(--folio-display);
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -.025em;
}
.portfolio-section h2 em,
.contact-section h2 em { color: var(--folio-copper); font-family: var(--folio-serif); font-weight: 400; }
.portfolio-section-header > p { max-width: 420px; margin: 0; color: var(--folio-muted); font-size: 14px; line-height: 1.75; }

.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 88px; align-items: start; }
.about-visual {
    position: relative;
    aspect-ratio: 3 / 4;
    margin: 0;
    overflow: hidden;
    background: var(--folio-card);
    border-radius: 4px;
    box-shadow: var(--folio-shadow);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.about-visual::after { content: none; }
.about-visual figcaption {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    padding: 6px 14px;
    color: var(--folio-bg);
    background: rgba(44, 38, 32, .35);
    border-radius: 2px;
    font-family: var(--folio-sans);
    font-size: 11px;
    font-style: italic;
    letter-spacing: .12em;
    backdrop-filter: blur(8px);
}
.about-copy { color: var(--folio-soft); }
.about-lead { margin: 0 0 40px; color: var(--folio-text); font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 2.15vw, 34px); line-height: 1.46; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; font-size: 14px; line-height: 1.78; }
.about-columns p { margin: 0; }
.about-principles { margin-top: 48px; border-top: 1px solid var(--folio-line); }
.about-principles > div { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--folio-line); }
.about-principles span { color: var(--folio-copper); font-family: var(--folio-serif); font-style: italic; font-weight: 400; }
.about-principles p { margin: 0; font-size: 13px; }

.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.work-card {
    overflow: hidden;
    background: var(--folio-card);
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 4px;
    box-shadow: var(--folio-shadow);
    transition: transform .6s var(--folio-ease), box-shadow .6s var(--folio-ease);
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--folio-shadow-hover); }
.work-visual { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--folio-deeper); }
.work-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44, 38, 32, .08), transparent 35%, rgba(44, 38, 32, .13)); pointer-events: none; }
.work-number {
    position: absolute;
    top: 18px;
    left: 22px;
    z-index: 3;
    padding: 6px 14px;
    color: var(--folio-bg);
    background: rgba(44, 38, 32, .58);
    border-radius: 2px;
    font-family: var(--folio-serif);
    font-size: 14px;
    font-style: italic;
    backdrop-filter: blur(8px);
}
.work-visual-project { background: radial-gradient(circle at 50% 42%, #f2e4d2 0 13%, #d9c7b2 52%, #c8cab7 100%); }
.work-constellation { position: absolute; inset: 0; }
.work-constellation::before,
.work-constellation::after { content: ""; position: absolute; inset: 22% 18%; border: 1px solid rgba(76, 68, 58, .2); transform: rotate(18deg); }
.work-constellation::after { inset: 31% 29%; border-color: rgba(107, 122, 79, .32); transform: rotate(-24deg); }
.work-constellation span { position: absolute; width: 16px; height: 16px; background: rgba(250, 246, 238, .85); border: 1px solid rgba(176, 120, 83, .35); border-radius: 50%; box-shadow: 0 10px 24px rgba(80, 60, 40, .1); }
.work-constellation span:nth-child(1) { left: 24%; top: 30%; }
.work-constellation span:nth-child(2) { right: 26%; top: 25%; }
.work-constellation span:nth-child(3) { left: 42%; bottom: 25%; }
.work-constellation span:nth-child(4) { right: 18%; bottom: 36%; }
.publication-visual img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform .9s var(--folio-ease); }
.work-card:hover .publication-visual img { transform: scale(1.05); }
.publication-glyph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(145deg, rgba(229, 215, 197, .72), rgba(200, 202, 183, .72)); }
.publication-glyph span { z-index: 2; color: var(--folio-soft); font-family: var(--folio-serif); font-size: 24px; font-style: italic; letter-spacing: .16em; }
.publication-glyph i { position: absolute; width: 52%; height: 1px; background: rgba(107, 122, 79, .38); transform: rotate(var(--angle)); }
.publication-glyph i:nth-of-type(1) { --angle: 17deg; }
.publication-glyph i:nth-of-type(2) { --angle: -22deg; width: 42%; }
.publication-glyph i:nth-of-type(3) { --angle: 62deg; width: 34%; }
.work-body { padding: 34px 32px 32px; }
.work-meta { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 18px; color: var(--folio-faint); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.work-body h3 { margin: 0 0 14px; color: var(--folio-text); font-family: var(--folio-display); font-size: 27px; font-weight: 400; line-height: 1.32; }
.work-body p { margin: 0 0 22px; color: var(--folio-muted); font-size: 14px; line-height: 1.72; }
.work-body .publication-authors { margin-top: -8px; font-family: var(--folio-sans); font-size: 13px; font-style: normal; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags span { padding: 5px 13px; color: var(--folio-moss); background: rgba(107, 122, 79, .1); border: 1px solid rgba(107, 122, 79, .18); border-radius: 20px; font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.work-tags span:nth-child(even) { color: var(--folio-copper); background: rgba(176, 120, 83, .1); border-color: rgba(176, 120, 83, .18); }

.folio-list { display: flex; flex-direction: column; }
.folio-list-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 44px;
    align-items: start;
    padding: 30px 16px 30px 0;
    border-bottom: 1px solid var(--folio-line);
    transition: padding .4s var(--folio-ease), background .4s ease;
}
.folio-list-item:first-child { border-top: 1px solid var(--folio-line); }
.folio-list-item:hover { padding-left: 20px; background: linear-gradient(90deg, rgba(176, 120, 83, .05), transparent 70%); }
.folio-list-date { padding-top: 2px; color: var(--folio-copper); font-family: var(--folio-sans); font-size: 21px; font-style: normal; font-weight: 600; }
.folio-list-copy h3 { margin: 0 0 8px; color: var(--folio-text); font-family: var(--folio-display); font-size: 22px; font-weight: 400; line-height: 1.4; }
.folio-list-copy p { margin: 3px 0 0; color: var(--folio-muted); font-size: 13px; }
.folio-list-copy .folio-list-meta { color: var(--folio-moss); font-weight: 600; letter-spacing: .03em; }
.folio-list-mark { align-self: center; color: var(--folio-faint); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.compact-news { padding-top: 96px; }
.compact-news .portfolio-section-header { margin-bottom: 48px; }
.news-row { min-height: 110px; }

.contact-section { padding-top: 165px; padding-bottom: 120px; text-align: center; }
.contact-section .portfolio-eyebrow { margin-bottom: 32px; }
.contact-copy { max-width: 610px; margin: 40px auto 56px; color: var(--folio-muted); font-size: 16px; line-height: 1.8; }
.contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    color: var(--folio-text);
    border: 1px solid var(--folio-line);
    border-radius: 60px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 2.5vw, 28px);
    font-style: normal;
    transition: none;
}
.contact-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; margin-top: 48px; }
.contact-socials a { color: var(--folio-muted); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.contact-socials a:hover { color: var(--folio-copper); }

.visitor-map-card {
    width: min(100%, 360px);
    margin: 78px auto 0;
    padding: 12px;
    overflow: hidden;
    background: rgba(250, 246, 238, .72);
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(80, 60, 40, .11);
    text-align: left;
    backdrop-filter: blur(14px);
}
.visitor-map-heading { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; color: var(--folio-muted); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.visitor-map-heading i { color: var(--folio-moss); font-style: normal; }
.visitor-map-heading i::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; background: var(--folio-moss); border-radius: 50%; vertical-align: 1px; }
.visitor-map-widget { min-height: 128px; overflow: hidden; background: var(--folio-bg-secondary); border-radius: 10px; }
.visitor-map-card a { display: block; overflow: hidden; background: var(--folio-bg-secondary); border-radius: 10px; }
.visitor-map-card img { display: block; width: 100%; height: auto; min-height: 128px; object-fit: cover; filter: sepia(.08) saturate(.84) contrast(.95); }
.home-map-section {
    position: relative;
    width: min(100%, calc(var(--folio-width) + 96px));
    margin: 0 auto;
    padding: 90px 48px 100px;
}
.home-contact-map-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: clamp(56px, 9vw, 120px);
    align-items: end;
}
.home-contact-panel { max-width: 620px; }
.home-contact-panel .portfolio-eyebrow { margin-bottom: 22px; }
.home-contact-panel h2 {
    margin: 0;
    color: var(--folio-text);
    font-family: var(--folio-display);
    font-size: clamp(38px, 4.4vw, 60px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.025em;
}
.home-contact-panel h2 em { color: var(--folio-copper); font-family: var(--folio-serif); font-weight: 400; }
.home-contact-panel > p { max-width: 570px; margin: 28px 0 26px; color: var(--folio-muted); font-size: 14px; line-height: 1.78; }
.home-contact-email { color: var(--folio-text); font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2vw, 24px); }
.home-contact-socials { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.home-contact-socials a { color: var(--folio-muted); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.home-contact-socials a:hover { color: var(--folio-copper); }
.home-map-section .visitor-map-card { margin: 0; justify-self: end; }

.personal-footer {
    width: min(var(--folio-width), calc(100% - 96px));
    margin: 0 auto;
    padding: 42px 0 48px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--folio-faint);
    border-top: 1px solid var(--folio-line);
    font-size: 11px;
    letter-spacing: .04em;
}
.personal-footer em { color: var(--folio-copper); font-family: var(--folio-sans); font-style: normal; }

@media (max-width: 1080px) {
    .folio-nav { gap: 13px; }
    .folio-brand-copy { display: none; }
    .about-grid { gap: 56px; }
    .works-grid { gap: 32px; }
}

@media (min-width: 1400px) {
    .personal-home { --folio-width: 1180px; }
}

@media (max-width: 820px) {
    .folio-header { top: 0; min-height: 60px; padding: 0 24px; }
    .folio-menu-toggle { display: inline-flex; width: 38px; height: 38px; flex-direction: column; justify-content: center; gap: 5px; }
    .folio-menu-toggle span { width: 20px; height: 1px; background: var(--folio-text); }
    .folio-nav {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        display: grid;
        gap: 12px;
        padding: 20px 24px 24px;
        background: rgba(239, 231, 218, .95);
        border: 1px solid rgba(255, 255, 255, .4);
        border-radius: 0 0 12px 12px;
        box-shadow: var(--folio-shadow-hover);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all .35s var(--folio-ease);
    }
    .folio-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
    .portfolio-section { padding: 100px 32px; }
    .portfolio-section::before { left: 32px; right: 32px; }
    .portfolio-section-header { align-items: flex-start; flex-direction: column; margin-bottom: 58px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { width: min(100%, 480px); }
    .works-grid { grid-template-columns: 1fr; }
    .folio-list-item { grid-template-columns: 120px minmax(0, 1fr); gap: 26px; }
    .folio-list-mark { display: none; }
    .home-contact-map-grid { grid-template-columns: 1fr; }
    .home-map-section .visitor-map-card { justify-self: start; }
}

@media (max-width: 560px) {
    .folio-header { width: 100%; padding: 0 22px; }
    .personal-home .hero { padding-top: 118px; }
    .portfolio-section { padding: 84px 22px; }
    .portfolio-section::before { left: 22px; right: 22px; }
    .portfolio-section-header { gap: 24px; margin-bottom: 46px; }
    .portfolio-section h2,
    .contact-section h2 { font-size: clamp(39px, 12vw, 55px); }
    .about-columns { grid-template-columns: 1fr; gap: 22px; }
    .work-body { padding: 28px 24px; }
    .work-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
    .folio-list-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
    .folio-list-item:hover { padding-left: 10px; }
    .contact-email { width: 100%; padding: 16px 20px; font-size: 18px; }
    .personal-footer { width: calc(100% - 44px); flex-direction: column; }
    .home-map-section { padding: 64px 22px 76px; }
    .home-contact-map-grid { gap: 52px; }
    .home-map-section .visitor-map-card { width: 100%; margin: 0 auto; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
    .personal-orb { animation: none; }
}

/* Current navigation and standalone-page refinements */
.folio-header {
    min-height: 58px;
    transition: transform .45s var(--folio-ease), background .35s ease, box-shadow .35s ease;
}
.folio-header.is-hidden { transform: translateY(-110%); }
.folio-brand-lockup { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.folio-logo-word {
    color: var(--accent);
    font-family: 'Great Vibes', cursive;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1;
    text-shadow: 0 2px 14px rgba(176, 137, 104, .14);
}
.work-visual-project img { width: 100%; height: 100%; object-fit: contain; background: #fff; filter: none; transition: transform .9s var(--folio-ease); }
.work-card:hover .work-visual-project img { transform: scale(1.04); }
.work-coming-soon {
    position: absolute;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    padding: 6px 10px;
    color: #fffaf3;
    background: rgba(44, 38, 32, .58);
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.publications-hero { padding-top: 178px; }
.standalone-contact-page .contact-section { min-height: calc(100vh - 150px); padding-top: 190px; }
.contact-section h1 { margin: 0; color: var(--folio-text); font-family: var(--folio-display); font-size: clamp(48px, 8vw, 108px); font-weight: 400; line-height: 1.05; letter-spacing: -.025em; }
.contact-section h1 em { color: var(--folio-copper); font-family: var(--folio-serif); font-weight: 400; }
.blogs-hero { padding-top: 178px; }
.blogs-hero h1,
.publications-hero h1,
.blog-article h1 {
    margin: 0;
    color: var(--folio-text);
    font-family: var(--folio-display);
    font-size: clamp(46px, 6vw, 82px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.025em;
}
.blogs-hero h1 em,
.publications-hero h1 em { color: var(--folio-copper); font-family: var(--folio-serif); font-weight: 400; }
.blog-row { color: inherit; text-decoration: none; }
.blog-row:hover h3 { color: var(--folio-copper); }
.blog-article { padding-top: 178px; min-height: calc(100vh - 150px); }
.blog-back { display: inline-block; margin-bottom: 58px; color: var(--folio-muted); font-family: Georgia, "Times New Roman", serif; font-size: 13px; }
.blog-back:hover { color: var(--folio-copper); }
.blog-article-header { max-width: 880px; padding-bottom: 52px; border-bottom: 1px solid var(--folio-line); }
.blog-article-header > p { max-width: 680px; margin: 28px 0 0; color: var(--folio-muted); font-size: 16px; line-height: 1.8; }
.blog-article-copy { max-width: 760px; padding: 54px 0 30px; color: var(--folio-soft); font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.85; }
.blog-article-copy p { margin: 0 0 1.4em; }
.blog-article-copy a { color: var(--folio-copper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }

@media (max-width: 560px) {
    .folio-header { min-height: 54px; }
    .folio-logo-word { font-size: 18px; }
    .publications-hero { padding-top: 132px; }
    .blogs-hero,
    .blog-article { padding-top: 132px; }
    .blog-article h1 { font-size: clamp(40px, 12vw, 58px); }
    .standalone-contact-page .contact-section { padding-top: 140px; }
}
