:root {
    --hs-bg: #080706;
    --hs-panel: #0e0c09;
    --hs-panel-soft: #15110c;
    --hs-gold: #c99a3b;
    --hs-gold-light: #e0bd75;
    --hs-text: #e7dfd2;
    --hs-muted: #b9b0a3;
    --hs-line: rgba(201, 154, 59, 0.48);
    --hs-max-width: 1440px;
    --hs-header-height: 142px;
    font-family: Arial, Helvetica, sans-serif;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--hs-bg);
    color: var(--hs-text);
}

a {
    color: inherit;
    text-decoration: none;
}

.hs-site-shell {
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 0%, rgba(77, 50, 16, 0.14), transparent 34%),
        var(--hs-bg);
}

.hs-header {
    position: relative;
    z-index: 20;
    min-height: 170px;
    border-bottom: 1px solid rgba(191, 143, 54, 0.38);
    background:
        linear-gradient(rgba(8, 7, 6, 0.96), rgba(8, 7, 6, 0.96)),
        url('/image/background_leather.webp') center/640px auto repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.hs-header__inner {
    width: min(calc(100% - 48px), 1740px);
    min-height: 122px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(560px, 1fr) auto;
    align-items: center;
    gap: 36px;
}

.hs-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
}

.hs-header__logo {
    width: 138px;
    height: 138px;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 10px rgba(190, 139, 48, 0.12));
}

.hs-header__identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 360px;
    transform: translateY(12px);
}

.hs-brand-name {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    color: #d8b56d;
    font-size: clamp(27px, 2vw, 39px);
    line-height: 1;
    letter-spacing: 2.4px;
    text-shadow: 0 1px 0 #000;
}

.hs-brand-rule {
    width: 286px;
    height: 1px;
    margin: 12px 0 12px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(209, 168, 86, 0.35) 12%,
        rgba(209, 168, 86, 0.95) 50%,
        rgba(209, 168, 86, 0.35) 88%,
        transparent
    );
}

.hs-brand-tagline {
    display: block;
    color: #c89b47;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 5.4px;
    white-space: nowrap;
}

.hs-header__tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.hs-search-button {
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hs-search-button span,
.hs-search-button span::after {
    position: absolute;
    display: block;
    content: '';
}

.hs-search-button span {
    left: 12px;
    top: 9px;
    width: 17px;
    height: 17px;
    border: 1.6px solid #d4ad5f;
    border-radius: 50%;
}

.hs-search-button span::after {
    width: 9px;
    height: 1.6px;
    right: -7px;
    bottom: -4px;
    background: #d4ad5f;
    transform: rotate(45deg);
    transform-origin: left center;
}

.hs-header-button {
    min-width: 128px;
    min-height: 44px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.15px;
}

.hs-header-button--outline {
    border: 1px solid rgba(203, 157, 67, 0.72);
    color: #d9b665;
    background: rgba(0, 0, 0, 0.08);
}

.hs-header-button--gold {
    border: 1px solid #d3a64d;
    color: #171008;
    background: linear-gradient(180deg, #d7ae58 0%, #bd8e36 100%);
    box-shadow: inset 0 1px 0 rgba(255, 239, 196, 0.3);
}

.hs-header__nav-row {
    min-height: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.025);
    background: rgba(0, 0, 0, 0.14);
}

.hs-nav {
    width: min(calc(100% - 72px), 1700px);
    min-height: 45px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: clamp(24px, 2.15vw, 44px);
    overflow-x: auto;
    scrollbar-width: none;
}

.hs-nav::-webkit-scrollbar {
    display: none;
}

.hs-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 45px;
    padding: 1px 0 0;
    color: #d6d0c8;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.1px;
    white-space: nowrap;
}

.hs-nav a::after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #c6953d;
    transform: translateX(-50%);
    transition: width 160ms ease;
}

.hs-nav a:hover,
.hs-nav a.is-active {
    color: #e1c789;
}

.hs-nav a:hover::after,
.hs-nav a.is-active::after {
    width: 100%;
}

.hs-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-bottom: 1px solid var(--hs-line);
    background:
        radial-gradient(circle at 72% 44%, rgba(143, 76, 16, 0.22), transparent 24%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(10, 7, 4, 0.78) 43%, rgba(17, 10, 4, 0.35) 100%),
        url('/image/hero_home.png') center/cover no-repeat;
}

.hs-hero__overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.hs-hero__content {
    position: relative;
    z-index: 1;
    width: min(760px, 52vw);
    padding: 74px 70px 60px;
}

.hs-eyebrow {
    margin: 0 0 14px;
    color: var(--hs-gold);
    letter-spacing: 3px;
    font-size: 12px;
}

.hs-hero h1,
.hs-section-heading h2,
.hs-member-zone h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    color: #e8d6b3;
}

.hs-hero h1 {
    font-size: clamp(27px, 2.35vw, 44px);
    line-height: 1.1;
    letter-spacing: 1px;
}

