﻿
/* =========================================
   PRECISION ARCHITECTURAL ASSEMBLY
   ========================================= */

:root {
    --beam-height: 64px;
    --shaft-width: calc(var(--pillar-width) * 0.53);
}

/* Continuous overhead timber */

.nav-timber {
    inset: auto 0;
    top: 50%;
    height: var(--beam-height);
    transform: translateY(-50%);
    background-image:
        url("../images/architecture/rustic-nav-beam-extension.png");
    background-size: auto 100%;
    background-repeat: repeat-x;
}

/* Proportionate decorative endcaps */

.nav-endcap {
    top: 50%;
    height: 86px;
    width: auto;
    max-width: none;
}

.nav-endcap-left {
    transform: translateY(-50%);
}

.nav-endcap-right {
    transform: translateY(-50%) scaleX(-1);
}

/* Connect the capitals to the overhead beam */

.architecture-pillar {
    top: -30px;
}

/* Match the structural components */

.pillar-capital {
    width: calc(var(--shaft-width) * 1.85);
    max-width: none;
    align-self: center;
    margin-bottom: -4px;
}

.pillar-shaft {
    width: var(--shaft-width);
    align-self: center;
    background-image:
        url("../images/architecture/rustic-pillar-extension.png");
    background-size: 100% auto;
}

/* Preserve the natural width of the ivy */

.pillar-shaft::after {
    inset: 0 -45%;
    background-size: 100% auto;
}

/* Match the stone foundations */

.pillar-base {
    width: calc(var(--shaft-width) * 1.65);
    align-self: center;
    margin-top: -4px;
}

@media (max-width: 760px) {
    :root {
        --beam-height: 108px;
    }

    .nav-endcap {
        height: 125px;
    }
}

/* Refined capital connections */

.architecture-pillar {
    top: -34px;
}

.pillar-capital {
    width: calc(var(--pillar-width) * 0.98);
    margin-bottom: -12px;
}

.pillar-shaft {
    width: calc(var(--pillar-width) * 0.44);
}

.pillar-base {
    width: calc(var(--pillar-width) * 0.78);
}


/* Seamless architectural joinery */

:root {
    --shaft-width: calc(var(--pillar-width) * 0.42);
}

.architecture-pillar {
    top: -36px;
}

.pillar-capital {
    width: calc(var(--pillar-width) * 0.98);
    margin-bottom: calc(var(--pillar-width) * -0.14);
    z-index: 3;
}

.pillar-shaft {
    width: var(--shaft-width);
    z-index: 1;
}

.pillar-base {
    width: calc(var(--pillar-width) * 0.78);
    margin-top: calc(var(--pillar-width) * -0.12);
    z-index: 3;
}


/* Conceal the upper shaft collar */

.pillar-capital {
    margin-bottom: calc(var(--pillar-width) * -0.21);
}


/* Retire the original floating hero lantern */

.hero-content > .heartfire-lantern {
    display: none;
}


/* Centered InnKeeper branding */

.nav-ornament {
    display: none;
}

.site-header .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.site-header .brand img {
    width: clamp(250px, 26vw, 400px);
    max-height: none;
    height: auto;
}

.site-header nav {
    margin-left: auto;
}

@media (max-width: 1200px) {
    .site-header {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        min-height: 150px;
    }

    .site-header .brand {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }

    .site-header .brand img {
        width: 260px;
    }

    .site-header nav {
        margin: 0;
        justify-content: center;
        flex-wrap: wrap;
    }
}

