:root {
    --matte: #0a0a0a;
    --matte-deep: #050505;
    --gloss: linear-gradient(180deg, #1f1f1f 0%, #0a0a0a 60%, #161616 100%);
    --gloss-hover: linear-gradient(180deg, #2a2a2a 0%, #0d0d0d 60%, #1c1c1c 100%);
    --panel: #131313;
    --panel-edge: #232323;
    --text: #f5f5f5;
    --muted: #9a9a9a;
    --dim: #5a5a5a;
    --red: #dc1a1a;
    --red-bright: #ff3333;
    --red-glow: rgba(220, 26, 26, 0.4);
}

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

html {
    scroll-behavior: smooth;
    background: var(--matte);
}

body {
    background: var(--matte);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* TOP NAV */

.topnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--panel-edge);
}

.topnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 42px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.15s ease;
}

.nav a:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--red);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 14px var(--red-glow);
}

.nav-cta:hover {
    background: var(--red-bright);
}

/* HERO */

.hero {
    position: relative;
    padding: 120px 0 140px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(220, 26, 26, 0.08), transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(220, 26, 26, 0.05), transparent 60%),
        var(--matte);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black, transparent);
}

.hero-inner {
    position: relative;
    text-align: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--panel-edge);
    border-radius: 100px;
    background: var(--panel);
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 36px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 12px var(--red-glow);
}

.hero h1 {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: clamp(44px, 7vw, 88px);
    line-height: 1.02;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-accent {
    color: var(--red);
    background: linear-gradient(180deg, #ff5050 0%, var(--red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    max-width: 680px;
    margin: 0 auto 44px;
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--muted);
    line-height: 1.55;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.hero-meta strong {
    color: var(--text);
    font-weight: 700;
}

.hero-meta .sep {
    color: var(--dim);
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--red);
    color: #fff !important;
    box-shadow: 0 8px 24px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
    background: var(--red-bright);
    box-shadow: 0 12px 32px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-ghost {
    background: var(--gloss);
    color: var(--text);
    border: 1px solid var(--panel-edge);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.btn-ghost:hover {
    background: var(--gloss-hover);
    border-color: var(--red);
}

.btn-large {
    padding: 22px 44px;
    font-size: 17px;
}

/* SECTIONS */

.section {
    padding: 120px 0;
    position: relative;
}

.section-alt {
    background:
        linear-gradient(180deg, var(--matte-deep) 0%, var(--matte) 100%);
    border-top: 1px solid var(--panel-edge);
    border-bottom: 1px solid var(--panel-edge);
}

.section-head {
    text-align: center;
    margin-bottom: 64px;
}

.eyebrow {
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--red);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section h2 {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 4.5vw, 56px);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.05;
}

.section-lead {
    max-width: 640px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 18px;
}

/* WORK GRID */

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

.work-card {
    position: relative;
    display: block;
    background: var(--gloss);
    border: 1px solid var(--panel-edge);
    border-radius: 16px;
    padding: 36px 32px 32px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}

.work-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 30%);
    pointer-events: none;
}

.work-card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--red-glow);
}

.work-card--feature {
    grid-column: span 2;
    background:
        radial-gradient(ellipse 80% 100% at 100% 0%, rgba(220, 26, 26, 0.12), transparent 50%),
        var(--gloss);
}

.work-card-tag {
    display: inline-block;
    font-family: "Oswald", sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.work-card h3 {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.1;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: -0.3px;
}

.work-card p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 24px;
}

.work-card-link {
    color: var(--red);
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.15s ease;
}

.work-card:hover .work-card-link {
    color: var(--red-bright);
}

.work-card-link--muted {
    color: var(--muted);
}

.work-card-brand-mark {
    display: block;
    max-height: 56px;
    width: auto;
    margin-bottom: 20px;
}

/* Square logo tiles (Poster Display, Insanity Collection) — render bigger and
   slightly rounded so they read as a brand mark rather than a wordmark. */
.work-card-brand-mark--tile {
    width: 72px;
    height: 72px;
    max-height: none;
    border-radius: 12px;
    object-fit: cover;
}

.work-card--soon {
    cursor: default;
    opacity: 0.85;
}

