.cinematic-hero {
    position: relative;
    width: 100%;
    margin-top: 14px;
    background: #08182d;
    color: #fff;
}

.cinematic-hero,
.cinematic-hero * {
    box-sizing: border-box;
}

.hero-stage {
    position: relative;
    height: clamp(540px, 76svh, 850px);
    overflow: hidden;
    isolation: isolate;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.035);
    transition: transform 8s ease-out;
}

.hero-slide.is-active .hero-image {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 17, 33, .84),
            rgba(5, 17, 33, .52) 36%,
            rgba(5, 17, 33, .05) 78%
        ),
        linear-gradient(
            0deg,
            rgba(5, 17, 33, .32),
            transparent 38%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: min(1380px, calc(100% - 80px));
    height: 100%;
    margin-inline: auto;
}

.hero-copy {
    width: min(100%, 690px);
    padding: 50px 0;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 26px;
    color: #edc77e;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .2em;
}

.eyebrow-line {
    width: 38px;
    height: 1px;
    flex-shrink: 0;
    background: #e4b96b;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    color: #fffaf0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(4.4rem, 7.3vw, 8.5rem);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -.035em;
}

.hero-title em {
    color: #e9c37c;
    font-weight: 500;
}

.hero-description {
    max-width: 430px;
    margin: 30px 0;
    color: #e4e8ee;
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-action {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    min-height: 56px;
    padding: 7px 7px 7px 22px;
    border: 1px solid #e2bc75;
    border-radius: 4px;
    background: #e2bc75;
    color: #10264b;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
}

.hero-action:hover {
    background: #f2d697;
    transform: translateY(-2px);
}

.action-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 3px;
    background: #10264b;
    color: #f1d28f;
}

.action-icon svg {
    width: 20px;
    height: 20px;
}

.hero-slide-number {
    position: absolute;
    right: 35px;
    bottom: 25px;
    z-index: 2;
    color: rgba(255, 255, 255, .65);
    font-size: .75rem;
    letter-spacing: .18em;
}

.reservation-strip {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        115deg,
        #0b2446 0%,
        #123662 54%,
        #0b2446 100%
    );
    border-top: 1px solid rgba(231, 196, 119, .3);
}

.reservation-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background: repeating-linear-gradient(
        115deg,
        transparent 0,
        transparent 95px,
        rgba(224, 187, 115, .38) 96px,
        transparent 97px
    );
    pointer-events: none;
}

.reservation-strip-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    width: min(1380px, calc(100% - 80px));
    min-height: 128px;
    margin: 0 auto;
    padding: 24px 0;
}

.reservation-message {
    display: flex;
    align-items: center;
    gap: 24px;
}

.reservation-accent {
    width: 3px;
    height: 52px;
    flex-shrink: 0;
    background: #e2bc75;
}

.reservation-message h2 {
    margin: 0;
    color: #fffaf0;
    font-family: Inter, sans-serif;
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: -.035em;
}

.reservation-message h2 span {
    color: #e9c37c;
}

.reservation-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 54px;
    padding: 0 25px;
    flex-shrink: 0;
    border: 1px solid #e2bc75;
    border-radius: 3px;
    background: #e2bc75;
    color: #10264b;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.reservation-button:hover {
    background: #f2d697;
    transform: translateY(-2px);
}

.reservation-button svg {
    width: 19px;
    height: 19px;
    transition: transform .2s ease;
}

.reservation-button:hover svg {
    transform: translateX(4px);
}

.cinematic-hero a:focus-visible {
    outline: 3px solid #f3d795;
    outline-offset: 4px;
}

@media (max-width: 800px) {
    .hero-content,
    .reservation-strip-inner {
        width: calc(100% - 48px);
    }

    .hero-stage {
        height: clamp(520px, 72svh, 740px);
    }

    .reservation-strip-inner {
        min-height: 110px;
    }
}

@media (max-width: 640px) {
    .hero-stage {
        height: min(680px, 76svh);
        min-height: 490px;
    }

    .hero-image {
        object-position: 58% center !important;
    }

    .hero-overlay {
        background: linear-gradient(
            0deg,
            rgba(4, 15, 31, .95),
            rgba(4, 15, 31, .68) 42%,
            rgba(4, 15, 31, .1) 100%
        );
    }

    .hero-content {
        align-items: flex-end;
        width: calc(100% - 40px);
    }

    .hero-copy {
        padding: 30px 0 45px;
    }

    .hero-eyebrow {
        font-size: .6rem;
        margin-bottom: 18px;
    }

    .hero-title {
        font-size: clamp(3.4rem, 12vw, 5.3rem);
    }

    .hero-description {
        margin: 20px 0;
        font-size: .93rem;
        line-height: 1.65;
    }

    .hero-action {
        min-height: 50px;
        padding: 5px 5px 5px 15px;
        font-size: .66rem;
        gap: 12px;
    }

    .action-icon {
        width: 38px;
        height: 38px;
    }

    .reservation-strip-inner {
        width: calc(100% - 40px);
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 25px 0;
    }

    .reservation-message {
        gap: 15px;
    }

    .reservation-accent {
        height: 45px;
    }

    .reservation-message h2 {
        font-size: 1.35rem;
    }

    .reservation-button {
        align-self: flex-start;
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-image,
    .hero-action,
    .reservation-button,
    .reservation-button svg {
        transition: none !important;
        transform: none !important;
    }
}


/* GOLDEN HOMEPAGE TRANSPARENT OVERLAY HEADER */

.golden-homepage {
    position: relative;
}

.golden-homepage > .architectural-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    padding: 12px 0;
    background: transparent;
}

