:root {
    --bg: #f8f5ef;
    --panel: #ffffff;
    --ink: #223d50;
    --muted: #5f6d78;
    --line: #dfd6c8;
    --accent: #f19424;
    --accent-deep: #c46f10;
    --sea: #223d50;
    --sand: #efe7d8;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    font-family: "Interstate", Arial, sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--ink);
    background: #ffffff;
}

h1,
h2,
h3,
h4,
.headline {
    text-transform: uppercase;
    letter-spacing: -2px;
    font-weight: 900;
    line-height: 100%;
}

h1,
h2,
h3,
.headline {
    color: #4A4B5A;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 48px;
}

.page-shell--compact {
    padding-bottom: 0;
}

.eyebrow {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.top-band {
    background: var(--sea);
    margin-bottom: 0;
}

.header-bar {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    padding: 18px 0 26px;
    background: transparent;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand__logo {
    display: block;
    width: min(100%, 280px);
    height: auto;
    max-height: 70px;
    flex: 0 0 auto;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #223d50;
    font: inherit;
    font-weight: 700;
    padding: 8px 0;
    cursor: pointer;
    margin-left: auto;
}

.nav-toggle__icon {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 2px;
    background: currentColor;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor;
}

.nav-toggle__icon::before {
    top: -6px;
}

.nav-toggle__icon::after {
    top: 6px;
}

.site-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
}

.site-nav__link {
    padding: 12px 6px;
    border-radius: 0;
    border: 0;
    color: #424242;
    font-weight: 600;
    transition: color 150ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    background: transparent;
    color: var(--accent);
}

.site-nav-mobile {
    display: none;
    border-bottom: 1px solid var(--line);
    padding: 0 0 16px;
}

.site-nav-mobile__link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(223, 214, 200, 0.8);
    color: #424242;
    font-weight: 600;
}

.site-nav-mobile__link.is-active {
    color: var(--accent);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    gap: 24px;
    padding-top: 24px;
    background: #ffffff;
}

.home-main {
    display: grid;
    gap: 2rem;
    padding: 24px 0 64px;
}

.home-intro {
    padding: 3rem 2.5rem 3.25rem;
}

.home-intro p {
    max-width: 72rem;
    font-size: 1rem;
    line-height: 1.5;
}

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

.site-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    height: 100%;
}

.site-card h2 {
    margin: 0;
    font-size: 2rem;
    line-height: 1;
}

.site-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.site-card__status {
    display: inline-flex;
    width: fit-content;
    padding: 0.85rem 1.15rem;
    border: 1px solid var(--line);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-card__status.is-live {
    background: #223d50;
    border-color: #223d50;
    color: #ffffff;
}

.site-card__status.is-setup {
    background: #fff4ea;
    border-color: #fb6b23;
    color: #4A4B5A;
}

.site-card__notice {
    font-size: 0.95rem;
}

.site-card__button {
    width: 100%;
    margin-top: auto;
    flex: 0 0 auto;
}

.site-card .site-card__button.button {
    flex: 0 0 auto !important;
    min-height: 46px;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
}

.panel {
    background: var(--panel);
    border: 1px solid rgba(223, 214, 200, 0.9);
    border-radius: 0;
    box-shadow: 0 14px 36px rgba(34, 61, 80, 0.08);
}

.image-panel {
    padding: 18px;
}

.image-stage {
    min-height: 460px;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(34, 61, 80, 0.12), rgba(241, 148, 36, 0.14));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    min-height: 460px;
    object-fit: cover;
    display: block;
}

.image-fallback {
    display: grid;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: var(--muted);
}

.caption {
    margin: 14px 4px 0;
    color: var(--muted);
}

.info-panel {
    padding: 28px;
    display: grid;
    gap: 24px;
}

.section-head h1 {
    margin: 8px 0 10px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-family: "Interstate", Arial, sans-serif;
    font-weight: 900;
    color: #4A4B5A;
}

.section-minihead h2 {
    margin: 0 0 4px;
    font-size: 1.6rem;
    font-family: "Interstate", Arial, sans-serif;
    font-weight: 900;
    color: #4A4B5A;
}

