/* ============================================
   Sacca Scioc — Premium Editorial Design System
   ============================================ */

:root {
    --color-bg: #F4F1EA;
    --color-surface: #1C1B19;
    --color-text: #181614;
    --color-muted: #6E6A62;
    --color-accent: #B5652D;
    --font-display: 'Fraunces', serif;
    --font-body: 'Manrope', sans-serif;
    --container-max: 1240px;
    --transition-slow: 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.12;
    margin: 0 0 0.6em;
    color: var(--color-text);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

p { margin: 0 0 1.2em; color: var(--color-text); }

a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.75rem;
}
.container--narrow { max-width: 720px; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--color-surface); color: #fff;
    padding: .75rem 1.25rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Eyebrow / signature device */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--color-muted);
    margin: 0 0 1.1rem;
}
.eyebrow::before {
    content: '';
    width: 2.4rem;
    height: 2px;
    background: var(--color-accent);
    display: inline-block;
    flex-shrink: 0;
}
.eyebrow--light { color: rgba(244,241,234,0.75); }

/* Text link with arrow */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .95rem;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    color: var(--color-text);
    transition: gap 0.35s ease, opacity 0.35s ease;
}
.text-link:hover, .text-link:focus-visible { gap: .9rem; }
.text-link--light { color: #F4F1EA; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(244,241,234,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(24,22,20,0.08);
}
.site-header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1.1rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.wordmark { display: flex; flex-direction: column; line-height: 1.15; }
.wordmark__main { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.wordmark__sub { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }

.primary-nav ul {
    list-style: none; display: flex; gap: 2rem;
    margin: 0; padding: 0;
}
.primary-nav a {
    font-size: .92rem; font-weight: 500; color: var(--color-text);
    position: relative; padding-bottom: 4px;
}
.primary-nav a.is-active,
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--color-accent); }
.primary-nav a.is-active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
}
.nav-toggle span {
    width: 22px; height: 2px; background: var(--color-text); display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Hero ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 82vh;
    background: var(--color-bg);
}
.hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem;
    max-width: 560px;
}
.hero__headline {
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    margin-bottom: .5rem;
}
.hero__lead {
    color: var(--color-muted);
    font-size: 1.08rem;
    max-width: 30rem;
    margin-bottom: 1.8rem;
}
.hero__image {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}
.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===== Statement ===== */
.statement { padding: 6.5rem 0; }
.statement__heading { max-width: 30rem; }
.statement__body {
    font-size: 1.15rem;
    color: var(--color-text);
    max-width: 42rem;
}

/* ===== Split / asymmetric editorial ===== */
.split {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 78vh;
}
.split--reverse { grid-template-columns: 1fr 1.1fr; }
.split--reverse .split__image { order: 2; }
.split--reverse .split__text { order: 1; }
.split__image { position: relative; overflow: hidden; }
.split__image img { width: 100%; height: 100%; object-fit: cover; }
.split__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 4rem;
}
.split__text h2 { max-width: 22rem; }
.split__text p { max-width: 28rem; color: var(--color-text); }

.section-number {
    position: absolute;
    top: 2.2rem;
    left: 2rem;
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(24,22,20,0.08);
    z-index: 2;
    pointer-events: none;
}

/* ===== Fullbleed ===== */
.fullbleed {
    position: relative;
    width: 100%;
    min-height: 88vh;
    overflow: hidden;
}
.fullbleed img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute; inset: 0;
}
.fullbleed__overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4rem;
    background: linear-gradient(180deg, rgba(28,27,25,0) 40%, rgba(28,27,25,0.72) 100%);
}
.fullbleed__line {
    font-family: var(--font-display);
    color: #F4F1EA;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    max-width: 30rem;
    margin: 0;
}

