/* Tokens */
:root {
    --background: #0f1216;
    --surface: #171b21;
    --surface-light: #1e242d;
    --foreground: #f4f1ea;
    --foreground-muted: #c4bfb3;
    --border: #2d3440;
    --brand-orange: #d6a85f;
    --brand-cyan: #7fb8a4;
    --brand-purple: #5e6d85;
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Source Serif 4', serif;
    --font-mono: 'Fira Code', monospace;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global Document */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background:
        radial-gradient(1200px 700px at 15% -5%, rgba(214, 168, 95, 0.1), transparent 50%),
        radial-gradient(900px 600px at 100% 30%, rgba(127, 184, 164, 0.08), transparent 55%),
        linear-gradient(180deg, #11161d 0%, var(--background) 50%, #101419 100%);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

body.lightbox-open {
    overflow: hidden;
}

::selection {
    background-color: var(--brand-orange);
    color: #11161d;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #11161d; }
::-webkit-scrollbar-thumb { background: #3a4350; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4e5a6b; }

/* Background Layers */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 70px 70px;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 85%);
}

.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}
.gradient-orb-1 {
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(214, 168, 95, 0.5) 0%, transparent 70%);
    top: -280px;
    right: -220px;
}
.gradient-orb-2 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(127, 184, 164, 0.4) 0%, transparent 75%);
    bottom: 8%;
    left: -180px;
}

/* Top Navigation */
.nav {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.1rem;
    padding: 0.7rem 1.4rem;
    background: rgba(23, 27, 33, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    z-index: 50;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 1s;
}

.nav a {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--foreground-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav a:hover { color: var(--brand-orange); }

@media (max-width: 640px) {
    .nav {
        width: calc(100% - 1.5rem);
        justify-content: center;
        gap: 0.8rem;
        padding: 0.65rem 0.75rem;
    }
    .nav a {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 1.5rem;
    z-index: 1;
}

.hero-container {
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-content { order: 2; }
@media (min-width: 1024px) { .hero-content { order: 1; } }

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-cyan);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--foreground);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.35s;
}

.hero-title span {
    background: linear-gradient(135deg, #f8f5ef 0%, #d8be91 55%, #bac9bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: #dad4c8;
    margin-top: 1.5rem;
    max-width: 28rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--foreground-muted);
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.65s;
}

.hero-scroll:hover {
    color: var(--brand-orange);
}

.hero-scroll span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-scroll svg { opacity: 0.8; }

.hero-image-wrapper {
    order: 1;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.3s;
}

@media (min-width: 1024px) { .hero-image-wrapper { order: 2; } }

.hero-image-container {
    position: relative;
    height: 50vh;
    width: 100%;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid #465366;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    background: #11161d;
}

@media (min-width: 768px) { .hero-image-container { height: 60vh; } }
@media (min-width: 1024px) { .hero-image-container { height: 70vh; } }

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75) contrast(1.05) brightness(0.9);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-container:hover .hero-image {
    filter: saturate(0.95) contrast(1.08) brightness(0.95);
    transform: scale(1.03);
}

.hero-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background) 0%, transparent 40%);
    pointer-events: none;
}

/* Biography */
.bio {
    position: relative;
    padding: 6rem 1.5rem;
    z-index: 1;
}

@media (min-width: 768px) { .bio { padding: 8rem 3rem; } }

.bio-container {
    max-width: 58rem;
    margin: 0 auto;
    text-align: center;
}

.bio-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-orange);
    margin-bottom: 2rem;
}

.bio-text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.45;
    color: var(--foreground);
    font-weight: 400;
    max-width: 40rem;
    margin: 0 auto;
}

.bio-text-secondary {
    font-family: var(--font-body);
    font-size: 1.08rem;
    color: var(--foreground-muted);
    line-height: 1.9;
    margin-top: 1rem;
    font-weight: 400;
    text-align: left;
    max-width: none;
}

.bio-copy {
    position: relative;
    margin-top: 1.5rem;
    max-width: 54rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.6rem 1.4rem;
    background: linear-gradient(165deg, rgba(27, 33, 41, 0.95) 0%, rgba(18, 23, 31, 0.98) 100%);
    border: 1px solid #465366;
    border-radius: 1rem;
    box-shadow:
        0 28px 55px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -18px 26px rgba(0, 0, 0, 0.2);
    transform: perspective(1300px) rotateX(2deg) rotateY(-2deg);
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.bio-copy .bio-text-secondary:first-child {
    margin-top: 0;
}

.bio-link-line {
    margin-top: 1.25rem;
}

.bio-link {
    color: #e6c58f;
    text-decoration: none;
    border-bottom: 1px solid rgba(230, 197, 143, 0.45);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.bio-link:hover {
    color: #f3d8a8;
    border-bottom-color: rgba(243, 216, 168, 0.95);
}

.bio-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(214, 168, 95, 0.16), transparent 45%, rgba(127, 184, 164, 0.1));
    opacity: 0.7;
    pointer-events: none;
}