.hs-rule {
    width: 168px;
    height: 18px;
    position: relative;
    margin: 20px 0;
}

.hs-rule::before,
.hs-rule::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    background: var(--hs-gold);
}

.hs-rule::before {
    left: 0;
    width: 46%;
}

.hs-rule::after {
    right: 0;
    width: 46%;
}

.hs-rule span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border: 1px solid var(--hs-gold);
    transform: translate(-50%, -50%) rotate(45deg);
}

.hs-hero__lead {
    max-width: 520px;
    margin: 0;
    color: #d4cec5;
    font-size: 17px;
    line-height: 1.7;
}

.hs-hero__actions {
    display: flex;
    gap: 18px;
    margin-top: 34px;
}

.hs-categories {
    width: calc(100% - 96px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-left: 1px solid var(--hs-line);
    border-bottom: 1px solid var(--hs-line);
    background: rgba(8, 7, 6, 0.96);
}

.hs-category-card {
    min-height: 126px;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-top: 1px solid var(--hs-line);
    border-right: 1px solid var(--hs-line);
    background:
        linear-gradient(180deg, rgba(18, 15, 11, 0.94), rgba(8, 7, 6, 0.98)),
        url('/image/background_leather.webp') center/520px auto repeat;
}

.hs-category-card__icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    opacity: 0.96;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
}

.hs-category-card__body {
    min-width: 0;
}

.hs-category-card h2 {
    margin: 0 0 7px;
    color: #ead8b6;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.hs-category-card p {
    max-width: 205px;
    margin: 0 0 9px;
    color: #bcb3a7;
    font-size: 12px;
    line-height: 1.45;
}

.hs-category-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hs-gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hs-category-card a span {
    font-size: 17px;
    line-height: 0;
    transform: translateY(-1px);
}

.hs-category-card:hover {
    background:
        linear-gradient(180deg, rgba(27, 21, 13, 0.96), rgba(10, 8, 6, 0.99)),
        url('/image/background_leather.webp') center/520px auto repeat;
}

.hs-category-card:hover .hs-category-card__icon {
    transform: translateY(-2px);
}

.hs-category-card__icon,
.hs-category-card {
    transition: transform 160ms ease, background 160ms ease;
}

.hs-content-grid {
    width: calc(100% - 96px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3.2fr 1.1fr;
    border-left: 1px solid var(--hs-line);
    border-right: 1px solid var(--hs-line);
    border-bottom: 1px solid var(--hs-line);
}

.hs-latest {
    padding: 28px 32px 26px;
}

.hs-section-heading h2,
.hs-member-zone h2 {
    font-size: 21px;
    letter-spacing: 0.8px;
}

.hs-section-heading .hs-rule,
.hs-member-zone .hs-rule {
    margin: 8px 0 14px;
    width: 104px;
}

.hs-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hs-article-card {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 12px;
}

.hs-article-card__image {
    aspect-ratio: 16 / 7;
    margin-bottom: 12px;
    border: 1px solid rgba(201, 154, 59, 0.18);
    background:
        linear-gradient(135deg, rgba(117, 73, 21, 0.55), rgba(12, 10, 8, 0.95)),
        #17120c;
}

.hs-article-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 400;
}

.hs-article-card p,
.hs-member-zone p {
    color: var(--hs-muted);
    font-size: 13px;
    line-height: 1.65;
}

.hs-member-zone {
    padding: 28px 44px;
    border-left: 1px solid var(--hs-line);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(17, 14, 10, 0.85), rgba(10, 8, 6, 0.9));
}

.hs-member-zone span {
    text-align: center;
    margin: 18px 0 10px;
    color: #c9c0b3;
    font-size: 12px;
}

.hs-footer {
    width: calc(100% - 96px);
    margin: 0 auto;
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 0 32px;
    color: #a9a095;
    font-size: 12px;
}

.hs-footer nav {
    display: flex;
    gap: 34px;
}

.hs-footer__social {
    display: flex;
    gap: 24px;
}

.hs-footer__social a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--hs-line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--hs-gold-light);
}

.hs-footer p {
    text-align: right;
}

