:root {
    --page: #f6f8f9;
    --paper: #ffffff;
    --ink: #0f1f27;
    --muted: #53636b;
    --line: #d7e0e4;
    --deep: #003f5f;
    --blue: #008bc7;
    --blue-dark: #006c99;
    --cyan: #56c7df;
    --lime: #b7d84a;
    --saffron: #f6b73c;
    --charcoal: #11191d;
    --shadow: 0 22px 55px rgba(0, 63, 95, 0.13);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(90deg, rgba(0, 139, 199, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0, 139, 199, 0.04) 1px, transparent 1px),
        var(--page);
    background-size: 42px 42px;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

p,
a,
h1,
h2,
h3,
dt,
dd {
    overflow-wrap: break-word;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(15, 31, 39, 0.1);
    background: rgba(246, 248, 249, 0.92);
    backdrop-filter: blur(18px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--deep);
    font-weight: 900;
}

.brand-mark {
    width: 42px;
    height: 42px;
    object-fit: cover;
    object-position: center 36%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.nav-links a:hover {
    color: var(--blue-dark);
}

.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 64px 0 76px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.78fr);
    align-items: center;
    gap: 48px;
}

.hero-copy {
    min-width: 0;
    max-width: 100%;
}

.eyebrow {
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    color: var(--deep);
    font-size: clamp(4rem, 12vw, 9.4rem);
    font-weight: 950;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    margin-bottom: 16px;
}

h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.lede {
    max-width: 700px;
    color: var(--muted);
    font-size: 1.18rem;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 0 18px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 900;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
    border-color: var(--blue);
    box-shadow: 0 12px 30px rgba(0, 63, 95, 0.14);
    transform: translateY(-2px);
}

.button.primary {
    border-color: var(--deep);
    background: var(--deep);
    color: var(--paper);
}

.signal-row {
    display: grid;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.signal-row div {
    min-height: 122px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    padding: 18px;
}

.signal-row dt {
    color: var(--deep);
    font-size: 0.96rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.signal-row dd {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-media {
    position: relative;
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.hero-media img {
    position: relative;
    z-index: 2;
    width: min(100%, 480px);
    border: 1px solid rgba(0, 63, 95, 0.1);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.plate {
    position: absolute;
    border: 2px solid rgba(0, 108, 153, 0.24);
    border-radius: 8px;
    transform: skewY(-8deg);
}

.plate-one {
    width: 84%;
    height: 72%;
    right: 4%;
    top: 11%;
    background: rgba(183, 216, 74, 0.13);
}

.plate-two {
    width: 62%;
    height: 48%;
    left: 0;
    bottom: 9%;
    background: rgba(246, 183, 60, 0.12);
}

.section {
    padding: 86px 0;
}

.band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading p,
.split p,
.video-layout p,
.marketplace p,
.contact p {
    color: var(--muted);
}

.section-heading.compact {
    margin-bottom: 0;
}

.project-grid,
.market-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-card,
.market-grid article,
.note {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 14px 36px rgba(15, 31, 39, 0.07);
}

.project-card {
    padding: 14px 14px 22px;
}

.project-card h3,
.project-card p:not(.tag) {
    padding: 0 4px;
}

.project-card p:not(.tag) {
    color: var(--muted);
}

.project-art {
    position: relative;
    height: 190px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    margin-bottom: 16px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        var(--charcoal);
    background-size: 18px 18px;
}

.art-printer span,
.art-circuit span,
.art-model span {
    position: absolute;
    display: block;
}

.art-printer span:nth-child(1) {
    width: 68%;
    height: 18px;
    left: 16%;
    top: 34px;
    background: var(--cyan);
}

.art-printer span:nth-child(2) {
    width: 52%;
    height: 86px;
    left: 24%;
    top: 66px;
    border: 12px solid var(--blue);
}

.art-printer span:nth-child(3) {
    width: 72%;
    height: 14px;
    left: 14%;
    bottom: 22px;
    background: var(--saffron);
}

.art-circuit span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 7px rgba(183, 216, 74, 0.18);
}

.art-circuit span:nth-child(1) { left: 18%; top: 36%; }
.art-circuit span:nth-child(2) { left: 58%; top: 24%; }
.art-circuit span:nth-child(3) { left: 72%; top: 64%; }
.art-circuit span:nth-child(4) {
    width: 58%;
    height: 58%;
    left: 20%;
    top: 22%;
    border: 3px solid var(--blue);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.art-model span:nth-child(1) {
    width: 96px;
    height: 96px;
    left: 20%;
    top: 50px;
    background: var(--blue);
    transform: rotate(45deg) skew(-8deg, -8deg);
}

.art-model span:nth-child(2) {
    width: 112px;
    height: 72px;
    right: 16%;
    top: 72px;
    border: 12px solid var(--paper);
    transform: skewY(-18deg);
}

.art-model span:nth-child(3) {
    width: 70%;
    height: 12px;
    left: 15%;
    bottom: 22px;
    background: var(--lime);
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 6px;
    margin: 0 0 12px 4px;
    padding: 0 9px;
    background: rgba(0, 139, 199, 0.1);
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.split,
.video-layout,
.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
    gap: 52px;
    align-items: start;
}

.note-list {
    display: grid;
    gap: 14px;
}

.note {
    padding: 20px;
}

.note time {
    display: block;
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.dark {
    background: var(--charcoal);
}

.dark h2,
.dark .eyebrow {
    color: var(--paper);
}

.dark p {
    color: #b9c7ce;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.video-placeholder {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 18px;
    background:
        linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.14) 49% 51%, transparent 52%),
        linear-gradient(160deg, #004866, #008bc7);
    color: var(--paper);
}

.video-placeholder.alt {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        #243025;
    background-size: 22px 22px;
}

.video-placeholder strong {
    font-size: 1.15rem;
}

.video-placeholder span:not(.play-dot) {
    color: rgba(255, 255, 255, 0.78);
}

.play-dot {
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    margin-bottom: auto;
    position: relative;
}

.play-dot::after {
    content: "";
    position: absolute;
    left: 17px;
    top: 12px;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 13px solid var(--paper);
}

.marketplace {
    display: grid;
    gap: 34px;
}

.market-grid article {
    padding: 24px;
}

.market-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
    border-radius: 6px;
    margin-bottom: 18px;
    background: var(--deep);
    color: var(--paper);
    font-weight: 900;
}

.contact-band {
    padding: 72px 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.contact {
    align-items: center;
}

.contact-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    color: var(--muted);
    background: #eef3f5;
    font-size: 0.92rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-inner span:first-child {
    color: var(--deep);
    font-weight: 900;
}

@media (max-width: 920px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .hero {
        min-height: auto;
        padding-top: 46px;
    }

    .hero-grid,
    .split,
    .video-layout,
    .contact {
        grid-template-columns: 1fr;
    }

    .hero-media {
        display: block;
        grid-column: auto;
        grid-row: auto;
        min-height: auto;
    }

    .hero-media img {
        width: min(100%, 300px);
        margin: 0 auto;
    }

    .hero-media .plate {
        display: none;
    }

    .signal-row {
        grid-column: auto;
        grid-row: auto;
        margin-top: 18px;
    }

    .signal-row,
    .project-grid,
    .market-grid {
        grid-template-columns: 1fr;
    }

    .section-heading.compact {
        margin-bottom: 28px;
    }

    .contact-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    h1 {
        font-size: 4.1rem;
    }

    .lede {
        font-size: 1.05rem;
        max-width: 330px;
    }

    .section {
        padding: 64px 0;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }
}
