/* SOGLIA: a navigable architecture concept, photographed with generated imagery. */
.soglia-demo {
    background: #fff;
    color: #171916;
    font-family: Manrope, Arial, sans-serif;
}
.soglia-demo :is(h2, h3, p) {
    margin: 0;
}
.soglia-demo a:focus-visible,
.soglia-demo summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 6px;
}
.soglia-hero {
    position: relative;
    isolation: isolate;
    height: 100svh;
    min-height: 0;
    overflow: hidden;
    background: #383c34;
    color: white;
}
.soglia-hero > picture {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
}
.soglia-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.soglia-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, #0007, transparent 28%),
        linear-gradient(90deg, #0005, transparent 60%),
        linear-gradient(0deg, #0006, transparent 48%);
    pointer-events: none;
}
.soglia-hero-copy {
    pointer-events: none;
}
.soglia-hero-copy a {
    pointer-events: auto;
}
.soglia-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 4.2%;
}
.soglia-brand {
    font-size: clamp(28px, 3.1vw, 46px);
    font-weight: 600;
    letter-spacing: 0.19em;
    line-height: 1;
}
.soglia-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-right: clamp(150px, 13vw, 230px);
    font-size: 16px;
}
.soglia-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-underline-offset: 7px;
}
.soglia-nav a:hover {
    text-decoration: underline;
}
.soglia-hero-copy {
    position: absolute;
    left: 4.2%;
    right: 4.2%;
    bottom: 7%;
}
.soglia-hero-copy h2 {
    font-size: clamp(72px, 6.5vw, 112px);
    font-weight: 400;
    letter-spacing: -0.065em;
    line-height: 0.98;
    margin-bottom: 28px;
}
.soglia-hero-copy h2 span {
    display: block;
}
.soglia-link {
    display: inline-flex;
    align-items: center;
    gap: var(--link-arrow-gap);
    min-height: 44px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}
.soglia-projects,
.soglia-studio,
.soglia-contact {
    padding: clamp(64px, 8vw, 140px) 4.2%;
    scroll-margin-top: 24px;
}
.soglia-section-heading {
    max-width: 14ch;
    font-size: clamp(40px, 5.3vw, 76px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 1.08;
}
.soglia-project-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6%;
    align-items: start;
    margin-top: 64px;
}
.soglia-project:nth-child(2) {
    margin-top: 160px;
}
.soglia-project > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.12;
    object-fit: cover;
}
.soglia-project:nth-child(2) > img {
    aspect-ratio: 0.85;
}
.soglia-project h3 {
    margin-top: 24px;
    font-size: clamp(25px, 2.7vw, 40px);
    font-weight: 400;
    letter-spacing: -0.045em;
}
.soglia-project > p {
    margin-top: 6px;
    font-size: 14px;
    color: #575b55;
}
.soglia-project details {
    margin-top: 20px;
    border-top: 1px solid #d6d9d3;
    padding-top: 12px;
    font-size: 16px;
    line-height: 1.7;
}
.soglia-project summary {
    cursor: pointer;
    padding-block: 8px;
}
.soglia-project details p {
    margin-block: 16px;
}
.soglia-studio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8%;
    border-top: 1px solid #d6d9d3;
}
.soglia-studio p {
    max-width: 42ch;
    font-size: clamp(18px, 1.8vw, 25px);
    line-height: 1.6;
}
.soglia-studio p + p {
    margin-top: 24px;
    font-size: 15px;
    color: #575b55;
}
.soglia-contact {
    background: #171916;
    color: white;
}
.soglia-contact .soglia-link {
    margin-top: 36px;
}
.soglia-disclosure {
    margin-top: 64px !important;
    max-width: 66ch;
    font-size: 14px;
    color: #c0c4bc;
    line-height: 1.7;
}
.soglia-case.preview-mode
    :is(
        .site-header,
        .site-nav,
        .site-footer,
        .skip-link,
        .ai-widget,
        #cookie-consent-root
    ) {
    display: none !important;
}
.soglia-case.preview-mode main {
    margin: 0 !important;
}
.soglia-case.preview-mode .soglia-hero {
    height: 100svh;
    min-height: 0;
}
@media (max-width: 1099px) {
    .soglia-hero {
        height: calc(100svh - 76px);
    }
    .soglia-nav {
        margin-right: 0;
    }
}
@media (max-width: 700px) {
    .soglia-header {
        padding: 24px 20px;
        gap: 14px;
    }
    .soglia-brand {
        font-size: 24px;
        letter-spacing: 0.15em;
    }
    .soglia-nav {
        gap: 13px;
        font-size: 12px;
    }
    .soglia-hero img {
        object-position: 58% center;
    }
    .soglia-hero-copy {
        left: 24px;
        right: 24px;
        bottom: 40px;
    }
    .soglia-hero-copy h2 {
        font-size: clamp(48px, 15vw, 64px);
        margin-bottom: 20px;
    }
    .soglia-link {
        font-size: 14px;
    }
    .soglia-projects,
    .soglia-studio,
    .soglia-contact {
        padding-inline: 24px;
    }
    .soglia-project-grid,
    .soglia-studio {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .soglia-project-grid {
        margin-top: 40px;
    }
    .soglia-project:nth-child(2) {
        margin-top: 0;
    }
    .soglia-project:nth-child(2) > img {
        aspect-ratio: 1.12;
    }
}
@media (max-width: 360px) {
    .soglia-header {
        padding-inline: 16px;
        gap: 10px;
    }
    .soglia-brand {
        font-size: 21px;
    }
    .soglia-nav {
        gap: 10px;
        font-size: 11px;
    }
}

@media (max-height: 500px) {
    .soglia-header {
        padding-block: 16px;
    }
    .soglia-hero-copy {
        bottom: 20px;
    }
    .soglia-hero-copy h2 {
        font-size: clamp(48px, 12svh, 64px);
        margin-bottom: 12px;
    }
}
/* The homepage presents the concept as a framed project, distinct from its demo. */
/* A scaled desktop composition, independent of phone height or orientation. */
