:root {
    --color-red: #c40000;
    --color-red-dark: #8f0000;
    --color-red-bright: #e01010;
    --color-black: #0a0a0a;
    --color-charcoal: #1a1a1a;
    --color-steel: #2c2c2c;
    --color-steel-light: #3d3d3d;
    --color-silver: #a8a8a8;
    --color-white: #ffffff;
    --color-off-white: #f2f2f2;
    --font-display: "Oswald", sans-serif;
    --font-body: "Source Sans 3", sans-serif;
    --header-height: 4.5rem;
    --max-width: 72rem;
    --radius: 0.25rem;
    --shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.35);
    --transition: 180ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 0.75rem);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--color-off-white);
    background: var(--color-black);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}

h1 {
    font-size: clamp(2.25rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin: 0 0 1rem;
}

ul {
    margin: 0 0 1.25rem;
    padding-left: 1.15rem;
}

li + li {
    margin-top: 0.4rem;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100%;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: var(--color-red);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.site-header__inner {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-header__logo {
    width: auto;
    height: 3rem;
    object-fit: contain;
}

.section {
    padding: 4.5rem 0;
}

.section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section__header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.75rem;
}

.section__header p {
    color: var(--color-silver);
    margin-bottom: 0;
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.92) 100%),
        radial-gradient(ellipse at 50% 20%, rgba(196, 0, 0, 0.22), transparent 55%),
        url("/assets/images/website-hero.jpg") center / cover no-repeat,
        #1a120e;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, transparent 35%, transparent 65%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.hero__content {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 3rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.hero__center {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.hero__logo {
    width: min(100%, 16rem);
    height: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0.5rem 1.25rem rgba(0, 0, 0, 0.55));
}

.hero__title {
    color: var(--color-white);
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.45),
        0 0 1.5rem rgba(196, 0, 0, 0.35);
    margin-bottom: 1rem;
    font-style: italic;
}

.hero__subtitle {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-off-white);
    margin-bottom: 1rem;
}

.hero__intro {
    color: rgba(242, 242, 242, 0.9);
    max-width: 36rem;
    margin: 0 auto;
}

.hero__accent {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.hero__accent--right {
    transform: none;
    text-align: right;
}

.services {
    background:
        linear-gradient(180deg, #111 0%, var(--color-charcoal) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #242424 0%, #151515 100%);
    border: 1px solid rgba(196, 0, 0, 0.35);
    box-shadow: var(--shadow);
    padding-bottom: 1.5rem;
}

.service__media {
    position: relative;
    margin-bottom: 1.75rem;
}

.service__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.service__icon {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--color-white);
    background: radial-gradient(circle at 35% 30%, var(--color-red-bright), var(--color-red-dark));
    border: 3px solid var(--color-charcoal);
    box-shadow: 0 0.35rem 0.85rem rgba(0, 0, 0, 0.45);
}

.service__icon svg {
    width: 1.55rem;
    height: 1.55rem;
}

.service h3,
.service .service__label,
.service ul,
.service p {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

.service__label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-red-bright);
    margin-bottom: 0.75rem;
}

.service ul,
.service > p {
    color: var(--color-silver);
}

.service > :last-child {
    margin-bottom: 0;
}

.trust {
    background:
        linear-gradient(135deg, #1f1f1f 0%, #121212 50%, #1a1a1a 100%);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.trust__card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(196, 0, 0, 0.35);
    padding: 2rem 1.75rem;
}

.trust__icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    color: var(--color-red-bright);
}

.trust__icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.trust__eyebrow {
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-red-bright);
    margin-bottom: 0.75rem;
}

.trust__card p:last-child {
    margin-bottom: 0;
    color: var(--color-silver);
}

.close {
    background: var(--color-black);
}

.close__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.close__panel {
    padding: 1.75rem;
    border: 1px solid rgba(196, 0, 0, 0.35);
    background: linear-gradient(180deg, #1d1d1d 0%, #111 100%);
}

.close__panel--hunt {
    padding: 0;
    overflow: hidden;
}

.close__hunt-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.close__panel--hunt h2,
.close__panel--hunt p {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

.close__panel--hunt h2 {
    margin-top: 1.25rem;
    font-size: 1.15rem;
}

.close__hunt-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-red-bright);
}

.close__panel--hunt p:last-child {
    margin-bottom: 1.5rem;
    color: var(--color-silver);
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--color-silver);
}

.checklist li + li {
    margin-top: 0.75rem;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.85rem;
    height: 0.85rem;
    background: var(--color-red);
    clip-path: polygon(14% 44%, 0 65%, 38% 100%, 100% 18%, 82% 0, 36% 62%);
}

.close__panel--contact {
    background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
    display: flex;
    flex-direction: column;
}

.close__panel--contact > p {
    color: var(--color-silver);
}

.close__email {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    margin: 0.5rem 0 0;
}

.close__email a {
    color: var(--color-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 0, 0, 0.7);
}

.close__email a:hover,
.close__email a:focus-visible {
    color: var(--color-red-bright);
    outline: none;
}

.site-footer {
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1.25rem 1.25rem;
}

.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.site-footer__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-silver);
}

.site-footer__tagline {
    margin: 0;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-white);
}

.site-footer__copy {
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 0.85rem;
    color: rgba(168, 168, 168, 0.75);
}

.reveal {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero__center.reveal {
    transition-delay: 80ms;
}

@media (max-width: 960px) {
    .hero__content {
        grid-template-columns: 1fr;
    }

    .hero__accent {
        display: none;
    }

    .services__grid,
    .close__grid {
        grid-template-columns: 1fr;
    }

    .trust__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-header__logo {
        height: 2.5rem;
    }

    .section {
        padding: 3.25rem 0;
    }

    .hero {
        min-height: auto;
    }

    .hero__content {
        padding: 2.5rem 1rem 3rem;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
