/* =========================================
   SELF-HOSTED POPPINS FONT
========================================= */


/* Poppins Regular */
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Poppins Medium */
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Poppins SemiBold */
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Poppins Bold */
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   BASIC RESET
========================================= */

:root {
    --brand-gold: #f6b91b;
    --brand-gold-light: #ffd767;
    --header-dark: #090a0c;
    --header-surface: rgba(9, 10, 12, 0.88);
    --header-border: rgba(255, 255, 255, 0.12);
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.64);
    --container-width: 1380px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #090a0c;
    color: var(--text-white);
    font-family:
        "Poppins",
        Arial,
        Helvetica,
        sans-serif;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================
   ANNOUNCEMENT BAR
========================================= */

.announcement-bar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1001;
    width: 100%;
    height: 34px;

    background: var(--brand-gold);
    color: #111214;

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

.announcement-container {
    width: min(calc(100% - 48px), var(--container-width));
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.announcement-container p {
    margin: 0;

    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.announcement-dot {
    width: 6px;
    height: 6px;

    flex: 0 0 auto;

    border-radius: 50%;
    background: #111214;

    animation: announcementPulse 1.8s ease-in-out infinite;
}

.announcement-separator {
    display: inline-block;
    width: 1px;
    height: 11px;

    background: rgba(0, 0, 0, 0.35);
}

@keyframes announcementPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.7);
        opacity: 0.45;
    }
}


/* =========================================
   MAIN HEADER
========================================= */

.site-header {
    position: fixed;
    top: 34px;
    left: 0;
    z-index: 1000;

    width: 100%;
    height: 92px;

    background: transparent;
    border-bottom: 1px solid var(--header-border);

    transition:
        top 0.4s ease,
        height 0.4s ease,
        background-color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
    top: 0;
    height: 78px;

    background: var(--header-surface);
    border-color: rgba(255, 255, 255, 0.08);

    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.22);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.header-scrolled .announcement-bar {
    transform: translateY(-100%);
    opacity: 0;
}

.header-container {
    width: min(calc(100% - 48px), var(--container-width));
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* =========================================
   LOGO
========================================= */

.site-logo {
    width: 188px;
    min-width: 188px;
    height: 58px;

    display: flex;
    align-items: center;

    text-decoration: none;
}

.site-logo img {
    display: none;
    width: auto;
    max-width: 180px;
    max-height: 54px;
    object-fit: contain;
}

.site-logo.logo-loaded img {
    display: block;
}

.site-logo.logo-loaded .logo-fallback {
    display: none;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fallback-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(246, 185, 27, 0.7);
    border-radius: 50%;

    color: var(--brand-gold);

    font-family: Georgia, serif;
    font-size: 23px;
    font-style: italic;
    font-weight: 700;
}

.fallback-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.fallback-name strong {
    color: var(--brand-gold);
    font-weight: 600;
}


/* =========================================
   DESKTOP NAVIGATION
========================================= */

.desktop-navigation {
    margin-left: auto;
}

.navigation-list {
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 4px;

    list-style: none;
}

.navigation-item {
    position: relative;
}

.navigation-link {
    position: relative;

    min-height: 46px;
    padding: 0 15px;

    display: flex;
    align-items: center;
    gap: 7px;

    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.76);

    font: inherit;
    font-size: 13px;
    font-weight: 550;

    text-decoration: none;
    cursor: pointer;

    transition: color 0.25s ease;
}

.navigation-link::after {
    content: "";

    position: absolute;
    right: 15px;
    bottom: 6px;
    left: 15px;

    height: 1px;

    background: var(--brand-gold);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.35s ease;
}

.navigation-link:hover,
.navigation-link:focus-visible,
.navigation-link.active {
    color: #ffffff;
}

.navigation-link:hover::after,
.navigation-link:focus-visible::after,
.navigation-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.dropdown-trigger svg {
    width: 9px;
    height: 6px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;

    transition: transform 0.25s ease;
}

.has-dropdown:hover .dropdown-trigger svg,
.has-dropdown:focus-within .dropdown-trigger svg {
    transform: rotate(180deg);
}


/* =========================================
   DESKTOP DROPDOWN
========================================= */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;

    width: 610px;
    padding: 12px;

    display: grid;
    grid-template-columns: 195px 1fr;
    gap: 12px;

    visibility: hidden;
    opacity: 0;

    background: rgba(14, 15, 18, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);

    transform: translate(-50%, 15px);
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.dropdown-menu::before {
    content: "";

    position: absolute;
    top: -18px;
    left: 0;

    width: 100%;
    height: 20px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    visibility: visible;
    opacity: 1;

    transform: translate(-50%, 0);
    pointer-events: auto;
}

