/* (c) Hecktor Nastrova | Official Website | H27-HX26 Inspired | Nastrova Foundation Spirit */

.hkn_page {
    --hkn_text: #171717;
    --hkn_muted: #5f6368;
    --hkn_soft: #f8f8f8;
    --hkn_surface: #ffffff;
    --hkn_border: #e6e6e6;
    --hkn_blue: #1a237e;
    --hkn_blue_soft: #eef1ff;
    --hkn_gold: #9b7a28;
    --hkn_gold_soft: #f7f2e6;
    --hkn_navy: #07162b;

    margin: 0;
    background: #ffffff;
    color: var(--hkn_text);
    font-family: "Segoe UI", "Elms Sans", Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.hkn_page * {
    box-sizing: border-box;
}

.hkn_wrap {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
}

/* HEADER */

.hkn_header {
    background: #ffffff;
    border-bottom: 1px solid var(--hkn_border);
}

.hkn_header_inner {
    width: min(1120px, calc(100% - 56px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.hkn_header_logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hkn_header_logo img {
    display: block;
    width: 86px;
    max-width: 100%;
    height: auto;
}

.hkn_header_nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.hkn_header_nav a {
    color: #1a237e;
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.045em;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
}

.hkn_header_nav a:hover {
    color: var(--hkn_gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* HERO */

.hkn_hero {
    background:
        radial-gradient(circle at 50% 12%, rgba(155, 122, 40, 0.08), transparent 24%),
        #ffffff;
    border-bottom: 1px solid var(--hkn_border);
}

.hkn_hero_center {
    min-height: 560px;
    padding: 58px 0 62px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hkn_portrait {
    width: 184px;
    height: 184px;
    margin: 0 auto 26px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--hkn_border);
    background: #ffffff;
}

.hkn_portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* TEXT */

.hkn_kicker,
.hkn_label {
    margin: 0 0 14px;
    color: var(--hkn_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 0.075em;
    font-weight: 400;
    text-transform: uppercase;
}

.hkn_hero h1 {
    margin: 0;
    color: var(--hkn_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.06;
    letter-spacing: 0.055em;
    font-weight: 400;
    text-transform: none;
}

.hkn_signature {
    margin: 18px 0 0;
    color: var(--hkn_gold);
    font-family: "Pinyon Script", "Alex Brush", "Dancing Script", cursive;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    font-weight: 400;
}

.hkn_intro {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--hkn_muted);
    font-size: 16px;
    line-height: 1.6;
}

/* BUTTONS */

.hkn_actions,
.hkn_final_actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.hkn_btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background: var(--hkn_blue);
    color: #ffffff;
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.055em;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid var(--hkn_blue);
}

.hkn_btn:hover {
    background: #11195f;
    color: #ffffff;
}

.hkn_link {
    color: var(--hkn_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.055em;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
}

.hkn_link:hover {
    color: var(--hkn_gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* MAIN ROUTES */

.hkn_routes {
    background: #ffffff;
    border-bottom: 1px solid var(--hkn_border);
}

.hkn_routes_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid var(--hkn_border);
}

.hkn_route_card {
    min-height: 152px;
    display: flex;
    flex-direction: column;
    padding: 24px 22px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    border-right: 1px solid var(--hkn_border);
}

.hkn_route_card:hover {
    background: #fbfbfb;
}

.hkn_route_card strong {
    display: block;
    color: var(--hkn_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: 0.04em;
    font-weight: 400;
    text-transform: uppercase;
}

.hkn_route_card span {
    display: block;
    margin-top: 12px;
    color: var(--hkn_muted);
    font-size: 13px;
    line-height: 1.55;
}

/* SECTIONS */

.hkn_section {
    padding: 58px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--hkn_border);
}

.hkn_section_compact {
    padding: 54px 0;
}

.hkn_section_head {
    max-width: 760px;
    margin: 0 0 30px;
}

.hkn_section_head_center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hkn_section_head h2,
.hkn_final_inner h2 {
    margin: 0;
    color: var(--hkn_text);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.2;
    letter-spacing: 0.025em;
    font-weight: 400;
}

.hkn_section_head p,
.hkn_final_inner p {
    margin: 16px 0 0;
    color: var(--hkn_muted);
    font-size: 15px;
    line-height: 1.65;
}

/* AREAS */

.hkn_area_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--hkn_border);
    border-left: 1px solid var(--hkn_border);
}

.hkn_area_item {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: #ffffff;
    color: var(--hkn_text);
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
    font-weight: 500;
    border-right: 1px solid var(--hkn_border);
    border-bottom: 1px solid var(--hkn_border);
}

/* STATEMENT */

.hkn_statement {
    padding: 54px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--hkn_border);
}

.hkn_statement p {
    max-width: 860px;
    margin: 0 auto;
    color: var(--hkn_gold);
    font-family: "Pinyon Script", "Alex Brush", "Dancing Script", cursive;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    text-align: center;
    font-weight: 400;
}

/* ECOSYSTEM */

.hkn_entity_list {
    display: grid;
    gap: 10px;
}

.hkn_entity_card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid var(--hkn_border);
}

.hkn_entity_card:hover {
    background: #fbfbfb;
}

.hkn_entity_content span {
    display: block;
    margin: 0 0 6px;
    color: var(--hkn_gold);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.hkn_entity_content strong {
    display: block;
    color: var(--hkn_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.32;
    letter-spacing: 0.035em;
    font-weight: 400;
    text-transform: uppercase;
}

.hkn_entity_content p {
    max-width: 780px;
    margin: 8px 0 0;
    color: var(--hkn_muted);
    font-size: 13px;
    line-height: 1.55;
}

.hkn_entity_card a {
    color: var(--hkn_blue);
    font-family: "Julius Sans One", "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.055em;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.hkn_entity_card a:hover {
    color: var(--hkn_gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* FINAL */

.hkn_final {
    background:
        radial-gradient(circle at 50% 0%, rgba(155, 122, 40, 0.08), transparent 25%),
        #ffffff;
}

.hkn_final_inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

/* FOUNDATION FOOTER COMPAT */

.hkn_page .nasfound-footer {
    margin-top: 0;
}

.hkn_page .nasfound-footer a {
    color: inherit;
}

/* ACCESSIBILITY */

.hkn_page a:focus-visible {
    outline: 2px solid var(--hkn_blue);
    outline-offset: 3px;
}

/* RESPONSIVE */

@media (max-width: 1080px) {
    .hkn_routes_grid,
    .hkn_area_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hkn_entity_card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hkn_entity_card a {
        width: fit-content;
    }
}

@media (max-width: 820px) {
    .hkn_wrap,
    .hkn_header_inner {
        width: min(100% - 32px, 1120px);
    }

    .hkn_header_inner {
        min-height: auto;
        padding: 20px 0;
        align-items: center;
        flex-direction: column;
    }

    .hkn_header_logo img {
        width: 78px;
    }

    .hkn_header_nav {
        width: 100%;
        justify-content: flex-start;
        gap: 22px;
        overflow-x: auto;
        padding: 4px 0 2px;
    }

    .hkn_header_nav::-webkit-scrollbar {
        height: 0;
    }

    .hkn_header_nav a {
        white-space: nowrap;
        font-size: 12px;
    }

    .hkn_hero_center {
        min-height: auto;
        padding: 44px 0 48px;
    }

    .hkn_portrait {
        width: 160px;
        height: 160px;
        margin-bottom: 22px;
    }

    .hkn_hero h1 {
        font-size: clamp(32px, 9vw, 46px);
        line-height: 1.1;
        letter-spacing: 0.035em;
    }

    .hkn_signature {
        font-size: clamp(30px, 9vw, 42px);
    }

    .hkn_intro {
        font-size: 15px;
        line-height: 1.6;
    }

    .hkn_actions,
    .hkn_final_actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .hkn_btn,
    .hkn_link {
        width: 100%;
        text-align: center;
    }

    .hkn_section,
    .hkn_section_compact {
        padding: 46px 0;
    }

    .hkn_statement {
        padding: 44px 0;
    }

    .hkn_statement p {
        font-size: clamp(34px, 12vw, 52px);
    }
}

@media (max-width: 620px) {
    .hkn_routes_grid,
    .hkn_area_grid {
        grid-template-columns: 1fr;
    }

    .hkn_route_card {
        min-height: auto;
    }

    .hkn_area_item {
        min-height: 84px;
    }

    .hkn_entity_card {
        padding: 18px;
    }

    .hkn_section_head h2,
    .hkn_final_inner h2 {
        font-size: clamp(23px, 7vw, 32px);
        line-height: 1.24;
    }
}

@media (max-width: 420px) {
    .hkn_portrait {
        width: 140px;
        height: 140px;
    }

    .hkn_hero h1 {
        font-size: clamp(30px, 9vw, 38px);
    }

    .hkn_header_nav {
        gap: 18px;
    }
}