:root {
    --atrium-ink: #172026;
    --atrium-muted: #667179;
    --atrium-paper: #ffffff;
    --atrium-warm: #f8f5ef;
    --atrium-border: #d7d2c8;
    --atrium-gold: #b8863b;
    --atrium-gold-dark: #8d6328;
    --atrium-teal: #0f5f63;
    --atrium-green: #2f7d52;
}

body {
    color: var(--atrium-ink);
    background: var(--atrium-warm);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
    max-width: 100%;
}

h1,
h2,
h3,
.navbar-brand {
    letter-spacing: 0;
}

.navbar-brand img {
    width: min(230px, 58vw);
    height: auto;
}

body.home #masthead,
body.page:not(.home) #masthead {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    background: transparent !important;
}

body.admin-bar.home #masthead,
body.admin-bar.page:not(.home) #masthead {
    top: 32px;
}

body.home #nav-main,
body.page:not(.home) #nav-main {
    padding-top: 1.2rem;
}

body.home .navbar-brand img,
body.page:not(.home) .navbar-brand img {
    opacity: .96;
    filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0, 0, 0, .28));
}

body.home .nav-toggler,
body.page:not(.home) .nav-toggler {
    color: #fff;
    background: rgba(23, 32, 38, .48);
    border-color: rgba(255, 255, 255, .38);
    backdrop-filter: blur(12px);
}

@media (min-width: 992px) {
    body.home #bootscore-navbar,
    body.page:not(.home) #bootscore-navbar {
        align-items: center;
        padding: .35rem .55rem;
        background: rgba(23, 32, 38, .58);
        border: 1px solid rgba(255, 255, 255, .36);
        border-radius: 999px;
        box-shadow: 0 18px 50px rgba(0, 0, 0, .26);
        backdrop-filter: blur(16px);
    }

    body.home #bootscore-navbar .nav-link,
    body.page:not(.home) #bootscore-navbar .nav-link {
        padding: .5rem .74rem;
        color: rgba(255, 255, 255, .92);
        font-size: .92rem;
        text-decoration: none;
        text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
    }

    body.home #menu-item-92,
    body.page:not(.home) #menu-item-92 {
        display: none;
    }

    body.home #bootscore-navbar .nav-link:hover,
    body.home #bootscore-navbar .nav-link:focus,
    body.page:not(.home) #bootscore-navbar .nav-link:hover,
    body.page:not(.home) #bootscore-navbar .nav-link:focus,
    body.page:not(.home) #bootscore-navbar .nav-link.active {
        color: #f4d79c;
    }
}

@media (min-width: 1200px) {
    body.home #nav-main > .container,
    body.page:not(.home) #nav-main > .container {
        position: relative;
    }

    body.home #offcanvas-navbar,
    body.page:not(.home) #offcanvas-navbar {
        position: absolute;
        top: 50%;
        left: 50%;
        width: auto;
        transform: translate(-50%, -50%);
    }

    body.home #offcanvas-navbar .offcanvas-body,
    body.page:not(.home) #offcanvas-navbar .offcanvas-body {
        overflow: visible;
        padding: 0;
    }
}

h1,
h2 {
    font-family: Oswald, Inter, sans-serif;
    font-weight: 600;
}

a {
    color: var(--atrium-teal);
}

.atrium-btn-primary,
.btn-primary.atrium-btn-primary {
    background: var(--atrium-gold);
    border-color: var(--atrium-gold);
    color: #111;
    font-weight: 700;
}

.atrium-btn-primary:hover,
.btn-primary.atrium-btn-primary:hover {
    background: var(--atrium-gold-dark);
    border-color: var(--atrium-gold-dark);
    color: #fff;
}

.atrium-hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.atrium-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 14, 17, .56) 0%, rgba(9, 14, 17, .22) 42%, rgba(9, 14, 17, .68) 100%),
        radial-gradient(circle at center, rgba(15, 95, 99, .08), rgba(9, 14, 17, .5) 72%);
}

.atrium-hero__vignette {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: inset 0 0 150px rgba(0, 0, 0, .36);
    pointer-events: none;
}

.atrium-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 10rem;
    padding-bottom: 7rem;
}

.atrium-eyebrow {
    color: var(--atrium-gold);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: .75rem;
    text-transform: uppercase;
}

.atrium-hero__content--center {
    text-align: center;
}

.atrium-hero__content--center .atrium-eyebrow {
    color: rgba(255, 255, 255, .9);
}

.atrium-hero h1 {
    color: #fff;
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5.2rem;
    font-weight: 600;
    line-height: 1.02;
    margin-bottom: 1rem;
    text-shadow: 0 12px 36px rgba(0, 0, 0, .52);
}

.atrium-hero__lead {
    margin-right: auto;
    margin-left: auto;
    max-width: 650px;
    font-size: 1.2rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .88);
}

