@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ─────────────────────────────────────────
   WARM EXECUTIVE — Design Tokens
   Espresso · Cream · Coral
───────────────────────────────────────── */
:root {
    --espresso:     #1a0e09;
    --espresso-mid: #2d1810;
    --espresso-soft:#4a3728;
    --coral:        #CC785C;
    --coral-light:  #E8956F;
    --coral-dim:    rgba(204,120,92,0.15);
    --cream:        #f5f0ea;
    --cream-dark:   #ede5d8;
    --white:        #ffffff;
    --text-dark:    #1a0e09;
    --text-mid:     #4a3728;
    --text-soft:    #8a7060;
    --sidenav-w:    190px;
    --banner-h:     50px;
    --mobile-h:     65px;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--cream);
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

h1, h2, h3, h4, h5 {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--espresso);
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--espresso);
}


/* ─────────────────────────────────────────
   MOBILE HEADER  (hidden on desktop ≥800px)
   NOTE: declared FIRST so media query below wins
───────────────────────────────────────── */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--mobile-h);
    border-bottom: 1px solid var(--cream-dark);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: var(--white);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(26,14,9,0.06);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--espresso);
}
.logo span { color: var(--coral); }
.logo .tagline {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-soft);
    margin-top: -2px;
}


/* ─────────────────────────────────────────
   SIDE NAV
───────────────────────────────────────── */
.sidenav {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidenav-w);
    height: 100vh;
    background: var(--espresso);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.25rem 2rem;
    box-shadow: 3px 0 20px rgba(26,14,9,0.18);
    overflow-y: auto;
}

.sidenav-logo a {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    display: block;
    letter-spacing: -0.3px;
}
.sidenav-logo a span { color: var(--coral); }

.sidenav-tagline {
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    margin-top: 5px;
    line-height: 1.4;
    letter-spacing: 0.03em;
}

.sidenav ul {
    list-style: none;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sidenav ul li a {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s;
    letter-spacing: 0.01em;
}

.sidenav ul li a:hover {
    background: rgba(204,120,92,0.15);
    color: var(--coral-light);
}

.sidenav ul li a.active {
    background: rgba(204,120,92,0.18);
    color: var(--coral);
    font-weight: 600;
    border-bottom: none;
}

/* Sidenav bottom accent line */
.sidenav::after {
    content: '';
    display: block;
    margin-top: auto;
    padding-top: 2rem;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), transparent);
    border-radius: 2px;
    opacity: 0.4;
}

.sidenav-close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    padding: 4px;
    line-height: 1;
    transition: color 0.15s;
}
.sidenav-close:hover { color: var(--coral); }

.sidenav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.sidenav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--espresso);
    border-radius: 2px;
}

.sidenav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,14,9,0.5);
    z-index: 999;
}
.sidenav-overlay.open { display: block; }


/* ─────────────────────────────────────────
   FIXED CERT BANNER
───────────────────────────────────────── */
.cert-banner {
    position: fixed;
    top: 0;
    left: var(--sidenav-w);
    right: 0;
    height: var(--banner-h);
    background: linear-gradient(135deg, var(--espresso) 0%, var(--espresso-mid) 100%);
    border-bottom: 1px solid rgba(204,120,92,0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.5rem;
    z-index: 990;
    text-decoration: none;
    box-shadow: 0 2px 16px rgba(204,120,92,0.12);
    transition: background 0.2s;
}
.cert-banner:hover {
    background: linear-gradient(135deg, #251208 0%, #3d2015 100%);
}

.cert-banner-img {
    height: 34px;
    width: auto;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.cert-banner-content {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
    min-width: 0;
}

.cert-banner-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.cert-banner-tags { display: flex; gap: 5px; }

.cert-banner-tag {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--espresso);
    background: var(--coral);
    padding: 2px 7px;
    border-radius: 2px;
    white-space: nowrap;
}

.cert-banner-cta {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--coral);
    white-space: nowrap;
    flex-shrink: 0;
}


/* ─────────────────────────────────────────
   DESKTOP LAYOUT  (≥800px)
───────────────────────────────────────── */
@media (min-width: 800px) {
    .mobile-header { display: none !important; }

    main, .main-content {
        margin-left: var(--sidenav-w);
        margin-top: var(--banner-h);
    }
}


/* ─────────────────────────────────────────
   MOBILE LAYOUT  (<800px)
───────────────────────────────────────── */
@media (max-width: 799px) {
    .sidenav {
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        top: 0;
        z-index: 1100;
    }
    .sidenav.open { transform: translateX(0); }
    .sidenav-close { display: block; }
    .sidenav-toggle { display: flex; }

    .cert-banner {
        left: 0;
        top: var(--mobile-h);
    }

    main, .main-content {
        margin-left: 0;
        margin-top: calc(var(--mobile-h) + var(--banner-h));
    }
}


/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 4rem;
    text-align: center;
    background: var(--espresso);
    position: relative;
    overflow: hidden;
}

