:root {
    --lgx-burgundy: #a91435;
    --lgx-burgundy-deep: #7d0f28;
    --lgx-ivory: #f7f3ec;
    --lgx-ivory-deep: #efe8dc;
    --lgx-gold: #c5aa78;
    --lgx-ink: #1a1714;
    --lgx-muted: #6f675d;
    --lgx-serif: "Cormorant Garamond", "Times New Roman", serif;
    --lgx-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

.lgx {
    color: var(--lgx-ink);
    background: var(--lgx-ivory);
    font-family: var(--lgx-sans);
}

.lgx-wrap {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.lgx-eyebrow {
    margin: 0 0 0.75rem;
    color: var(--lgx-burgundy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.lgx-eyebrow--light {
    color: var(--lgx-gold);
}

.lgx-title {
    margin: 0;
    font-family: var(--lgx-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

.lgx-title--light {
    color: #fffdf8;
}

.lgx-lead {
    margin: 0.9rem 0 0;
    max-width: 38rem;
    color: var(--lgx-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.lgx-lead--light {
    color: rgba(255, 253, 248, 0.82);
}

.lgx-prose {
    margin-top: 1.25rem;
    color: var(--lgx-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.lgx-prose p {
    margin: 0 0 1rem;
}

.lgx-prose p:last-child {
    margin-bottom: 0;
}

.lgx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.lgx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.35rem;
    border: 1px solid transparent;
    font-family: var(--lgx-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.lgx-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.lgx-btn--primary {
    background: var(--lgx-burgundy);
    color: #fffdf8;
}

.lgx-btn--primary:hover {
    background: var(--lgx-burgundy-deep);
    color: #fffdf8;
}

.lgx-btn--ghost {
    border-color: rgba(255, 253, 248, 0.55);
    background: transparent;
    color: #fffdf8;
}

.lgx-btn--ghost:hover {
    border-color: #fffdf8;
    background: rgba(255, 253, 248, 0.08);
    color: #fffdf8;
}

.lgx-cta .lgx-btn--ghost {
    border-color: rgba(255, 253, 248, 0.4);
}

.lgx-btn--gold {
    background: var(--lgx-gold);
    color: var(--lgx-ink);
}

.lgx-btn--gold:hover {
    background: #d4bc8f;
    color: var(--lgx-ink);
}

.lgx-hero {
    position: relative;
    min-height: min(92vh, 52rem);
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #fffdf8;
    isolation: isolate;
}

.lgx-hero__media,
.lgx-hero__image,
.lgx-hero__shade {
    position: absolute;
    inset: 0;
}

.lgx-hero__media {
    z-index: -1;
}

.lgx-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.03);
    animation: lgx-kenburns 18s ease-out forwards;
}

.lgx-hero__shade {
    background:
        linear-gradient(180deg, rgba(18, 12, 14, 0.18) 0%, rgba(18, 12, 14, 0.28) 38%, rgba(18, 12, 14, 0.78) 100%),
        linear-gradient(90deg, rgba(18, 12, 14, 0.55) 0%, rgba(18, 12, 14, 0.18) 58%, rgba(18, 12, 14, 0.35) 100%);
}

.lgx-hero__content {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 5.5rem 0 3.5rem;
    animation: lgx-rise 0.9s ease both;
}

.lgx-hero__title {
    margin: 0;
    max-width: 12ch;
    font-family: var(--lgx-serif);
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: 0.01em;
}

.lgx-hero__subtitle {
    margin: 1.1rem 0 0;
    max-width: 34rem;
    color: rgba(255, 253, 248, 0.86);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
}

.lgx-section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.lgx-section__header {
    margin-bottom: 2rem;
}

.lgx-about {
    background:
        radial-gradient(circle at top right, rgba(197, 170, 120, 0.18), transparent 42%),
        var(--lgx-ivory);
}

.lgx-about__copy {
    max-width: 40rem;
    animation: lgx-rise 0.8s ease both;
}

.lgx-benefits {
    background: var(--lgx-ivory-deep);
}

.lgx-benefits__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
}

.lgx-benefit {
    padding-top: 1rem;
    border-top: 1px solid rgba(169, 20, 53, 0.18);
    animation: lgx-rise 0.7s ease both;
}

.lgx-benefit:nth-child(2) { animation-delay: 0.08s; }
.lgx-benefit:nth-child(3) { animation-delay: 0.16s; }
.lgx-benefit:nth-child(4) { animation-delay: 0.24s; }

.lgx-benefit__title {
    margin: 0;
    font-family: var(--lgx-serif);
    font-size: 1.55rem;
    font-weight: 500;
}

.lgx-benefit__text {
    margin: 0.55rem 0 0;
    color: var(--lgx-muted);
    line-height: 1.7;
}

.lgx-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.lgx-portfolio__item {
    margin: 0;
    overflow: hidden;
    background: #ddd4c5;
    aspect-ratio: 4 / 5;
}

.lgx-portfolio__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.lgx-portfolio__item:hover img {
    transform: scale(1.04);
}

.lgx-video__frame {
    overflow: hidden;
    background: #14110f;
    aspect-ratio: 16 / 9;
}

.lgx-video__player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.lgx-cta {
    background:
        linear-gradient(135deg, rgba(125, 15, 40, 0.92), rgba(26, 23, 20, 0.94)),
        var(--lgx-burgundy-deep);
    color: #fffdf8;
}

.lgx-cta__inner {
    max-width: 42rem;
}

.lgx-about .lgx-actions .lgx-btn--ghost,
.lgx-benefits .lgx-btn--ghost,
.lgx-portfolio .lgx-btn--ghost {
    border-color: rgba(26, 23, 20, 0.25);
    color: var(--lgx-ink);
}

@keyframes lgx-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lgx-kenburns {
    from { transform: scale(1.03); }
    to { transform: scale(1.08); }
}

@media (max-width: 767px) {
    .lgx-wrap {
        width: min(1120px, calc(100% - 1.5rem));
    }

    .lgx-hero {
        min-height: 88vh;
    }

    .lgx-hero__content {
        padding: 5rem 0 2.5rem;
    }

    .lgx-benefits__list,
    .lgx-portfolio__grid {
        grid-template-columns: 1fr;
    }

    .lgx-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .lgx-btn {
        width: 100%;
    }
}

@media (min-width: 900px) {
    .lgx-portfolio__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
