*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
        :root {
            --navy-deep:  #020617;
            --navy-mid:   #0f1f3d;
            --navy-light: #1e2a4a;
            --gold:       #C8A96A;
            --gold-light: #e0c98a;
            --text-light: #cdd8f0;
            --text-muted: #bec6d8;
        }
 
        body {
            background: linear-gradient(90deg, #01040a 0%, #0b1a33 35%, #162a52 70%, #1e2a4a 100%);
            min-height: 100vh;
            font-family: 'Georgia', serif;
            color: var(--text-light);
        }
 
       /* ─── HEADER ─── */
        .site-header {
            height: 100px;
            background: linear-gradient(90deg, #01040a 0%, #0b1a33 35%, #162a52 70%, #1e2a4a 100%);
            width: 100%;
        }
        .header-inner {
            max-width: 1200px;
            height: 100%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 40px;
        }
        .logo img { height: 150px; width: auto; margin-left: -35px; }
        .nav-links a {
            color: #C8A96A;
            text-decoration: none;
            margin-left: 30px;
            font-size: 16px;
        }
        .nav-links a:hover { opacity: 0.7; }
        .nav-links a.active { border-bottom: 1px solid #C8A96A; padding-bottom: 2px; }
 
        /* ─── HERO ─── */
        .hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            padding-top: 50px;
            overflow: hidden;
            min-height: calc(100vh - 100px);
            margin-top: -40px; 
        }
 
        .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding: 80px 60px 60px 80px;
}
 
        
        .hero-eyebrow::before {
            content: '';
            display: block;
            width: 36px;
            height: 1px;
            background: var(--gold);
        }
 
        .hero-title {
            font-family: Georgia, serif;
            font-size: 36px;
            font-weight: 500;
            line-height: 1.12;
            color: #fff;
            margin-bottom: 28px;
        }
        .hero-title em {
            font-style: italic;
            color: var(--gold);
        }
 
        .hero-subtitle {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-muted);
    max-width: 420px;
    margin-bottom: 28px;  
}


        .hero-cta-group { display: flex; gap: 16px; }
 
        .btn-primary {
            display: inline-block;
            padding: 13px 32px;
            border: 1px solid rgba(200,169,106,0.5);
            color: var(--gold);
            text-decoration: none;
            font-family: 'EB Garamond', serif;
            font-size: 15px;
            letter-spacing: 0.07em;
            border-radius: 3px;
            transition: border-color 0.2s, opacity 0.2s;
        }
        .btn-primary:hover { border-color: var(--gold); opacity: 0.8; }
 
        .btn-ghost {
            display: inline-block;
            padding: 13px 32px;
            border: 1px solid rgba(200,169,106,0.5);
            color: var(--gold);
            text-decoration: none;
            font-family: 'EB Garamond', serif;
            font-size: 15px;
            letter-spacing: 0.07em;
            border-radius: 3px;
            transition: border-color 0.2s, opacity 0.2s;
        }
        .btn-ghost:hover { border-color: var(--gold); opacity: 0.8; }
 
      .hero-right {
    position: relative;
    overflow: hidden;
    align-self: center;
    }
    .hero-photo {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center 30%;
    display: block;

    /* 🔥 tämä tekee oikean blendauksen */
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
}
        .hero-right::before {
    background: linear-gradient(
        to right,
        var(--navy-mid) 0%,
        rgba(15,31,61,0.4) 40%,
        transparent 80%
    );
}
        .hero-right::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 140px;
            background: linear-gradient(to top, var(--navy-mid), transparent);
            z-index: 1;
        }
 
        /* ───Kuka olen ─── */
        .section-about {
            max-width: 1200px;
            margin: 0 auto;
            padding: 120px 80px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 100px;
            align-items: start;
        }
 
        .section-label {
            font-size: 0.72rem;
            letter-spacing: 0.28em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 20px;
            display: block;
        }
        .section-title {
            font-family: Georgia, serif;
            font-size: 40px;
            font-weight: 500;
            line-height: 1.12;
            color: #fff;
            margin-bottom: 28px;
        }
        .section-divider {
            width: 44px;
            height: 1px;
            background: var(--gold);
            margin-bottom: 28px;
        }
        .about-text {
            font-size: 16px;
            line-height: 1.85;
            color: var(--text-muted);
            margin-bottom: 18px;
        }
 
        
 
        /* ─── Vika banner etusivulla ─── */
        .section-cta {
            border-top: 1px solid rgba(200,169,106,0.1);
            background: linear-gradient(90deg, #01040a 0%, #0b1a33 35%, #162a52 70%, #1e2a4a 100%);
        }
        .cta-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 100px 80px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 48px;
        }
        .cta-sub {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.75;
            max-width: 480px;
            margin-top: 10px;
        }
        .patevyydet-otsikko {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #C8A96A;
    margin-bottom: 14px;
    padding-bottom: 14px;
    bborder-bottom: 1px solid rgba(191,169,138,0.25);
}