/* Subtle warm glow behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(204,120,92,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.profile-container {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 3px solid rgba(204,120,92,0.5);
    box-shadow: 0 0 0 6px rgba(204,120,92,0.08), 0 8px 32px rgba(0,0,0,0.4);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1.5px;
    margin-bottom: 0.6rem;
    line-height: 1.1;
    overflow: unset;
    white-space: normal;
    border-bottom: none;
    border-right: none;
    width: auto;
    opacity: 1;
    animation: none;
    display: inline-block;
}

.hero-content h1 span { color: var(--coral); }

.subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.subtitle-stat {
    color: var(--coral);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Coral rule divider under hero name */
.hero-content h1.typed::after { display: none; }

/* Keyframes kept for fallback */
@keyframes typing {
    from { width: 0 }
    to   { width: 13.5ch }
}
@keyframes blink-caret-h {
    from, to { border-color: transparent }
    50%      { border-color: var(--coral); }
}

.hero-content .subtitle,
.hero-content .hero-buttons {
    opacity: 1;
    transform: none;
    transition: none;
}
.hero-content .subtitle.visible,
.hero-content .hero-buttons.visible {
    opacity: 1;
    transform: none;
}


/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn,
.contact-button {
    background: var(--coral);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn:hover,
.contact-button:hover {
    background: var(--coral-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204,120,92,0.35);
}

.btn.btn-dark {
    background: var(--coral);
    color: var(--white);
}

.btn.btn-light {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn.btn-light:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
    box-shadow: none;
}

.contact-button i, .btn i { opacity: 0.85; }

@media (max-width: 700px) {
    .btn, .contact-button { padding: 10px 20px; font-size: 0.92rem; }
}


/* ─────────────────────────────────────────
   SECTION DIVIDER
───────────────────────────────────────── */
.section-divider {
    width: 40px;
    height: 3px;
    background: var(--coral);
    border-radius: 2px;
    margin: 0 auto 2.5rem;
    opacity: 0.7;
}


/* ─────────────────────────────────────────
   ABOUT SECTION
───────────────────────────────────────── */
.about-sticky {
    position: relative;
    background: var(--white);
    z-index: 2;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 50vh;
}

.about-sticky-container {
    width: 100%;
    max-width: none;
    margin: 0;
    position: relative;
}

.about-sticky-content {
    position: sticky;
    top: calc(var(--banner-h) + 20px);
    background: var(--white);
    padding: 2rem 3vw 2.5rem;
    border-radius: 12px;
    width: 100%;
    max-width: 98vw;
    margin: 0 auto;
}

.about-sticky-content h2 { text-align: left; }

/* Coral left accent on About heading */
.about-sticky-content h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--coral);
    border-radius: 2px;
    margin-right: 12px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-mid);
    margin-bottom: 2rem;
    max-width: 900px;
}

.about-underline-wrapper {
    width: 100%;
    max-width: 900px;
    height: 3px;
    background: var(--cream-dark);
    overflow: hidden;
    margin-top: 0.5rem;
    border-radius: 2px;
}

