/* Theme: Vintage - Day 22 (Letter V): Inspired by antique typography, aged paper, classic book bindings, retro postcards, heritage craftsmanship, nostalgic aesthetics, timeless elegance, sepia tones, ornate details, historical design */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Libre+Baskerville:wght@400;700&family=Lato:wght@300;400;700&display=swap');

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    font-family: 'Crimson Text', serif;
    font-size: 19.5px;
    line-height: 1.85;
    color: #3d2817;
    background: linear-gradient(145deg, #faf8f3 0%, #f5f1e8 25%, #ebe5d6 50%, #f2ede2 75%, #fdfbf7 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 22%, rgba(139, 101, 56, 0.042) 0%, transparent 55%),
        radial-gradient(circle at 85% 78%, rgba(165, 115, 58, 0.038) 0%, transparent 58%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="none"/><path d="M0 0 L100 100 M100 0 L0 100" stroke="rgba(139,101,56,0.018)" stroke-width="0.5"/></svg>');
    background-size: 180px 180px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

#topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 243, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 3px double rgba(139, 101, 56, 0.25);
    box-shadow: 0 4px 28px rgba(61, 40, 23, 0.08);
    transition: all 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}

#topnav.scrolled {
    background: rgba(250, 248, 243, 0.98);
    box-shadow: 0 8px 38px rgba(61, 40, 23, 0.14);
    border-bottom-color: rgba(139, 101, 56, 0.42);
}

.nav-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 4.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 92px;
}

.logo h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.95rem;
    font-weight: 700;
    color: #3d2817;
    margin: 0;
    letter-spacing: 2.8px;
    position: relative;
    padding-left: 3.65rem;
    text-transform: uppercase;
}

.logo h1::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.15rem;
    color: #8b6538;
    animation: vintageShimmer 5.5s ease-in-out infinite;
}

@keyframes vintageShimmer {
    0%, 100% {
        opacity: 0.75;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.15);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.35rem;
}

.nav-menu li a {
    display: block;
    padding: 0.95rem 2.15rem;
    color: #3d2817;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 1.85px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    border: 2px solid transparent;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(139, 101, 56, 0.08);
    transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #8b6538;
    transition: width 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    width: 100%;
    height: 100%;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: calc(100% - 4.3rem);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #8b6538;
    border-color: rgba(139, 101, 56, 0.22);
}

.mobile-toggle {
    display: none;
    background: #8b6538;
    border: 2px solid #6d4e2b;
    color: #faf8f3;
    font-size: 1.75rem;
    width: 58px;
    height: 58px;
    cursor: pointer;
    transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 28px rgba(139, 101, 56, 0.32);
}

.mobile-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 38px rgba(139, 101, 56, 0.45);
    background: #6d4e2b;
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 165px 0 125px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -45%;
    right: -28%;
    width: 950px;
    height: 950px;
    background: radial-gradient(circle, rgba(139, 101, 56, 0.095) 0%, transparent 65%);
    animation: vintageFloat 55s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -42%;
    left: -25%;
    width: 880px;
    height: 880px;
    background: radial-gradient(circle, rgba(165, 115, 58, 0.085) 0%, transparent 65%);
    animation: vintageFloat 65s ease-in-out infinite reverse;
}

@keyframes vintageFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.68;
    }
    50% {
        transform: translate(65px, -55px) rotate(5deg);
        opacity: 0.92;
    }
}

.hero-content {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 4.2rem;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 8.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: vintageReveal 1.55s cubic-bezier(0.4, 0, 0.2, 1) 0s both;
}

@keyframes vintageReveal {
    0% {
        opacity: 0;
        transform: translateY(75px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 6.15rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 3.25rem;
    color: #3d2817;
    letter-spacing: -1.55px;
}

.hero-text h1 br {
    display: block;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: #5a4028;
    margin-bottom: 4.65rem;
    line-height: 1.72;
    font-weight: 400;
    letter-spacing: 0.65px;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 2.65rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1.55rem 4.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.48s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    letter-spacing: 2.15px;
    font-family: 'Lato', sans-serif;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    border: 3px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.18);
    transition: left 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #8b6538;
    color: #faf8f3;
    box-shadow: 0 14px 48px rgba(139, 101, 56, 0.35);
    border-color: #6d4e2b;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 62px rgba(139, 101, 56, 0.48);
    background: #6d4e2b;
}

.btn-secondary {
    background: rgba(250, 248, 243, 0.98);
    color: #8b6538;
    border: 3px solid #8b6538;
    box-shadow: 0 12px 42px rgba(139, 101, 56, 0.25);
}

.btn-secondary:hover {
    background: #8b6538;
    color: #faf8f3;
    transform: translateY(-5px);
    box-shadow: 0 18px 52px rgba(139, 101, 56, 0.38);
}

.hero-image {
    animation: vintageReveal 1.55s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}

.profile-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    padding: 3.25rem;
    box-shadow: 
        inset 0 0 0 3px rgba(139, 101, 56, 0.18),
        0 28px 85px rgba(61, 40, 23, 0.18);
    transition: all 0.58s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 12px solid #faf8f3;
    outline: 2px solid rgba(139, 101, 56, 0.35);
}