html.dark .golden-homepage > .architectural-header,
html[data-theme="dark"] .golden-homepage > .architectural-header {
    background: transparent;
}

.golden-homepage .header-frame {
    overflow: visible;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.golden-homepage .header-frame::before,
.golden-homepage .header-frame::after {
    display: none;
}

.golden-homepage .architectural-header.is-scrolled .header-frame {
    box-shadow: none;
}

.golden-homepage .architectural-header {
    --header-ink: #fffaf0;
    --header-muted: #e5e7eb;
    --header-gold: #e9c37c;
    --header-line: rgba(255, 255, 255, .28);
}

.golden-homepage .brand-identity strong {
    color: #fffaf0;
}

.golden-homepage .brand-identity small {
    color: #e9c37c;
}

.golden-homepage .nav-link {
    color: #fffaf0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}

.golden-homepage .nav-link:hover,
.golden-homepage .nav-link.is-active {
    color: #e9c37c;
}

.golden-homepage .theme-toggle,
.golden-homepage .menu-button {
    color: #fffaf0;
    border-color: rgba(255, 255, 255, .3);
}

.golden-homepage .theme-options {
    --header-ink: #10264b;
    --header-gold: #a47b35;
    background: #fffaf0;
}

.golden-homepage .projects-dropdown-panel {
    --header-ink: #10264b;
    --header-gold: #a47b35;
    background: #fffaf0;
}

.golden-homepage .mobile-panel {
    --header-ink: #10264b;
    --header-gold: #a47b35;
    --header-line: rgba(16, 38, 75, .12);
    background: #fffaf0;
}

.golden-homepage .cinematic-hero {
    margin-top: 0;
}

.golden-homepage .hero-copy {
    padding-top: 145px;
}

@media (max-width: 1180px) {
    .golden-homepage .brand-identity strong {
        color: #fffaf0;
    }

    .golden-homepage .brand-identity small {
        color: #e9c37c;
    }
}

@media (max-width: 680px) {
    .golden-homepage .hero-copy {
        padding-top: 115px;
    }

    .golden-homepage .header-frame {
        border: 0;
    }
}

/* GOLDEN HERO POINTER AND TOUCH INTERACTION */

.cinematic-hero .hero-stage {
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.cinematic-hero .hero-stage.is-dragging {
    cursor: grabbing;
}

.cinematic-hero .hero-image {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.cinematic-hero .hero-stage:focus-visible {
    outline: 3px solid #e9c37c;
    outline-offset: -4px;
}

@media (pointer: coarse) {
    .cinematic-hero .hero-stage {
        cursor: auto;
    }
}


/* GOLDEN HOMEPAGE STICKY HEADER REPAIR */

/*
 * Keep the header in normal document flow so position: sticky works.
 * Pull the hero beneath it to preserve the cinematic overlay.
 */

.golden-homepage > .architectural-header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    z-index: 100;
    width: 100%;
    background: transparent;
}

.golden-homepage > .cinematic-hero {
    margin-top: -124px;
}

.golden-homepage > .architectural-header.is-scrolled {
    padding-top: 7px;
    padding-bottom: 7px;
}

.golden-homepage > .architectural-header.is-scrolled .header-frame {
    background: rgba(12, 27, 49, .94);
    border-color: rgba(226, 190, 119, .20);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.golden-homepage > .architectural-header.is-scrolled
.header-frame::before,
.golden-homepage > .architectural-header.is-scrolled
.header-frame::after {
    display: none;
}

@media (max-width: 680px) {
    .golden-homepage > .cinematic-hero {
        margin-top: -92px;
    }
}


/* GOLDEN HERO HEIGHT ENHANCEMENT */

/* Desktop: taller cinematic architectural showcase */
.cinematic-hero .hero-stage {
    height: clamp(720px, 90svh, 900px);
}

/* Tablet */
@media (min-width: 681px) and (max-width: 1024px) {
    .cinematic-hero .hero-stage {
        height: clamp(650px, 88svh, 780px);
    }
}

/* Mobile */
@media (max-width: 680px) {
    .cinematic-hero .hero-stage {
        height: clamp(560px, 85svh, 720px);
    }
}

/* Short landscape screens */
@media (max-height: 550px) and (min-width: 681px) {
    .cinematic-hero .hero-stage {
        height: 650px;
    }
}
