:root {
    --dark-mid: #0f0f0f;
    --dark-alt: #131313;
    --dark-card: #181818;
    --red: #c0392b;
    --red-bright: #e74c3c;
    --border: rgba(255, 255, 255, 0.07);
    --border-red: rgba(192, 57, 43, 0.45);
    --off-white: #e2e2e2;
    --muted: #777777;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: var(--off-white);
    background-color: transparent;
}

html {
    background-color: black;
    scroll-behavior: smooth;
}

body {
    background-color: black;
    overflow-x: hidden;
}

h2 {
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: white;
}

h3 {
    font-family: "Anton", sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    letter-spacing: 0.04em;
    color: white;
}

p,
li {
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    line-height: 1.8;
}

figcaption {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.6rem;
    font-style: italic;
    text-align: center;
}

.header {
    width: 100%;
    height: 100vh;
    filter: grayscale(1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("assets/urs.jpg");
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.header img {
    width: 35%;
    background: none;
    padding-bottom: 2rem;
}

.content {
    padding: 5rem;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    isolation: isolate;
}

.content::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    z-index: -1;
    pointer-events: none;
}

body > section.content:nth-child(odd)::after {
    background: var(--dark-mid);
}
body > section.content:nth-child(even)::after {
    background: var(--dark-alt);
}

.content + .content {
    border-top: 1px solid rgba(192, 57, 43, 0.22);
}

.content > h2 {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 2.5rem;
}
.content > h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.08em;
    bottom: 0.08em;
    width: 4px;
    background: linear-gradient(to bottom, var(--red-bright), var(--red));
    border-radius: 2px;
}

.content:has(> h2 + .layout--grid) > h2 {
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
}
.content:has(> h2 + .layout--grid) > h2::before {
    display: none;
}

.content > h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.45rem;
    display: inline-block;
}
.content > h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.column {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    border-radius: 0 0 10px 10px;
    padding: 2rem 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.2s ease;
}

.column:hover {
    border-color: var(--border-red);
    box-shadow:
        0 10px 50px rgba(192, 57, 43, 0.14),
        0 2px 12px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.column h3 {
    margin-bottom: 0.85rem;
    color: white;
    flex-shrink: 0;
}

.column h3::after {
    display: none;
}

.column > ul {
    flex: 1;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.55rem;
}

ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red-bright);
    font-weight: 700;
    font-size: 1.15rem;
}

.layout {
    gap: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.layout--split .text,
.layout--split .image {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.layout--split .image:has(.video-wrapper) {
    align-items: center;
    justify-content: center;
}

.content:last-child {
    padding-bottom: 7rem;
}

.content:last-child .column {
    align-items: center;
    text-align: center;
}

.content:last-child .column img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-top: 0.75rem;
    border: 1px solid var(--border);
    background: #0a0a0a;
    filter: brightness(0.88);
    transition: filter 0.3s ease;
}

.content:last-child .column:hover img {
    filter: brightness(1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    min-width: 300px;
    margin: 0 auto;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (orientation: portrait) {
    .header img {
        width: 80%;
    }
    .layout--grid {
        grid-template-columns: 1fr;
    }
    .content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 3rem 1.5rem;
    }
    .layout--grid {
        grid-template-columns: 1fr;
    }
    .layout--split .text,
    .layout--split .image {
        flex: 1 1 100%;
    }
}
