:root {
    --graphite-900: #25282B;
    --graphite-800: #2A2D33;
    --graphite-700: #34383D;
    --graphite-600: #4A4F57;
    --orange-500: #F36B21;
    --orange-600: #D95A12;
    --white: #FFFFFF;
    --white-muted: rgba(255, 255, 255, .72);
    --nav-h: 76px;
    --head: 'Barlow Condensed', 'Oswald', 'Arial Narrow', sans-serif;
    --body: 'Inter', 'Roboto', system-ui, sans-serif;
    --max-width-cenered: 1280px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    margin: 0;
    background: var(--graphite-900);
    color: var(--white);
    font: 16px/1.5 var(--body);
    -webkit-font-smoothing: antialiased;
}

img, video, svg {
    max-width: 100%;
}

a {
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, p {
    margin: 0;
}

.ico {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    color: currentColor;
}

.skip {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--orange-500);
    color: #fff;
    padding: 8px 14px;
    z-index: 100;
    border-radius: 6px;
}

.skip:focus {
    left: 8px;
}

:focus-visible {
    outline: 3px solid var(--orange-500);
    outline-offset: 3px;
}

/* Wordmark */
.wordmark {
    font-family: var(--head);
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
    text-transform: uppercase;
}

.wordmark b {
    color: var(--orange-500);
    font-weight: 700;
}

.wordmark--sm {
    font-size: 30px;
}

.wordmark--md {
    font-size: 34px;
}

.wordmark--xl {
    font-size: clamp(54px, 9vw, 96px);
    text-shadow: 0 3px 18px rgba(0, 0, 0, .55);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font: 700 18px/1 var(--head);
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 14px 22px;
    text-decoration: none;
    transition: background .15s, transform .15s;
}

.btn--primary {
    background: var(--orange-500);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--orange-600);
}

.btn--primary:active {
    transform: translateY(1px);
}

.btn--lg {
    font-size: 26px;
    padding: 16px 40px;
    min-width: 260px;
}

.btn--sm {
    font-size: 16px;
    padding: 10px 18px;
}

.btn--block {
    width: 100%;
}

.btn[disabled] {
    opacity: .65;
    cursor: progress;
}

.btn[aria-expanded="true"] > span {
    display: none;
}

.btn[aria-expanded="true"]:after {
    content: attr(data-expanded);
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    background: rgba(37, 40, 43, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav__inner {
    max-width: var(--max-width-cenered);
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav__links {
    display: flex;
    gap: 28px;
    margin: 0 auto;
}

.nav__links a {
    font: 600 16px/1 var(--head);
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 28px 0 24px;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.nav__links a:hover {
    color: var(--orange-500);
}

.nav__links a.is-active {
    color: var(--orange-500);
    border-bottom-color: var(--orange-500);
}

.nav__cta {
    margin-left: auto;
}

.nav__burger {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    margin-left: auto;
}

.nav__burger span {
    display: block;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    min-height: min(78vh, 640px);
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--graphite-900);
}

.hero__media, .hero__media > * {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__media video, .hero__poster {
    object-fit: cover;
}

.hero__shade {
    background: linear-gradient(180deg, rgba(37, 40, 43, .45), rgba(37, 40, 43, .62));
}

.hero__content {
    position: relative;
    text-align: center;
    padding: 40px 20px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero__logo {
    width: clamp(96px, 14vw, 150px);
    height: auto;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5));
}

.hero__motto {
    display: flex;
    align-items: center;
    gap: 18px;
    font: 600 clamp(18px, 2.6vw, 26px)/1 var(--head);
    letter-spacing: .12em;
}

.hero__motto span {
    width: clamp(24px, 6vw, 56px);
    height: 3px;
    background: var(--orange-500);
}

.hero__line {
    color: var(--white-muted);
    font-size: 15px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}

.hero__toggle {
    position: absolute;
    left: 20px;
    bottom: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(37, 40, 43, .6);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
}

#main {
    display: flex;
    flex-direction: column;
}

/* Section bands */
.band {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background-color: var(--graphite-900);
    background-position: center;
    background-repeat: no-repeat;
    align-self: center;
    width: 100%;
    padding: 0 24px;
}

.band__fall {
    background-image: url("../img/bg-fall.png");
}

.band__spring {
    background-image: url("../img/bg-spring.png");
}

.band__summer {
    background-image: url("../img/bg-summer.png");
}

.band__winter {
    background-image: url("../img/bg-winter.png");
}

.band__handyman {
    background-image: url("../img/bg-handyman.png");
}

.band__laser {
    background-image: url("../img/bg-laser.png");
}

.band__photo, .band__blur {
    position: absolute;
    inset: 0;
    background-position: 200px center;
    background-size: cover;
    background-repeat: no-repeat;
    left: calc(50vw - 1280px / 2);
    max-width: var(--max-width-cenered);
}

.band__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--graphite-900) 20%, rgba(37, 40, 43, .92) 40%, rgba(37, 40, 43, .05) 100%);
}