.atrium-hero__tagline {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 500;
    margin-bottom: .5rem;
    text-shadow: 0 8px 26px rgba(0, 0, 0, .48);
}

.atrium-hero__tagline::after {
    content: "";
    display: block;
    width: 94px;
    height: 2px;
    margin: 1rem auto 0;
    background: var(--atrium-gold);
}

.atrium-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.4rem;
}

.atrium-guide {
    position: absolute;
    right: max(3rem, calc((100vw - 1320px) / 2 + 1.5rem));
    bottom: 4.4rem;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: .55rem;
    color: #f6c984;
}

.atrium-guide__bubble {
    position: relative;
    padding: .62rem .8rem;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 8px;
    color: var(--atrium-ink);
    font-size: .88rem;
    font-weight: 600;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
}

.atrium-guide__bubble::after {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: -.52rem;
    width: .75rem;
    height: .75rem;
    background: rgba(255, 255, 255, .95);
    transform: rotate(45deg);
}

.atrium-guide__person {
    position: relative;
    width: 4.2rem;
    height: 5.3rem;
}

.atrium-guide__person::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.38rem;
    width: 1.45rem;
    height: 1.45rem;
    border: 4px solid currentColor;
    border-radius: 50%;
    background: rgba(23, 32, 38, .74);
}

.atrium-guide__person::after {
    content: "";
    position: absolute;
    top: 1.6rem;
    left: 1.18rem;
    width: 1.85rem;
    height: 2.45rem;
    border: 4px solid currentColor;
    border-radius: 1.1rem 1.1rem .35rem .35rem;
    background: rgba(23, 32, 38, .74);
}

.atrium-guide__person span::before,
.atrium-guide__person span::after {
    content: "";
    position: absolute;
    top: 2.3rem;
    width: 1.5rem;
    height: 4px;
    background: currentColor;
    border-radius: 999px;
}

.atrium-guide__person span::before {
    left: .1rem;
    transform: rotate(40deg);
}

.atrium-guide__person span::after {
    right: .1rem;
    transform: rotate(-40deg);
}

.atrium-scroll-cue {
    position: absolute;
    bottom: 1.15rem;
    left: 50%;
    z-index: 3;
    width: 2.4rem;
    height: 2.4rem;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
}

.atrium-scroll-cue span {
    position: absolute;
    top: .75rem;
    left: .82rem;
    width: .76rem;
    height: .76rem;
    border-right: 2px solid rgba(255, 255, 255, .92);
    border-bottom: 2px solid rgba(255, 255, 255, .92);
    transform: rotate(45deg);
}

.atrium-quick {
    margin-top: -2.2rem;
    position: relative;
    z-index: 2;
}

.atrium-quick__item {
    display: block;
    height: 100%;
    padding: 1.35rem;
    color: var(--atrium-ink);
    text-decoration: none;
    background: var(--atrium-paper);
    border: 1px solid rgba(23, 32, 38, .1);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(23, 32, 38, .12);
}

