@import url(".gallery.css");

/* Site-Wide CSS (.site.css) */

/* Design tokens */

:root {
    --main-extra-dark: rgb(0, 20, 35);
    --main-dark: rgb(0, 60, 105);
    --main: rgb(0, 111, 191);
    --main-light: rgb(105, 185, 230);
    --main-extra-light: rgb(210, 230, 245);
    --alt-extra-dark: rgb(55, 40, 15);
    --alt-dark: rgb(115, 85, 20);
    --alt: rgb(195, 140, 25);
    --alt-light: rgb(230, 200, 120);
    --alt-extra-light: rgb(250, 235, 205);
    --gray-light: rgb(180, 180, 180);
    --gray-medium: rgb(115, 115, 115);
    --gray-text: rgb(80, 80, 80);
    --red-required: rgb(150, 25, 25);

    /* Neutral colors and transparent surfaces */
    --white: rgb(255, 255, 255);
    --black: rgb(0, 0, 0);
    --gray-extra-light: rgb(204, 204, 204);
    --page-background: rgb(32, 32, 32);
    --transparent: transparent;

    /* Borders, overlays, shadows and focus indicators */
    --photo-border: rgba(0, 20, 35, 0.18);
    --photo-shadow: rgba(0, 0, 0, 0.14);
    --photo-caption-overlay: rgba(0, 20, 35, 0.9);
    --input-focus-outline: rgba(105, 185, 230, 0.55);
}

/* Base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    font-family: Cambo, serif;
}

body {
    margin: 0;
    background:
        var(--page-background)
        url('/.images/.backgrounds/brushed-aluminum-black-1920x1080.webp')
        center / cover
        no-repeat
        fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-family: Strait, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

[hidden] {
    display: none !important;
}

/* Page shell */

article {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1040px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    background-color: var(--transparent);
}

/* Header */

article > header {
    flex: 0 0 auto;
    width: 100%;
    min-height: 140px;
    padding: 20px;
    background-color: var(--white);
}

article > header .sectionLogo {
    width: min(300px, 100%);
}

article > header a {
    text-decoration: none;
}

.sectionLogo img {
    display: block;
    width: 100%;
}

.sectionLogo .divTaglineConnectingPresenters,
.sectionLogo .divTaglineSightSoundService {
    text-align: center;
}