.profile-card::before {
    content: '◆';
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.85rem;
    color: #8b6538;
    background: #faf8f3;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(139, 101, 56, 0.35);
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid rgba(139, 101, 56, 0.12);
    pointer-events: none;
}

.profile-card:hover {
    transform: translateY(-15px) scale(1.022);
    box-shadow: 
        inset 0 0 0 3px rgba(139, 101, 56, 0.32),
        0 38px 115px rgba(61, 40, 23, 0.26);
}

.profile-card img {
    width: 100%;
    margin-bottom: 2.85rem;
    box-shadow: 0 22px 65px rgba(61, 40, 23, 0.22);
    border: 8px solid #faf8f3;
    outline: 2px solid rgba(139, 101, 56, 0.28);
    position: relative;
    z-index: 1;
}

.profile-details h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.15rem;
    margin-bottom: 1.15rem;
    color: #3d2817;
    font-weight: 700;
    letter-spacing: -0.45px;
}

.profile-details p {
    color: #5a4028;
    margin-bottom: 2.85rem;
    line-height: 1.72;
    font-weight: 400;
}

.social-links a {
    display: inline-block;
    padding: 1.42rem 3.65rem;
    background: #a5733a;
    color: #faf8f3;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2.15px;
    transition: all 0.48s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 14px 48px rgba(165, 115, 58, 0.35);
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    border: 3px solid #8b6538;
}

.social-links a:hover {
    background: #8b6538;
    transform: translateY(-4px);
    box-shadow: 0 20px 58px rgba(165, 115, 58, 0.48);
}

section {
    padding: 135px 0;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 4.2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 7.25rem;
    position: relative;
}

.section-header::before {
    content: '◆  ◆  ◆';
    position: absolute;
    top: -62px;
    left: 50%;
    transform: translateX(-50%);
    color: #8b6538;
    font-size: 1.35rem;
    letter-spacing: 2.85rem;
    opacity: 0.62;
}

.section-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 5.45rem;
    font-weight: 700;
    line-height: 1.18;
    color: #3d2817;
    letter-spacing: -0.95px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 155px;
    height: 3px;
    background: #8b6538;
}

.section-header h2::before {
    content: '';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 3px;
    background: #a5733a;
}

#experience {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(18px);
}

.timeline {
    position: relative;
    max-width: 1380px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 325px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: repeating-linear-gradient(
        to bottom,
        #8b6538 0px,
        #8b6538 15px,
        transparent 15px,
        transparent 25px
    );
}

.timeline-item {
    display: grid;
    grid-template-columns: 645px 1fr;
    gap: 7.25rem;
    margin-bottom: 6.85rem;
    position: relative;
}

.timeline-year {
    font-family: 'Libre Baskerville', serif;
    font-size: 7.65rem;
    font-weight: 700;
    color: rgba(139, 101, 56, 0.18);
    position: relative;
    z-index: 2;
    text-align: right;
    padding-right: 6.85rem;
    letter-spacing: -3.25px;
}

.timeline-year::after {
    content: '◆';
    position: absolute;
    right: -125px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf8f3;
    color: #8b6538;
    font-size: 1.85rem;
    border: 3px solid #8b6538;
    box-shadow: 
        0 0 0 8px rgba(250, 248, 243, 1),
        0 0 0 12px rgba(139, 101, 56, 0.28);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    padding: 3.85rem;
    transition: all 0.52s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 22px 72px rgba(61, 40, 23, 0.14);
    position: relative;
    border: 8px solid #faf8f3;
    outline: 2px solid rgba(139, 101, 56, 0.28);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    border: 1px solid rgba(139, 101, 56, 0.12);
    pointer-events: none;
}

.timeline-content:hover {
    transform: translateX(18px);
    box-shadow: 0 32px 95px rgba(61, 40, 23, 0.22);
    outline-color: rgba(139, 101, 56, 0.48);
    background: rgba(255, 255, 255, 0.96);
}