.bio-copy::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -18px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    filter: blur(14px);
    z-index: -1;
    pointer-events: none;
}

.bio-copy:hover {
    transform: perspective(1300px) rotateX(0deg) rotateY(0deg) translateY(-3px);
    border-color: #5f6f84;
    box-shadow:
        0 34px 62px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -22px 30px rgba(0, 0, 0, 0.22);
}

.bio-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 50%, transparent 100%);
    margin: 1.75rem auto 0;
}

@media (min-width: 1024px) {
    .bio-copy .bio-text-secondary {
        break-inside: avoid;
    }
}

@media (max-width: 767px) {
    .bio {
        padding: 5rem 1.25rem;
    }
    .bio-text-secondary {
        font-size: 0.98rem;
        line-height: 1.75;
    }
    .bio-copy {
        padding: 1.25rem 1rem;
        transform: none;
    }
    .bio-copy:hover {
        transform: none;
    }
}

/* Gallery */
.gallery {
    position: relative;
    padding: 5rem 1.5rem 2rem;
    z-index: 1;
}

.gallery-shell {
    max-width: 76rem;
    margin: 0 auto;
}

.gallery-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand-cyan);
    margin-bottom: 1rem;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.gallery-intro {
    max-width: 50rem;
    color: var(--foreground-muted);
    font-size: 1.06rem;
    line-height: 1.75;
}

.gallery-meta {
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b7b0a3;
}

.gallery-stage {
    position: relative;
    margin-top: 1.6rem;
    border: 1px solid #4b586b;
    border-radius: 1rem;
    overflow: hidden;
    background: #121821;
    box-shadow:
        0 34px 68px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -20px 28px rgba(0, 0, 0, 0.22);
}

.gallery-image {
    width: 100%;
    height: clamp(320px, 65vh, 680px);
    object-fit: cover;
    display: block;
    filter: saturate(0.92) contrast(1.03);
    cursor: zoom-in;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(14, 19, 26, 0.64);
    color: #f4f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.gallery-prev { left: 0.9rem; }
.gallery-next { right: 0.9rem; }

.gallery-nav:hover {
    background: rgba(214, 168, 95, 0.25);
    border-color: rgba(214, 168, 95, 0.88);
}

.gallery-nav:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.gallery-caption {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    background: rgba(21, 27, 35, 0.92);
    display: grid;
    gap: 0.35rem;
}

.gallery-album-name {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-cyan);
}

.gallery-image-title {
    color: var(--foreground);
    font-size: 1rem;
    line-height: 1.6;
}

.gallery-open-link {
    color: #e6c58f;
    text-decoration: none;
    border-bottom: 1px solid rgba(230, 197, 143, 0.45);
    width: fit-content;
}

.gallery-open-link:hover {
    color: #f3d8a8;
    border-bottom-color: rgba(243, 216, 168, 0.95);
}

.gallery-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.gallery-fullscreen-btn {
    border: 1px solid rgba(214, 168, 95, 0.58);
    border-radius: 999px;
    background: rgba(214, 168, 95, 0.12);
    color: #f2ddbb;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.34rem 0.6rem;
    cursor: pointer;
}

.gallery-fullscreen-btn:hover {
    background: rgba(214, 168, 95, 0.24);
    border-color: rgba(214, 168, 95, 0.88);
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 10, 14, 0.94);
    z-index: 2000;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-image {
    width: min(92vw, 1400px);
    height: min(82vh, 920px);
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.lightbox-nav,
.lightbox-close {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(14, 19, 26, 0.7);
    color: #f4f1ea;
    cursor: pointer;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 1.1rem; }
.lightbox-next { right: 1.1rem; }

.lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover,
.lightbox-close:hover {
    background: rgba(214, 168, 95, 0.25);
    border-color: rgba(214, 168, 95, 0.88);
}

.lightbox-caption {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
    width: min(92vw, 900px);
    background: rgba(16, 22, 30, 0.82);
    border: 1px solid rgba(76, 89, 108, 0.7);
    border-radius: 0.7rem;
    padding: 0.65rem 0.85rem;
    text-align: center;
}

.lightbox-album {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-cyan);
}

.lightbox-title {
    margin-top: 0.3rem;
    color: var(--foreground);
    font-size: 0.95rem;
}

.gallery-strip {
    margin-top: 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84px;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
}

.gallery-thumb {
    border: 1px solid #3d4654;
    border-radius: 0.5rem;
    background: #141a23;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
}

.gallery-thumb img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    display: block;
}

