/*
 * Lookbook Grid - Free multi-page HTML/CSS editorial lookbook template
 * Source: https://templates.inuno.app
 * Copyright (c) 2026 templates.inuno.app
 *
 * Free license note:
 * This free template may be used privately and commercially,
 * but the attribution/backlink to https://templates.inuno.app must remain.
 */

:root {
    --ink: #15120f;
    --muted: #756d64;
    --paper: #f4efe7;
    --panel: #fffaf2;
    --line: rgba(21, 18, 15, 0.15);
    --red: #d92323;
    --lime: #e8ff34;
    --shadow: 0 24px 70px rgba(38, 28, 18, 0.12);
    --radius: 8px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    background: var(--paper);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(217, 35, 35, 0.09), transparent 34%),
        var(--paper);
    font-family: var(--font);
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.site-header,
.brand,
.nav,
.site-footer,
.site-footer nav {
    display: flex;
    align-items: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    justify-content: space-between;
    gap: 18px;
    width: min(1440px, calc(100% - 32px));
    min-height: 74px;
    margin: 0 auto;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(16px);
}

.brand {
    gap: 10px;
    margin-left: 8px;
    font-weight: 950;
}

.brand span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--lime);
    font-size: 13px;
}

.nav { gap: 6px; }

.nav a,
.back-link,
form button {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 242, 0.72);
    font-weight: 900;
}

.nav a {
    padding: 11px 14px;
    color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"],
.back-link:hover {
    background: var(--ink);
    color: #fff;
}

main,
.site-footer {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
}

.campaign-intro,
.collection-head {
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
    gap: 20px;
    align-items: center;
    padding: 26px 0 18px;
}

.campaign-intro p,
.collection-head p,
.note-card p,
.look-detail aside p,
.credits-layout p {
    margin: 0 0 10px;
    color: var(--red);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 0;
    font-size: clamp(34px, 4.2vw, 62px);
    line-height: 0.95;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(28px, 4vw, 54px);
    line-height: 0.95;
}

.campaign-intro span,
.collection-head span,
.look-detail aside > span,
.credits-layout span {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.lookbook-board {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(142px, 13vw);
    gap: 12px;
    padding-bottom: 20px;
}

.look,
.note-card,
.quote-card,
.collection-list a,
.look-detail figure,
.look-detail aside,
.credits-layout > div,
.credits-layout form {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.look {
    position: relative;
}

.look::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.55));
}

.look span {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    border-radius: 6px;
    background: rgba(255, 250, 242, 0.92);
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 950;
}

.look-hero { grid-column: span 3; grid-row: span 3; }
.tall { grid-column: span 2; grid-row: span 3; }
.wide { grid-column: span 3; grid-row: span 2; }
.look:not(.look-hero):not(.tall):not(.wide) { grid-column: span 2; grid-row: span 2; }

.note-card,
.quote-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(22px, 3vw, 42px);
}

.note-card { grid-column: span 1; grid-row: span 2; }
.quote-card { grid-column: span 3; grid-row: span 1; background: var(--lime); }

.note-card h2 {
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1;
}

.quote-card span {
    margin-bottom: 8px;
    color: var(--red);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.quote-card strong {
    font-size: clamp(22px, 3vw, 38px);
    line-height: 1;
}

.look-detail,
.credits-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.52fr);
    gap: 12px;
    min-height: calc(100vh - 112px);
    padding: 18px 0 20px;
}

.look-detail figure {
    min-height: 720px;
    margin: 0;
}

.look-detail aside,
.credits-layout > div,
.credits-layout form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 54px);
}

.back-link {
    display: inline-grid;
    width: fit-content;
    min-height: 42px;
    place-items: center;
    margin-bottom: 22px;
    padding: 0 14px;
}

dl {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
}

dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

dt {
    color: var(--muted);
    font-weight: 850;
}

dd {
    margin: 0;
    text-align: right;
    font-weight: 950;
}

.collection-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding-bottom: 20px;
}

.collection-list a {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 440px;
}

.collection-list div {
    padding: 18px;
}

.collection-list span {
    display: block;
    margin-bottom: 6px;
    color: var(--red);
    font-size: 12px;
    font-weight: 950;
}