.timeline-content h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.85rem;
    margin-bottom: 0.95rem;
    color: #3d2817;
    font-weight: 700;
    letter-spacing: -0.38px;
}

.timeline-content h4 {
    color: #8b6538;
    font-size: 1.45rem;
    margin-bottom: 2.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.55px;
    font-family: 'Lato', sans-serif;
}

.timeline-content p {
    color: #5a4028;
    line-height: 1.85;
    margin: 0;
}

.timeline-content a {
    color: #a5733a;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content a:hover {
    border-bottom-color: #a5733a;
    color: #8b6538;
}

#ai {
    background: rgba(245, 241, 232, 0.58);
    backdrop-filter: blur(18px);
}

.ai-projects {
    display: grid;
    gap: 4.95rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    padding: 4.95rem;
    transition: all 0.52s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 24px 78px rgba(61, 40, 23, 0.15);
    border: 12px solid #faf8f3;
    outline: 2px solid rgba(139, 101, 56, 0.32);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid rgba(139, 101, 56, 0.12);
    pointer-events: none;
}

.project-card::after {
    content: '◆';
    position: absolute;
    top: -28px;
    right: 55px;
    font-size: 2.85rem;
    color: #8b6538;
    background: #faf8f3;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(139, 101, 56, 0.35);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 38px 105px rgba(61, 40, 23, 0.22);
    background: rgba(255, 255, 255, 0.96);
    outline-color: rgba(139, 101, 56, 0.52);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 2.45rem;
    margin-bottom: 1.85rem;
}

.project-header h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.85rem;
    color: #3d2817;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.65px;
}

.project-client {
    color: #8b6538;
    font-weight: 700;
    font-size: 1.42rem;
    margin-bottom: 3.15rem;
    text-transform: uppercase;
    letter-spacing: 1.75px;
    font-family: 'Lato', sans-serif;
}

.project-card > p {
    color: #5a4028;
    line-height: 1.85;
    margin-bottom: 3.65rem;
}

.project-impact {
    background: rgba(139, 101, 56, 0.075);
    padding: 2.75rem;
    color: #3d2817;
    line-height: 1.85;
    border: 3px double rgba(139, 101, 56, 0.28);
    position: relative;
}

.project-impact::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    border: 1px solid rgba(139, 101, 56, 0.12);
    pointer-events: none;
}

.project-impact strong {
    color: #a5733a;
    font-weight: 700;
}

#speaking {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(18px);
}

.speaking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4.95rem;
}

.year-section {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
    padding: 4.15rem;
    transition: all 0.52s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 22px 72px rgba(61, 40, 23, 0.14);
    position: relative;
    border: 8px solid #faf8f3;
    outline: 2px solid rgba(139, 101, 56, 0.28);
}

.year-section::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    border: 1px solid rgba(139, 101, 56, 0.12);
    pointer-events: none;
}

.year-section:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 95px rgba(61, 40, 23, 0.22);
    outline-color: rgba(139, 101, 56, 0.48);
    background: rgba(255, 255, 255, 0.96);
}

.year-section h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 4.95rem;
    margin-bottom: 3.65rem;
    color: #3d2817;
    text-align: center;
    padding-bottom: 2.75rem;
    border-bottom: 3px double rgba(139, 101, 56, 0.28);
    font-weight: 700;
    letter-spacing: -0.75px;
    position: relative;
}

.year-section h3::after {
    content: '◆';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    color: #8b6538;
    font-size: 1.55rem;
    background: #faf8f3;
    padding: 0 12px;
}

.year-section.books {
    grid-column: span 2;
    background: #8b6538;
    outline-color: #6d4e2b;
}

.year-section.books::before {
    border-color: rgba(250, 248, 243, 0.18);
}

.year-section.books h3 {
    color: #faf8f3;
    border-bottom-color: rgba(250, 248, 243, 0.32);
}

.year-section.books h3::after {
    color: #faf8f3;
    background: #8b6538;
}

.achievements {
    list-style: none;
}

.achievements li {
    padding: 1.95rem 0;
    color: #5a4028;
    border-bottom: 1px solid rgba(61, 40, 23, 0.095);
    line-height: 1.85;
    position: relative;
    padding-left: 3.25rem;
}

.achievements li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 1.95rem;
    color: #8b6538;
    font-size: 1.35rem;
}

.year-section.books .achievements li {
    color: rgba(250, 248, 243, 0.96);
    border-bottom-color: rgba(250, 248, 243, 0.22);
}

.year-section.books .achievements li::before {
    color: #faf8f3;
}

