/* ═══════════════════════════════════════════════════════
   layout.css — Site Header, Page Zones, Grid, Progress
═══════════════════════════════════════════════════════ */

/* ─── Site Header (top bar across all inner pages) ─── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
}
.site-header__inner {
    border-bottom: 1px solid var(--grey-soft);
    padding: 0 var(--space-lg);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    object-fit: contain;
}

.site-header__right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.site-header__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.site-header__contact-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey-text);
}

.site-header__contact-details {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-header__contact-link {
    font-size: 11px;
    font-weight: 500;
    color: var(--grey-text);
    text-decoration: none;
    white-space: nowrap;
}

.site-header__contact-link:hover {
    color: var(--color-primary, inherit);
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 640px) {
    .site-header__contact-details {
        flex-direction: column;
        align-items: flex-end;
        gap: 1px;
    }
}

/* ─── Progress Bar ─── */
.progress-bar {
    background: var(--white);
    border-bottom: 1px solid var(--grey-soft);
    padding: 0 var(--space-lg);
    position: sticky;
    top: 100px;
    z-index: 50;
}

.progress-bar__inner {
    display: flex;
    align-items: stretch;
    max-width: 100%;
    overflow-x: auto;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px 14px 0;
    position: relative;
    flex-shrink: 0;
}

.progress-step+.progress-step::before {
    content: '›';
    color: var(--grey-mid);
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
}

.progress-step__num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    background: var(--grey-soft);
    color: var(--grey-text);
    transition: background var(--ease), color var(--ease);
}

.progress-step__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey-mid);
    transition: color var(--ease);
    white-space: nowrap;
}

.progress-step--active .progress-step__num {
    background: var(--red);
    color: var(--white);
}

.progress-step--active .progress-step__label {
    color: var(--dark);
}

.progress-step--done .progress-step__num {
    background: var(--dark);
    color: var(--white);
}

.progress-step--done .progress-step__label {
    color: var(--grey-text);
}

/* Hide mobile version on desktop */
.progress-mobile {
    display: none;
}

/* ─── Mobile Progress ─── */
@media (max-width: 768px) {
    .progress-bar__inner {
        display: none; /* hide desktop steps */
    }

    .progress-mobile {
        display: block;
        padding: 16px 0;
    }

    .progress-mobile__top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }

    .progress-mobile__step {
        font-size: 12px;
        font-weight: 600;
        color: var(--grey-mid);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .progress-mobile__label {
        font-size: 14px;
        font-weight: 600;
        color: var(--dark);
    }

    .progress-mobile__track {
        height: 6px;
        background: var(--grey-soft);
        border-radius: 999px;
        overflow: hidden;
    }

    .progress-mobile__fill {
        height: 100%;
        background: var(--red);
        transition: width 0.3s ease;
    }
}

/* ─── Page Header (dark hero band on inner pages) ─── */
.page-header {
    background: var(--dark);
    padding: var(--space-lg) var(--space-lg) var(--space-lg);
    position: relative;
    overflow: hidden;
}


.page-header__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-mid);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: var(--space-md);
    transition: color var(--ease);
    text-decoration: none;
}

.page-header__back:hover {
    color: var(--white);
}

.page-header__eyebrow {
    margin-bottom: 10px;
}

.page-header__title {
    color: var(--white);
    margin-bottom: 12px;
}

.page-header__title em {
    color: var(--red);
    font-style: normal;
}

.page-header__sub {
    color: var(--grey-mid);
    max-width: 520px;
}

/* ─── Two-Column Page Body ─── */
.page-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    min-height: calc(100vh - 180px);
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .page-body {
        grid-template-columns: 1fr;
    }
}

/* ─── Gallery Section (left column) ─── */
.gallery-section {
    padding: var(--space-lg);
    background: var(--light);
}

.gallery-section__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-md);
}

.gallery-section__heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--grey-soft);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 2fr));
    gap: 18px;
}

.gallery-grid--art {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 2fr));
    gap: 18px;
}

.gallery-grid--data {
    grid-template-columns: 1fr;
    max-width: 680px;
}