/* ===== Gallery masonry ===== */
.gallery-preview, .gallery-full { padding: 6.5rem 0; }
.gallery-masonry {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0 2.5rem;
}
.gallery-masonry--compact { grid-template-columns: 1.3fr 1fr; }
.frame {
    margin: 0;
    position: relative;
    overflow: hidden;
    background: #E7E2D6;
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame figcaption {
    margin-top: .75rem;
    font-size: .82rem;
    color: var(--color-muted);
    letter-spacing: .02em;
}
.frame-large {
    grid-row: span 2;
    aspect-ratio: 16 / 9;
}
.frame-small { aspect-ratio: 3 / 2; }
.gallery-masonry--compact .frame-small:nth-of-type(3) { aspect-ratio: 1 / 1; }
.gallery-masonry .frame-wide {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
}
.gallery-full .frame-large { aspect-ratio: 16 / 9; }
.gallery-full .frame-small:nth-of-type(3) { aspect-ratio: 1 / 1; }
.gallery-full .frame-wide { aspect-ratio: 21 / 9; }

/* ===== FAQ ===== */
.faq { padding: 6.5rem 0; }
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; }
.faq-list details {
    border-top: 1px solid rgba(24,22,20,0.12);
    padding: 1.4rem 0;
}
.faq-list details:last-child { border-bottom: 1px solid rgba(24,22,20,0.12); }
.faq-list summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.15rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--color-accent);
    margin-left: 1rem;
    transition: transform 0.3s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin-top: 1rem; color: var(--color-muted); max-width: 36rem; }

/* ===== CTA ===== */
.cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 62vh;
    background: var(--color-surface);
}
.cta__image { position: relative; overflow: hidden; }
.cta__image img { width: 100%; height: 100%; object-fit: cover; }
.cta__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    color: #F4F1EA;
}
.cta__text h2 { color: #F4F1EA; max-width: 20rem; }
.cta__text p { color: rgba(244,241,234,0.78); }

/* ===== Page hero (interior pages) ===== */
.page-hero { padding: 6.5rem 0 3.5rem; }
.page-hero__lead { color: var(--color-muted); font-size: 1.1rem; max-width: 34rem; }

/* ===== Process list ===== */
.process-steps { padding: 2rem 0 6.5rem; }
.process-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2.5rem; }
.process-list li {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 1.5rem;
    align-items: start;
    padding-top: 2rem;
    border-top: 1px solid rgba(24,22,20,0.12);
}
.process-list li:first-child { border-top: none; padding-top: 0; }
.process-list__number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent);
}
.process-list h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.process-list p { color: var(--color-muted); max-width: 32rem; }

/* ===== Contact ===== */
.contact-grid { padding: 2rem 0 6.5rem; }
.contact-grid__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
}
.contact-card { border-top: 1px solid rgba(24,22,20,0.12); padding-top: 1.4rem; }
.contact-card__value { font-size: 1.15rem; font-family: var(--font-display); }
.contact-card__value a:hover { color: var(--color-accent); }

/* ===== Footer ===== */
.site-footer {
    background: var(--color-surface);
    color: #F4F1EA;
    padding: 4.5rem 0 2rem;
}
.site-footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.75rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
}
.site-footer__brand { color: #F4F1EA; margin-bottom: .4rem; }
.site-footer__muted { color: rgba(244,241,234,0.65); max-width: 22rem; }
.site-footer a { color: #F4F1EA; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer__bottom {
    max-width: var(--container-max);
    margin: 3rem auto 0;
    padding: 1.5rem 1.75rem 0;
    border-top: 1px solid rgba(244,241,234,0.15);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .82rem;
    color: rgba(244,241,234,0.6);
}

/* ===== Reveal animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero__text { padding: 3.2rem 1.75rem 2rem; max-width: none; }
    .hero__image { min-height: 56vh; }

    .split, .split--reverse {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .split--reverse .split__image,
    .split--reverse .split__text,
    .split .split__image,
    .split .split__text { order: initial; }
    .split__image { min-height: 46vh; }
    .split__text { padding: 3rem 1.75rem; }

    .gallery-masonry, .gallery-masonry--compact {
        grid-template-columns: 1fr;
    }
    .frame-large { grid-row: auto; }

    .cta { grid-template-columns: 1fr; }
    .cta__image { min-height: 42vh; }
    .cta__text { padding: 3rem 1.75rem; }

    .site-footer__inner { grid-template-columns: 1fr 1fr; }
    .contact-grid__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .primary-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(78vw, 320px);
        background: var(--color-bg);
        transform: translateX(100%);
        transition: transform 0.4s ease;
        padding: 6rem 2rem 2rem;
        box-shadow: -8px 0 30px rgba(0,0,0,0.12);
    }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav ul { flex-direction: column; gap: 1.4rem; }
    .nav-toggle { display: flex; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .process-list li { grid-template-columns: 1fr; }
}
/* Landing Factory generated brand lockup */
.lf-brand-lockup{display:inline-flex;align-items:center;text-decoration:none;flex:0 0 auto}.lf-brand-lockup img{display:block;width:auto;height:44px;max-width:min(260px,48vw);object-fit:contain}@media(max-width:700px){.lf-brand-lockup img{height:36px;max-width:54vw}}