.section-head p,
.control-label,
.meta-label {
    color: var(--muted);
}

.section-kicker {
    font-size: 0.95rem;
    color: #fb6b23;
    font-weight: 700;
}

.site-notice {
    border: 1px solid #fb6b23;
    background: #fff4ea;
    padding: 16px 18px;
    color: #4A4B5A;
}

.site-notice strong {
    display: block;
    margin-bottom: 8px;
}

.site-notice p {
    margin: 0;
}

.button-row,
.date-picker {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
}

.control-group {
    display: grid;
    gap: 12px;
    width: 100%;
}

.button,
input[type="date"] {
    min-height: 46px;
    padding: 12px 16px;
    border-radius: 0;
    border: 1px solid var(--line);
    background: #fff;
    font: inherit;
}

.button {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    text-align: center;
    white-space: nowrap;
}

.button--secondary {
    background: #fff;
    color: var(--ink);
    flex: 1.35 1 0;
}

.timeline {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(64px, 64px);
    gap: 10px;
    position: relative;
    z-index: 2;
    margin-top: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.timeline__item {
    display: block;
    padding: 12px;
    border-radius: 0;
    border: 1px solid var(--line);
    text-align: center;
    background: #fff;
    position: relative;
    z-index: 3;
    cursor: pointer;
    min-width: 64px;
    white-space: nowrap;
    font-size: 0.95rem;
}

.timeline__item.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.timeline__item.is-empty {
    opacity: 0.5;
}

input[type="date"] {
    color: var(--ink);
    flex: 1 1 0;
    width: 100%;
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.meta-grid strong,
.meta-label {
    display: block;
}

#footer.site-footer {
    background: #eff1f2;
    position: relative;
    padding-top: 8rem;
    color: #223d50;
}

.edge {
    position: absolute;
    z-index: 3;
    left: 0;
    overflow: hidden;
    height: auto;
    width: 100%;
}

.edge-top {
    top: 0;
}

.edge-bottom {
    bottom: -1px;
}

#footer .edge img {
    display: block;
    width: 100%;
    height: auto;
}

#footer > .inside {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    padding-left: 2%;
    padding-right: 2%;
    max-width: 1440px;
    padding-bottom: 4rem;
}

#footer .mod_layout_article {
    padding-bottom: 0;
}

#footer .ce_image_advanced.logo {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 3.25rem;
    width: 100%;
}

.footer-logo__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

#footer .footer-content-wrap {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

#footer .ce_intro.margin-bottom-x-large {
    margin-bottom: 3.75rem;
}

#footer .ce_intro .inside {
    padding-left: 0.25rem;
}

.footer-subheadline {
    color: #fb6b23;
    font-size: 1.5rem !important;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

#footer .mod_location_list.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#footer .location_item {
    width: 25%;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;
    padding-right: 1rem;
}

#footer .location_container {
    border-left: 1px solid #ddd;
    padding-left: 1.375rem;
    line-height: 180%;
}

#footer .location_container .headline {
    margin-bottom: 1.5rem;
}

#footer .headline {
    margin-bottom: 2rem;
}

#footer .headline-size-l {
    font-size: 2.125rem;
    line-height: 1;
    letter-spacing: -1px;
    color: #4A4B5A;
}

#footer .location_container .headline-size-s,
#footer .location_container .headline-size-s a {
    font-size: 1.25rem;
    color: #4A4B5A;
    letter-spacing: -0.8px;
    line-height: 180%;
    font-weight: 900;
    text-transform: uppercase;
}

#footer .location_container .address_container {
    margin-bottom: 1.5rem;
}

#footer .contact_container {
    display: grid;
    gap: 0.15rem;
}

#footer .location_object {
    line-height: 1.45;
    font-size: 0.9rem;
}

#footer .contact_container .label {
    display: inline-block;
    min-width: 2.5rem;
    font-weight: 700;
}

#footer .location_object.location_email {
    margin-top: 0.35rem;
}

#footer a,
.footer-nav a {
    color: #fb6b23;
}

#footer a:hover,
.footer-nav a:hover {
    color: #fb6b23;
}

#footer-copyright.footer-bottom {
    background-color: #fb6b23;
}