/* Blurred copy of the photo: strongest behind the text, fades to the sharp photo */
.band__blur {
    filter: blur(2px);
    transform: scale(1.03);
    -webkit-mask-image: linear-gradient(to right, #000 30%, transparent);
    mask-image: linear-gradient(to right, #000 30%, transparent);
}

.band--right .band__photo::after {
    background: linear-gradient(90deg, var(--graphite-900) 0%, rgba(37, 40, 43, .92) 28%, rgba(37, 40, 43, .35) 58%, rgba(37, 40, 43, .05) 100%);
}

.band__inner {
    position: relative;
    width: 100%;
    max-width: var(--max-width-cenered);
    margin: 0 auto;
    padding: 24px 0px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.band__icon {
    flex: none;
    width: 84px;
    height: 96px;
    display: grid;
    place-items: center;
    color: var(--orange-500);
    background: var(--orange-500);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.band__icon::before {
    content: "";
    grid-area: 1 / 1;
    width: 78px;
    height: 90px;
    background: var(--graphite-900);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.band__icon svg {
    grid-area: 1 / 1;
    width: 40px;
    height: 40px;
    position: relative;
}

.band__text {
    max-width: 460px;
}

.band__text__interactive {
    margin-bottom: 14px;
    display: grid;
    gap: 3px;
}

.band h2 {
    font: 700 clamp(34px, 4.2vw, 46px)/1 var(--head);
    letter-spacing: .03em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.badge {
    font: 600 14px/1 var(--head);
    letter-spacing: .1em;
    background: var(--orange-500);
    padding: 5px 9px;
    border-radius: 4px;
}

.band__tagline {
    margin: 6px 0 12px;
    font: 600 clamp(17px, 2vw, 20px)/1.1 var(--head);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--orange-500);
}

.checks {
    display: grid;
    gap: 3px;
    font-size: 14px;
}

.checks[hidden][id^="expandable-"] {
    display: none;
}

.checks li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checks .ico {
    color: var(--orange-500);
    width: 16px;
    height: 16px;
}

.band--right .band__btn {
    position: absolute;
    right: 24px;
    bottom: 36px;
}

.band--right {
    min-height: 248px;
}

/* Footer */
.footer {
    background: var(--graphite-900);
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 44px 0px 18px;
}

.footer__grid {
    max-width: var(--max-width-cenered);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding: 0 24px;
}

.footer__brand p {
    margin-top: 14px;
    max-width: 300px;
    font-size: 14px;
    color: var(--white-muted);
}

.footer h3 {
    font: 700 20px/1 var(--head);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--orange-500);
    margin-bottom: 14px;
}

.footer li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer a {
    text-decoration: none;
}

.footer li a:hover {
    color: var(--orange-500);
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__contact .ico {
    color: var(--white);
    width: 18px;
    height: 18px;
}

.footer .btn {
    margin-top: 8px;
}

.footer__social {
    margin: 28px auto 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer__social .rule {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .14);
}

.footer__social a {
    color: var(--graphite-600);
}

.footer__social a:hover {
    color: var(--orange-500);
}

.footer__social .ico {
    width: 26px;
    height: 26px;
}

.footer__copy {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    color: var(--white-muted);
    position: relative;
    display: flex;
    justify-content: center;
}

.footer__copy sup {
    position: absolute;
    left: calc(50vw + 68px);
    color: var(--graphite-600);
}

/* Contact panel */
.scrim {
    position: fixed;
    inset: 0;
    background: rgba(20, 22, 24, .55);
    z-index: 60;
}

.panel {
    position: fixed;
    z-index: 70;
    top: calc(var(--nav-h) + 24px);
    right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    width: 360px;
    max-height: calc(100vh - var(--nav-h) - 48px);
    overflow-y: auto;
    background: var(--graphite-900);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    padding: 26px 22px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
}

.panel[hidden], .scrim[hidden], [hidden] {
    display: none !important;
}

.panel__close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
    background: none;
    border: 0;
    color: var(--white);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.panel h2 {
    text-align: center;
    font: 700 30px/1 var(--head);
    letter-spacing: .04em;
}

.panel h2 span {
    color: var(--orange-500);
}

.panel__sub {
    text-align: center;
    font: 600 14px/1 var(--head);
    letter-spacing: .1em;
    margin: 10px 0 16px;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 14px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--graphite-700);
}

.tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border: 0;
    background: transparent;
    color: var(--white);
    font: 600 13px/1 var(--head);
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
}

.tab.is-active {
    background: var(--orange-500);
}

.field {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--graphite-600);
    border-radius: 5px;
    padding: 0 12px;
    margin-top: 10px;
    background: var(--graphite-900);
    color: var(--white-muted);
}

.field:focus-within {
    border-color: var(--orange-500);
}

.field input, .field textarea {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    color: var(--white);
    font: 14px/1.4 var(--body);
    padding: 12px 0;
    outline: none;
    resize: vertical;
}

.field input::placeholder, .field textarea::placeholder {
    color: var(--white-muted);
}

.field--area {
    align-items: flex-start;
}

.field--area .ico {
    margin-top: 13px;
}

.consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12.5px;
    color: var(--white-muted);
    margin-top: 12px;
}

.consent input {
    margin-top: 3px;
    accent-color: var(--orange-500);
}

.err {
    color: #FFB38A;
    font-size: 12.5px;
    min-height: 0;
    margin-top: 4px;
}

.err:empty {
    display: none;
}

.field.is-invalid {
    border-color: #FFB38A;
}

#submit {
    margin-top: 14px;
}