.marketing-dropdown {
    width: 585px;
}

.dropdown-heading {
    padding: 24px 18px;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(246, 185, 27, 0.22),
            transparent 42%
        ),
        #1a1b1f;

    border: 1px solid rgba(255, 255, 255, 0.07);
}

.dropdown-heading span {
    color: var(--brand-gold);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.dropdown-heading p {
    margin: 55px 0 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;
    line-height: 1.65;
}

.dropdown-links {
    display: grid;
}

.dropdown-links a {
    position: relative;

    padding: 17px 14px;

    display: grid;
    grid-template-columns: 27px 1fr 25px;
    gap: 11px;
    align-items: start;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    color: #ffffff;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        padding-left 0.25s ease;
}

.dropdown-links a:last-child {
    border-bottom: 0;
}

.dropdown-links a:hover,
.dropdown-links a:focus-visible {
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.045);
}

.dropdown-number {
    padding-top: 3px;

    color: var(--brand-gold);

    font-size: 9px;
    letter-spacing: 0.08em;
}

.dropdown-links strong,
.dropdown-links small {
    display: block;
}

.dropdown-links strong {
    margin-bottom: 4px;

    font-size: 13px;
    font-weight: 650;
}

.dropdown-links small {
    color: rgba(255, 255, 255, 0.48);

    font-size: 11px;
    line-height: 1.45;
}

.dropdown-arrow {
    color: var(--brand-gold);

    font-size: 14px;

    transition: transform 0.25s ease;
}

.dropdown-links a:hover .dropdown-arrow {
    transform: translate(3px, -3px);
}


/* =========================================
   ANIMATED PROJECT BUTTON
========================================= */

.project-button {
    position: relative;
    isolation: isolate;

    height: 48px;
    margin-left: 18px;
    padding: 5px 5px 5px 19px;

    display: flex;
    align-items: center;
    gap: 17px;

    overflow: hidden;

    border: 1px solid rgba(246, 185, 27, 0.65);
    border-radius: 100px;

    color: #ffffff;
    text-decoration: none;
}

.project-button::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background: var(--brand-gold);

    transform: translateX(-102%);
    transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}

.project-button:hover::before,
.project-button:focus-visible::before {
    transform: translateX(0);
}

.project-button-text {
    position: relative;
    z-index: 2;

    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;

    transition: color 0.35s ease;
}

.project-button:hover .project-button-text,
.project-button:focus-visible .project-button-text {
    color: #111214;
}

.project-button-arrow {
    position: relative;
    z-index: 2;

    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;
    flex: 0 0 auto;

    border-radius: 50%;
    background: var(--brand-gold);

    transition:
        background-color 0.35s ease,
        transform 0.35s ease;
}

.project-button-arrow svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: #111214;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-button:hover .project-button-arrow,
.project-button:focus-visible .project-button-arrow {
    background: #111214;
    transform: rotate(45deg);
}

.project-button:hover .project-button-arrow svg,
.project-button:focus-visible .project-button-arrow svg {
    stroke: #ffffff;
}

.project-button-shine {
    position: absolute;
    top: -50%;
    left: -40%;

    width: 30%;
    height: 200%;

    background: rgba(255, 255, 255, 0.35);

    transform: rotate(22deg);
    animation: projectButtonShine 4s ease-in-out infinite;
}

@keyframes projectButtonShine {
    0%,
    65% {
        left: -45%;
    }

    100% {
        left: 125%;
    }
}


/* =========================================
   MOBILE BUTTON
========================================= */

.mobile-menu-button {
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;

    display: none;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: transparent;

    cursor: pointer;
}

.mobile-menu-button span {
    width: 18px;
    height: 1px;
    margin: 5px auto;

    display: block;

    background: #ffffff;

    transition:
        transform 0.35s ease,
        margin 0.35s ease;
}

.mobile-menu-button.is-active span:first-child {
    margin-bottom: -1px;
    transform: rotate(45deg);
}

.mobile-menu-button.is-active span:last-child {
    margin-top: 0;
    transform: rotate(-45deg);
}


/* =========================================
   MOBILE NAVIGATION
========================================= */


.mobile-navigation {
    position: fixed;
    inset: 0;
    z-index: 999;

    visibility: hidden;
    opacity: 0;

    overflow-x: hidden;
    overflow-y: auto;

    background:
        radial-gradient(
            circle at 85% 12%,
            rgba(246, 185, 27, 0.12),
            transparent 26%
        ),
        #0c0d0f;

    transition:
        visibility 0.4s ease,
        opacity 0.4s ease;
}

.mobile-navigation.is-open {
    visibility: visible;
    opacity: 1;
}