/* ─── Landing Page Layout ─── */
.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
    position: relative;
    overflow: hidden;
}
.landing::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--red-soft) 0%, transparent 70%);
    pointer-events: none;
}
.landing::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(40, 48, 61, 0.05) 0%, transparent 70%);
    pointer-events: none;
}
.landing__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 960px;
}
.landing__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.landing__logo-img {
    width: 175px;
    height: 175px;
    border-radius: var(--radius);
    object-fit: contain;
}
.landing__eyebrow {
    margin-bottom: var(--space-sm);
}
.landing__title {
    color: var(--dark);
    margin-bottom: var(--space-2xl);
    margin-top: var(--space-lg);
}
.landing__title em {
    color: var(--red);
    font-style: normal;
}
.landing__sub {
    color: var(--grey-text);
    max-width: 400px;
    margin: 0 auto var(--space-lg);
}


/* ─── Category Grid ─── */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin-bottom: var(--space-xl);
}
.category-grid > * {
    max-width: 300px;
}

/* ─── Textium Strip (secondary) ─── */
.textium-strip {
    width: 100%;
    border: 1.5px solid var(--grey-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
}
.textium-strip__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: none;
    border: none;
    text-align: left;
    transition: background var(--ease);
}
.textium-strip__badge {
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}
.textium-strip__summary {
    flex: 1;
    font-size: 13px;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.4;
}
.textium-strip__summary em {
    color: var(--red);
    font-style: normal;
}
.textium-strip__chevron {
    font-size: 12px;
    color: var(--grey-text);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.textium-strip.is-open .textium-strip__chevron {
    transform: rotate(180deg);
}
.textium-strip__panel {
    border-top: 1px solid var(--grey-soft);
}
.textium-strip.is-open .textium-strip__panel {
    display: block;
}
.textium-strip__copy {
    padding: 18px 20px 14px;
    font-size: 16px;
    font-weight: 300;
    color: var(--grey-text);
    line-height: 1.65;
    border-bottom: 1px solid var(--grey-soft);
}
.textium-strip__copy strong {
    color: var(--dark);
    font-weight: 600;
}
.textium-strip__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    background: var(--grey-soft);
    padding: 6px 13px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}
.textium-strip__cta span {
    color: var(--red);
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    font-size: 25px;
}
@media (max-width: 640px) {
    .textium-strip__cta { font-size: 15px; }
    .textium-strip__cta span { font-size: 20px; }
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 80px;
}
.flow-step__img-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--grey-soft);
    border: 1.5px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: relative;
    overflow: hidden;
}
.flow-step__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.flow-step__num {
    position: absolute;
    top: 3px;
    left: 5px;
    font-size: 15px;
    font-family: var(--font-display);
    color: var(--red);
    font-weight: 700;
    letter-spacing: 0.04em;
}
.flow-step__label {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--dark);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.flow-arrow {
    flex-shrink: 0;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 50px;
    padding-bottom: 20px;
    opacity: 0.5;
}

/* ─── Featured Section ─── */
.featured-section {
    width: 100%;
    max-width: 560px;
    margin: 0 auto var(--space-lg);
}
.featured-section__label {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
    text-align: center;
}

.grid-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-bottom: var(--space-md);
}
.grid-divider__line {
    flex: 1;
    height: 1px;
    background: var(--grey-soft);
}
.grid-divider__text {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-text);
    white-space: nowrap;
}


/* ─── Mobile ─── */
@media (max-width: 640px) {
    .landing {
        padding: var(--space-lg) var(--space-sm) var(--space-xl);
    }
    .landing__logo-img {
        width: 100px;
        height: 100px;
    }
    .category-grid {
        gap: 10px;
    }
    .category-grid > * {
        max-width: 95%;
    }
    .textium-strip__summary {
        font-size: 12px;
    }
    .flow-step {
        min-width: 70px;
    }
    .flow-step__img-wrap {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }
}

/* ─── Confirm Page Layout ─── */
.confirm-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: var(--space-xl) var(--space-md);
}

.confirm-layout__inner {
    width: 100%;
    max-width: 680px;
}