/* ——— RESET ——— */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Inter", sans-serif;
    background: #050505;
    color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
}

/* ——— GLOBAL LAYOUT ——— */

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

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

.section {
    padding: 6rem min(7vw, 5rem);
}

.section-narrow {
    padding: 5rem min(7vw, 5rem);
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: left;
}

.section-header h2 {
    font-size: 2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 0.95rem;
    color: #b3b3b3;
}

/* ——— HEADER ——— */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem min(7vw, 5rem);
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #1c1c1c;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo-circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.7rem;
    color: #a0a0a0;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.main-nav a {
    position: relative;
    padding-bottom: 0.25rem;
    color: #d0d0d0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #f5f5f5;
    transition: width 0.18s ease-out;
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a:hover::after {
    width: 100%;
}

.lang-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-toggle {
    border-radius: 32px;
    border: 1px solid #3a3a3a;
    padding: 0.45rem 0.9rem;
    background: transparent;
    color: #e0e0e0;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
}

.primary-cta {
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
    border: 1px solid #ffffff;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: #ffffff;
    color: #050505;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.primary-cta:hover {
    background: transparent;
    color: #ffffff;
}

/* ——— BUTTONS ——— */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn.ghost {
    border-color: #f5f5f5;
    color: #f5f5f5;
}

.btn.ghost:hover {
    background: #f5f5f5;
    color: #050505;
}

.btn.subtle {
    border-color: #2c2c2c;
    color: #b3b3b3;
}

.btn.subtle:hover {
    border-color: #f5f5f5;
    color: #ffffff;
}

/* ——— HERO ——— */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 3.5rem;
    align-items: center;
    border-bottom: 1px solid #101010;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #a5a5a5;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 0.98rem;
    color: #bababa;
    max-width: 34rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.8rem 0 1.2rem;
}

.hero-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    font-size: 0.72rem;
    color: #909090;
}

/* ——— HERO PANEL ——— */

.card {
    background: radial-gradient(circle at top left, #171717 0, #050505 55%);
    border-radius: 20px;
    border: 1px solid #1d1d1d;
    padding: 1.6rem 1.7rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #bcbcbc;
    margin-bottom: 1.3rem;
}

.panel-header .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: 1px solid #bcbcbc;
    opacity: 0.65;
}

.signal-rings {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto 1.6rem;
}

.ring {
    border-radius: 999px;
    border: 1px solid #333333;
    position: absolute;
    inset: 0;
    margin: auto;
}

.ring-2 {
    width: 72%;
    height: 72%;
}

.ring-1 {
    width: 46%;
    height: 46%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.6rem;
    border-color: #ffffff;
}

.ring-1 span {
    font-size: 0.75rem;
    line-height: 1.4;
}

.ring-1 small {
    display: block;
    font-size: 0.64rem;
    color: #c5c5c5;
    margin-top: 0.2rem;
}

.signal-tabs {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.tab {
    flex: 1;
    border-radius: 999px;
    border: 1px solid #262626;
    background: transparent;
    color: #a6a6a6;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
}

.tab.active {
    border-color: #ffffff;
    color: #ffffff;
}

.tab:hover {
    border-color: #ffffff;
}

.signal-list {
    list-style: none;
    font-size: 0.8rem;
    color: #c3c3c3;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.signal-list li span {
    font-size: 0.7rem;
    color: #777777;
    margin-right: 0.4rem;
}

/* ——— SERVICES ——— */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
}

.service h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.service p {
    font-size: 0.88rem;
    color: #c2c2c2;
    margin-bottom: 0.7rem;
}

.service ul {
    list-style: none;
    font-size: 0.8rem;
    color: #9b9b9b;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* ——— UNIVERSES ——— */

.universes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.9rem;
}

.universe {
    padding: 0;
    overflow: hidden;
}

.universe-thumb {
    position: relative;
    height: 190px;
    background: linear-gradient(135deg, #202020, #050505);
    border-bottom: 1px solid #1d1d1d;
}

.universe-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.11;
    background-image: radial-gradient(circle at 0 0, #ffffff 0, transparent 55%);
}

.universe-thumb .pill {
    position: absolute;
    left: 1.2rem;
    bottom: 1.2rem;
    border-radius: 999px;
    border: 1px solid #dcdcdc;
    padding: 0.3rem 0.9rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(5, 5, 5, 0.45);
    backdrop-filter: blur(6px);
}

/* ekstra hafif dokular */
.flydoom-thumb {
    background-image: linear-gradient(145deg, #1a1a1a, #050505);
}

.triax-thumb {
    background-image: radial-gradient(circle at top, #252525, #050505);
}

.wildimax-thumb {
    background-image: linear-gradient(135deg, #1d1d1d, #050505);
}

.universe-body {
    padding: 1.4rem 1.6rem 1.5rem;
}

.universe-body h3 {
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.universe-body p {
    font-size: 0.86rem;
    color: #c0c0c0;
    margin-bottom: 0.9rem;
}

.universe-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.78rem;
}

.text-link {
    position: relative;
    padding-bottom: 0.2rem;
    color: #f5f5f5;
}

.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #f5f5f5;
    transition: width 0.18s ease-out;
}

.text-link:hover::after {
    width: 100%;
}

/* ——— SHOWREEL ——— */

.showreel-card {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.8rem;
}

.video-placeholder {
    border-radius: 16px;
    border: 1px dashed #3a3a3a;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #999999;
}

.showreel-list h3 {
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.showreel-list ul {
    list-style: none;
    font-size: 0.84rem;
    color: #c1c1c1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* ——— CONTACT FORM ——— */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-field {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-field.full {
    min-width: 100%;
}

.form-field label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #b0b0b0;
}

input,
textarea {
    border-radius: 10px;
    border: 1px solid #333333;
    background: #060606;
    color: #f5f5f5;
    padding: 0.7rem 0.85rem;
    font-size: 0.86rem;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #777777;
}

input:focus,
textarea:focus {
    border-color: #f5f5f5;
}

.primary-cta.full {
    width: 100%;
    margin-top: 0.5rem;
}

/* ——— FOOTER ——— */

.site-footer {
    border-top: 1px solid #101010;
    padding: 1.6rem min(7vw, 5rem);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #a0a0a0;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.footer-social a {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
}

.footer-social a:hover {
    color: #ffffff;
}

/* ——— SCROLL FADE-IN ——— */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

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

/* ——— RESPONSIVE ——— */

@media (max-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-panel {
        order: -1;
    }

    .services-grid,
    .universes-grid,
    .showreel-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 780px) {
    .site-header {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .main-nav {
        order: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .section,
    .section-narrow {
        padding-inline: 1.3rem;
    }
}

@media (max-width: 520px) {
    .hero-copy h1 {
        font-size: 2.3rem;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}