:root {
    --white: rgb(255 255 255);
    --off-white: rgb(236 237 238);
    --light-gray: rgb(180 180 180);
    --gray: rgb(88 88 88);
    --dark-gray: rgb(52 52 54);
    --black: rgb(0 0 0);

    --orange: rgb(244 127 31);
}

body {
    font-size: max(18px, 1.1vw);
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

header {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45em 8vw;
    background: var(--black);
    z-index: 3;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0.1em 0.75em rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.15s;
    z-index: -1;
}

header.scrolled::before {
    opacity: 1;
}

.header-logos {
    display: flex;
    justify-content: space-between;
}

.header-logos a {
    display: flex;
}

.header-logos img {
    height: 4em;
}

nav {
    display: flex;
    text-transform: uppercase;
    font-size: max(12px, 0.65em);
}

nav a, nav a:visited {
    color: white;
    letter-spacing: 0.25em;
    margin-left: 3em;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.2s, background-color 0.2s, letter-spacing 0.2s, font-weight 0.2s, max-width 0.2s;
    padding: 1.1em 0.8em;
}

nav a.boxed {
    padding-left: 0;
    padding-right: 0;
    min-width: 10em;
    display: flex-inline;
    text-align: center;
    border: 1px solid white;
}

nav a.boxed:hover, nav a.boxed.active {
    background-color: white;
    color: var(--black);
    font-weight: 500;
    letter-spacing: 0.2em;
}

nav a:hover,
nav a.active {
    color: var(--orange);
}

.header-spacing {
    height: 103px;
}

h1 {
    color: var(--gray);
    font: normal 3.25em 'Squada One', cursive;
    margin-bottom: 0.3em;
    line-height: 1;
}

h2 {
    color: var(--orange);
    font: normal 2.3em 'Squada One', cursive;
    margin-bottom: 0.5em;
    margin-top: 0;
    line-height: 1;
}

h3 {
    color: var(--dark-gray);
    font: normal 2em 'Squada One', cursive;
    margin-bottom: 0.5em;
    margin-top: 0;
    line-height: 1;
}

h4 {
    font-weight: 800;
    font-size: 1em;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

p {
    color: var(--gray);
    font-weight: 300;
    margin-top: 0;
}

b {
    font-weight: 500;
}

a {
    color: var(--orange);
    text-decoration: none;
}

a:visited, a:hover {
    color: var(--black);
}

button,
.btn,
input[type='submit'],
input[type='button'] {
    font-weight: 300;
    color: var(--white);
    background-color: var(--orange);
    font-size: 0.9em;
    padding: 0.4em;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    border: none;
    border-radius: 0;
}

:is(button,.btn):hover {
    background-color: var(--black);
}

.btn {
    text-decoration: none;
}

section {
    overflow: hidden;
}

section h1 {
    text-align: center;
}

.logo-bg p {
    font-size: 1.4em;
    line-height: 2.1;
    background:
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        no-repeat url('/assets/LOGO_GS_transparent_initials.svg') center / 15vw auto,
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    padding: 4em;
    margin: 0;
}

.metal-bg {
    background: url('/assets/Pattern_testimonials.png') center / cover;
    padding: 1em 1em 7.5em;
    box-shadow: inset 0 0 0.3em rgba(0, 0, 0, 0.3);
}

.metal-bg > :is(h1, p),
.metal-bg .container > :is(h1, p) {
    text-align: center;
}

.metal-bg h1 {
    color: var(--orange);
}

.metal-bg p {
    color: white;
    font-weight: 400;
    font-size: 1.2em;
    line-height: 1.7;
}

.light-gray-bg {
    background-color: var(--off-white);
}

.light-gray-bg h1 {
    margin-bottom: 0.75em;
}

.container > p {
    text-align: center;
    line-height: 1.7;
    margin-top: 1.5em;
}

.basic-flex {
    display: flex;
    margin-top: 2.5em;
    margin-bottom: 3em;
}

.basic-flex img {
    max-width: 100%;
}

.basic-flex p {
    line-height: 1.9;
}

.form-fields-grid {
    display: grid;
    grid-template-columns: 11fr 3fr 7fr;
    grid-column-gap: 1.25em;
}

.callout {
    background-color: var(--orange);
    text-align: center;
}

.callout h2 {
    margin: 0;
    text-shadow: 0.05em 0.05em 0.1em rgba(0, 0, 0, 0.4);
}

.callout a {
    display: block;
    padding: 0.2em 1em;
    color: white;
}

.callout:hover {
    background-color: var(--white);
}

.callout:hover a {
    color: var(--orange);
}

.contact-form {
    padding: 0 1em;
    box-shadow: 0.12em 0.12em 0.3em rgba(0, 0, 0, 0.35);
    border: 1px solid #bfbfbf;
}

.contact-form h4 {
    text-align: center;
}

.contact-form .basic-flex {
    margin: 0;
}

.contact-form .spacer {
    width: 1.25em;
}

form button,
input[type='submit'],
input[type='button'] {
    display: block;
    width: auto;
    margin: -0.5em auto 1.5em;
    padding: 1.05em 2.5em 1em;
    white-space: nowrap;
    border: none;
    font-size: 0.74em;
    background-color: var(--black);
    box-shadow: 0.15em 0.15em 0.4em rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s;
}

form :is(button, .btn):hover,
input[type='submit']:hover {
    background-color: var(--orange);
}

label {
    color: var(--gray);
    display: block;
    font-weight: 300;
    font-size: 0.8em;
    margin-bottom: 0.1em;
}

label.faint {
    color: var(--light-gray);
    font-size: 0.7em;
    margin: 0.3em 0 1em;
}

p.fine-print {
    font-size: 0.7em;
    line-height: 1.2;
    color: var(--light-gray);
}

input, textarea {
    box-sizing: border-box;
    color: var(--gray);
    text-align: left;
    margin-bottom: 1.1em;
    width: 100%;
    font-size: 1.15em;
    padding: 0.2em 0.4em;
    border: 1px solid #bfbfbf;
    background-color: #f2f2f2;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
}

textarea {
    resize: vertical;
    display: block;
}

.validation-msg {
    display: none;
}

.field-validation-error {
    display: block;
    font-size: 0.7em;
    color: rgb(194, 48, 1);
    margin-top: -1.75em;
    margin-bottom: 0.5em;
}

.faint ~ .validation-msg {
    margin-top: -1em;
    margin-bottom: 1.5em;
}

.input-validation-error {
    border: 1px solid rgb(194, 48, 1);
}

.grecaptcha-badge {
    display: none !important;
}

.alert-success,
.alert-failure {
    margin-bottom: 1em;
    font-size: max(0.8em, 12px);
    margin-right: auto;
    margin-left: auto;
    padding: 0.5em 1em;
    font-weight: bold;
}

.alert-success {
    background-color: rgba(244 127 31 / 20%);
    border: 1px solid var(--orange);
    color: var(--orange);
}

.alert-failure {
    background-color: rgba(224 144 142 / 50%);
    border: 1px solid rgb(198 81 79);
    color: rgb(198 81 79);
}

footer {
    font-size: 0.9em;
    background-color: var(--black);
    padding: 3em 5em 0;
}

footer .upper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    line-height: 1.6;
    margin-bottom: 3em;
}

footer :is(a) {
    color: var(--white);
}

address {
    font-style: normal;
}

footer address {
    font-weight: 200;
    line-height: 2;
    text-align: right;
    color: var(--off-white);
    margin-bottom: 0.5em;
}

footer nav {
    flex-direction: column;
}

footer nav a {
    display: block;
    transition: color 0.2s;
    margin: 0.4em 0 0.4em -0.8em;
    font-weight: 400;
    font-size: 1.1em;
}

footer nav a:first-child {
    margin-top: 0;
}

footer nav a:last-child {
    margin-bottom: 0;
}

footer a:visited {
    color: white;
}

footer a:hover {
    color: var(--orange);
}

footer .lower {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 2em 0;
    font-size: max(12px, 0.82em);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

footer .lower img {
    width: 11rem;
    margin-right: 2em;
}

footer .lower p {
    color: var(--off-white);
    font-weight: 200;
    margin: 0;
}

/* #region UTILITY CLASSES */

.container {
    width: min(calc(40em + 30vw), 100%);
    margin: 0 auto;
    padding: 0 4vw;
    box-sizing: border-box;
}

.container.lg {
    width: min(calc(58em + 30vw), 100%);
}

.spacer {
    width: 4.8vw;
    flex-shrink: 0;
}

.indent {
    margin-left: 2em;
}

.p-lg {
    padding: 5em;
}

.p-md {
    padding: 0 0 5em;
}

.p-sm {
    padding: 0.5em 0;
}

.p-2 {
   padding: 2em;
}

.m-0 {
    margin: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.tablet-show,
.xs-show {
    display: none;
}

/* #endregion */

/* #region ticker */

.ticker {
    position: relative;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ticker li {
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    width: 100%;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.4em;
    color: var(--orange);
    text-align: center;
    font-size: max(18px, 0.8em);
    opacity: 0;
    z-index: 1;
}

.ticker li:not(.active) {
    animation: slide-out 0.2s;
}

@keyframes slide-out {
    from {
        opacity: 1;
        left: 0;
    }
    to {
        opacity: 0;
        left: -50px;
    }
}

.ticker li.active {
    animation: slide-in 0.2s forwards;
    z-index: 2;
}

@keyframes slide-in {
    from {
        opacity: 0;
        left: 50px;
    }

    to {
        opacity: 1;
        left: 0;
    }
}

.ticker li a {
    text-decoration: underline;
}

/* #endregion */

@media (max-width: 1600px) {
    header {
        padding: 0.45em max(calc(calc(100vw - 1080px) / 2), 1.5em);
    }
}

/* Tablet */

@media (max-width: 1040px) {
    /* switch to hamburger menu */
    .tablet-show {
        display: initial;
    }

    .tablet-hide,
    .pc-only {
        display: none;
    }

    header {
        display: block;
        padding: 0;
    }

    .header-logos {
        padding: 0.45em 1.5em;
    }

    header nav {
        flex-direction: column;
    }

    nav a.boxed {
        padding: 1em 0.45em 1em 1em;
        margin-left: calc(11vw - 1em);
        max-width: 15ch;
        text-align: left;
        margin-top: 0.5em;
        min-width: auto;
    }

    nav a.boxed:hover,
    nav a.boxed.active {
        max-width: 14ch;
    }

    header nav {
        height: 0;
        overflow: hidden;
        transition: height 0.3s;
    }

    header nav.active {
        height: calc(19.5em + 3.25vw);
    }

    header nav a {
        display: block;
        padding: 1.3em 1em 1.3em 11vw;
        border-top: 1px solid rgba(255 255 255 0.4);
        margin-left: 0;
    }

    header nav a:last-child {
        border-bottom: 1px solid rgba(255 255 255 0.4);
    }

    .menu-icon {
        display: flex;
    }

    h1 {
        font-size: 2.75em;
    }

    .logo-bg p {
        font-size: 1.35em;
        padding: 8vw;
        background:
            linear-gradient(rgba(255, 255, 255, 0.85),
            rgba(255, 255, 255, 0.85)),
            no-repeat url('/assets/LOGO_GS_transparent_initials.svg') center / 35vw auto,
            linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    }

    .contact-form form {
        font-size: 1.25em;
    }

    footer {
        font-size: 0.85em;
        padding: 3vw 5vw 0;
    }

    footer address {
        line-height: 1.7;
        font-size: 1.1em;
    }

    footer .upper {
        padding: 3vw 0;
        margin-bottom: 0;
    }

    footer .lower {
        text-align: right;
    }

    .p-lg {
        padding: 7vw;
    }

    .indent {
        margin-left: 1em;
    }
}

@media (max-width: 960px) {
    .metal-bg {
        padding: 1vw 8vw 8vw;
    }

    .p-md {
        padding: 4vw 0;
    }

    .p-sm {
        padding: 0.5em 0;
    }
}

@media (max-width: 820px) {
    .tablet-sm-show {
        display: initial;
    }

    .tablet-sm-hide {
        display: none;
    }

    footer .lower img {
        width: 9rem;
    }
}

@media (max-width: 772px) {
    .xs-hide {
        display: none;
    }

    .xs-show {
        display: initial;
    }
}

@media (max-width: 740px) {
    .header-logos img {
        height: 4em;
    }

    .metal-bg {
        padding: 1vw 1em 12vw;
    }

    footer .lower {
        font-size: 0.79em;
    }
}

@media (max-width: 536px) {
    .mobile-show {
        display: initial;
    }

    .mobile-hide {
        display: none;
    }

    .header-logos img {
        height: 3.5em;
    }

    :root {
        --icon-size: 34px;
    }

    .menu-icon {
        padding-top: 0.81em;
        padding-bottom: 0.81em;
    }

    h1 {
        font-size: 2.25em;
    }

    h2 {
        font-size: 1.9em;
    }

    section {
        font-size: 0.85em;
    }

    .logo-bg p {
        font-size: 1.28em;
        padding: 6vw;
        background:
            linear-gradient(rgba(255, 255, 255, 0.85),
            rgba(255, 255, 255, 0.85)),
            no-repeat url('/assets/LOGO_GS_transparent_initials.svg') center / 55vw auto,
            linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    }

    footer nav a {
        margin-block: 0;
    }

    .indent {
        margin-left: 0.5em;
    }

    footer .lower {
        flex-direction: column;
    }

    footer .lower img {
        width: 11rem;
        margin: 0 0 2em 0;
    }

    footer .lower p {
        text-align: center;
    }
}

@media (max-width: 476px) {
    footer .upper {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 1em;
        padding: 0;
    }

    footer .upper .sec:first-child {
        margin-bottom: 2em;
    }

    footer address {
        text-align: center;
        margin: 0 auto;
    }

    .logo-bg p {
        font-size: 1.2em;
    }
}