.gallery-thumb.is-active {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 2px rgba(214, 168, 95, 0.3);
}

.gallery-albums {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gallery-album-btn {
    border: 1px solid #3d4654;
    border-radius: 999px;
    background: rgba(23, 27, 33, 0.88);
    color: var(--foreground-muted);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.42rem 0.68rem;
    cursor: pointer;
}

.gallery-album-btn:hover,
.gallery-album-btn.is-active {
    border-color: rgba(214, 168, 95, 0.8);
    color: #f2ddbb;
    background: rgba(214, 168, 95, 0.12);
}

@media (max-width: 767px) {
    .gallery {
        padding: 4rem 1.25rem 2rem;
    }
    .gallery-image {
        height: 300px;
    }
    .gallery-nav {
        width: 2.2rem;
        height: 2.2rem;
    }
    .lightbox-nav {
        width: 2.4rem;
        height: 2.4rem;
    }
    .lightbox-prev { left: 0.6rem; }
    .lightbox-next { right: 0.6rem; }
    .lightbox-close {
        top: 0.6rem;
        right: 0.6rem;
    }
    .lightbox-title {
        font-size: 0.9rem;
    }
}

/* Blog Portal */
.blog-portal {
    position: relative;
    padding: 3rem 1.5rem;
    z-index: 1;
}

@media (min-width: 768px) { .blog-portal { padding: 4rem 3rem; } }

.blog-link {
    display: block;
    max-width: 80rem;
    margin: 0 auto;
    text-decoration: none;
}

.blog-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.2rem;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #465366;
    background: linear-gradient(165deg, rgba(27, 33, 41, 0.94) 0%, rgba(18, 23, 31, 0.98) 100%);
    box-shadow:
        0 30px 58px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -20px 28px rgba(0, 0, 0, 0.2);
    transform: perspective(1400px) rotateX(2deg) rotateY(2deg);
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(214, 168, 95, 0.14), transparent 45%, rgba(127, 184, 164, 0.1));
    opacity: 0.65;
    pointer-events: none;
    z-index: 2;
}

.blog-card::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -18px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    filter: blur(14px);
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 768px) { .blog-card { height: 550px; } }

.blog-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
    filter: brightness(0.58) saturate(0.72);
}

.blog-link:hover .blog-card {
    transform: perspective(1400px) rotateX(0deg) rotateY(0deg) translateY(-4px);
    border-color: #5f6f84;
    box-shadow:
        0 36px 66px rgba(0, 0, 0, 0.39),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -24px 32px rgba(0, 0, 0, 0.22);
}

.blog-link:hover .blog-bg {
    transform: scale(1.05);
    filter: brightness(0.64) saturate(0.82);
}

.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 14, 18, 0.86) 0%, rgba(10, 14, 18, 0.5) 60%, rgba(10, 14, 18, 0.3) 100%);
    transition: background 0.5s ease;
    z-index: 1;
}

.blog-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 1.5rem;
}

.blog-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #c9d7cf;
    margin-bottom: 1rem;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.blog-description {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(244, 241, 234, 0.86);
    max-width: 28rem;
    margin: 0 auto 2rem;
    font-weight: 400;
    line-height: 1.8;
}

.blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: rgba(214, 168, 95, 0.12);
    border: 1px solid rgba(214, 168, 95, 0.58);
    border-radius: 0.6rem;
    color: #f5efe3;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.blog-link:hover .blog-cta {
    background: rgba(214, 168, 95, 0.25);
    color: #fff8ec;
    border-color: rgba(214, 168, 95, 0.85);
}

@media (max-width: 767px) {
    .blog-card {
        transform: none;
    }
    .blog-link:hover .blog-card {
        transform: translateY(-2px);
    }
}

/* Contact */
.contact {
    position: relative;
    background: linear-gradient(180deg, rgba(23, 27, 33, 0.97) 0%, rgba(19, 24, 31, 0.97) 100%);
    border-radius: 1.4rem 1.4rem 0 0;
    padding: 6rem 1.5rem;
    margin-top: 4rem;
    z-index: 1;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) { .contact { padding: 8rem 3rem; } }

.contact-container { text-align: center; }

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--foreground-muted);
    margin-bottom: 1.5rem;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.contact-form {
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--foreground);
    background: #121821;
    border: 1px solid #3a4452;
    border-radius: 0.65rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--foreground-muted);
    opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(214, 168, 95, 0.18);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    padding: 0.875rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #131922;
    background: var(--brand-orange);
    border: 1px solid #e5c18a;
    border-radius: 0.65rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #e2b877;
    transform: translateY(-1px);
}

.contact-author-link {
    margin-top: 1.4rem;
    color: var(--foreground-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.contact-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-copyright {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a8a093;
    opacity: 0.8;
}

/* Motion */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* Reveal Utilities */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