.atrium-quick__item span {
    display: block;
    color: var(--atrium-gold-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.atrium-quick__item strong {
    display: block;
    margin-top: .35rem;
    font-size: 1.04rem;
}

.atrium-section {
    padding: 5rem 0;
    background: var(--atrium-paper);
}

.atrium-section--warm {
    background: var(--atrium-warm);
}

.atrium-section--foundation {
    background: #eef2f2;
}

.atrium-section h2,
.atrium-page h1 {
    color: var(--atrium-ink);
    font-size: 2.7rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.atrium-section p,
.atrium-page p,
.atrium-page li {
    color: var(--atrium-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.atrium-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(23, 32, 38, .1);
    box-shadow: 0 18px 42px rgba(23, 32, 38, .14);
}

.atrium-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
}

.atrium-stats div,
.atrium-info-grid > div,
.atrium-card {
    background: var(--atrium-paper);
    border: 1px solid var(--atrium-border);
    border-radius: 8px;
    padding: 1.2rem;
}

.atrium-stats strong {
    display: block;
    color: var(--atrium-teal);
    font-family: Oswald, Inter, sans-serif;
    font-size: 2rem;
}

.atrium-stats span {
    color: var(--atrium-muted);
    font-size: .9rem;
}

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

.atrium-info-grid h3,
.atrium-card h3 {
    color: var(--atrium-ink);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: .45rem;
}

.atrium-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.atrium-timeline div {
    position: relative;
    min-height: 100%;
    padding: 1.1rem;
    background: #fff;
    border: 1px solid var(--atrium-border);
    border-radius: 8px;
}

.atrium-timeline div::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 1.1rem;
    right: 1.1rem;
    height: 3px;
    background: var(--atrium-teal);
}

.atrium-timeline span {
    display: block;
    color: var(--atrium-gold-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.atrium-timeline strong {
    display: block;
    margin-top: .35rem;
    color: var(--atrium-ink);
    font-size: 1.05rem;
}

.atrium-timeline p {
    margin: .45rem 0 0;
    font-size: .94rem;
}

.atrium-timeline--compact div {
    min-height: auto;
}

.atrium-policy {
    margin-top: 1rem;
    padding: .8rem 1rem;
    border-left: 5px solid var(--atrium-gold);
    background: var(--atrium-warm);
    color: var(--atrium-ink);
    font-weight: 700;
}

body.page:not(.home) #content {
    overflow: hidden;
}

body.page:not(.home) #content > #primary > .row {
    --bs-gutter-x: 0;
}

body.page:not(.home) .entry-header {
    display: none;
}

.atrium-page-hero {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 48vh;
    padding: 9.5rem 0 4rem;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(9, 14, 17, .66) 0%, rgba(9, 14, 17, .28) 44%, rgba(9, 14, 17, .78) 100%),
        radial-gradient(circle at center, rgba(15, 95, 99, .12), rgba(9, 14, 17, .5) 74%),
        url("../img/atrium-hero-roof.jpg") center 38%/cover;
    color: #fff;
    box-shadow: inset 0 0 130px rgba(0, 0, 0, .36);
}

.atrium-page-hero h1 {
    color: #fff;
    max-width: 980px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.7rem;
    font-weight: 600;
    line-height: 1.04;
    margin-bottom: .75rem;
    text-shadow: 0 10px 32px rgba(0, 0, 0, .5);
}

.atrium-page-hero p {
    color: rgba(255, 255, 255, .86);
    max-width: 720px;
}

.atrium-page {
    padding: 3.5rem 0 5rem;
    background: var(--atrium-warm);
}

.atrium-content-panel {
    background: var(--atrium-paper);
    border: 1px solid var(--atrium-border);
    border-radius: 8px;
    padding: 2rem;
}

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

.atrium-map-grid img {
    width: 100%;
    height: auto;
    background: #fff;
    border: 1px solid var(--atrium-border);
    border-radius: 6px;
}

.atrium-form {
    display: grid;
    gap: 1rem;
}

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

.atrium-form label {
    color: var(--atrium-ink);
    font-weight: 700;
}

.atrium-form input,
.atrium-form select,
.atrium-form textarea {
    display: block;
    width: 100%;
    margin-top: .4rem;
    padding: .8rem .9rem;
    border: 1px solid var(--atrium-border);
    border-radius: 6px;
    background: #fff;
    color: var(--atrium-ink);
}

.atrium-check {
    display: flex;
    gap: .6rem;
    align-items: center;
}

.atrium-check input {
    width: auto;
    margin: 0;
}

.atrium-form-success {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgba(47, 125, 82, .25);
    border-radius: 8px;
    color: #155d36;
    background: rgba(47, 125, 82, .08);
    font-weight: 700;
}

.atrium-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.atrium-status {
    border-left: 5px solid var(--atrium-green);
}

@media (max-width: 991.98px) {
    body.home #nav-main,
    body.page:not(.home) #nav-main {
        padding-top: .7rem;
    }

    .atrium-hero h1 {
        font-size: 3.8rem;
    }

    .atrium-hero__content {
        padding-top: 8rem;
        padding-bottom: 7.5rem;
    }

    .atrium-guide {
        right: 1.25rem;
        bottom: 4.25rem;
        transform: scale(.88);
        transform-origin: right bottom;
    }

    .atrium-section h2,
    .atrium-page h1,
    .atrium-page-hero h1 {
        font-size: 2.35rem;
    }

    .atrium-page-hero {
        min-height: 42vh;
        padding: 8rem 0 3.25rem;
    }

    .atrium-stats,
    .atrium-info-grid,
    .atrium-map-grid,
    .atrium-form-grid,
    .atrium-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .atrium-hero {
        min-height: 82vh;
        background-position: center top;
    }

    .atrium-hero__content {
        padding-top: 7rem;
        padding-bottom: 8rem;
    }

    .atrium-hero h1 {
        font-size: 2.75rem;
    }

    .atrium-hero__tagline {
        font-size: 1.22rem;
    }

    .atrium-hero__lead {
        font-size: 1rem;
    }

    .atrium-guide {
        right: .85rem;
        bottom: 3.75rem;
        transform: scale(.74);
    }

    .atrium-guide__bubble {
        font-size: .82rem;
    }

    .atrium-scroll-cue {
        bottom: .85rem;
    }

    .atrium-page-hero {
        min-height: 38vh;
        padding: 7.4rem 0 2.8rem;
        background-position: center top;
    }

    .atrium-page-hero p {
        font-size: .98rem;
    }

    .atrium-content-panel {
        padding: 1.25rem;
    }
}
