:root {
    --silver: #c8c8c8;
    --silver-bright: #e0e0e0;
    --accent: #ffd008;
    --section-max: 1400px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Archivo', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.headline-silver { color: var(--silver-bright); }
.accent-yellow { color: var(--accent); }
h1, h2, .font-heading { font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.02em; }

/* Image sections: consistent padding, min 50px, same top/bottom */
.section-image {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(50px, 5vw, 4rem) 0;
}
/* Sektion 2–6 och 8: bilder går ända ut, ingen marginal/padding. Sektion 7 (Environment) behåller padding upp/ner. */
#material.section-image,
#design.section-image,
#installation.section-image,
#packages.section-image,
#reality.section-image {
    padding: 0;
}
#environment.section-image {
    padding: clamp(50px, 5vw, 4rem) 0 0 0;
}
#material .section-image-inner .section-bg,
#design .section-image-inner .section-bg,
#installation .section-image-inner .section-bg,
#packages .section-image-inner .section-bg,
#reality .section-image-inner .section-bg {
    top: 0;
    bottom: 0;
}
@media (max-width: 768px) {
    .section-image { align-items: center; }
    /* Hero: zooma in bilden på mobil (lite mer utzoomad) */
    #hero .section-bg img {
        object-fit: cover;
        object-position: center center;
        transform: scale(1.00);
    }
    /* Sektion 2,3,4,5,6,7 mobil: minst 100vh, innehåll centrerat vertikalt */
    #material.section-image,
    #design.section-image,
    #installation.section-image,
    #packages.section-image,
    #environment.section-image,
    #reality.section-image {
        min-height: 100vh;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }
    .section-image-wrap {
        flex-direction: column;
    }
    #material .section-image-wrap,
    #design .section-image-wrap,
    #installation .section-image-wrap,
    #packages .section-image-wrap,
    #reality .section-image-wrap {
        position: relative;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        flex-shrink: 0;
        overflow: hidden;
    }
    #environment .environment-image-wrap {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
    .section-image-inner {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        flex-shrink: 0;
        overflow: hidden;
    }
    .section-image-inner .section-bg {
        position: absolute;
        inset: 0;
    }
    .section-image-inner .section-overlay {
        position: absolute;
        inset: 0;
    }
    #material .section-content,
    #design .section-content,
    #installation .section-content,
    #packages .section-content,
    #reality .section-content {
        position: static;
        background: #000;
        margin-left: 0;
        margin-right: 0;
    }
}
@media (min-width: 769px) {
    #material.section-image,
    #design.section-image,
    #installation.section-image,
    #packages.section-image,
    #reality.section-image {
        align-items: center;
    }
    .section-image-wrap {
        position: relative;
        flex: 0 0 auto;
        width: 100%;
        height: 80vh;
        max-height: 80vh;
    }
    .section-image-inner {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: unset;
    }
    .section-image-inner .section-bg {
        position: absolute;
        inset: 0;
    }
    .section-image-inner .section-overlay {
        position: absolute;
        inset: 0;
    }
    #material .section-content,
    #design .section-content,
    #installation .section-content,
    #packages .section-content,
    #reality .section-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
}
@media (min-width: 1280px) {
    .section-image-inner .section-bg {
        left: 50%;
        right: auto;
        width: 100%;
        max-width: var(--section-max);
        transform: translateX(-50%);
    }
    .section-image-inner .section-overlay {
        left: 50%;
        right: auto;
        width: 100%;
        max-width: var(--section-max);
        transform: translateX(-50%);
    }
}
.section-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: clamp(50px, 5vw, 4rem);
    bottom: clamp(50px, 5vw, 4rem);
    background: #000;
    overflow: hidden;
}
@media (min-width: 1280px) {
    .section-bg {
        left: 50%;
        right: auto;
        width: 100%;
        max-width: var(--section-max);
        transform: translateX(-50%);
    }
}
/* Vignette: mörkt i kanterna, ljusare in mot mitten (som blackp_2) */
.section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        ellipse 70% 70% at 50% 50%,
        transparent 0%,
        transparent 35%,
        rgba(0,0,0,0.35) 55%,
        rgba(0,0,0,0.65) 72%,
        rgba(0,0,0,0.88) 88%,
        #000 100%
    );
}
.section-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
/* Bottom strip only for text readability */
.section-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 65%,
        rgba(0,0,0,0.2) 85%,
        rgba(0,0,0,0.6) 100%
    );
    pointer-events: none;
}
@media (min-width: 1280px) {
    .section-overlay {
        left: 50%;
        right: auto;
        top: clamp(50px, 5vw, 4rem);
        bottom: clamp(50px, 5vw, 4rem);
        width: 100%;
        max-width: var(--section-max);
        transform: translateX(-50%);
    }
}
.section-overlay-strong {
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 60%,
        rgba(0,0,0,0.25) 85%,
        rgba(0,0,0,0.65) 100%
    );
}
.section-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 -1px 0 rgba(255,255,255,0.03);
}
@media (min-width: 769px) {
    .section-content { padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem); }
}
@media (min-width: 1280px) {
    .section-content {
        max-width: var(--section-max);
        margin-left: auto;
        margin-right: auto;
    }
    #design .section-content,
    #packages .section-content { margin-left: auto; margin-right: 0; }
    #material .section-content,
    #installation .section-content { margin-left: 0; margin-right: auto; }
}

