* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: "Inter", Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: #8fcaca;
}

a:hover,
a:focus {
    color: #c0eeee;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.94);
    border-bottom: 1px solid #2a2a2a;
    backdrop-filter: blur(12px);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    min-width: 112px;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid #2f4f4f;
    color: #e0e0e0;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    background-color: #223838;
    color: #fff;
    outline: none;
}

.nav-link[aria-current="page"] {
    background-color: #2f4f4f;
    border-color: #6f9696;
    color: #fff;
}

.hero {
    position: relative;
    display: flex;
    min-height: 500px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 130px 20px 60px;
    border-bottom: 4px solid #2f4f4f;
    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("images/banner.png") center/cover no-repeat;
    text-align: center;
}

.hero h1 {
    margin-bottom: 15px;
    font-size: 3em;
    letter-spacing: 1px;
}

.tagline {
    color: #ccc;
    font-size: 1.2em;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section + .section {
    margin-top: 20px;
}

h2 {
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 6px solid #2f4f4f;
    font-size: 1.6em;
}

h3 {
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 4px solid #2f4f4f;
    font-size: 1.3em;
}

p {
    margin-bottom: 16px;
    color: #bbb;
    font-size: 1.1em;
}

ul {
    display: grid;
    gap: 12px;
    padding-left: 20px;
    color: #bbb;
    font-size: 1.02em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 34px;
}

.service-intro {
    max-width: 900px;
    margin-bottom: 34px;
}

.process-stack {
    display: grid;
    gap: 18px;
    max-width: 920px;
}

.process-step {
    display: block;
    border: 1px solid #2a2a2a;
    background-color: #1c1c1c;
    padding: 26px;
}

.step-number {
    display: inline-flex;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid #6f9696;
    background-color: #2f4f4f;
    color: #fff;
    font-size: 1.2em;
    font-weight: 700;
}

.card,
.contact-box,
.portfolio-description,
.field-note,
.signal-tile {
    border: 1px solid #2a2a2a;
    background-color: #1c1c1c;
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
}

.card-content,
.field-note,
.signal-tile {
    padding: 25px;
}

.contact-box {
    padding: 40px;
}

.email-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: #e0e0e0;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #2f4f4f;
    background-color: #121212;
    color: #e0e0e0;
    font: inherit;
    padding: 12px 14px;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-button,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    padding: 12px 18px;
    border: 1px solid #6f9696;
    background-color: #2f4f4f;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
}

.cta-button.secondary {
    background-color: transparent;
    color: #d7eeee;
}

.form-button:hover,
.form-button:focus,
.cta-button:hover,
.cta-button:focus {
    background-color: #3d6262;
    color: #fff;
    outline: none;
}

.page-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.sitemap-list {
    display: grid;
    gap: 18px;
    max-width: 760px;
    padding-left: 0;
    list-style: none;
}

.sitemap-list a {
    display: inline-block;
    font-size: 1.18em;
    font-weight: 700;
}

.footer-link {
    display: inline-block;
    margin-left: 10px;
    color: #8fcaca;
}

.about-text {
    margin-bottom: 30px;
}

.about-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.about-gallery img {
    width: 100%;
    max-width: 250px;
    height: 180px;
    border-radius: 4px;
    object-fit: cover;
    object-position: left;
}

.about-gallery img.crop-right {
    object-position: right;
}

.portfolio-kicker {
    margin-bottom: 10px;
    color: #8fa8a8;
    font-size: 0.95em;
    font-weight: 700;
    text-transform: uppercase;
}

.portfolio-lede {
    max-width: 920px;
    font-size: 1.18em;
}

.signal-strip,
.field-note-grid,
.tag-groups {
    display: grid;
    gap: 22px;
    max-width: 920px;
    margin-top: 28px;
}

.signal-tile strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.7em;
    line-height: 1;
}

.signal-tile span {
    color: #aaa;
}