.about-underline {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--coral-light));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
}


/* ─────────────────────────────────────────
   LOGO STRIP  (social proof below hero)
───────────────────────────────────────── */
.logo-strip {
    background: var(--white);
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
    padding: 2rem 2rem;
    text-align: center;
}

.logo-strip-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 1.25rem;
}

.logo-strip .org-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo-strip .org-logo {
    width: 100px;
    height: 44px;
    object-fit: contain;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
    background: transparent;
    border-radius: 6px;
    padding: 6px 12px;
    box-shadow: none;
    filter: grayscale(100%);
}

.logo-strip .org-logo.visible {
    opacity: 0.55;
    transform: translateY(0);
}

.logo-strip .org-logo:hover {
    opacity: 1 !important;
    filter: grayscale(0%);
    transition: opacity 0.2s, filter 0.2s;
}

@media (max-width: 700px) {
    .logo-strip .org-logo { width: 76px; height: 36px; padding: 4px 8px; }
    .logo-strip .org-logos { gap: 1rem; }
}


/* ─────────────────────────────────────────
   ARCHITECTURE WINS
───────────────────────────────────────── */
.arch-wins {
    padding: 5rem 2rem;
    background: var(--cream);
}

.arch-wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(26,14,9,0.06);
    border-top: 3px solid var(--coral);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(26,14,9,0.1);
}

/* Big stat at the top of each card */
.case-metric {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--cream-dark);
}

.case-metric-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--coral);
    line-height: 1;
    letter-spacing: -2px;
    flex-shrink: 0;
}

.case-metric-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-soft);
    line-height: 1.35;
    max-width: 130px;
}

.case-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral);
    background: var(--coral-dim);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 0.85rem;
}

.case-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--espresso);
    margin-bottom: 1.25rem;
}

.case-row { margin-bottom: 1rem; }

.case-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 0.25rem;
}

.case-row p {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .arch-wins-grid { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────
   SKILLS / EXPERTISE SECTION
───────────────────────────────────────── */
.skills {
    padding: 5rem 2rem;
    background: var(--white);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 860px;
}

.skill-item {
    background: var(--cream);
    padding: 0.6rem 1.1rem;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
    border-left: 3px solid var(--coral);
    transition: all 0.2s ease;
}

.skill-item:hover {
    background: var(--cream-dark);
    transform: translateY(-1px);
}

/* Skill Clusters */
.skill-clusters {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    max-width: 860px;
    margin: 0 auto;
}

.skill-cluster-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--cream-dark);
}


/* ─────────────────────────────────────────
   CREDENTIAL BADGE — ANTHROPIC THEME
───────────────────────────────────────── */
.credential-badge {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 860px;
    margin: 0 auto 2.5rem;
    border-radius: 10px;
    padding: 1.25rem 1.75rem;
}

.anthropic-cred {
    background: linear-gradient(135deg, var(--espresso) 0%, var(--espresso-mid) 60%, var(--espresso) 100%);
    border: 1.5px solid rgba(204,120,92,0.45);
    box-shadow: 0 4px 24px rgba(204,120,92,0.14), inset 0 1px 0 rgba(255,255,255,0.04);
}

.anthropic-cert-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(204,120,92,0.35));
}

.anthropic-cert-icon-link {
    flex-shrink: 0;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 10px rgba(204,120,92,0.3);
}
.anthropic-cert-icon-link:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 18px rgba(204,120,92,0.5);
}
.anthropic-cert-img {
    height: 64px;
    width: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.credential-info { flex: 1; min-width: 0; }

.anthropic-cred .credential-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: -0.2px;
    margin-bottom: 0.4rem;
}

.credential-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.4rem;
}

.cred-tag {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--espresso);
    background: var(--coral);
    padding: 3px 9px;
    border-radius: 3px;
}

