@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700;800;900&display=swap");

:root {
    --bg: #131513;
    --bg_deep: #080a08;
    --bg_low: #070807;
    --panel: #181b18;
    --panel_high: #20241f;
    --edge: #323831;
    --edge_soft: rgba(50, 56, 49, 0.62);
    --text: #ffffff;
    --muted: #b9bdb4;
    --dim: #8e948b;
    --green: #506637;
    --green_high: #668e66;
    --page_width: 1160px;
    --shadow_panel: 0 34px 86px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg_deep);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: Montserrat, Rajdhani, "Chakra Petch", Inter, Arial, sans-serif;
    background:
        radial-gradient(circle at 76% 20%, rgba(102, 142, 102, 0.17), transparent 34rem),
        radial-gradient(circle at 20% 78%, rgba(80, 102, 55, 0.12), transparent 32rem),
        linear-gradient(135deg, var(--bg_deep) 0%, var(--bg) 54%, var(--bg_low) 100%);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    text-rendering: geometricPrecision;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: 0;
    content: "";
    background-image:
        linear-gradient(rgba(42, 47, 42, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 47, 42, 0.22) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.36;
    pointer-events: none;
}

body::after {
    position: fixed;
    inset: 0;
    z-index: 0;
    content: "";
    background:
        linear-gradient(90deg, transparent 0%, rgba(102, 142, 102, 0.08) 48%, transparent 78%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.50));
    pointer-events: none;
}

.background_blur {
    position: fixed;
    inset: -64px;
    z-index: 0;
    background:
        linear-gradient(rgba(7, 8, 7, 0.62), rgba(7, 8, 7, 0.78)),
        url("../products/prlx_thumb.jpg") center / cover no-repeat;
    filter: blur(42px) saturate(0.72) contrast(1.03) brightness(0.48);
    opacity: 0.32;
    pointer-events: none;
    transform: scale(1.04);
}

.topography_layer {
    position: fixed;
    right: -8vw;
    bottom: -7vh;
    z-index: 0;
    width: min(980px, 82vw);
    height: auto;
    opacity: 0.24;
    pointer-events: none;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.page {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: min(var(--page_width), calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
}

.site_header,
.site_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    color: var(--dim);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site_header {
    border-bottom: 1px solid var(--edge);
}

.site_footer {
    border-top: 1px solid var(--edge);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 113px;
    height: 52px;
}

.brand_logo {
    display: block;
    width: 113px;
    height: 52px;
    object-fit: contain;
}

.header_meta {
    display: grid;
    gap: 4px;
    text-align: right;
}

.header_meta span {
    color: var(--muted);
}

.header_meta strong {
    color: var(--green_high);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.content {
    display: grid;
    align-content: center;
    padding: 64px 0;
}

.showcase_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 460px));
    gap: 24px;
    justify-content: center;
    width: 100%;
}

.product_card {
    position: relative;
    display: grid;
    overflow: hidden;
    min-height: 360px;
    background:
        linear-gradient(135deg, rgba(102, 142, 102, 0.07), transparent 34%),
        linear-gradient(180deg, rgba(32, 36, 31, 0.88), rgba(24, 27, 24, 0.88));
    border: 1px solid var(--edge);
    box-shadow: var(--shadow_panel);
    transition: border-color 140ms ease, transform 140ms ease, background 140ms ease;
}

.product_card::before {
    position: absolute;
    inset: -28px;
    z-index: 0;
    content: "";
    background-image: var(--product_image);
    background-position: center;
    background-size: cover;
    filter: blur(20px) saturate(0.75) brightness(0.52);
    opacity: 0.42;
    transform: scale(1.08);
    pointer-events: none;
}

.product_card::after,
.card_ticks::before,
.card_ticks::after,
.card_ticks span::before {
    position: absolute;
    z-index: 3;
    width: 21px;
    height: 21px;
    content: "";
    border-color: var(--green);
    border-style: solid;
    opacity: 0.9;
    pointer-events: none;
}

.product_card::after {
    top: 14px;
    left: 14px;
    border-width: 2px 0 0 2px;
}

.card_ticks::before {
    top: 14px;
    right: 14px;
    border-width: 2px 2px 0 0;
}

.card_ticks::after {
    bottom: 14px;
    left: 14px;
    border-width: 0 0 2px 2px;
}

.card_ticks span::before {
    right: 14px;
    bottom: 14px;
    border-width: 0 2px 2px 0;
}

.product_card:hover,
.product_card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(102, 142, 102, 0.82);
    background:
        linear-gradient(135deg, rgba(102, 142, 102, 0.10), transparent 34%),
        linear-gradient(180deg, rgba(35, 40, 32, 0.9), rgba(24, 27, 24, 0.9));
    outline: 0;
}

.product_image {
    position: relative;
    z-index: 1;
    display: block;
    width: calc(100% - 36px);
    margin: 18px 18px 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #0a0c0a;
    border: 1px solid rgba(50, 56, 49, 0.88);
    filter: saturate(0.88) contrast(1.04) brightness(0.88);
}

.product_name {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    margin: 0;
    padding: 22px 26px 24px;
    color: var(--text);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    text-align: center;
    text-transform: uppercase;
}

.site_footer a {
    color: var(--muted);
    transition: color 140ms ease;
}

.site_footer a:hover,
.site_footer a:focus-visible {
    color: var(--green_high);
    outline: 0;
}

@media (max-width: 640px) {
    .page {
        width: min(var(--page_width), calc(100% - 32px));
    }

    .site_header,
    .site_footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        min-height: 92px;
    }

    .header_meta {
        text-align: left;
    }

    .content {
        padding: 42px 0;
    }
}
