@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
    --ink: #07100f;
    --ink-soft: #0c1917;
    --ink-blue: #08131f;
    --military: #52633a;
    --military-dark: #2f3b22;
    --military-light: #788b53;
    --gold: #c9a84c;
    --gold-light: #e2c978;
    --paper: #f5f4ed;
    --muted: #b7c0bb;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--ink);
    color: var(--paper);
}

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

button {
    font: inherit;
}

.site-header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 2px solid rgba(226, 201, 120, 0.9);
    border-bottom: 2px solid rgba(201, 168, 76, 0.78);
    background-color: rgba(7, 16, 15, 0.94);
    background-image:
        linear-gradient(90deg, rgba(7, 16, 15, 0.92), rgba(8, 19, 31, 0.76) 50%, rgba(7, 16, 15, 0.92)),
        url('../images/backgrounds/navys-camouflage-texture.jpg');
    background-position: center;
    background-size: cover;
    box-shadow:
        inset 0 5px 0 rgba(226, 201, 120, 0.12),
        inset 0 -5px 0 rgba(201, 168, 76, 0.1),
        0 14px 34px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(12px);
}

.site-header::before,
.site-header::after {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    width: 36px;
    pointer-events: none;
}

.site-header::before {
    left: 12px;
    border-left: 2px solid rgba(226, 201, 120, 0.82);
    border-top: 2px solid rgba(226, 201, 120, 0.82);
    border-bottom: 2px solid rgba(226, 201, 120, 0.62);
}

.site-header::after {
    right: 12px;
    border-right: 2px solid rgba(226, 201, 120, 0.82);
    border-top: 2px solid rgba(226, 201, 120, 0.82);
    border-bottom: 2px solid rgba(226, 201, 120, 0.62);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 34px;
    width: min(1180px, calc(100% - 48px));
    min-height: 98px;
    margin: 0 auto;
}

.header-inner::before,
.header-inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 201, 120, 0.65), transparent);
    pointer-events: none;
}

.header-inner::before {
    top: 10px;
}

.header-inner::after {
    bottom: 10px;
}

.brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gold-light);
    font-weight: 900;
    text-transform: uppercase;
}

.brand-logo {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}

.brand-name {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.primary-nav {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: space-evenly;
    gap: 24px;
    margin: 0;
    color: #d9dfdb;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.primary-nav,
.join-button {
    font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
}

.primary-nav a {
    transition: color 160ms ease, text-shadow 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--gold-light);
    text-shadow: 0 0 18px rgba(226, 201, 120, 0.38);
}

.header-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.join-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.join-button {
    gap: 10px;
    border-width: 2px;
    background: linear-gradient(180deg, rgba(82, 99, 58, 0.92), rgba(47, 59, 34, 0.96));
    color: var(--gold-light);
    font-size: 1.08rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(7, 16, 15, 0.28), 0 8px 20px rgba(0, 0, 0, 0.28);
}

.join-button::after {
    content: '>';
    color: var(--gold-light);
    font-size: 1.2em;
    line-height: 1;
}

.join-button:hover,
.join-button:focus-visible,
.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.join-button:hover,
.join-button:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
    background: var(--gold-light);
    color: var(--ink);
}

.hero-carousel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--ink);
}

.hero-slides {
    position: relative;
    min-height: 100vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    min-height: 100vh;
    padding: 150px 24px 96px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms ease;
    background-image:
        linear-gradient(110deg, rgba(7, 16, 15, 0.94) 15%, rgba(8, 19, 31, 0.68) 58%, rgba(47, 59, 34, 0.36)),
        var(--hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 16, 15, 0.38), rgba(7, 16, 15, 0.04));
}

.hero-slide::after {
    content: '';
    position: absolute;
    right: clamp(24px, 9vw, 150px);
    bottom: clamp(52px, 12vw, 170px);
    width: clamp(180px, 31vw, 430px);
    aspect-ratio: 1;
    border: 1px solid rgba(226, 201, 120, 0.3);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(82, 99, 58, 0.2));
    clip-path: polygon(50% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%);
}

.hero-slide--01 {
    --hero-image: url('../images/home/hero/navys-hero-01.jpg');
    background-position: center 38%;
}

.hero-slide--02 {
    --hero-image: url('../images/home/hero/navys-hero-02.jpg');
    background-position: center 34%;
}

.hero-slide--03 {
    --hero-image: url('../images/home/hero/navys-hero-03.jpg');
    background-position: center 32%;
}

.hero-slide--04 {
    --hero-image: url('../images/home/hero/navys-hero-04.jpg');
    background-position: center 36%;
}

