@font-face {
    font-family: "Urbanist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/urbanist-latin.woff2') format('woff2');
}

:root {
    --dyer-header-blue: #071735;
    --dyer-header-orange: #fd8d32;
    --dyer-header-line: rgba(7, 23, 53, 0.13);
    --dyer-header-gutter: clamp(24px, 3.15vw, 68px);
    --dyer-header-height: clamp(92px, 10.4vh, 120px);
    --dyer-header-logo-width: clamp(113px, 6.84vw, 142px);
    --dyer-header-nav-gap: clamp(28px, 3.75vw, 76px);
    --dyer-header-nav-size: clamp(13px, 0.83vw, 16px);
}

body {
    font-family: "Urbanist", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

body.dyer-light-menu-open {
    overflow: hidden;
}

.dyer-light-header *,
.dyer-light-header *::before,
.dyer-light-header *::after,
.dyer-light-menu *,
.dyer-light-menu *::before,
.dyer-light-menu *::after {
    box-sizing: border-box;
}

.dyer-light-skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: #ffffff;
    background: var(--dyer-header-blue);
    font-size: 13px;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.dyer-light-skip-link:focus {
    transform: translateY(0);
}

.dyer-light-header {
    position: sticky;
    z-index: 50;
    top: 0;
    box-sizing: border-box;
    height: var(--dyer-header-height);
    color: var(--dyer-header-blue);
    border-bottom: 1px solid var(--dyer-header-line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
}

.dyer-light-header--overlay {
    position: absolute;
    right: 0;
    left: 0;
    color: #ffffff;
    border-bottom-color: transparent;
    background: transparent;
    backdrop-filter: none;
}

.dyer-light-header--overlay .dyer-light-header__toggle {
    color: #ffffff;
}

body.admin-bar .dyer-light-header {
    top: 32px;
}

.dyer-light-header__inner {
    display: grid;
    grid-template-columns: minmax(132px, 1fr) auto minmax(132px, 1fr);
    align-items: center;
    width: min(100%, 2160px);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--dyer-header-gutter);
}

.dyer-light-header__brand {
    position: relative;
    z-index: 52;
    display: inline-flex;
    justify-self: start;
    width: var(--dyer-header-logo-width);
    text-decoration: none;
    transition: opacity 180ms ease, visibility 180ms;
}

.dyer-light-header__brand img {
    display: block;
    width: 100%;
    height: auto;
}

.dyer-light-header__nav {
    justify-self: center;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}

.dyer-light-header__nav-list,
.dyer-light-header__nav-list ul,
.dyer-light-menu__list,
.dyer-light-menu__list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dyer-light-header__nav-list {
    display: flex;
    align-items: center;
    gap: var(--dyer-header-nav-gap);
}

.dyer-light-header__nav-list > li {
    position: relative;
}

.dyer-light-header__nav-list > li > a,
.dyer-light-header__nav-list > li > .menu-group-toggle {
    position: relative;
    display: inline-block;
    padding: 12px 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    font-size: var(--dyer-header-nav-size);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.025em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.dyer-light-header__nav-list > li > a::after,
.dyer-light-header__nav-list > li > .menu-group-toggle::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    content: "";
    background: var(--dyer-header-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
}

.dyer-light-header__nav-list > li > a:hover::after,
.dyer-light-header__nav-list > li > a:focus-visible::after,
.dyer-light-header__nav-list > li > .menu-group-toggle:hover::after,
.dyer-light-header__nav-list > li > .menu-group-toggle:focus-visible::after,
.dyer-light-header__nav-list > .current-menu-item > a::after,
.dyer-light-header__nav-list > .current-menu-ancestor > .menu-group-toggle::after {
    transform: scaleX(1);
}

.dyer-light-header__nav-list .sub-menu {
    position: absolute;
    z-index: 60;
    top: calc(100% - 2px);
    left: 50%;
    min-width: 245px;
    padding: 12px;
    visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(6, 22, 51, 0.96);
    box-shadow: 0 24px 60px rgba(1, 8, 24, 0.35);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 220ms ease, transform 260ms ease, visibility 0s linear 260ms;
}

.dyer-light-header__nav-list > li:hover > .sub-menu,
.dyer-light-header__nav-list > .is-submenu-open > .sub-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

.dyer-light-header__nav-list .sub-menu a {
    display: block;
    padding: 11px 12px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 560;
    letter-spacing: 0.035em;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

.dyer-light-header__nav-list .sub-menu a:hover,
.dyer-light-header__nav-list .sub-menu a:focus-visible,
.dyer-light-header__nav-list .sub-menu .current-menu-item > a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.dyer-light-header__toggle {
    position: relative;
    z-index: 52;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 0;
    width: 42px;
    height: 38px;
    padding: 0;
    border: 0;
    color: var(--dyer-header-blue);
    background: transparent;
    cursor: pointer;
    transition: width 260ms ease, gap 260ms ease, color 180ms ease;
}

.dyer-light-header__toggle-icon {
    position: relative;
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 30px;
}

.dyer-light-header__toggle-icon span {
    position: absolute;
    right: 0;
    width: 38px;
    height: 1px;
    background: currentColor;
    transition: top 260ms ease, right 260ms ease, width 260ms ease, transform 260ms ease;
}

.dyer-light-header__toggle-icon span:first-child {
    top: 10px;
}

.dyer-light-header__toggle-icon span:last-child {
    top: 20px;
}

.dyer-light-header__toggle-label {
    position: relative;
    display: block;
    max-width: 0;
    padding-bottom: 5px;
    overflow: hidden;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    opacity: 0;
    transform: translateX(6px);
    transition: max-width 260ms ease, opacity 180ms ease, transform 260ms ease;
    white-space: nowrap;
}

.dyer-light-header__toggle-label::before,
.dyer-light-header__toggle-label::after {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    content: "";
    background: currentColor;
}

.dyer-light-header__toggle-label::before {
    width: 22%;
    opacity: 0;
}

.dyer-light-header__toggle-label::after {
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
}

.dyer-light-menu-open .dyer-light-header {
    border-color: transparent;
    background: transparent;
    backdrop-filter: none;
}

.dyer-light-menu-open .dyer-light-header__brand,
.dyer-light-menu-open .dyer-light-header__nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.dyer-light-menu-open .dyer-light-header__toggle {
    gap: 13px;
    width: 101px;
    color: #ffffff;
}

.dyer-light-menu-open .dyer-light-header__toggle-icon span {
    top: 15px;
    right: 5px;
    width: 27px;
}

.dyer-light-menu-open .dyer-light-header__toggle-icon span:first-child {
    transform: rotate(45deg);
}

.dyer-light-menu-open .dyer-light-header__toggle-icon span:last-child {
    transform: rotate(-45deg);
}

.dyer-light-menu-open .dyer-light-header__toggle-label {
    max-width: 56px;
    opacity: 1;
    transform: translateX(0);
}

.dyer-light-menu-open .dyer-light-header__toggle-label::after {
    transform: scaleX(1);
}

.dyer-light-menu-open .dyer-light-header__toggle:hover .dyer-light-header__toggle-label::before,
.dyer-light-menu-open .dyer-light-header__toggle:focus-visible .dyer-light-header__toggle-label::before {
    color: var(--dyer-header-orange);
    animation: dyer-light-underline-snake 520ms cubic-bezier(0.35, 0, 0.2, 1) both;
}

.dyer-light-menu-open .dyer-light-header__toggle:hover .dyer-light-header__toggle-label::after,
.dyer-light-menu-open .dyer-light-header__toggle:focus-visible .dyer-light-header__toggle-label::after {
    color: var(--dyer-header-orange);
    animation: dyer-light-underline-fill 520ms cubic-bezier(0.35, 0, 0.2, 1) both;
}

.dyer-light-menu {
    position: fixed;
    z-index: 40;
    inset: 0;
    overflow-y: auto;
    visibility: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 84%, rgba(253, 141, 50, 0.18), transparent 29%),
        linear-gradient(135deg, #071735 0%, #0c2149 100%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 260ms ease, transform 260ms ease, visibility 0s linear 260ms;
}

.dyer-light-menu-open .dyer-light-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.dyer-light-menu__inner {
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: min(100%, 2160px);
    min-height: 100%;
    margin: 0 auto;
    padding: clamp(122px, 15vh, 176px) var(--dyer-header-gutter) clamp(34px, 5vh, 64px);
}

.dyer-light-menu__eyebrow {
    margin: 0 0 28px;
    color: var(--dyer-header-orange);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.dyer-light-menu__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vh, 34px) clamp(42px, 7vw, 132px);
}

.dyer-light-menu__list > li {
    position: relative;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.dyer-light-menu__list > li > a {
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-bottom: 5px;
    color: #ffffff;
    font-size: clamp(25px, 2.3vw, 45px);
    font-weight: 350;
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.dyer-light-menu__list > li > .menu-group-label {
    display: block;
    width: fit-content;
    padding: 0;
    color: rgba(253, 141, 50, 0.9);
    font-size: clamp(11px, 0.74vw, 14px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dyer-light-menu__list a {
    position: relative;
    transition: color 160ms ease;
}

.dyer-light-menu__list .sub-menu {
    display: grid;
    gap: clamp(10px, 1.1vh, 15px);
    margin-top: clamp(16px, 1.7vh, 24px);
}

.dyer-light-menu__list .sub-menu a {
    display: inline-block;
    width: fit-content;
    padding-bottom: 4px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 420;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-decoration: none;
}

.dyer-light-menu__list a:hover,
.dyer-light-menu__list a:focus-visible {
    color: var(--dyer-header-orange);
}

.dyer-light-menu__list > li > a::before,
.dyer-light-menu__list > li > a::after,
.dyer-light-menu__list .sub-menu a::before,
.dyer-light-menu__list .sub-menu a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    content: "";
}

.dyer-light-menu__list > li > a::before,
.dyer-light-menu__list .sub-menu a::before {
    width: 22%;
    background: #ffffff;
    opacity: 0;
}

.dyer-light-menu__list > li > a::after,
.dyer-light-menu__list .sub-menu a::after {
    width: 100%;
    background: var(--dyer-header-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.dyer-light-menu__list > li > a:hover::before,
.dyer-light-menu__list > li > a:focus-visible::before,
.dyer-light-menu__list .sub-menu a:hover::before,
.dyer-light-menu__list .sub-menu a:focus-visible::before {
    animation: dyer-light-underline-snake 520ms cubic-bezier(0.35, 0, 0.2, 1) both;
}

.dyer-light-menu__list > li > a:hover::after,
.dyer-light-menu__list > li > a:focus-visible::after,
.dyer-light-menu__list .sub-menu a:hover::after,
.dyer-light-menu__list .sub-menu a:focus-visible::after {
    animation: dyer-light-underline-fill 520ms cubic-bezier(0.35, 0, 0.2, 1) both;
}

.dyer-light-menu__list > .current-menu-item > a::after,
.dyer-light-menu__list > .current-menu-ancestor > a::after {
    transform: scaleX(1);
}

.dyer-light-menu__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 22px 48px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.dyer-light-menu__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px clamp(34px, 4.5vw, 72px);
}

.dyer-light-menu__contact {
    display: inline-flex;
    align-items: baseline;
    gap: 11px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
}

.dyer-light-menu__contact-label {
    color: rgba(255, 255, 255, 0.5);
}

.dyer-light-menu__contact-value {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.68);
    transition: color 160ms ease, border-color 160ms ease;
}

.dyer-light-menu__contact:hover .dyer-light-menu__contact-value,
.dyer-light-menu__contact:focus-visible .dyer-light-menu__contact-value {
    color: var(--dyer-header-orange);
    border-color: var(--dyer-header-orange);
}

.dyer-light-menu__footer-logo {
    display: block;
    width: clamp(106px, 7.4vw, 148px);
    text-decoration: none;
}

.dyer-light-menu__footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.dyer-light-header__brand:focus-visible,
.dyer-light-header__toggle:focus-visible,
.dyer-light-header__nav a:focus-visible,
.dyer-light-header__nav button:focus-visible,
.dyer-light-menu a:focus-visible {
    outline: 2px solid var(--dyer-header-orange);
    outline-offset: 5px;
}

@media (min-width: 881px) and (hover: hover) and (pointer: fine) {
    .dyer-light-header__nav {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            opacity 240ms ease 80ms,
            transform 300ms cubic-bezier(0.22, 1, 0.36, 1) 80ms,
            visibility 0s linear 380ms;
    }

    body:not(.dyer-light-menu-open) .dyer-light-header:hover .dyer-light-header__nav,
    body:not(.dyer-light-menu-open) .dyer-light-header:focus-within .dyer-light-header__nav {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s, 0s, 0s;
    }
}

@media (max-width: 1120px) {
    .dyer-light-header__inner {
        grid-template-columns: minmax(122px, 0.8fr) auto minmax(70px, 0.8fr);
    }

    .dyer-light-header__nav-list {
        gap: clamp(22px, 2.8vw, 38px);
    }
}

@media (max-width: 880px) {
    .dyer-light-header__inner {
        grid-template-columns: 1fr auto;
    }

    .dyer-light-header__nav {
        display: none;
    }

    .dyer-light-menu__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    body.admin-bar .dyer-light-header {
        top: 46px;
    }
}

@media (max-width: 640px) {
    :root {
        --dyer-header-gutter: clamp(20px, 6.4vw, 30px);
        --dyer-header-height: 88px;
        --dyer-header-logo-width: 106px;
    }

    .dyer-light-header__toggle {
        width: 38px;
    }

    .dyer-light-header__toggle-icon {
        flex-basis: 34px;
        width: 34px;
    }

    .dyer-light-header__toggle-icon span {
        width: 34px;
    }

    .dyer-light-menu-open .dyer-light-header__toggle {
        gap: 10px;
        width: 91px;
    }

    .dyer-light-header__toggle-label {
        font-size: 15px;
    }

    .dyer-light-menu__inner {
        padding-top: 140px;
    }

    .dyer-light-menu__list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dyer-light-menu__list > li {
        display: block;
        padding-top: 9px;
    }

    .dyer-light-menu__list > li > a {
        padding-bottom: 2px;
        font-size: clamp(23px, 6.3vw, 31px);
    }

    .dyer-light-menu__list a:focus,
    .dyer-light-menu__list a:focus-visible {
        outline: none;
        outline-offset: 0;
        box-shadow: none;
    }

    .dyer-light-menu__list > li > .menu-group-label {
        align-self: center;
        padding: 0;
        font-size: 11px;
        letter-spacing: 0.18em;
    }

    .dyer-light-menu__list .sub-menu {
        gap: 10px;
        margin-top: 13px;
        padding-bottom: 4px;
    }

    .dyer-light-menu__list .sub-menu a {
        padding-bottom: 3px;
        font-size: clamp(21px, 6.2vw, 27px);
        line-height: 1.22;
    }

    .dyer-light-menu__footer {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 18px;
        margin-top: 28px;
        padding-top: 20px;
    }

    .dyer-light-menu__contacts {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .dyer-light-menu__contact {
        gap: 7px;
        font-size: 9px;
        letter-spacing: 0.1em;
    }

    .dyer-light-menu__contact-value {
        padding-bottom: 3px;
    }

    .dyer-light-menu__footer-logo {
        width: 72px;
    }
}

@keyframes dyer-light-underline-snake {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    72% {
        opacity: 1;
        transform: translateX(355%);
    }
    100% {
        opacity: 0;
        transform: translateX(355%);
    }
}

@keyframes dyer-light-underline-fill {
    0% {
        transform: scaleX(0);
    }
    38% {
        transform: scaleX(0.16);
    }
    100% {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dyer-light-header *,
    .dyer-light-menu * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Keep the shared navigation usable on short landscape phone viewports. */
@media (max-height: 620px) and (min-width: 641px) {
    :root {
        --dyer-header-gutter: clamp(20px, 3vw, 28px);
        --dyer-header-height: 68px;
        --dyer-header-logo-width: 96px;
    }

    .dyer-light-header__toggle {
        width: 36px;
    }

    .dyer-light-menu {
        overflow-y: auto;
    }

    .dyer-light-menu__inner {
        min-height: 100%;
        padding-top: 78px;
        padding-bottom: 16px;
    }

    .dyer-light-menu__eyebrow {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .dyer-light-menu__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px clamp(20px, 4vw, 36px);
    }

    .dyer-light-menu__list > li {
        padding-top: 7px;
    }

    .dyer-light-menu__list > li > a {
        font-size: clamp(20px, 3vw, 26px);
    }

    .dyer-light-menu__list > li > .menu-group-label {
        font-size: 9px;
    }

    .dyer-light-menu__list .sub-menu {
        grid-column: auto;
        gap: 5px;
        margin-top: 8px;
        padding-bottom: 0;
    }

    .dyer-light-menu__list .sub-menu a {
        font-size: 14px;
    }

    .dyer-light-menu__footer {
        gap: 16px;
        margin-top: 12px;
        padding-top: 12px;
    }

    .dyer-light-menu__contacts {
        flex-direction: row;
        gap: 8px 22px;
    }

    .dyer-light-menu__contact {
        font-size: 8px;
    }

    .dyer-light-menu__footer-logo {
        width: 68px;
    }
}
