body {
    background-color: #dce8f1;
    color: #172635;
    font-family: Arial, sans-serif;
}

.container-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.container-grid>article {
    background-color: white;
    padding: 1.25rem;
    border: 1px solid #dbe3eb;
    border-radius: 12px;
}

@media (min-width: 760px) {
    .container-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.container-grid article a {
    display: inline-block;
    padding: 0.7rem 1rem;
    background-color: #172635;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.container-grid article a:hover {
    background-color: #29445c;
}

.container-grid article a:focus-visible {
    outline: 3px solid #176b9b;
    outline-offset: 3px;
}

.container-grid>article {
    display: flex;
    flex-direction: column;
}

.container-grid>article>a {
    margin-top: auto;
    align-self: flex-start;
}

main {
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

#contact form {
    display: grid;
    gap: 0.5rem;
    max-width: 36rem;
    padding: 1.25rem;
    background-color: white;
    border: 1px solid #dbe3eb;
    border-radius: 12px;
}

#contact label {
    font-weight: bold;
}

#contact input,
#contact select {
    box-sizing: border-box;
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #94a3b8;
    border-radius: 6px;
    font: inherit;
}

#contact button {
    justify-self: start;
    padding: 0.75rem 1rem;
    background-color: #172635;
    color: white;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

.quote-faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
    margin-top: 2.5rem;
}

.quote-faq>section>h2 {
    margin-top: 0;
}

@media (min-width: 900px) {
    .quote-faq {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        column-gap: 3.5rem;
    }
}

.quote-faq dt {
    font-weight: bold;
}

.quote-faq dd {
    margin: 0.35rem 0 1rem;
    line-height: 1.5;
}

@media (min-width: 900px) {
    .quote-faq>#FAQ {
        padding-inline-start: 2rem;
    }
}

.hero {
    display: grid;
    align-content: center;
    gap: 1.25rem;
    min-height: min(36rem, 78vh);
    padding: clamp(1.5rem, 6vw, 5rem);
    box-sizing: border-box;
    margin: 1.5rem 0 3rem;
    border-radius: 1rem;
    color: #f8fafc;
    background:
        radial-gradient(ellipse at 85% 25%, #245665, transparent 50%),
        linear-gradient(135deg, #0b1420, #142a3a);
}

.hero h1,
.hero p {
    margin: 0;
}

.hero-brand {
    color: #9ce5d4;
    font-weight: bold;
}

.hero h1 {
    max-width: 18ch;
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: 1.05;
}

.hero-copy {
    max-width: 52ch;
    color: #dbe7ef;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-actions a {
    padding: 0.8rem 1.15rem;
    border: 1px solid #9ce5d4;
    border-radius: 6px;
    color: #f8fafc;
    font-weight: bold;
    text-decoration: none;
}

.hero-actions a[href="#contact"] {
    background-color: #9ce5d4;
    color: #0b1420;
}

.hero-actions a:focus-visible {
    outline: 3px solid white;
    outline-offset: 4px;
}

.photo-scene {
    padding: clamp(1.25rem, 4vw, 3rem);
    border-radius: 1rem;
    color: #fff;
    background-color: #081426;
    background-position: center;
    background-size: cover;
}

.photo-scene--yard {
    background-image:
        linear-gradient(135deg, rgb(5 14 28 / 78%), rgb(5 14 28 / 52%)),
        url("images/neon-container-yard.png");
}

.photo-scene--detail {
    background-image:
        linear-gradient(135deg, rgb(5 14 28 / 82%), rgb(5 14 28 / 60%)),
        url("images/neon-container-detail.png");
    background-position: 65% center;
}

.photo-scene .container-grid>article,
.photo-scene #contact form {
    color: #172635;
}

.photo-scene .container-grid>article,
.photo-scene #contact form {
    background-color: rgb(255 255 255 / 85%);
}

.photo-scene #contact input,
.photo-scene #contact select {
    background-color: rgb(255 255 255 / 75%);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: inherit;
    font-size: 1.5rem;
    font-weight: 750;
    text-decoration: none;
}

.site-brand img {
    object-fit: contain;
    border-radius: 0.35rem;
}

body {
    margin: 0;
    background-color: #081321;
}

main {
    max-width: none;
    padding-inline: 0;
}

#home.hero {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    border-radius: 0;
}

/* Container page header */
body>header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding: 1rem max(1.25rem, calc((100% - 72rem) / 2));
    background: #091321;
    color: #f1f6fc;
}

body>header nav {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
}

body>header nav ul {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

body>header nav a {
    display: block;
    padding-block: 0.5rem;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

body>header nav a:hover,
body>header nav a:focus-visible {
    color: #a4d8ff;
    text-decoration: underline;
}

/* About Us */
#about {
    padding: clamp(2rem, 5vw, 4rem) max(1.25rem, calc((100% - 72rem) / 2));
    background: linear-gradient(110deg, #f3f7fc, #e2edf7);
    color: #172635;
    border-top: 1px solid #a9c6df;
    line-height: 1.65;
}

#about h2 {
    margin-top: 0;
}

#about p {
    max-width: 65ch;
}

#about a {
    color: #174f86;
    font-weight: 700;
}

/* Keep the menu in one row below the logo on narrow phones */
@media (max-width: 650px) {
    body>header nav {
        width: 100%;
    }
}

.container-footer {
    padding: 2rem clamp(1.25rem, 5vw, 4.5rem) 1.25rem;
    background: #091321;
    color: #f1f6fc;
    border-top: 1px solid #29435b;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
}

.footer-main p {
    margin: 0.5rem 0 0;
    color: #b8cada;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}

.footer-links a {
    color: #a4d8ff;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    text-decoration: underline;
}

.footer-copyright {
    margin: 1.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid #29435b;
    color: #b8cada;
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

/* Fade the carousel into the dark background between sections. */
#home .wcs-hero-stage::after {
    background:
        linear-gradient(to bottom, transparent 72%, #081321),
        linear-gradient(90deg, #040d18ed, #040d18a8 40%, #040d1833 85%);
}

/* Give the collection and About Us one shared backdrop. */
.collection-page {
    padding-block: clamp(2rem, 5vw, 4rem);
    background:
        linear-gradient(to bottom,
            #081321,
            rgb(8 19 33 / 55%) 25%,
            rgb(8 19 33 / 55%) 75%,
            #081321),
        url("images/neon-container-yard.png") center / cover;
}

.collection-page #containers {
    background: transparent;
    border: 0;
}

.collection-page #about {
    width: min(calc(100% - 2.5rem), 68rem);
    margin: 1rem auto 0;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgb(164 216 255 / 35%);
    border-radius: 1rem;
    background: rgb(237 245 252 / 92%);
    color: #172635;
}

/* Fade the second photo in at the top and out toward the footer. */
.quote-faq.photo-scene--detail {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background-image:
        linear-gradient(to bottom,
            #081321,
            rgb(8 19 33 / 65%) 20%,
            rgb(8 19 33 / 65%) 80%,
            #081321),
        url("images/neon-container-detail.png");
}

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    html {
        scroll-snap-type: y proximity;
    }

    .slide-page {
        scroll-snap-align: start;
    }
}

body>header {
    padding-inline: max(1.25rem, calc((100% - 80rem) / 2));
}

body>header :is(.brand, .site-brand) {
    gap: 0.65rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-family: system-ui, sans-serif;
    font-size: clamp(1.65rem, 2.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: #f5f8ff;
}

body>header .brand-accent {
    color: #81c6ff;
}