/* =========================================================
   Löw Fashion Agency — public styles
   Montserrat · #2f2f30 text · #ec6437 accent · minimal
   ========================================================= */

:root {
    --text: #2f2f30;
    --muted: #8a8a8c;
    --accent: #ec6437;
    --bg: #ffffff;
    --line: #ececec;
    --maxw: 1280px;
    --header-h: 96px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    height: var(--header-h);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Logo pinned to the far left edge of the page (relative to the full-width header) */
.logo {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}
.logo img { max-height: 46px; width: auto; }

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 38px;
    margin: 0;
    padding: 0;
}
.site-nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.25s ease;
}
.site-nav a:hover,
.site-nav a.active { color: var(--accent); }
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 34px; height: 28px;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Home ---------- */
.home { padding: 56px 24px 30px; }
.home-inner { max-width: 1200px; margin: 0 auto; }
.home-tagline {
    text-align: left;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.005em;
    margin: 0 0 22px;
    line-height: 1.3;
}
.home-intro {
    color: #4a4a4c;
    font-weight: 300;
    font-size: 1rem;
    margin: 0 0 26px;
    max-width: 100%;
}
.home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 34px 0 30px;
}
.home-grid figure {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.home-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.home-grid figure:hover img { transform: scale(1.04); }
.home-feature {
    max-width: 440px;
    margin: 10px auto 30px;
}

/* ---------- Galleries (masonry via CSS columns) ---------- */
.gallery-masonry {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 20px 20px 70px;
    column-count: 3;
    column-gap: 16px;
}
.gallery-masonry figure {
    margin: 0 0 16px;
    break-inside: avoid;
    overflow: hidden;
}
.gallery-masonry img {
    width: 100%;
    transition: transform 0.6s ease, opacity 0.3s ease;
}
.gallery-masonry figure:hover img { transform: scale(1.04); }

/* ---------- About ---------- */
.about { padding: 60px 24px 20px; }
.about-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.about-photo img { width: 100%; }
.about-text h1 {
    font-weight: 300;
    font-size: 2rem;
    margin: 0 0 24px;
}
.about-text p {
    font-weight: 300;
    color: #444;
    margin: 0 0 18px;
}
.about-brands {
    font-weight: 500 !important;
    color: var(--text) !important;
    letter-spacing: 0.02em;
}

/* ---------- Quote ---------- */
.quote {
    max-width: 800px;
    margin: 60px auto 90px;
    padding: 0 24px;
    text-align: center;
}
.quote p {
    font-weight: 300;
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0 0 16px;
}
.quote cite {
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--accent);
}

/* ---------- Collections ---------- */
.collections { padding: 70px 24px 20px; }
.collections-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}
.brand-card {
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.brand-card:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}
.brand-logo {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fafafa;
}
.brand-logo img {
    max-height: 100%;
    max-width: 80%;
    width: auto;
    object-fit: contain;
}
.brand-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-top: 1px solid var(--line);
}
.brand-name {
    font-weight: 500;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
}
.brand-link {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.brand-link:hover { border-color: var(--accent); }
.brand-nc {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--muted);
}

/* ---------- Legal ---------- */
.legal { padding: 70px 24px 90px; }
.legal-inner {
    max-width: 860px;
    margin: 0 auto;
}
.legal-inner h1 {
    font-weight: 300;
    font-size: 2rem;
    margin: 0 0 30px;
}
.legal-body {
    font-weight: 300;
    color: #444;
    font-size: 0.95rem;
}
.legal-body p { margin: 0 0 18px; }
.legal-body img { max-width: 160px; margin: 20px 0; }
.legal-body a { color: var(--accent); }
.legal-body h2, .legal-body h3, .legal-body strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
    margin-top: 50px;
}
.footer-logo {
    text-align: center;
    padding: 56px 24px 34px;
}
.footer-logo img { max-width: 150px; margin: 0 auto; opacity: 0.55; }

.footer-cols {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px 44px;
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr 1fr;
    gap: 30px;
    align-items: start;
}
.fc p { margin: 0 0 8px; font-weight: 300; font-size: 0.85rem; color: #444; }
.fc-label { text-transform: lowercase; color: var(--muted) !important; letter-spacing: 0.02em; }
.fc-name { font-weight: 600 !important; letter-spacing: 0.04em; color: var(--text) !important; }
.fc a { color: var(--text); }
.fc a:hover { color: var(--accent); }

.fc-social { display: flex; gap: 16px; }
.fc-social a { color: var(--text); transition: color 0.2s ease; }
.fc-social a:hover { color: var(--accent); }

.fc-legal ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.fc-legal a { font-size: 0.82rem; font-weight: 400; letter-spacing: 0.03em; color: #444; }
.fc-legal a:hover { color: var(--accent); }

.footer-copyright {
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.03em;
}
.footer-copyright a { color: var(--accent); }

/* ---------- Lightbox ---------- */
.lb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 30px;
    cursor: zoom-out;
}
.lb-overlay.open { display: flex; }
.lb-overlay img {
    max-width: 92vw;
    max-height: 92vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .about-inner { grid-template-columns: 1fr; gap: 32px; }
    .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-masonry { column-count: 2; }
    .home-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 26px; text-align: center; }
    .fc-social { justify-content: center; }
    .fc-legal ul { align-items: center; }
}

@media (max-width: 640px) {
    :root { --header-h: 72px; }
    .header-inner { padding: 0 18px; }
    .logo img { max-height: 42px; }
    .nav-toggle { display: block; z-index: 120; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
    .site-nav {
        position: fixed;
        inset: 0;
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    body.nav-open .site-nav { transform: translateX(0); }
    .site-nav ul { flex-direction: column; gap: 30px; text-align: center; }
    .site-nav a { font-size: 1.1rem; }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .collections-grid { grid-template-columns: 1fr; }
    .gallery-masonry { column-count: 1; }
    .home-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .home { padding: 34px 18px 20px; }
    .footer-cols { grid-template-columns: 1fr; text-align: center; }
    .fc-social { justify-content: center; }
    .fc-legal ul { align-items: center; }
}