.work-card--soon:hover {
    transform: none;
    border-color: var(--panel-edge);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* SERVICES */

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

.service {
    background: var(--panel);
    border: 1px solid var(--panel-edge);
    border-radius: 12px;
    padding: 32px 28px;
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.2s ease;
    position: relative;
    overflow: hidden;
}

.service::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 3px;
    width: 0;
    background: var(--red);
    transition: width 0.25s ease;
}

.service:hover {
    border-color: var(--red);
    transform: translateY(-3px);
}

.service:hover::after {
    width: 100%;
}

.service-num {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    color: var(--red);
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.service h3 {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--text);
}

.service p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 64px;
    align-items: center;
    margin-bottom: 56px;
}

.about-photo {
    margin: 0;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--panel-edge);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.about-photo::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red) 50%, transparent 50%);
    opacity: 0.95;
    pointer-events: none;
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-text p:first-of-type {
    color: var(--text);
    font-size: 19px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    background: var(--panel-edge);
    border: 1px solid var(--panel-edge);
    border-radius: 14px;
    overflow: hidden;
}

.stat {
    background: var(--gloss);
    padding: 28px 24px;
    text-align: center;
    transition: background 0.2s ease;
}

.stat:hover {
    background: var(--gloss-hover);
}

.stat-num {
    display: block;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 3.5vw, 44px);
    color: var(--red);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* EMBLEM (capitol/logo above section heads) */

.emblem {
    display: block;
    margin: 0 auto 28px;
    width: 88px;
    height: auto;
}

.emblem--logo {
    width: auto;
    max-width: 260px;
    max-height: 80px;
    filter: drop-shadow(0 0 24px rgba(220, 26, 26, 0.15));
}

.inline-link {
    color: var(--red);
    border-bottom: 1px solid rgba(220, 26, 26, 0.4);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.inline-link:hover {
    color: var(--red-bright);
    border-color: var(--red-bright);
}

/* PARTNER GRID (Fringe22 projects) */

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.partner-card {
    display: block;
    background: var(--gloss);
    border: 1px solid var(--panel-edge);
    border-radius: 10px;
    padding: 22px 24px;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.partner-card:hover {
    transform: translateY(-3px);
    border-color: var(--red);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 22px rgba(0,0,0,0.45), 0 0 18px var(--red-glow);
}

.partner-card-tag {
    display: inline-block;
    font-family: "Oswald", sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: var(--red);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.partner-card h3 {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    color: var(--text);
}

.partner-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Cards that carry the client's logo at the top — fixed-height plate keeps
   wildly different wordmark aspects (square, wide, stacked) aligned visually. */
.partner-card--logo {
    padding-top: 16px;
}

.partner-card-mark {
    display: block;
    max-height: 56px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    margin: 0 0 20px;
}

/* CONTACT */

.contact-inner {
    text-align: center;
}

.contact-inner .btn {
    margin: 32px auto 48px;
}

.social-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--panel-edge);
    border-bottom: 1px solid var(--panel-edge);
}

.social-list li {
    flex: 1 1 auto;
    min-width: 140px;
}

.social-list li + li {
    border-left: 1px solid var(--panel-edge);
}

.social-list a {
    display: block;
    padding: 22px;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    transition: background 0.15s ease, color 0.15s ease;
}

.social-list a:hover {
    background: var(--gloss);
    color: var(--red);
}

/* FOOTER */

footer {
    padding: 56px 0;
    background: var(--matte-deep);
    border-top: 1px solid var(--panel-edge);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    height: 56px;
    width: auto;
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 880px) {
    .nav {
        gap: 20px;
    }
    .nav a:not(.nav-cta) {
        display: none;
    }
    .work-card--feature {
        grid-column: span 1;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-photo {
        max-width: 360px;
        margin: 0 auto;
    }
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    .section {
        padding: 80px 0;
    }
    .hero {
        padding: 80px 0 96px;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 20px;
    }
    .brand-logo {
        height: 36px;
    }
    .hero-cta {
        flex-direction: column;
    }
    .hero-cta .btn {
        width: 100%;
    }
    .hero-meta {
        flex-direction: column;
        gap: 8px;
    }
    .hero-meta .sep {
        display: none;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
}
