/* ══════════════════════════════════════════
   ANDRAE TIRON PORTFOLIO — CLEAN & MINIMAL
   Ultra-simple, spacious, modern design
══════════════════════════════════════════ */

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

:root {
    --bg: #FEFCF7;
    --bg-alt: #FAF8F4;
    --text: #1A1A1A;
    --text-light: #666;
    --border: #E8E3DB;
    --accent: #1A1A1A;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* ── CURSOR ── */
.cursor, .cursor-follower { display: none; }

/* ── NAVIGATION ── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 6%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 500;
    background: transparent;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(254, 252, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 20px 6%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--text);
}

.nav-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.nav-active {
    color: var(--text);
}

.nav-cta {
    padding: 10px 22px;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── HERO SECTION ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 6% 60px;
    gap: 32px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--text);
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 20px 0;
    max-width: 900px;
}

.outline-text {
    -webkit-text-stroke: 1px var(--text);
    color: transparent;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.8;
}

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

.btn-primary {
    padding: 14px 32px;
    background: var(--text);
    color: var(--bg);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.btn-ghost {
    padding: 14px 32px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-ghost:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

/* ── MARQUEE ── */
.marquee-wrap {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
    padding: 16px 0;
    overflow: hidden;
    margin: 40px 0;
}

.marquee-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
}

.marquee-dot {
    color: var(--text) !important;
    font-size: 0.5rem !important;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
section {
    padding: 80px 6%;
}

.section-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 16px;
    display: block;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

/* ── TOOLS SECTION ── */
.about-section {
    background: var(--bg-alt);
}

.tools-highlight {
    max-width: 1000px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.brand-tag {
    display: inline-block;
    padding: 10px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    text-align: center;
}

/* ── PORTFOLIO GALLERY ── */
.portfolio-gallery {
    margin-bottom: 80px;
}

.gallery-branding {
    margin-bottom: 40px;
    text-align: center;
}

.branding-title {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin: 12px 0 8px;
}

.branding-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.3s; }

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ── VIDEO SECTION ── */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    justify-items: center;
}

.video-card {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
    width: 100%;
    max-width: 300px;
}

.video-card:nth-child(1) { animation-delay: 0s; }
.video-card:nth-child(2) { animation-delay: 0.1s; }
.video-card:nth-child(3) { animation-delay: 0.2s; }

.video-wrap {
    position: relative;
    border-radius: 4px;
    background: var(--bg-alt);
    overflow: hidden;
}

.video-wrap video {
    width: 100%;
    height: auto;
    display: block;
}

.video-card-info {
    padding: 16px 0;
}

.video-card-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
}

.video-card-meta {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ── SERVICE CARDS ── */
.services-list {
    padding: 60px 6%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 32px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 4px;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }

.service-card-num {
    display: block;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ── PROCESS SECTION ── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.process-step {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0s; }
.process-step:nth-child(2) { animation-delay: 0.1s; }
.process-step:nth-child(3) { animation-delay: 0.2s; }
.process-step:nth-child(4) { animation-delay: 0.3s; }
.process-step:nth-child(5) { animation-delay: 0.4s; }
.process-step:nth-child(6) { animation-delay: 0.5s; }
.process-step:nth-child(7) { animation-delay: 0.6s; }

.process-num {
    display: block;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

.process-step h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ── FOOTER ── */
footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 80px 6%;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    margin-bottom: 60px;
}

.footer-cta {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-email {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.3s ease;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text);
}

.footer-copy {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    flex-wrap: wrap;
    gap: 16px;
}

/* ── NOISE GRAIN ── */
.noise {
    display: none;
}

/* ── MOBILE MENU ── */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-right {
        position: fixed;
        left: 0;
        top: 60px;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--bg);
        flex-direction: column;
        gap: 0;
        padding: 40px 6%;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid var(--border);
    }

    .nav-right.open {
        transform: translateX(0);
    }

    .nav-link {
        padding: 16px 0;
        display: block;
        font-size: 0.95rem;
    }

    section {
        padding: 60px 6%;
    }

    .hero {
        padding: 120px 6% 40px;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}