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

@font-face {
    font-family: "Open Sauce";
    src: url("https://db.onlinewebfonts.com/t/01080a6bcb643f664ab5a7004b7b3579.woff2") format("woff2"),
        url("https://db.onlinewebfonts.com/t/01080a6bcb643f664ab5a7004b7b3579.woff") format("woff");
    font-display: swap;
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Open Sauce";
    src: url("https://db.onlinewebfonts.com/t/b2eb560ed0713cbe5f4f17544450ead5.woff2") format("woff2"),
        url("https://db.onlinewebfonts.com/t/b2eb560ed0713cbe5f4f17544450ead5.woff") format("woff");
    font-display: swap;
    font-weight: 500;
    font-style: normal;
}

:root {
    color-scheme: light;
    --bg: #fefcf9;
    --text: #131313;
    --muted: #8c8c8c;
    --accent: #111111;
    --border: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0a0a0a;
    --text: #f6f6f6;
    --muted: #b3b3b3;
    --accent: #f6f6f6;
    --border: rgba(255, 255, 255, 0.12);
}

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

body {
    margin: 0;
    font-family: "Open Sauce", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    padding: clamp(2rem, 4vw, 5rem);
}

h1,
h2,
h3,
h4,
p {
    letter-spacing: -0.005em;
}

a {
    color: inherit;
}

.theme-toggle {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 150ms ease, border-color 150ms ease;
}

.theme-toggle:hover {
    transform: translateX(-50%) translateY(-2px);
    border-color: var(--text);
}

.hero {
    max-width: 960px;
    margin: 0 auto;
    min-height: calc(100vh - 8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.hero-inner {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 7vw, 6rem);
    margin: 0;
    font-weight: 700;
    line-height: 1.05;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.hero-contact {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 1rem;
    color: var(--text);
    width: 100%;
    align-items: flex-start;
}

.hero-contact a {
    font-weight: 700;
    text-decoration: none;
}

.eyebrow {
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--muted);
    margin: 0;
}

.media-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 12vh;
}

.logo-strip {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0 1rem;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    flex-wrap: wrap;
}

.logo-row img {
    height: clamp(28px, 4vw, 46px);
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(0);
    opacity: 0.9;
}

.logo-row img.logo-lg {
    height: clamp(32px, 4.5vw, 56px);
}

[data-theme="dark"] .logo-row img {
    filter: invert(1) grayscale(1) brightness(1.1);
}

.media-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0 3rem 1.5rem;
    margin: 0 -3rem;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 3rem;
    scrollbar-width: none;
}

.media-scroller::-webkit-scrollbar {
    display: none;
}

.media-card {
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(15, 15, 30, 0.12);
    background: var(--bg);
    scroll-snap-align: start;
    transition: transform 250ms ease;
    flex: 0 0 clamp(320px, 35vw, 560px);
    aspect-ratio: 16 / 9;
}

.media-card:hover {
    transform: translateY(-6px);
}

.media-frame {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.media-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 32px;
}

.media-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.media-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease;
}

.media-btn:hover {
    transform: translateY(-2px);
    border-color: var(--text);
}

.sound-toggle {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: background 180ms ease, transform 180ms ease;
}

.sound-toggle svg {
    width: 20px;
    height: 20px;
}

.sound-toggle .icon-unmuted {
    display: none;
}

.sound-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.sound-toggle.unmuted {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
}

.sound-toggle.unmuted .icon-muted {
    display: none;
}

.sound-toggle.unmuted .icon-unmuted {
    display: block;
}

@media (max-width: 640px) {
    body {
        padding: 1.25rem;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        white-space: normal;
        line-height: 1.1;
    }

    .hero-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
        font-size: 0.85rem;
    }
}