.achievements li:last-child {
    border-bottom: none;
}

.achievements strong {
    color: #3d2817;
    font-weight: 700;
}

.year-section.books .achievements strong {
    color: #faf8f3;
}

#personal {
    background: rgba(245, 241, 232, 0.58);
    backdrop-filter: blur(18px);
}

#contact {
    background: rgba(139, 101, 56, 0.055);
    backdrop-filter: blur(18px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(32px);
    padding: 8.15rem 7.25rem;
    text-align: center;
    box-shadow: 0 38px 115px rgba(61, 40, 23, 0.18);
    max-width: 1380px;
    margin: 0 auto;
    border: 12px solid #faf8f3;
    outline: 2px solid rgba(139, 101, 56, 0.32);
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid rgba(139, 101, 56, 0.12);
    pointer-events: none;
}

.contact-card::after {
    content: '◆';
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.85rem;
    color: #8b6538;
    background: #faf8f3;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(139, 101, 56, 0.35);
}

.contact-card h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 6.15rem;
    margin-bottom: 3.65rem;
    color: #3d2817;
    font-weight: 700;
    letter-spacing: -0.95px;
    text-transform: uppercase;
}

.contact-card > p {
    font-size: 1.65rem;
    color: #5a4028;
    line-height: 1.85;
    margin-bottom: 6.15rem;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3.65rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 2.15rem;
    padding: 2.15rem 4.95rem;
    background: #8b6538;
    color: #faf8f3;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2.15px;
    transition: all 0.48s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 22px 72px rgba(139, 101, 56, 0.38);
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    border: 3px solid #6d4e2b;
}

.contact-link:hover {
    background: #6d4e2b;
    transform: translateY(-6px);
    box-shadow: 0 32px 92px rgba(139, 101, 56, 0.52);
}

.contact-link .icon {
    font-size: 2.55rem;
}

#footer {
    background: #3d2817;
    padding: 6.15rem 0;
    text-align: center;
    color: rgba(250, 248, 243, 0.72);
    border-top: 3px double rgba(139, 101, 56, 0.45);
}

#footer a {
    color: #a5733a;
    text-decoration: none;
    transition: color 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
}

#footer a:hover {
    color: #8b6538;
}

@media screen and (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 6.25rem;
        text-align: center;
    }

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

    .hero-image {
        max-width: 645px;
        margin: 0 auto;
    }

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

    .year-section.books {
        grid-column: span 1;
    }
}

@media screen and (max-width: 900px) {
    .nav-container {
        padding: 0 3.15rem;
        height: 82px;
    }

    html {
        scroll-padding-top: 82px;
    }

    .nav-menu {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 243, 0.98);
        backdrop-filter: blur(22px);
        flex-direction: column;
        padding: 4.15rem;
        gap: 0;
        box-shadow: 0 32px 82px rgba(61, 40, 23, 0.18);
        transform: translateY(-150%);
        transition: transform 0.58s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 3px double rgba(139, 101, 56, 0.32);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 1.65rem;
        border-bottom: 1px solid rgba(61, 40, 23, 0.095);
    }

    .nav-menu li a::after {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 4.85rem;
    }

    .section-header h2 {
        font-size: 4.25rem;
    }

    .timeline::before {
        left: 52px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 4.15rem;
        margin-bottom: 6.85rem;
        padding-left: 8.95rem;
    }

    .timeline-year {
        text-align: left;
        padding-right: 0;
    }

    .timeline-year::after {
        left: -125px;
        right: auto;
    }

    .contact-card {
        padding: 6.55rem 5.25rem;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 0 2.75rem;
    }

    .nav-container {
        padding: 0 2.75rem;
        height: 75px;
    }

    html {
        scroll-padding-top: 75px;
    }

    #hero {
        padding: 142px 0 108px;
    }

    .hero-text h1 {
        font-size: 3.75rem;
    }

    .hero-subtitle {
        font-size: 1.45rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 108px 0;
    }

    .section-header {
        margin-bottom: 6.25rem;
    }

    .section-header h2 {
        font-size: 3.45rem;
    }

    .profile-card {
        padding: 2.75rem;
    }

    .timeline-item {
        padding-left: 6.75rem;
    }

    .timeline-content {
        padding: 3.15rem;
    }

    .project-card {
        padding: 4.15rem 3.15rem;
    }

    .contact-card {
        padding: 5.75rem 3.15rem;
    }

    .contact-card h2 {
        font-size: 4.65rem;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-link {
        justify-content: center;
        padding: 1.65rem 3.15rem;
        font-size: 1.02rem;
    }
}