/* site styling */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: "MrRobot";
    src: url("./mr-robot-font.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
}

body {
    background-color: black;
    color: white;

    font-family: "Roboto", sans-serif;
    line-height: 1.5;
}

#header {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

#background {
    position: absolute;
    inset: 0;
    display: grid;
    height: 100vh;
    grid-template-columns: repeat(auto-fill, 32px);
    grid-auto-rows: 32px;
    z-index: 0;
}

#background .cell {
    background: #000;
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        background: #100000;
        box-shadow: 0 0 5px #400000;
    }
    50% {
        background: #b40000;
        box-shadow: 0 0 8px #b40000;
    }
}

header {
    position: relative;
    inset: 0 auto auto 0;
    width: 100vw;
    z-index: 1;
    color: #fff;
    height: 100vh;
}

.hero-copy {
    position: absolute;
    right: 4vw;
    bottom: 3.5vw;
    width: min(56rem, 64vw);
    text-align: right;
    z-index: 2;
}

.hero-copy .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    opacity: 0.78;
}

h1 {
    font-family: "MrRobot", sans-serif;
    line-height: 110%;
    margin: 0.25rem 0 0;
    font-size: clamp(3rem, 10vw, 9rem);
    color: white;
}

header h1 {
    color: #111;
    text-shadow: 0 0 22px rgba(255, 40, 40, 0.45);
}

.hero-copy .tagline {
    margin-top: 0.4rem;
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
    opacity: 0.92;
}

.hero-copy a {
    display: inline-block;
    margin-top: 1.15rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 0.06em;
}

.hero-copy a:hover {
    background: rgba(255, 255, 255, 0.12);
}

header .corner-svg {
    position: absolute;
    left: -10vw;
    top: -10vw;
    width: 50vw;
    aspect-ratio: 1 / 1;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

#site-content {
    width: min(1000px, 90vw);
    margin: 4rem auto 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.panel {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(12, 12, 12, 0.82);
    backdrop-filter: blur(2px);
    padding: 1.1rem 1rem;
}

.intro {
    grid-column: 1 / -1;
}

.panel h2 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.panel p {
    opacity: 0.9;
}

.panel ul {
    padding-left: 1rem;
}

.panel li {
    margin-bottom: 0.3rem;
}

.controls {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
}

.controls label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.control-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.control-actions button {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
}