.credit-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.credit-cloud span {
    border: 1px solid #2f4f4f;
    color: #c9d8d8;
    padding: 8px 10px;
    font-size: 0.94em;
}

.portfolio-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: center;
    margin-top: 56px;
}

.tv-set {
    position: relative;
    width: min(100%, 960px);
    margin: 0 auto;
    padding: 32px 88px 56px 32px;
    border: 6px solid #070707;
    border-radius: 26px;
    background: linear-gradient(145deg, #3b332b, #171412);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 3px #6a5d4f;
}

.tv-screen {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 12px solid #111;
    border-radius: 34px / 28px;
    background: #050505;
    box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.08), inset 0 0 70px rgba(0, 0, 0, 0.75);
}

.tv-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(rgba(255, 255, 255, 0.04) 50%, rgba(0, 0, 0, 0.12) 50%);
    background-size: 100% 4px;
    opacity: 0.28;
}

.tv-screen img {
    display: block;
    width: 100%;
    height: 100%;
    background: #050505;
    object-fit: contain;
}

.tv-empty-state,
.smpte-slate {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
    text-align: center;
}

.tv-empty-state {
    color: #a9baba;
    background: radial-gradient(circle at center, #182121, #040505 70%);
}

.hidden {
    display: none;
}

.smpte-slate {
    background: linear-gradient(90deg, #c8c8c8 0 14.28%, #c8c800 14.28% 28.56%, #00c8c8 28.56% 42.84%, #00c800 42.84% 57.12%, #c800c8 57.12% 71.4%, #c80000 71.4% 85.68%, #0000c8 85.68% 100%);
}

.smpte-slate-card {
    max-width: 560px;
    padding: 28px;
    border: 4px solid #f1f1f1;
    background-color: rgba(5, 5, 5, 0.82);
    color: #fff;
}

.smpte-slate-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.7em;
    line-height: 1.1;
}

.tv-controls {
    position: absolute;
    top: 42px;
    right: 24px;
    display: flex;
    width: 48px;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.channel-buttons {
    display: grid;
    gap: 8px;
}

.channel-button {
    width: 44px;
    height: 34px;
    border: 3px solid #111;
    border-radius: 8px;
    background: #6b6258;
    color: #111;
    cursor: pointer;
    font: inherit;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1;
}

.tv-speaker {
    display: grid;
    gap: 6px;
}

.tv-speaker span {
    width: 38px;
    height: 4px;
    border-radius: 99px;
    background-color: #0d0d0d;
}

.tv-feet {
    position: absolute;
    right: 12%;
    bottom: -22px;
    left: 12%;
    display: flex;
    justify-content: space-between;
}

.tv-feet span {
    width: 92px;
    height: 22px;
    border-radius: 0 0 12px 12px;
    background-color: #15110e;
}

.portfolio-description {
    padding: 30px;
}

.portfolio-counter {
    margin-bottom: 14px;
    color: #8fa8a8;
    font-size: 0.95em;
    font-weight: 700;
}

footer {
    border-top: 4px solid #2f4f4f;
    background-color: #1a1a1a;
    color: #777;
    font-size: 0.9em;
    padding: 40px 20px;
    text-align: center;
}

@media (max-width: 760px) {
    .hero {
        min-height: 420px;
        padding-top: 170px;
    }

    .hero h1 {
        font-size: 2.1em;
    }

    .nav-list {
        gap: 4px;
        padding: 10px;
    }

    .nav-link {
        min-width: 0;
        flex: 1 1 30%;
        padding: 10px 8px;
        font-size: 0.95em;
    }

    .grid,
    .portfolio-stage {
        grid-template-columns: 1fr;
    }

    .tv-set {
        padding: 24px 24px 48px;
    }

    .tv-controls {
        position: static;
        width: auto;
        flex-direction: row;
        justify-content: center;
        margin-top: 18px;
    }

    .tv-speaker {
        grid-template-columns: repeat(4, 1fr);
    }
}