.hero-slide--05 {
    --hero-image: url('../images/home/hero/navys-hero-05.jpg');
    background-position: center 30%;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 900px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(3.2rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.hero-description {
    max-width: 640px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.button-primary {
    background: var(--gold);
    color: var(--ink);
}

.button-secondary {
    background: rgba(82, 99, 58, 0.22);
    color: var(--paper);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--military);
}

.hero-controls {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 34px;
    display: flex;
    gap: 12px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 42px;
    height: 4px;
    padding: 0;
    border: 0;
    background: rgba(245, 244, 237, 0.34);
    cursor: pointer;
}

.hero-dot.is-active {
    background: var(--gold-light);
}

.home-categories {
    position: relative;
    padding: clamp(58px, 7vw, 96px) 24px;
    background-color: #06140d;
    background-image:
        linear-gradient(135deg, rgba(0, 10, 12, 0.78), rgba(6, 20, 13, 0.88)),
        url('../images/backgrounds/navys-camouflage-texture.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.home-categories__frame {
    position: relative;
    isolation: isolate;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(34px, 5vw, 58px) clamp(20px, 4vw, 56px) clamp(34px, 5vw, 62px);
    overflow: visible;
}

.home-categories__frame::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    border: 2px solid rgba(226, 201, 120, 0.86);
    background-color: rgba(4, 10, 12, 0.58);
    background-image:
        linear-gradient(135deg, rgba(0, 10, 12, 0.52), rgba(6, 20, 13, 0.64)),
        url('../images/backgrounds/navys-camouflage-texture.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow:
        inset 0 0 0 1px rgba(201, 168, 76, 0.34),
        inset 0 0 34px rgba(0, 0, 0, 0.56),
        0 18px 50px rgba(0, 0, 0, 0.42);
    clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
    pointer-events: none;
}

.home-categories__frame::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 13px;
    border: 1px solid rgba(226, 201, 120, 0.26);
    pointer-events: none;
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
}

.home-categories__corner {
    position: absolute;
    z-index: 3;
    width: clamp(58px, 7vw, 96px);
    aspect-ratio: 1;
    background-image: url('../images/ui/category-frame-corner.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.home-categories__corner--top-left {
    top: 0;
    left: 0;
}

.home-categories__corner--top-right {
    top: 0;
    right: 0;
    transform: rotate(90deg);
}

.home-categories__corner--bottom-right {
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
}

.home-categories__corner--bottom-left {
    bottom: 0;
    left: 0;
    transform: rotate(270deg);
}

.home-categories__bottom-emblem {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: -18px;
    width: clamp(78px, 11vw, 142px);
    aspect-ratio: 3 / 1;
    background-image: url('../images/ui/category-bottom-emblem.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateX(-50%);
    pointer-events: none;
}

.home-categories__heading {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(28px, 1fr) auto auto auto minmax(28px, 1fr);
    align-items: center;
    gap: clamp(10px, 2vw, 22px);
    margin: 0 auto clamp(32px, 5vw, 56px);
    color: var(--gold-light);
}

.home-categories__title {
    color: var(--gold-light);
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(3.1rem, 8vw, 6.6rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.12em;
    text-align: center;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72), 0 0 22px rgba(201, 168, 76, 0.18);
}

.home-categories__title-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(226, 201, 120, 0.88));
}

.home-categories__title-line:last-child {
    background: linear-gradient(90deg, rgba(226, 201, 120, 0.88), transparent);
}

.home-categories__title-star {
    color: var(--gold-light);
    font-size: clamp(0.85rem, 1.7vw, 1.18rem);
    text-shadow: 0 0 16px rgba(226, 201, 120, 0.42);
}

.home-categories__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3.2vw, 42px);
}