.panel__privacy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--white-muted);
}

.panel__privacy .ico {
    width: 14px;
    height: 14px;
}

#panel-done .btn {
    margin-top: 18px;
}

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

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
    .band__text, .band__icon {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity .6s, transform .6s;
    }

    .band.is-visible .band__text, .band.is-visible .band__icon {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Responsive */
@media (max-width: 1080px) {
    .nav__links {
        gap: 18px;
    }

    .nav__links a {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .nav__burger {
        display: flex;
    }

    .nav__cta {
        display: none;
    }

    .nav__links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        margin: 0;
        background: var(--graphite-900);
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        padding: 8px 24px 16px;
        transform: translateY(-120%);
        visibility: hidden;
        transition: transform .25s, visibility .25s;
    }

    .nav__links.is-open {
        transform: none;
        visibility: visible;
    }

    .nav__links a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        font-size: 18px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .panel {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        max-height: 92vh;
        border-radius: 14px 14px 0 0;
    }
}

@media (max-width: 640px) {
    .band__inner {
        gap: 16px;
        padding: 24px 16px;
    }

    .band__icon {
        width: 60px;
        height: 68px;
    }

    .band__icon::before {
        width: 55px;
        height: 63px;
    }

    .band__icon svg {
        width: 28px;
        height: 28px;
    }

    .band__photo::after {
        background: linear-gradient(90deg, rgba(37, 40, 43, .96) 0%, rgba(37, 40, 43, .78) 100%);
    }

    .band__blur {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .band--right .band__btn {
        position: static;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .nav__inner {
        padding: 0 16px;
    }
}