.collection-list strong {
    font-size: 28px;
}

form {
    gap: 14px;
}

form label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 850;
}

form input,
form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    padding: 13px 14px;
}

form button {
    width: fit-content;
    min-height: 44px;
    border: 0;
    background: var(--ink);
    color: #fff;
    padding: 0 16px;
}

.site-footer {
    justify-content: space-between;
    gap: 20px;
    padding: 26px 0 36px;
    color: var(--muted);
    font-size: 14px;
}

.site-footer div {
    display: grid;
    gap: 6px;
}

.site-footer strong,
.site-footer a {
    color: var(--ink);
    font-weight: 900;
}

.site-footer nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    padding: 12px 16px;
    font-weight: 900;
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 1050px) {
    .campaign-intro,
    .collection-head,
    .look-detail,
    .credits-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .lookbook-board,
    .collection-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(220px, 32vw);
    }

    .look-hero,
    .tall,
    .wide,
    .look:not(.look-hero):not(.tall):not(.wide),
    .note-card,
    .quote-card {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .site-header {
        display: grid;
        padding: 10px 0;
    }

    .nav,
    .site-footer nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .lookbook-board,
    .collection-list {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 44px; }
    .site-footer { display: grid; }
}
/* Unified modern demo footer */
.demo-footer {
    align-items: center;
    gap: 18px;
}

.footer-brand-block {
    min-width: min(100%, 280px);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.footer-legal a {
    display: inline-grid;
    min-height: 36px;
    place-items: center;
    border: 1px solid var(--line, rgba(0, 0, 0, 0.14));
    border-radius: var(--radius, 8px);
    background: color-mix(in srgb, var(--panel, #fff) 78%, transparent);
    padding: 0 11px;
    font-weight: 900;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.footer-social a {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line, rgba(0, 0, 0, 0.14));
    border-radius: var(--radius, 8px);
    background: var(--ink, #111);
    color: var(--panel, #fff);
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: var(--accent, var(--yellow, var(--lime, #dfff00)));
    color: var(--ink, #111);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 760px) {
    .demo-footer,
    .footer-legal,
    .footer-social {
        justify-content: flex-start;
    }
}
/* Neutral footer support pages */
.info-page {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
    gap: 14px;
    min-height: calc(100vh - 180px);
    padding: 18px 0 28px;
}

.info-hero,
.info-list article,
.info-form {
    border: 1px solid var(--line, rgba(0, 0, 0, 0.14));
    border-radius: var(--radius, 8px);
    background: var(--panel, rgba(255, 255, 255, 0.78));
    box-shadow: var(--shadow, 0 18px 58px rgba(0, 0, 0, 0.08));
}

.info-hero {
    display: flex;
    min-height: 420px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 56px);
}

.info-hero p {
    margin: 0 0 12px;
    color: var(--accent, currentColor);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.info-hero h1 {
    max-width: 12ch;
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 0.98;
}

.info-hero span,
.info-list p {
    color: var(--muted, #666);
    line-height: 1.65;
}

.info-list {
    display: grid;
    gap: 12px;
}

.info-list article {
    padding: clamp(20px, 3vw, 34px);
}

.info-list h2 {
    margin: 0 0 10px;
    font-size: clamp(20px, 2vw, 28px);
}

.info-list p {
    margin: 0;
}

.info-form {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 44px);
}

.info-form label {
    display: grid;
    gap: 8px;
    color: var(--muted, #666);
    font-weight: 850;
}

.info-form input,
.info-form textarea {
    width: 100%;
    border: 1px solid var(--line, rgba(0, 0, 0, 0.14));
    border-radius: var(--radius, 8px);
    background: color-mix(in srgb, var(--panel, #fff) 84%, white);
    color: var(--ink, #111);
    padding: 13px 14px;
}

.info-form button {
    width: fit-content;
    border: 1px solid var(--line, rgba(0, 0, 0, 0.14));
    border-radius: var(--radius, 8px);
    background: var(--ink, #111);
    color: var(--panel, #fff);
    padding: 13px 18px;
    font-weight: 950;
    cursor: pointer;
}

@media (max-width: 820px) {
    .info-page {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .info-hero {
        min-height: auto;
    }
}