.sectionLogo .divTaglineConnectingPresenters {
    margin-top: 0.25em;
    color: var(--alt);
    font-family: Strait, sans-serif;
    font-size: 12pt;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.sectionLogo .divTaglineSightSoundService {
    margin-top: 0.25em;
    padding: 3px 0;
    background-color: var(--alt);
    color: var(--white);
    font-family: Cambo, serif;
    font-size: 14pt;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Primary navigation */

article > nav.navPrimary {
    position: sticky;
    z-index: 100;
    top: 0;
    width: 100%;
    height: 50px;
    padding: 0 20px;
    background-color: var(--main);
}

article > nav.navPrimary > .ulNavPrimary {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

article > nav.navPrimary .liNavItem {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

article > nav.navPrimary .aNavTop,
article > nav.navPrimary .buttonNavMenu {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    height: 100%;
    padding: 5px 20px;
    border: none;
    background-color: var(--transparent);
    color: var(--white);
    cursor: pointer;
    font-family: Strait, sans-serif;
    font-size: 12pt;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

article > nav.navPrimary .aNavTop:hover,
article > nav.navPrimary .aNavTop:focus-visible {
    text-decoration: underline;
}

article > nav.navPrimary .buttonNavMenu:hover,
article > nav.navPrimary .buttonNavMenu:focus-visible,
article > nav.navPrimary .buttonNavMenuOpen {
    background-color: var(--main-dark);
}

article > nav.navPrimary .aNavTop:focus-visible,
article > nav.navPrimary .buttonNavMenu:focus-visible,
article > nav.navPrimary .aNavDropdown:focus-visible {
    outline: 2px solid var(--alt-light);
    outline-offset: -2px;
}

article > nav.navPrimary .imgNavChevron {
    display: block;
    width: auto;
    height: 0.75em;
}

article > nav.navPrimary .ulNavDropdown {
    position: absolute;
    z-index: 101;
    top: 100%;
    left: 0;
    min-width: max-content;
    margin: 0;
    padding: 12px 0;
    background-color: var(--main-dark);
    list-style: none;
}

article > nav.navPrimary .ulNavDropdown[hidden] {
    display: none;
}

article > nav.navPrimary .liNavDropdown {
    display: block;
    margin: 0;
    padding: 0;
}

article > nav.navPrimary .aNavDropdown {
    display: block;
    padding: 6px 20px;
    color: var(--white);
    font-family: Strait, sans-serif;
    font-size: 12pt;
    font-weight: bold;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

article > nav.navPrimary .aNavDropdown:hover,
article > nav.navPrimary .aNavDropdown:focus-visible {
    background-color: var(--main-extra-dark);
    text-decoration: underline;
}

/* Keep the About dropdown inside the right edge of the page. */
article > nav.navPrimary
.liNavItem:nth-last-child(2)
> .ulNavDropdown {
    right: 0;
    left: auto;
}

/* Main content */

article > main {
    flex: 1 0 auto;
    width: 100%;
    min-width: 0;
    margin: 12px 0 6px;
    padding: 40px 50px;
    background-color: var(--white);
    font-size: 1.0625rem;
    line-height: 1.55;
}

article > main p {
    margin: 0 0 0.8em;
    padding: 0;
    line-height: 1.55;
}

article > main li {
    margin-bottom: 0.35em;
}

article > main a {
    color: var(--main);
}

article > main h1,
article > main h2,
article > main h3,
article > main h4,
article > main h5,
article > main h6 {
    line-height: 1.25;
    scroll-margin-top: 70px;
}

article > main h1 {
    margin-bottom: 0.5em;
    line-height: 1.2;
}

article > main h2 {
    padding-top: 0.25em;
    color: var(--main-dark);
}
article > main h3 {
    margin: 1em 0 0.3em;
    padding: 0;
    color: var(--main-dark);
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.3;
}

article > main h3:first-child {
    margin-top: 0;
}
/* Keep section headings closer to their text than the preceding section. */
article > main > h2,
article > main > section > h2 {
    margin-top: 1em;
    margin-bottom: 0.25em;
}

article > main > h3,
article > main > section > h3 {
    margin-top: 0.85em;
    margin-bottom: 0.2em;
}

article > main > h2:first-child,
article > main > h3:first-child,
article > main > section > h2:first-child,
article > main > section > h3:first-child {
    margin-top: 0;
}

/* Photo and gallery styles are imported from .gallery.css. */

/* Footer */

article > footer {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    width: 100%;
    min-height: 75px;
    margin-top: auto;
    padding: 15px 20px;
    background-color: var(--main);
}

article > footer > div {
    flex: 1 1 240px;
    padding: 5px;
    color: var(--white);
    font-family: Strait, sans-serif;
    font-size: 10pt;
}

article > footer > a,
article > footer > button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1.1rem;
    border: 1px solid var(--alt-dark);
    border-radius: 0.2rem;
    background: var(--alt);
    color: var(--main-extra-dark);
    cursor: pointer;
    font-family: Strait, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

article > footer > a:hover,
article > footer > button:hover {
    background: var(--alt-light);
}

article > footer > a:focus-visible,
article > footer > button:focus-visible {
    background: var(--alt-light);
    outline: 3px solid var(--alt-extra-light);
    outline-offset: 3px;
}

article > footer .divFooterLinks {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    margin-bottom: 8px;
}

article > footer .divFooterLinks > a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

article > footer .divFooterLinks > a:hover,
article > footer .divFooterLinks > a:focus-visible {
    text-decoration-thickness: 2px;
}

/* Contact form */
.divContactHeader {
    padding: 1rem 1.25rem;
    background: var(--main-dark);
    color: var(--white);
}

.h2ContactTitle {
    margin: 0;
    color: var(--white);
}

.pContactInstructions {
    margin-top: 0;
    font-size: 1.05rem;
}

.pContactServicePhone {
    padding: 0.75rem 1rem;
    border-left: 0.35rem solid var(--alt);
    background: var(--alt-extra-light);
}

.divContactType {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border-left: 0.35rem solid var(--main);
    background: var(--main-extra-light);
}

.labelContactType,
.divContactField label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.selectContactInquiryType,
.divContactField input,
.divContactField textarea {
    width: 100%;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--gray-medium);
    border-radius: 0.15rem;
    background: var(--white);
    color: var(--main-extra-dark);
    font: inherit;
}

.selectContactInquiryType:focus,
.divContactField input:focus,
.divContactField textarea:focus {
    border-color: var(--main);
    outline: 0.18rem solid var(--input-focus-outline);
    outline-offset: 0.05rem;
}

.divContactActions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.buttonContact {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border: 1px solid var(--alt-dark);
    border-radius: 0.2rem;
    background: linear-gradient(
        var(--alt-light),
        var(--alt)
    );
    color: var(--main-extra-dark);
    cursor: pointer;
    font-family: Strait, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.buttonContact:hover,
.buttonContact:focus-visible {
    background: var(--alt-light);
}

.formContact {
    margin-top: 1.25rem;
}

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

.divContactField {
    min-width: 0;
}

.divContactFieldFull {
    grid-column: 1 / -1;
}

.divContactField textarea {
    min-height: 9rem;
    resize: vertical;
}

.pContactRequired {
    margin: 0 0 0.75rem;
    color: var(--gray-text);
    font-size: 0.85rem;
    text-align: right;
}

.spanContactRequired {
    color: var(--red-required);
}

.spanContactOptional {
    color: var(--gray-text);
    font-size: 0.8rem;
    font-weight: normal;
}

.pContactResponse {
    margin-bottom: 0;
    color: var(--gray-text);
    font-size: 0.88rem;
}

.divContactHoneypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Calls to action */

.sectionCallToAction {
    clear: both;
    padding: 1rem 1.25rem;
    border-left: 0.35rem solid var(--alt);
    background: var(--alt-extra-light);
}

article > main .sectionCallToAction > h2 {
    margin-top: 0;
}

article > main .sectionCallToAction > p:last-child {
    margin-bottom: 0;
}

.sectionCallToAction a[href^="tel:"] {
    white-space: nowrap;
}

/* Individual system profiles */

article > main.mainSystem {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    align-items: start;
    gap: 30px;
}

article > main.mainSystem > .sectionCallToAction {
    grid-column: 1 / -1;
    width: 100%;
}

.sectionSystemDetails {
    align-self: stretch;
    min-width: 0;
}

.divSystemDetailsSticky {
    position: sticky;
    top: 70px;
}

.divSystemDetailsSticky > h1 {
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.ulSystemDates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    padding: 0;
    font-family: Strait, sans-serif;
    font-size: 0.9rem;
    list-style: none;
}

.ulSystemDates li {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0;
    padding: 0.4rem 0.65rem;
    border-left: 0.2rem solid var(--alt);
    background: var(--main-extra-light);
    color: var(--gray-text);
    line-height: 1.25;
}

.ulSystemDates time {
    color: var(--main-dark);
    font-weight: bold;
    white-space: nowrap;
}

/* Feature list only; date-list styling remains separate above. */
.divSystemDetailsSticky > ul:not(.ulSystemDates) {
    margin: 20px 0;
    padding-left: 25px;
}

/* Parent directory pages */

article > main.mainTraversal {
    padding-bottom: 2rem;
}

.mainTraversal > section {
    margin-top: 2rem;
}

.ulTraversalDirectory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.ulTraversalDirectory > li {
    min-width: 0;
    margin: 0;
}

article > main .aTraversalDirectory {
    display: block;
    height: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid var(--main-extra-light);
    border-left: 0.35rem solid var(--alt);
    background: var(--white);
    box-shadow: 0 0.15rem 0.4rem var(--photo-shadow);
    color: var(--main-extra-dark);
    text-decoration: none;
    overflow-wrap: anywhere;
}

article > main .aTraversalDirectory:hover,
article > main .aTraversalDirectory:focus-visible {
    border-color: var(--alt);
    background: var(--alt-extra-light);
}

article > main .aTraversalDirectory:focus-visible {
    outline: 0.2rem solid var(--main-light);
    outline-offset: 0.15rem;
}

.spanTraversalTitle {
    display: block;
    color: var(--main-dark);
    font-family: Strait, sans-serif;
    font-size: 1.15rem;
    font-weight: bold;
}

.spanTraversalDescription {
    display: block;
    margin-top: 0.35rem;
    line-height: 1.35;
}

/* Responsive layout */

@media (max-width: 850px) {
    article > nav.navPrimary {
        padding-right: 8px;
        padding-left: 8px;
    }

    article > nav.navPrimary .aNavTop,
    article > nav.navPrimary .buttonNavMenu {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 10pt;
    }

    article > nav.navPrimary .aNavDropdown {
        padding-right: 14px;
        padding-left: 14px;
        font-size: 10pt;
    }
}

@media (max-width: 700px) {
    article > main {
        padding: 30px 24px;
    }

    article > main.mainSystem {
        grid-template-columns: minmax(0, 1fr);
    }

    .divSystemDetailsSticky {
        position: static;
    }

    article > footer {
        justify-content: center;
    }

    article > footer > div {
        flex-basis: 100%;
        text-align: center;
    }

    article > footer > a,
    article > footer > button {
        padding-right: 16px;
        padding-left: 16px;
    }

    article > footer .divFooterLinks {
        justify-content: center;
    }
}

@media (max-width: 650px) {
    .ulTraversalDirectory {
        grid-template-columns: minmax(0, 1fr);
    }
}

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

    .divContactActions {
        flex-direction: column;
    }

    .buttonContact {
        width: 100%;
    }
}

@media (max-height: 700px) {
    .divSystemDetailsSticky {
        position: static;
    }
}

/* Print */

@media print {
    @page {
        margin: 0.6in;
    }

    html,
    body {
        min-height: 0;
        background: var(--white) !important;
    }

    article {
        display: block;
        width: 100%;
        max-width: none;
        min-height: 0;
    }

    article > header {
        min-height: 0;
        padding: 0 0 0.2in;
    }

    article > header .sectionLogo {
        width: 2.75in;
    }

    .sectionLogo .divTaglineSightSoundService {
        border-top: 1pt solid var(--alt);
        border-bottom: 1pt solid var(--alt);
        background: var(--transparent) !important;
        color: var(--alt-dark) !important;
    }

    article > nav.navPrimary {
        display: none;
    }

    article > main {
        padding: 0;
        font-size: 11pt;
    }

    .sectionCallToAction {
        border-color: var(--black);
        background: var(--transparent);
    }

    .ulSystemDates li {
        border-color: var(--black);
        background: var(--transparent);
    }

    article > main.mainSystem {
        display: block;
    }

    .divSystemDetailsSticky {
        position: static;
    }

    .mainSystem > .divPhotoGallery {
        margin-top: 1rem;
    }

    article > main .aTraversalDirectory {
        box-shadow: none;
        break-inside: avoid;
    }

    h1,
    h2,
    h3 {
        break-after: avoid-page;
    }

    img,
    li {
        break-inside: avoid;
    }

    article > footer {
        display: flex;
        min-height: 0;
        margin-top: 0.3in;
        padding: 0.12in 0 0;
        border-top: 1pt solid var(--gray-light);
        background: var(--transparent) !important;
    }

    article > footer > div {
        color: var(--black);
        font-size: 9pt;
    }

    article > footer > a,
    article > footer > button {
        display: inline;
        height: auto;
        padding: 0;
        border: none;
        box-shadow: none;
        background: var(--transparent) !important;
        color: var(--black);
        font-size: 9pt;
    }
}
.aSkipToMain {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10000;
    max-width: calc(100vw - 1.5rem);
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    background: #fff;
    color: #003c69;
    border: 2px solid #003c69;
    border-radius: 0.2rem;
    font-weight: bold;
    text-decoration: underline;
    transform: translateY(calc(-100% - 1rem));
}

.aSkipToMain:focus {
    transform: translateY(0);
    outline: 3px solid #006fbf;
    outline-offset: 2px;
}

#mainContent {
    /* Leave room for the sticky navigation. */
    scroll-margin-top: 70px;
}

.sectionProjectCoordination,
.sectionProcessStep {
    display: flow-root;
}