.home-categories__card {
    position: relative;
    display: flex;
    min-height: clamp(160px, 14vw, 190px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 18px;
    border: 2px solid rgba(201, 168, 76, 0.86);
    color: var(--gold-light);
    text-align: center;
    text-transform: uppercase;
    background: rgba(5, 12, 13, 0.62);
    box-shadow:
        inset 0 0 0 1px rgba(226, 201, 120, 0.22),
        inset 0 0 24px rgba(0, 0, 0, 0.5);
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-categories__card::before {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(226, 201, 120, 0.24);
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
    pointer-events: none;
}

.home-categories__card:hover,
.home-categories__card:focus-visible {
    border-color: var(--gold-light);
    background: rgba(18, 32, 25, 0.7);
    box-shadow:
        inset 0 0 0 1px rgba(226, 201, 120, 0.32),
        inset 0 0 28px rgba(0, 0, 0, 0.42),
        0 0 22px rgba(226, 201, 120, 0.22);
    transform: translateY(-2px);
}

.home-categories__card-label {
    position: relative;
    z-index: 1;
    font-family: "Bebas Neue", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(2rem, 3.3vw, 2.6rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: 0.06em;
}

.home-categories__decor {
    position: relative;
    z-index: 1;
    display: block;
    width: min(168px, 70%);
    height: 22px;
    color: var(--gold-light);
    font-size: 0;
    line-height: 1;
    background-image: url('../images/ui/category-star-divider.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.home-categories__decor::before,
.home-categories__decor::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 44%;
    height: 1px;
    background: rgba(226, 201, 120, 0.78);
    transform: translateY(-50%);
    opacity: 0.32;
    z-index: -1;
}

.home-categories__decor::before {
    left: 0;
}

.home-categories__decor::after {
    right: 0;
}

.home-anchor-band {
    padding: 76px 24px;
    background: var(--ink-soft);
}

.home-anchor-band.alternate {
    background: #101815;
}

.home-events {
    position: relative;
    overflow: hidden;
    padding: 82px 24px 92px;
    border-top: 1px solid rgba(226, 201, 120, 0.52);
    border-bottom: 1px solid rgba(226, 201, 120, 0.4);
    background-color: #0b1512;
    background-image:
        linear-gradient(115deg, rgba(7, 16, 15, 0.97), rgba(16, 27, 22, 0.9) 52%, rgba(8, 19, 31, 0.88)),
        url('../images/backgrounds/navys-camouflage-texture.jpg');
    background-position: center;
    background-size: cover;
}

.home-events::before,
.home-events::after {
    content: '';
    position: absolute;
    left: 50%;
    width: min(1180px, calc(100% - 48px));
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 201, 120, 0.6), transparent);
    transform: translateX(-50%);
}

.home-events::before {
    top: 18px;
}

.home-events::after {
    bottom: 18px;
}

.home-events__frame {
    position: relative;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.home-events__corner {
    position: absolute;
    top: -34px;
    width: 72px;
    height: 20px;
    border-top: 2px solid var(--gold);
    opacity: 0.72;
    pointer-events: none;
}

.home-events__corner::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--gold);
    transform: rotate(45deg);
}

.home-events__corner--left {
    left: 0;
    border-left: 2px solid var(--gold);
}

.home-events__corner--left::after {
    left: 52px;
}

.home-events__corner--right {
    right: 0;
    border-right: 2px solid var(--gold);
}

.home-events__corner--right::after {
    right: 52px;
}

.home-events__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 36px;
}

.home-events__header .eyebrow {
    margin-bottom: 10px;
}

.home-events__title {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.92;
    letter-spacing: 0.025em;
}

.home-events__controls {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.home-events__arrow {
    display: grid;
    place-items: center;
    width: 54px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(226, 201, 120, 0.76);
    border-radius: 0;
    background: rgba(7, 16, 15, 0.78);
    color: var(--gold-light);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.home-events__arrow:hover,
.home-events__arrow:focus-visible {
    background: var(--gold);
    color: var(--ink);
}

.home-events__arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.home-events__arrow:disabled:hover {
    background: rgba(7, 16, 15, 0.78);
    color: var(--gold-light);
}

.home-events__viewport {
    overflow: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.home-events__viewport::-webkit-scrollbar {
    display: none;
}

.home-events__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
}

.home-event-card {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(201, 168, 76, 0.58);
    background: #0c1614;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.home-event-card::before,
.home-event-card::after {
    content: '';
    position: absolute;
    z-index: 2;
    width: 34px;
    height: 34px;
    pointer-events: none;
}

.home-event-card::before {
    top: 7px;
    left: 7px;
    border-top: 2px solid var(--event-accent, var(--gold));
    border-left: 2px solid var(--event-accent, var(--gold));
}

.home-event-card::after {
    right: 7px;
    bottom: 7px;
    border-right: 2px solid var(--event-accent, var(--gold));
    border-bottom: 2px solid var(--event-accent, var(--gold));
}

.home-event-card--qualifying {
    --event-accent: #9aaa78;
}

.home-event-card--final {
    --event-accent: #e2c978;
}

.home-event-card--special {
    --event-accent: #f0d98d;
}

.home-event-card--final::before,
.home-event-card--special::before {
    width: 52px;
}

.home-event-card--special::after {
    height: 52px;
}

.home-event-card__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    outline-offset: 4px;
}

.home-event-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid rgba(201, 168, 76, 0.48);
    background:
        radial-gradient(circle at center, rgba(201, 168, 76, 0.18), transparent 52%),
        #101c18;
}

.home-event-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(7, 16, 15, 0.76));
    pointer-events: none;
}

.home-event-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.84) contrast(1.04);
    transition: transform 360ms ease, filter 360ms ease;
}

.home-event-card__link:hover .home-event-card__image,
.home-event-card__link:focus-visible .home-event-card__image {
    transform: scale(1.035);
    filter: saturate(1) contrast(1.06);
}

.home-event-card__image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(226, 201, 120, 0.22);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 5rem;
    letter-spacing: 0.08em;
}