/* Hero: text at bottom, image always visible */
#hero {
    align-items: flex-end;
}
#hero .section-bg img {
    opacity: 1;
}
#hero .hero-overlay {
    background: radial-gradient(
            ellipse 70% 70% at 50% 50%,
            transparent 0%,
            transparent 50%,
            rgba(0,0,0,0.15) 70%,
            rgba(0,0,0,0.6) 90%,
            rgba(0,0,0,0.9) 100%
        ),
        linear-gradient(180deg, transparent 0%, transparent 60%, rgba(0,0,0,0.4) 90%, rgba(0,0,0,0.85) 100%);
}
@media (min-width: 1280px) {
    #hero .hero-overlay {
        left: 50%;
        right: auto;
        top: clamp(50px, 5vw, 4rem);
        bottom: clamp(50px, 5vw, 4rem);
        width: 100%;
        max-width: var(--section-max);
        transform: translateX(-50%);
    }
}
#hero .section-content {
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
    text-align: center;
    border-top: none;
    box-shadow: none;
    margin-left: auto;
    margin-right: auto;
}

/* Sections 2–5: text alignment – left block = left-aligned, right block = right-aligned */
#material .section-content,
#installation .section-content { text-align: left; }
#design .section-content,
#packages .section-content { text-align: right; }

/* Section entrance: line that draws (left or right), glossy */
.section-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), transparent);
    box-shadow: 0 0 12px rgba(255, 208, 8, 0.4);
    transition: width 0.15s ease-out;
    z-index: 3;
}
.section-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.25), transparent);
    pointer-events: none;
}
.section-line-right {
    left: auto;
    right: 0;
    background: linear-gradient(90deg, transparent, var(--accent));
}
.section-line-right::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25));
}
/* Section line width set by JS from scroll progress – no CSS in-view rule */

/* Content reveal: slide up + fade + slight scale */
.section-reveal {
    opacity: 0;
    transform: translateY(48px) scale(0.98);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.section.in-view .section-reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.section-reveal.delay-1 { transition-delay: 0.1s; }
.section-reveal.delay-2 { transition-delay: 0.2s; }
.section-reveal.delay-3 { transition-delay: 0.3s; }
.section-reveal.delay-4 { transition-delay: 0.4s; }
.section-reveal.delay-5 { transition-delay: 0.5s; }
.section-reveal.delay-6 { transition-delay: 0.6s; }

/* Image reveal: opacity + zoom on enter */
.section-bg img {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.section.in-view .section-bg img {
    opacity: 1;
}
.section-bg-reveal img,
.section-bg-reveal-img {
    transform: scale(1.08);
}
.section.in-view .section-bg-reveal img,
.section.in-view .section-bg-reveal-img {
    transform: scale(1);
}

.nav-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--accent); background: rgba(255,208,8,0.08); }
.header-glass {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
/* Mobile: hide desktop nav, show hamburger only */
@media (max-width: 767px) {
    header nav.header-nav { display: none !important; }
    header nav.header-nav.is-open { display: flex !important; }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        background: transparent;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        color: #fff;
        transition: background 0.2s, color 0.2s;
    }
    .menu-toggle:hover { background: rgba(255,255,255,0.08); color: var(--accent); }
    .menu-toggle span {
        display: block;
        height: 2px;
        background: currentColor;
        border-radius: 1px;
        transition: transform 0.3s, opacity 0.3s;
    }
    .menu-toggle span:nth-child(1) { width: 20px; margin-left: auto; }
    .menu-toggle span:nth-child(2) { width: 24px; margin-left: auto; }
    .menu-toggle span:nth-child(3) { width: 16px; margin-left: auto; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header-nav.is-open {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0.25rem;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    }
    .header-nav.is-open .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 6px;
        font-size: 1rem;
    }
    .header-nav.is-open .nav-link:hover { background: rgba(255,208,8,0.12); }
}
@media (min-width: 768px) {
    .menu-toggle { display: none; }
}