@media (max-width: 1280px) {
    .hs-header {
        grid-template-columns: 1fr auto;
    }

    .hs-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .hs-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hs-header {
        padding: 20px;
    }

    .hs-header__actions {
        flex-wrap: wrap;
    }

    .hs-hero__content {
        width: 100%;
        padding: 56px 28px;
    }

    .hs-categories,
    .hs-content-grid,
    .hs-footer {
        width: calc(100% - 32px);
    }

    .hs-categories {
        grid-template-columns: 1fr 1fr;
    }

    .hs-content-grid {
        grid-template-columns: 1fr;
    }

    .hs-member-zone {
        border-left: 0;
        border-top: 1px solid var(--hs-line);
    }

    .hs-footer {
        grid-template-columns: 1fr;
        padding: 24px 0;
    }

    .hs-footer p {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .hs-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .hs-header__brand {
        justify-content: center;
    }

    .hs-header__actions {
        justify-content: center;
    }

    .hs-nav {
        width: 100%;
    }

    .hs-hero h1 {
        font-size: 34px;
    }

    .hs-hero__actions {
        flex-direction: column;
    }

    .hs-categories {
        grid-template-columns: 1fr;
    }

    .hs-article-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 1120px) {
    .hs-header__inner {
        width: min(calc(100% - 40px), 1700px);
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px 0 16px;
    }

    .hs-header__brand,
    .hs-header__tools {
        justify-self: center;
    }

    .hs-nav {
        width: calc(100% - 40px);
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .hs-header__inner {
        width: calc(100% - 24px);
    }

    .hs-header__brand {
        gap: 12px;
    }

    .hs-header__logo {
        width: 82px;
        height: 82px;
    }

    .hs-header__identity {
        min-width: 0;
        align-items: flex-start;
    }

    .hs-brand-name {
        font-size: 23px;
        letter-spacing: 1.5px;
    }

    .hs-brand-rule {
        width: 176px;
    }

    .hs-brand-tagline {
        font-size: 9px;
        letter-spacing: 3.1px;
    }

    .hs-header__tools {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hs-header-button {
        min-width: 116px;
        padding: 0 16px;
    }

    .hs-nav {
        width: calc(100% - 24px);
        gap: 24px;
    }
}


/* Build 0003.001 – Header precision adjustment */
.hs-header__brand {
    margin-left: -18px;
}

.hs-header__identity {
    align-items: flex-start;
}

.hs-brand-name {
    padding-left: 2px;
}

.hs-brand-rule {
    margin-left: 0;
}

.hs-brand-tagline {
    margin-top: 1px;
    padding-left: 38px;
}

.hs-header__nav-row {
    margin-top: -1px;
}

.hs-nav {
    padding-left: 302px;
    justify-content: flex-start;
}

@media (max-width: 1400px) {
    .hs-nav {
        padding-left: 250px;
    }
}

@media (max-width: 1120px) {
    .hs-header__brand {
        margin-left: 0;
    }

    .hs-header__identity {
        align-items: center;
    }

    .hs-brand-tagline {
        padding-left: 0;
    }

    .hs-nav {
        padding-left: 0;
    }
}


/* Build 0003.002 – Larger and lower logo */
@media (min-width: 1121px) {
    .hs-header {
        min-height: 196px;
    }

    .hs-header__inner {
        min-height: 148px;
        align-items: center;
    }

    .hs-header__brand {
        margin-left: -26px;
        align-items: center;
    }

    .hs-header__logo {
        width: 166px;
        height: 166px;
        transform: translateY(10px);
    }

    .hs-header__identity {
        transform: translateY(35px);
    }

    .hs-header__tools {
        transform: translateY(4px);
    }

    .hs-header__nav-row {
        min-height: 48px;
    }
}


/* Build 0003.003 – Logo balance and hero image */
@media (min-width: 1121px) {
    .hs-header__brand {
        margin-left: -32px;
    }

    .hs-header__logo {
        width: 155px;
        height: 155px;
        transform: translateY(31px);
    }

    /* Merkevareblokken beholdes på plasseringen fra Build 0003.002. */
    .hs-header__identity {
        transform: translateY(20px);
    }
}

.hs-hero {
    background: url('/image/hero_home.png') center center / cover no-repeat;
}


/* Build 0003.004 – Vertical logo adjustment and smaller hero heading */
@media (max-width: 900px) {
    .hs-hero h1 {
        font-size: clamp(26px, 6vw, 38px);
    }
}

@media (max-width: 640px) {
    .hs-hero h1 {
        font-size: 26px;
    }
}


/* Build 0003.005 – Hero heading reduced two additional steps */


/* Build 0003.007 – Category section */
@media (max-width: 1280px) {
    .hs-category-card {
        grid-template-columns: 66px minmax(0, 1fr);
    }

    .hs-category-card__icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 900px) {
    .hs-category-card {
        min-height: 116px;
    }
}

@media (max-width: 640px) {
    .hs-category-card {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .hs-category-card__icon {
        width: 56px;
        height: 56px;
    }
}

/* Foundation 1.0.0 Build 0004 – Godkjent og låst HERO-referanse */
.hs-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.hs-hero.hs-hero--locked-reference {
    min-height: 0;
    aspect-ratio: 1619 / 507;
    border-bottom: 1px solid var(--hs-line);
    background: #080706 url('/image/hero_home.png') center center / cover no-repeat;
}

.hs-hero.hs-hero--locked-reference::before,
.hs-hero.hs-hero--locked-reference::after {
    content: none;
}

@media (max-width: 900px) {
    .hs-hero.hs-hero--locked-reference {
        min-height: 420px;
        aspect-ratio: auto;
        background-position: 44% center;
    }
}