.home-event-card__image-placeholder::before {
    content: '';
    position: absolute;
    width: 42%;
    aspect-ratio: 1;
    border: 1px solid rgba(226, 201, 120, 0.22);
    transform: rotate(45deg);
}

.home-event-card__classification,
.home-event-card__number {
    position: absolute;
    z-index: 1;
    top: 16px;
    color: #f1e5bd;
    font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-event-card__classification {
    left: 16px;
    max-width: calc(100% - 110px);
    padding: 6px 9px 5px;
    border-left: 3px solid var(--event-accent, var(--gold));
    background: rgba(7, 16, 15, 0.88);
    font-size: 0.82rem;
}

.home-event-card__number {
    right: 16px;
    padding-top: 6px;
    font-size: 0.78rem;
}

.home-event-card__body {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 22px 15px;
}

.home-event-card__date {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-right: 1px solid rgba(201, 168, 76, 0.5);
    color: var(--gold-light);
    font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
}

.home-event-card__date strong {
    font-size: 2.15rem;
    font-weight: 400;
    line-height: 0.85;
}

.home-event-card__date span {
    margin-top: 7px;
    font-size: 0.84rem;
    letter-spacing: 0.16em;
}

.home-event-card__copy h3 {
    margin: 0;
    color: var(--paper);
    font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.home-event-card__copy p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.home-event-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto 22px 0;
    padding: 13px 0 18px;
    border-top: 1px solid rgba(201, 168, 76, 0.22);
    color: var(--gold-light);
    font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-events__empty {
    display: flex;
    min-height: 156px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-top: 1px solid rgba(201, 168, 76, 0.35);
    border-bottom: 1px solid rgba(201, 168, 76, 0.35);
    color: var(--muted);
    text-align: center;
}

.home-events__empty span {
    color: var(--gold);
}

.home-events__empty p {
    margin: 0;
    font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-band {
    background: linear-gradient(120deg, var(--military-dark), var(--ink-blue));
}

.anchor-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.anchor-shell h2 {
    max-width: 720px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.anchor-shell .button {
    margin-top: 28px;
}

@media (max-width: 860px) {
    .site-header::before,
    .site-header::after {
        top: 10px;
        bottom: 10px;
        width: 22px;
    }

    .header-inner {
        width: min(100% - 32px, 1180px);
        min-height: 90px;
        gap: 14px;
        flex-wrap: wrap;
        padding: 14px 0 16px;
    }

    .brand {
        flex: 1 1 auto;
    }

    .brand-logo {
        width: 62px;
        height: 62px;
    }

    .brand-name {
        font-size: 1.06rem;
    }

    .primary-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 2px;
        font-size: 0.96rem;
    }

    .header-actions {
        margin-left: auto;
        gap: 10px;
    }

    .join-button {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.92rem;
    }

    .hero-slide {
        padding: 180px 20px 84px;
    }

    .hero-slide::after {
        opacity: 0.28;
        right: -72px;
        bottom: 86px;
    }

    h1 {
        font-size: clamp(2.65rem, 14vw, 4.7rem);
    }

    .hero-actions {
        display: grid;
        max-width: 360px;
    }

    .button {
        width: 100%;
    }

    .home-categories {
        padding: 48px 16px;
    }

    .home-categories__frame {
        padding: 32px 16px 34px;
    }

    .home-categories__frame::before {
        clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
    }

    .home-categories__corner {
        width: 52px;
    }

    .home-categories__bottom-emblem {
        width: 78px;
        bottom: -12px;
    }

    .home-categories__heading {
        grid-template-columns: minmax(18px, 1fr) auto auto auto minmax(18px, 1fr);
        gap: 8px;
        margin-bottom: 28px;
    }

    .home-categories__title {
        font-size: clamp(2.45rem, 14vw, 4.2rem);
        letter-spacing: 0.08em;
    }

    .home-categories__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-categories__card {
        min-height: 128px;
        padding: 20px 16px;
    }

    .home-categories__card-label {
        font-size: clamp(1.8rem, 10vw, 2.35rem);
    }

    .home-categories__decor {
        width: min(138px, 76%);
        height: 20px;
    }

    .home-events {
        padding: 66px 16px 72px;
    }

    .home-events__header {
        align-items: center;
        margin-bottom: 28px;
    }

    .home-events__controls {
        gap: 7px;
    }

    .home-events__arrow {
        width: 46px;
        height: 42px;
    }

    .home-events__track {
        grid-auto-columns: min(86vw, 340px);
        gap: 16px;
    }

    .home-event-card__body {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 13px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .home-event-card__cta {
        margin-right: 18px;
        margin-left: 18px;
    }
}

@media (min-width: 861px) and (max-width: 1040px) {
    .home-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-events__track {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
}

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

    .home-event-card__image {
        transition: none;
    }
}