.anthropic-cred .credential-sub {
    font-size: 0.78rem;
    color: rgba(204,120,92,0.7);
    margin-top: 0;
}

.credential-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: flex-end;
}

.credential-link {
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    padding-bottom: 1px;
}

.anthropic-verify-link {
    color: var(--coral);
    border-bottom: 1.5px solid rgba(204,120,92,0.4);
}
.anthropic-verify-link:hover {
    color: var(--coral-light);
    border-bottom-color: var(--coral-light);
}

.anthropic-study-link {
    color: rgba(255,255,255,0.45);
    border-bottom: 1.5px solid rgba(255,255,255,0.15);
}
.anthropic-study-link:hover {
    color: rgba(255,255,255,0.75);
    border-bottom-color: rgba(255,255,255,0.4);
}

@media (max-width: 640px) {
    .anthropic-cred {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .credential-tags { justify-content: center; }
    .credential-actions {
        align-items: center;
        flex-direction: row;
        gap: 1rem;
    }
}


/* ─────────────────────────────────────────
   ORGANIZATIONS
───────────────────────────────────────── */
.organizations {
    padding: 5rem 2rem 4rem;
    text-align: center;
    background: var(--cream);
}

.organizations h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.org-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.org-logo {
    width: 120px;
    height: 56px;
    object-fit: contain;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(26,14,9,0.06);
    padding: 10px 18px;
}
.org-logo.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 700px) {
    .org-logo { width: 88px; height: 40px; padding: 6px 8px; }
    .org-logos { gap: 1.25rem; }
}


/* ─────────────────────────────────────────
   FEATURED POSTS / AI THOUGHT LEADERSHIP
───────────────────────────────────────── */
.featured-posts {
    padding: 5rem 2rem;
    background: var(--white);
    /* Contain carousel overflow so prev/next buttons don't cause body scroll */
    overflow: hidden;
}

.carousel-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 44px; /* room for prev/next buttons inside padding, not outside */
    position: relative;
    box-sizing: border-box;
}

.carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden; /* clip slides that are off-screen */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
}

.carousel-slide iframe {
    width: 100%;
    max-width: 700px;
    min-height: 399px;
    border: none;
    background: var(--cream);
    border-radius: 8px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(26,14,9,0.08);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--espresso);
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
}
.carousel-btn:hover { background: var(--cream); opacity: 1; }
/* Buttons sit inside the wrapper padding */
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
    text-align: center;
    margin-top: 1.5rem;
}

.carousel-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 5px;
    background: var(--cream-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.carousel-dot.active { background: var(--coral); }

@media (max-width: 900px) {
    .carousel-wrapper { padding: 0 36px; }
    .carousel-slide iframe { max-width: 100%; min-height: 340px; height: 340px; }
}


/* ─────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────── */
.contact {
    padding: 5rem 2rem;
    background: var(--espresso);
    text-align: center;
}

.contact h2 { color: var(--white); }

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.2s ease;
}
.contact-button:hover {
    background: rgba(204,120,92,0.15);
    border-color: rgba(204,120,92,0.5);
    color: var(--coral-light);
    transform: translateY(-2px);
    box-shadow: none;
}


/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--espresso);
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
}


/* ─────────────────────────────────────────
   ALTERNATING SECTION BG UTILITY
───────────────────────────────────────── */
.alt-bg { background: var(--cream); }


/* ─────────────────────────────────────────
   FADE-IN ANIMATIONS
───────────────────────────────────────── */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.4,0,0.2,1), transform 1s cubic-bezier(0.4,0,0.2,1);
}
.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

section {
    opacity: 0;
    transform: translateY(30px) scale(0.99);
    transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
    will-change: opacity, transform;
}
section.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skills/Featured/Contact fade helpers */
.skills.fade-in-section,
.featured-posts.fade-in-section,
.contact.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.4,0,0.2,1), transform 1s cubic-bezier(0.4,0,0.2,1);
}
.skills.fade-in-section.visible,
.featured-posts.fade-in-section.visible,
.contact.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}
