*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 300;
    color: #e8e4dc;
    background: #050505;
    background-image:
        linear-gradient(135deg, rgba(201, 162, 39, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse 90% 55% at 0% 0%, rgba(201, 162, 39, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 100%, rgba(168, 132, 31, 0.08), transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(20, 20, 20, 0.9), transparent);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.04) 0%, transparent 35%);
    z-index: 0;
}

.gm-landing {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.gm-wrap {
    width: 100%;
    max-width: 1240px;
    display: grid;
    grid-template-columns: minmax(300px, 1.05fr) minmax(300px, 1fr);
    gap: 3rem 4.5rem;
    align-items: center;
}

.gm-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gm-main-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.4);
    box-shadow:
        0 0 0 1px rgba(201, 162, 39, 0.12),
        0 0 60px rgba(201, 162, 39, 0.08),
        0 28px 56px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gm-main-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 5, 0.55) 100%);
    z-index: 1;
}

.gm-main-frame::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #e8c547, #c9a227, transparent);
    z-index: 2;
    opacity: 0.85;
}

.gm-main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.35s ease;
}

.gm-main-photo.is-fading {
    opacity: 0.4;
}

.gm-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
}

.gm-thumb {
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    background: #111;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.gm-thumb:hover:not(:disabled) {
    border-color: rgba(201, 162, 39, 0.55);
    transform: translateY(-2px);
}

.gm-thumb.is-active {
    border-color: #c9a227;
    box-shadow: 0 0 14px rgba(201, 162, 39, 0.3);
}

.gm-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gm-thumb--empty,
.gm-thumb:disabled {
    cursor: default;
    opacity: 0.45;
}

.gm-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.65rem;
    color: rgba(201, 162, 39, 0.35);
}

.gm-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #0e0e0e;
    color: rgba(232, 228, 220, 0.5);
    text-align: center;
    padding: 1.5rem;
}

.gm-placeholder small {
    font-size: 0.7rem;
    color: rgba(201, 162, 39, 0.45);
}

.gm-content {
    padding: 0.5rem 0;
}

.gm-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: #c9a227;
    font-weight: 500;
}

.gm-headline {
    margin: 0 0 0.5rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.85rem, 3.8vw, 2.65rem);
    font-weight: 600;
    line-height: 1.2;
    color: #f5f0e6;
    letter-spacing: 0.02em;
}

.gm-subheadline {
    margin: 0 0 1.5rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(212, 175, 55, 0.9);
    line-height: 1.35;
}

.gm-line {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(232, 228, 220, 0.82);
}

.gm-line--gold {
    color: #d4af37;
    font-weight: 400;
}

.gm-cta {
    margin: 1.5rem 0 2rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(232, 228, 220, 0.7);
    max-width: 38ch;
}

.gm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 2.25rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0a0a0a;
    background: linear-gradient(135deg, #f0d060 0%, #e8c547 25%, #c9a227 55%, #a8841f 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    box-shadow: 0 4px 28px rgba(201, 162, 39, 0.4);
    transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.gm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(201, 162, 39, 0.5);
    filter: brightness(1.06);
}

.gm-btn:active {
    transform: translateY(0);
}

.gm-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gm-landing--fallback .gm-wrap--narrow {
    max-width: 720px;
    grid-template-columns: 1fr;
}

.gm-post h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: #f5f0e6;
}

.gm-post-body {
    line-height: 1.7;
    color: rgba(232, 228, 220, 0.85);
}

@media (max-width: 960px) {
    .gm-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 520px;
    }

    .gm-content {
        text-align: center;
    }

    .gm-cta {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 420px) {
    .gm-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }
}