.mobile-navigation-inner {
    min-height: 100%;
    padding: 145px 24px 45px;

    display: flex;
    flex-direction: column;
}

.mobile-direct-link,
.mobile-dropdown-trigger {
    width: 100%;
    min-height: 69px;
    padding: 0;

    display: flex;
    align-items: center;

    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #ffffff;

    font: inherit;
    font-size: clamp(20px, 6vw, 27px);
    font-weight: 550;

    text-decoration: none;
    text-align: left;
}

.mobile-direct-link span,
.mobile-dropdown-trigger small {
    width: 35px;

    color: var(--brand-gold);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.mobile-dropdown-trigger {
    justify-content: space-between;
    cursor: pointer;
}

.mobile-dropdown-trigger > span {
    display: flex;
    align-items: center;
}

.mobile-dropdown-trigger i {
    position: relative;

    width: 17px;
    height: 17px;
}

.mobile-dropdown-trigger i::before,
.mobile-dropdown-trigger i::after {
    content: "";

    position: absolute;
    top: 8px;
    left: 0;

    width: 17px;
    height: 1px;

    background: var(--brand-gold);

    transition: transform 0.3s ease;
}

.mobile-dropdown-trigger i::after {
    transform: rotate(90deg);
}

.mobile-dropdown.is-open
.mobile-dropdown-trigger i::after {
    transform: rotate(0);
}

.mobile-dropdown-content {
    max-height: 0;

    overflow: hidden;

    transition: max-height 0.45s ease;
}

.mobile-dropdown.is-open .mobile-dropdown-content {
    max-height: 260px;
}

.mobile-dropdown-content a {
    padding: 13px 0 13px 35px;

    display: block;

    color: rgba(255, 255, 255, 0.58);

    font-size: 14px;
    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.mobile-dropdown-content a:hover,
.mobile-dropdown-content a:focus-visible {
    color: var(--brand-gold);
    transform: translateX(5px);
}

.mobile-project-button {
    min-height: 56px;
    margin-top: 35px;
    padding: 0 8px 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 100px;
    background: var(--brand-gold);
    color: #111214;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.mobile-project-button span {
    width: 41px;
    height: 41px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: #111214;
    color: #ffffff;
}


/* =========================================
   TEMPORARY HERO FOR HEADER TESTING
========================================= */

.temporary-hero {
    position: relative;

    min-height: 100vh;
    padding: 220px 24px 100px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 32%,
            rgba(10, 133, 181, 0.28),
            transparent 30%
        ),
        radial-gradient(
            circle at 25% 20%,
            rgba(246, 185, 27, 0.12),
            transparent 25%
        ),
        #090a0c;
}

.temporary-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(to bottom, black, transparent 90%);
}

.temporary-content {
    position: relative;
    z-index: 2;

    width: min(100%, var(--container-width));
    margin: 0 auto;
}