.pat-lista {
    display: flex;
    flex-direction: column;
}

.pat-rivi {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.pat-rivi:last-child {
    border-bottom: none;
}

.pat-ikoni {
    min-width: 40px;
    height: 40px;
    border: 1px solid rgba(200,169,106,0.35);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pat-lyhenne {
    font-size: 11px;
    font-weight: 500;
    color: #C8A96A;
    letter-spacing: 0.05em;
}

.pat-nimi {
    font-size: 16px;
    color: white;
    margin-bottom: 4px;
}

.pat-teksti {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}

.pat-tagit {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.pat-tagi {
    font-size: 0.75rem;
    color: #C8A96A;
    border: 1px solid rgba(200,169,106,0.35);
    border-radius: 5px;
    padding: 3px 10px;
}

   /* ─── FOOTER ─────────────────────────────────────── */
.footer {
    background: linear-gradient(90deg, #01040a 0%, #0b1a33 35%, #162a52 70%, #1e2a4a 100%);
    border-top: 1px solid rgba(200,169,106,0.25);
    font-family: 'Georgia', serif;
    color: hsl(35, 29%, 65%);
    width: 100%;
}

/* YLÄOSA */
.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;                 
    max-width: 1150px;
    margin: 0 auto;
    padding: 5px 5px;        
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 180px;
}

/* LOGO */
.footer-logo {
    height: 160px;             
    margin-bottom: 10px;
    margin-left: -75px; 
    margin-top: 20px;       
}
.tal-logo {
    height: 100px;
    margin-bottom:10px;
    width: auto;
    margin-top: 30px;
}



/* TEKSTI */
.footer-section p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 10px;
    margin-top: 30px;
}

/* LINKIT */
.footer-section a {
    display: block;
    text-decoration: none;
    color: hsl(35, 29%, 65%);  
    font-size: 0.8rem;
    margin-bottom: 4px;
    margin-top: 30px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #C8A96A;             
}

/* ALARIVI */
.footer-bottom {
    text-align: center;
    padding: 10px;             
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.7rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO */
.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.1s;
}

.hero-title {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.25s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-cta-group {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.55s;
}

.hero-right {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
}

/* ABOUT */
.section-about {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.9s;
}

/* CTA BANNER */
.cta-inner {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.1s;
}
/* HAMPPARIMENYY */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

/* TABLETTI, responsiivinen */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        margin-top: 0;
        min-height: auto;
    }

    .hero-left {
        padding: 60px 40px 40px 40px;
    }

    .hero-right {
        max-height: 420px;
    }

    .section-about {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 80px 40px;
    }

    .cta-inner {
        padding: 70px 40px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .site-header {
        height: auto;
        padding: 16px 0;
    }

    .header-inner {
        padding: 0 20px;
        flex-wrap: wrap;
        align-items: center;
    }

    .logo img {
        height: 90px;
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding-top: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 15px;
    }

    .hero-left {
        padding: 40px 20px 30px 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        text-align: center;
    }

    .hero-right {
        max-height: 320px;
    }

    .section-about {
        padding: 60px 20px;
        gap: 36px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .pat-rivi {
        gap: 14px;
        padding: 16px 0;
    }

    .pat-tagit {
        flex-wrap: wrap;
    }

    .cta-inner {
        padding: 60px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    .footer-logo {
        height: 100px;
        margin-left: 0;
        margin-top: 0;
    }

    .tal-logo {
        height: 70px;
        margin-top: 10px;
    }

    .footer-section p,
    .footer-section a {
        margin-top: 10px;
    }
}