#footer-copyright > .inside {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    padding-left: 2%;
    padding-right: 2%;
    max-width: 1440px;
}

#footer-copyright p,
#footer-copyright a {
    font-weight: 900;
    font-size: 0.975rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.6px;
    color: #fff;
}

#footer-copyright .mod_layout_article {
    display: flex;
    align-items: center;
    min-height: 51px;
}

#footer-copyright .ce_text {
    padding-top: 0;
}

#footer-copyright .mod_customnav {
    margin-left: auto;
}

.footer-copy p {
    margin: 0;
    line-height: 1;
}

.footernav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.footernav li {
    text-align: center;
}

.footernav li.first {
    text-align: left;
}

.footernav li.last {
    text-align: right;
}

.footernav li a {
    padding: 0 0.25rem;
    display: inline-block;
    line-height: 51px;
}

.footernav li.last a {
    padding-right: 0;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .site-card-grid {
        grid-template-columns: 1fr;
    }

    .header-bar {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: nowrap;
        min-height: 0;
        padding: 12px 0;
    }

    .site-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-self: center;
    }

    .site-nav-mobile {
        display: block;
        width: 100%;
    }

    #footer.site-footer {
        padding-top: 2.5rem;
        padding-bottom: 1rem;
    }

    #footer > .inside {
        padding-bottom: 0;
    }

    #footer .headline {
        margin-top: 2rem;
    }

    #footer .mod_location_list.flex {
        gap: 1.5rem 0;
    }

    #footer .location_item {
        width: 50%;
    }

    #footer .location_container {
        line-height: 1.7;
    }

    #footer .location_item:nth-child(3) .location_container {
        border-left: 0;
        padding-left: 0;
    }

    #footer-copyright > .inside {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    #footer-copyright .ce_text {
        display: none;
    }

    #footer-copyright .mod_layout_article {
        justify-content: flex-start;
        min-height: 51px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 40px, 100%);
    }

    .info-panel,
    .image-panel {
        padding: 18px;
    }

    .header-bar {
        padding: 14px 0 16px;
        gap: 12px;
        min-height: 0;
        justify-content: flex-start;
    }

    .brand {
        min-width: 0;
        flex: 0 1 auto;
        margin-right: auto;
    }

    .timeline,
    .meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .image-stage {
        min-height: 280px;
    }

    .hero-image {
        min-height: 280px;
    }

    .brand__logo {
        width: min(100%, 220px);
        height: auto;
        max-height: 56px;
    }

    .nav-toggle {
        flex: 0 0 auto;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 8px 0 8px 12px;
        margin-left: 0;
        color: #4A4B5A;
    }

    .nav-toggle__label {
        font-size: 0.875rem;
        font-weight: 700;
        letter-spacing: -0.2px;
        text-transform: uppercase;
        color: inherit;
    }

    #footer .ce_image_advanced.logo {
        margin-top: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .footer-logo__image {
        width: 350px;
        max-width: 100%;
        height: 159px;
        max-height: 100%;
    }

    .nav-toggle__icon,
    .nav-toggle__icon::before,
    .nav-toggle__icon::after {
        width: 20px;
    }

    .site-nav-mobile {
        padding: 0 20px 16px;
    }

    #footer .headline {
        max-width: 300px;
    }

    #footer > .inside {
        padding-left: 20px;
        padding-right: 20px;
    }

    #footer .location_item {
        width: 100%;
        padding-right: 0;
    }

    #footer .location_container {
        border-left: 0 !important;
        padding-left: 0;
    }

    #footer-copyright > .inside {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .footernav ul {
        justify-content: center;
    }

    .footernav li,
    .footernav li.first,
    .footernav li.last {
        text-align: center;
    }

    .footernav li a {
        padding: 0 0.25rem;
        line-height: 51px;
    }

    .footernav li.first {
        display: none;
    }

    .button-row,
    .date-picker {
        flex-wrap: wrap;
    }

    .timeline {
        grid-auto-columns: minmax(62px, 62px);
    }
}

@media screen and (max-width: 800px) {
    .mod_article:not(.bg-2) .edge-bottom {
        display: none;
    }
}
