/* Satoshi Font - using Fontshare CDN */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700&display=swap');

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #060606;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Background Section */
.hero-bg {
    background-image: url('images/hero-bg.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 60px;
}

/* Fullscreen: hero takes full viewport height */
@media (min-width: 992px) {
    .hero-bg {
        min-height: 100vh;
    }
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 6, 6, 0.3) 0%,
        rgba(6, 6, 6, 0.1) 30%,
        rgba(6, 6, 6, 0.4) 70%,
        rgba(6, 6, 6, 1) 100%
    );
    pointer-events: none;
}

/* Navigation */
.nav {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 75px 60px;
    max-width: 1560px;
    margin: 0 auto;
}

.logo-link {
    display: block;
}

.logo {
    height: 46px;
    width: auto;
}

/* Contact Button - transparent with white border */
.contact-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    border: 1px solid #fff;
    border-radius: 60px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Hero Content */
.hero {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 100px 40px 150px;
}

/* Title - matching original exactly */
.title {
    font-family: 'Satoshi', sans-serif;
    font-size: 80px;
    font-weight: 400;
    letter-spacing: -2.4px;
    margin-bottom: 150px;
    line-height: 112px;
}

.tagline {
    font-size: 18px;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto 32px;
    letter-spacing: normal;
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 890px;
    margin: 0 auto;
    padding: 0 35px;
}

/* Wide viewport container */
@media (min-width: 992px) {
    .container {
        max-width: 1560px;
        padding: 0 60px;
    }
}

/* Services Section */
.services-section {
    background-color: #060606;
    padding: 60px 0 80px;
}

.intro {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 0;
    opacity: 1;
}

.intro strong {
    font-weight: 600;
}

.intro-block {
    margin-bottom: 0;
    padding-bottom: 20px;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 400px;
    margin: 0 auto;
}

/* Wide viewport - 2 column grid */
@media (min-width: 992px) {
    .services-grid {
        display: grid;
        grid-template-columns: 400px 400px;
        gap: 40px 60px;
        max-width: 860px;
        margin: 0 auto;
    }

    .service-item {
        max-width: 400px;
    }
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.bullet-wrap {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 6px;
}

.bullet-icon {
    width: 10px;
    height: 10px;
    filter: brightness(0) invert(1);
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: normal;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

.service-desc em {
    font-style: italic;
}

/* Footer */
.footer {
    background-color: #060606;
    padding: 60px 0 50px;
    margin-top: auto;
}

.etymology {
    font-size: 16px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.etymology strong {
    font-weight: 600;
}

.disclaimer {
    font-size: 16px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.4);
}

.disclaimer em {
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 20px 30px;
    }

    .hero {
        padding: 60px 30px 100px;
    }

    .title {
        font-size: 70px;
    }

    .container {
        padding: 0 30px;
    }

    .services-section {
        padding: 40px 0 60px;
    }

    .service-item {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 20px;
    }

    .logo {
        height: 24px;
    }

    .contact-btn {
        padding: 10px 20px;
        font-size: 11px;
    }

    .hero {
        padding: 40px 20px 80px;
    }

    .title {
        font-size: 50px;
        letter-spacing: -1px;
    }

    .container {
        padding: 0 20px;
    }

    .intro {
        font-size: 14px;
    }

    .service-title {
        font-size: 13px;
    }

    .service-desc {
        font-size: 13px;
    }
}

/* Scroll-triggered animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Elements start hidden */
.animate-on-scroll {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
}

/* When visible, trigger animation */
.animate-on-scroll.visible {
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Tagline delays after title */
.tagline.visible { animation-delay: 0.75s; }

/* Service items stagger after intro */
.service-item.visible:nth-child(1) { animation-delay: 0.3s; }
.service-item.visible:nth-child(2) { animation-delay: 0.45s; }
.service-item.visible:nth-child(3) { animation-delay: 0.6s; }
.service-item.visible:nth-child(4) { animation-delay: 0.75s; }

/* Disclaimer delays after etymology */
.disclaimer.visible { animation-delay: 0.3s; }
