/* infra.limited - Scandinavian Functional Shop */
/* Palette: #faf9f7, #262626, #d6d3d1, #92400e, #78716c, #475569, #a8a29e, #292524 */
/* Fonts: Inter 400/500, Roboto 400 */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #faf9f7;
    color: #262626;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========================================
   HERO (0-100vh)
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
}

.hero-inner {
    max-width: 560px;
    width: 100%;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.brand-mark {
    display: block;
    width: 8px;
    height: 8px;
    background: #92400e;
}

.brand-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 32px;
    color: #262626;
    letter-spacing: -0.01em;
}

.hero-rule {
    width: 100%;
    height: 1px;
    background: #d6d3d1;
    margin-bottom: 32px;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #78716c;
    letter-spacing: 0.08em;
}

/* ========================================
   SERVICES (100-260vh)
   ======================================== */
.services {
    padding: 64px 32px;
}

.services-inner {
    max-width: 560px;
    margin: 0 auto;
}

.service-block {
    border-left: 1px solid #d6d3d1;
    padding-left: 32px;
    margin-bottom: 0;
    padding-top: 32px;
    padding-bottom: 32px;
}

.service-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: #a8a29e;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.service-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: #262626;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

.service-rule {
    width: 32px;
    height: 1px;
    background: #d6d3d1;
    margin-left: 32px;
}

/* ========================================
   MATERIALS (260-340vh)
   ======================================== */
.materials {
    padding: 96px 32px;
}

.materials-inner {
    max-width: 560px;
    margin: 0 auto;
}

.materials-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: #a8a29e;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.materials-rule {
    width: 32px;
    height: 1px;
    background: #d6d3d1;
    margin-bottom: 32px;
}

.material-strip {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.material-sample {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.material-swatch {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.material-swatch:hover {
    transform: scale(1.15);
}

.material-swatch.wood {
    background: #92400e;
}

.material-swatch.stone {
    background: #78716c;
}

.material-swatch.steel {
    background: #475569;
}

.material-name {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: #a8a29e;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========================================
   CONTACT / FOOTER (340vh+)
   ======================================== */
.contact {
    padding: 96px 32px 64px;
}

.contact-inner {
    max-width: 560px;
    margin: 0 auto;
}

.contact-rule {
    width: 100%;
    height: 1px;
    background: #d6d3d1;
    margin-bottom: 32px;
}

.contact-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.contact-col {
    flex: 1 1 140px;
}

.contact-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: #a8a29e;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.contact-value {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #262626;
    line-height: 1.6;
}

.contact-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 32px;
    border-top: 1px solid #d6d3d1;
}

.footer-mark {
    display: block;
    width: 8px;
    height: 8px;
    background: #292524;
}

.footer-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #292524;
    letter-spacing: 0.02em;
}

/* ========================================
   FADE-IN ANIMATION
   ======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 640px) {
    .hero {
        padding: 48px 24px;
    }

    .brand-name {
        font-size: 26px;
    }

    .services {
        padding: 48px 24px;
    }

    .service-block {
        padding-left: 24px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .service-rule {
        margin-left: 24px;
    }

    .materials {
        padding: 64px 24px;
    }

    .material-strip {
        gap: 24px;
    }

    .contact {
        padding: 64px 24px 48px;
    }

    .contact-grid {
        flex-direction: column;
        gap: 24px;
    }
}