.temporary-content > span {
    color: var(--brand-gold);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.temporary-content h1 {
    max-width: 900px;
    margin: 25px 0;

    font-size: clamp(58px, 9vw, 130px);
    line-height: 0.87;
    letter-spacing: -0.075em;
}

.temporary-content h1 strong {
    display: block;

    color: transparent;

    -webkit-text-stroke: 1px #ffffff;

    font-weight: 600;
}

.temporary-content p {
    max-width: 560px;

    color: var(--text-muted);

    font-size: 16px;
    line-height: 1.7;
}

.temporary-scroll-section {
    min-height: 100vh;
    padding: 120px 24px;

    display: grid;
    place-items: center;

    background: #eeeeea;
    color: #111214;
}

.temporary-scroll-section h2 {
    font-size: clamp(30px, 5vw, 65px);
    text-align: center;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1120px) {
    .navigation-link {
        padding-right: 10px;
        padding-left: 10px;
    }

    .navigation-link::after {
        right: 10px;
        left: 10px;
    }

    .project-button {
        margin-left: 8px;
    }

    .project-button-text {
        display: none;
    }

    .project-button {
        width: 48px;
        padding: 5px;
    }
}

@media (max-width: 950px) {
    .desktop-navigation,
    .project-button {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .site-logo {
        width: auto;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .announcement-container {
        width: calc(100% - 28px);
    }

    .announcement-container p {
        gap: 7px;

        font-size: 8px;
        letter-spacing: 0.055em;
    }

    .announcement-separator {
        height: 9px;
    }

    .header-container {
        width: calc(100% - 32px);
    }

    .site-header {
        height: 80px;
    }

    .site-header.is-scrolled {
        height: 70px;
    }

    .site-logo img {
        max-width: 145px;
        max-height: 47px;
    }

    .fallback-mark {
        width: 36px;
        height: 36px;
    }

    .fallback-name {
        font-size: 14px;
    }

    .mobile-navigation-inner {
        padding-top: 125px;
    }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   HEADER VISUAL REFINEMENTS
========================================= */

/* Slightly wider header layout */
.header-container {
    width: min(calc(100% - 70px), 1450px);
}


/* =========================================
   LARGER LOGO
========================================= */

.site-logo {
    width: 235px;
    min-width: 235px;
    height: 72px;
}

.site-logo img {
    width: auto;
    max-width: 225px;
    max-height: 68px;

    object-fit: contain;
    object-position: left center;
}


/* =========================================
   STRONGER NAVIGATION
========================================= */

.navigation-list {
    gap: 8px;
}

.navigation-link {
    padding-right: 16px;
    padding-left: 16px;

    color: rgba(255, 255, 255, 0.83);

    font-family: "Poppins", Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.navigation-link::after {
    right: 16px;
    bottom: 4px;
    left: 16px;

    height: 2px;

    border-radius: 10px;
    background: var(--brand-gold);
}

.navigation-link:hover,
.navigation-link:focus-visible,
.navigation-link.active {
    color: #ffffff;
}

.navigation-link.active {
    font-weight: 700;
}

.dropdown-trigger svg {
    width: 10px;
    height: 7px;

    stroke-width: 1.8;
}


/* =========================================
   YELLOW CTA BUTTON
========================================= */

.project-button {
    height: 52px;
    margin-left: 22px;
    padding: 5px 5px 5px 22px;

    gap: 20px;

    border: 1px solid var(--brand-gold);
    background: var(--brand-gold);
    color: #111214;

    box-shadow:
        0 10px 30px rgba(246, 185, 27, 0.18),
        0 0 0 rgba(246, 185, 27, 0);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.project-button::before {
    background: var(--brand-gold-light);

    transform: translateX(-102%);
}

.project-button:hover,
.project-button:focus-visible {
    transform: translateY(-3px);

    box-shadow:
        0 16px 35px rgba(246, 185, 27, 0.28),
        0 0 28px rgba(246, 185, 27, 0.14);
}

.project-button-text {
    color: #111214;

    font-family: "Poppins", Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.project-button:hover .project-button-text,
.project-button:focus-visible .project-button-text {
    color: #111214;
}

.project-button-arrow {
    width: 40px;
    height: 40px;

    background: #111214;
}

.project-button-arrow svg {
    stroke: #ffffff;
}

.project-button:hover .project-button-arrow,
.project-button:focus-visible .project-button-arrow {
    background: #111214;

    transform: rotate(45deg) scale(1.04);
}

.project-button:hover .project-button-arrow svg,
.project-button:focus-visible .project-button-arrow svg {
    stroke: var(--brand-gold);
}

.project-button-shine {
    background: rgba(255, 255, 255, 0.48);
}


/* =========================================
   DROPDOWN FONT IMPROVEMENTS
========================================= */

.dropdown-heading span {
    font-weight: 700;
}

.dropdown-links strong {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
}

.dropdown-links small {
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 400;
}


/* =========================================
   MOBILE REFINEMENTS
========================================= */

@media (max-width: 1250px) {
    .header-container {
        width: min(calc(100% - 40px), 1450px);
    }

    .site-logo {
        width: 205px;
        min-width: 205px;
    }

    .site-logo img {
        max-width: 195px;
    }

    .navigation-link {
        padding-right: 11px;
        padding-left: 11px;

        font-size: 12.5px;
    }

    .navigation-link::after {
        right: 11px;
        left: 11px;
    }

    .project-button {
        margin-left: 10px;
    }
}

@media (max-width: 950px) {
    .site-logo {
        width: auto;
        min-width: 0;
        height: 64px;
    }

    .site-logo img {
        max-width: 195px;
        max-height: 60px;
    }
}

@media (max-width: 600px) {
    .header-container {
        width: calc(100% - 30px);
    }

    .site-logo img {
        max-width: 175px;
        max-height: 55px;
    }
}

@media (max-width: 950px) {
    body.menu-open .site-header {
        top: 0;

        background: #0c0d0f;
        border-bottom-color: transparent;

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.menu-open .announcement-bar {
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }

    body.menu-open .mobile-navigation {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    body.menu-open .mobile-navigation-inner {
        padding-top: 110px;
    }
}

/* Active parent dropdown menu */

.has-dropdown.is-current-page > .dropdown-trigger,
.has-dropdown.is-current-page > .navigation-link {
    color: #ffffff;
}

.has-dropdown.is-current-page > .dropdown-trigger::after {
    border-color: #f6b91b;
}