.env-item {
    border-left: 2px solid var(--accent);
    padding-left: 1rem;
    margin-bottom: 1rem;
}
.env-item.glossy {
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 50%, rgba(255,208,8,0.03) 100%);
    border: 1px solid rgba(255,255,255,0.15);
    border-left: 2px solid var(--accent);
    border-radius: 0 8px 8px 0;
    box-shadow:
        0 0 0 1px rgba(255,208,8,0.15),
        0 0 24px rgba(255,208,8,0.12),
        0 0 48px rgba(255,208,8,0.06),
        0 4px 20px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Reality: två bilder, minimalt gap (samma som 2,3,4,5) */
.section-bg-reality {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0.25rem;
}
.section-bg-reality .reality-cell {
    position: relative;
    overflow: hidden;
    min-height: 0;
}
.section-bg-reality .reality-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        ellipse 70% 70% at 50% 50%,
        transparent 0%,
        transparent 35%,
        rgba(0,0,0,0.35) 55%,
        rgba(0,0,0,0.65) 72%,
        rgba(0,0,0,0.88) 88%,
        #000 100%
    );
}
.section-bg-reality .reality-cell img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
@media (max-width: 768px) {
    .section-bg-reality .reality-cell { min-height: 0; min-width: 0; }
}
#reality .section-bg::after { display: none; }

/* Environment: bildområde tar plats, sedan boxar+slogan NEDANFÖR i svart */
#environment {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
}
#environment .environment-image-wrap {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
@media (min-width: 769px) {
    #environment .environment-image-wrap {
        aspect-ratio: unset;
        height: 80vh;
        max-height: 80vh;
    }
}
#environment .environment-image-wrap .section-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #000;
}
@media (min-width: 1280px) {
    #environment .environment-image-wrap .section-bg {
        left: 50%;
        right: auto;
        width: 100%;
        max-width: var(--section-max);
        transform: translateX(-50%);
    }
}
#environment .environment-image-wrap .section-overlay {
    position: absolute;
    inset: 0;
}
@media (min-width: 1280px) {
    #environment .environment-image-wrap .section-overlay {
        left: 50%;
        right: auto;
        width: 100%;
        max-width: var(--section-max);
        transform: translateX(-50%);
    }
}
#environment .section-bg img {
    object-fit: cover;
    object-position: center;
}
#environment .environment-image-wrap .section-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0 clamp(1.25rem, 4vw, 3rem) 1.5rem;
    border: none;
    box-shadow: none;
}
@media (max-width: 768px) {
    #environment .environment-image-wrap .section-content { display: none; }
    .environment-headline-mobile {
        display: block;
        background: #000;
        padding: 1rem clamp(1.25rem, 4vw, 3rem);
        text-align: center;
    }
}
@media (min-width: 769px) {
    .environment-headline-mobile { display: none; }
}
@media (min-width: 1280px) {
    #environment .environment-image-wrap .section-content {
        left: 50%;
        right: auto;
        width: 100%;
        max-width: var(--section-max);
        transform: translateX(-50%);
    }
}
#environment .section-content .headline-block { text-align: center; }
#environment .environment-below {
    background: #000;
    padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
    width: 100%;
}
@media (min-width: 769px) {
    #environment .environment-below { padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(3rem, 8vw, 6rem); }
}
@media (min-width: 1280px) {
    #environment .environment-below {
        padding-left: 0;
        padding-right: 0;
        max-width: var(--section-max);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}
#environment .environment-below-inner {
    width: 100%;
}
#environment .env-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
}
@media (min-width: 640px) {
    #environment .env-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    #environment .env-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}
#environment .env-item { text-align: left; margin-bottom: 0; }
#environment .env-slogan {
    text-align: center;
    margin-top: 1.5rem;
}

/* Footer: marginal upp till gula strecket ovan, även på mobil */
#contact {
    background: #000;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(2rem, 6vw, 4rem);
}
@media (max-width: 768px) {
    #contact { padding-top: clamp(5rem, 12vw, 8rem); }
}
@media (min-width: 769px) {
    #contact { padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 4rem); }
}
#contact .footer-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    color: var(--accent);
}
#contact .footer-icon svg {
    display: block;
}
#contact .footer-contact-line {
    margin-top: 0.75rem;
}
#contact .footer-contact-line:first-of-type {
    margin-top: 1rem;
}

/* Mobilmeny: overlay med stark blur + lätt vit ton */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}
.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
@media (min-width: 768px) {
    .menu-overlay { display: none !important; }
}