﻿/*
Theme Name: ORBEAT Register Flat
Theme URI: https://orbeatrecords.com
Author: Codex
Description: Register.it flat ORBEAT Records theme. Root-only files, CSS in style.css, no asset subfolders.
Version: 1.0.2
Requires PHP: 8.2
Text Domain: orbeat-register-flat
*/
:root {
    color-scheme: dark;
    --bg: #020202;
    --bg-soft: #080606;
    --panel: rgba(9, 9, 9, 0.78);
    --panel-solid: #0b0b0b;
    --line: rgba(255, 86, 26, 0.22);
    --line-strong: rgba(255, 86, 26, 0.55);
    --text: #f7f4f1;
    --muted: #b7b0ad;
    --muted-soft: #79716d;
    --accent: #ff3305;
    --accent-hot: #ff7a00;
    --glow: 0 0 22px rgba(255, 51, 5, 0.72), 0 0 56px rgba(255, 122, 0, 0.32);
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Orbitron", var(--font-body);
    --header-h: 82px;
    --shell: min(1100px, calc(100% - 48px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 51, 5, 0.2), transparent 28rem),
        radial-gradient(circle at 50% 55%, rgba(255, 122, 0, 0.12), transparent 34rem),
        #000;
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at 50% 20%, #000, transparent 68%);
}

body::after {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1) 34%, rgba(0, 0, 0, 0.92)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 2px, transparent 5px);
    opacity: 0.55;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    z-index: 99;
    width: auto;
    height: auto;
    clip: auto;
    top: 14px;
    left: 14px;
    padding: 10px 14px;
    background: #fff;
    color: #000;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: rgba(0, 0, 0, 0.86);
    border-bottom: 1px solid rgba(255, 86, 26, 0.18);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 54px;
    min-width: 54px;
    filter: drop-shadow(0 0 12px rgba(255, 51, 5, 0.42));
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #ececec;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.22);
    transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-item > a::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7px;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.nav-item:is(:hover, :focus-within, .is-active) > a {
    color: var(--accent);
    text-shadow: var(--glow);
}

.nav-item:is(:hover, :focus-within, .is-active) > a::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 0 8px rgba(255, 51, 5, 0.5);
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

main {
    min-height: 70vh;
}

.hero {
    position: relative;
    min-height: 100svh;
    padding: calc(var(--header-h) + 34px) 0 96px;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero-home {
    grid-template-rows: auto auto;
    justify-items: center;
}

.hero-logo-wrap {
    position: relative;
    z-index: 2;
    width: min(360px, 50vw);
    margin-top: 22px;
    filter: drop-shadow(0 0 28px rgba(255, 51, 5, 0.46));
}

.hero-logo {
    animation: logoFloat 6s ease-in-out infinite;
}

.hero-copy {
    position: relative;
    z-index: 3;
    width: var(--shell);
    margin: 16px auto 0;
    text-align: center;
}

h1,
h2,
h3,
.kicker,
.orbeat-btn,
.ghost-btn,
.release-code,
.card-eyebrow {
    font-family: var(--font-display);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero-copy h1 {
    margin: 0;
    font-size: 76px;
    line-height: 1.05;
    font-weight: 900;
    text-transform: lowercase;
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 16px rgba(255, 87, 31, 0.72), 0 0 34px rgba(255, 51, 5, 0.46);
}

.accent-line {
    display: block;
    width: 48px;
    height: 4px;
    margin: 34px auto 28px;
    background: var(--accent);
    box-shadow: var(--glow);
}

.hero-copy p {
    max-width: 830px;
    margin: 0 auto 34px;
    color: #d7d2cf;
    font-size: 20px;
}

.orbeat-btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(135deg, rgba(255, 51, 5, 0.98), rgba(255, 122, 0, 0.82));
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: var(--glow);
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.orbeat-btn:hover,
.orbeat-btn:focus,
.ghost-btn:hover,
.ghost-btn:focus {
    transform: translateY(-2px);
    filter: saturate(1.2);
    box-shadow: 0 0 24px rgba(255, 51, 5, 0.86), 0 0 80px rgba(255, 122, 0, 0.42);
}

.orbeat-btn.small {
    min-height: 42px;
    margin-top: 10px;
    padding: 0 18px;
}

.ghost-btn {
    background: transparent;
}

.section-shell {
    width: var(--shell);
    margin: 0 auto;
}

.feature-band,
.content-band {
    position: relative;
    padding: 82px 0;
    border-top: 1px solid rgba(255, 86, 26, 0.12);
    background: linear-gradient(180deg, rgba(2, 2, 2, 0.55), rgba(8, 6, 6, 0.88));
}

.kicker {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.feature-band h2,
.page-hero h1 {
    color: #fff;
    text-shadow: 0 0 24px rgba(255, 51, 5, 0.48);
}

.feature-band h2 {
    margin-bottom: 24px;
    font-size: 32px;
}

.release-preview {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px;
    align-items: center;
    padding: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(255, 51, 5, 0.08), rgba(255, 255, 255, 0.025));
}

.release-code,
.card-eyebrow {
    margin-bottom: 8px;
    color: var(--accent-hot);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.release-preview h3,
.signal-card h2,
.text-panel h2,
.contact-panel h2 {
    margin-bottom: 10px;
    color: #fff;
}

.release-preview p,
.signal-card p,
.text-panel p,
.contact-panel p {
    color: var(--muted);
}

.page-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 72px) 0 80px;
    overflow: hidden;
}

.page-hero .section-shell {
    position: relative;
    z-index: 3;
}

.page-hero h1 {
    margin-bottom: 18px;
    font-size: 56px;
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
}

.page-hero p:not(.kicker) {
    max-width: 720px;
    margin-bottom: 0;
    color: #d8d2cf;
    font-size: 19px;
}

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

.signal-card,
.text-panel,
.contact-panel {
    position: relative;
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255, 51, 5, 0.11), rgba(255, 255, 255, 0.025) 42%, rgba(0, 0, 0, 0.34)),
        rgba(7, 7, 7, 0.88);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.36);
}

.signal-card::before,
.text-panel::before,
.contact-panel::before {
    position: absolute;
    inset: -1px -1px auto;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.signal-card {
    min-height: 260px;
    padding: 30px;
}

.signal-card .orbeat-card-media {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 22px;
}

.signal-card .orbeat-card-media img {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    border: 1px solid rgba(255, 86, 26, 0.32);
    box-shadow: 0 0 22px rgba(255, 86, 26, 0.16);
}

.signal-card h2 {
    font-size: 25px;
}

.signal-card p {
    margin-bottom: 20px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
    gap: 28px;
    align-items: start;
}

.prose-stack,
.legal-stack {
    display: grid;
    gap: 18px;
}

.text-panel,
.contact-panel {
    padding: 28px;
}

.text-panel h2 {
    font-size: 24px;
}

.text-panel p {
    margin-bottom: 0;
}

.contact-panel {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    display: grid;
    gap: 12px;
}

.mail-icon {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line-strong);
    color: var(--accent-hot);
    font-family: var(--font-display);
    font-weight: 900;
    box-shadow: var(--glow);
}

.email-link {
    width: fit-content;
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid var(--accent);
}

.legal-stack {
    max-width: 920px;
}

.legal-panel h2 {
    font-size: 21px;
}

.editor-media-band {
    padding-top: 0;
}

.editor-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    align-items: start;
}

.editor-media-grid > * {
    margin: 0;
}

.editor-media-grid figure,
.editor-media-grid .wp-block-image {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.editor-media-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(255, 86, 26, 0.32);
    box-shadow: 0 0 22px rgba(255, 86, 26, 0.16);
}

.editor-media-grid figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
    background: #030303;
}

.site-footer::before {
    position: absolute;
    inset: auto -10% 0;
    height: 180px;
    content: "";
    background: radial-gradient(ellipse at center, rgba(255, 51, 5, 0.18), transparent 60%);
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    width: var(--shell);
    margin: 0 auto;
    padding: 56px 0 34px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.45fr) minmax(180px, 0.45fr);
    gap: 42px;
}

.footer-brand img {
    width: 86px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 15px rgba(255, 51, 5, 0.45));
}

.footer-brand p {
    max-width: 520px;
    margin-bottom: 0;
    color: var(--muted);
}

.footer-brand a,
.footer-links a,
.footer-bottom a {
    color: var(--text);
    transition: color 180ms ease, text-shadow 180ms ease;
}

.footer-brand a:hover,
.footer-links a:hover,
.footer-bottom a:hover {
    color: var(--accent);
    text-shadow: var(--glow);
}

.footer-links h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    width: fit-content;
    margin: 0 0 9px;
    color: var(--muted);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    width: var(--shell);
    margin: 0 auto;
    padding: 22px 0 30px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted-soft);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom span {
    margin: 0 10px;
}

footer.orbeat-footer:not(.site-footer) {
    display: none !important;
}

@media (min-width: 941px) {
    .site-header {
        justify-content: center;
    }

    .site-header .brand {
        position: absolute;
        left: 32px;
    }

    .primary-nav {
        gap: 36px;
        font-size: 14px;
    }
}

.hero .orbeat-btn,
.contact-panel .orbeat-btn,
.signal-card .orbeat-btn {
    background: linear-gradient(135deg, #d95a1b, #b83a13);
    color: #050505;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.52), 0 0 10px rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 16px rgba(216, 82, 22, 0.48), 0 0 42px rgba(255, 122, 0, 0.2);
}

.hero .orbeat-btn:hover,
.hero .orbeat-btn:focus,
.contact-panel .orbeat-btn:hover,
.contact-panel .orbeat-btn:focus,
.signal-card .orbeat-btn:hover,
.signal-card .orbeat-btn:focus {
    box-shadow: 0 0 24px rgba(216, 82, 22, 0.74), 0 0 68px rgba(255, 122, 0, 0.34);
}

.orbital-stage {
    position: absolute;
    inset: var(--header-h) 0 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.orbital-stage.compact {
    inset: 0;
    opacity: 0.62;
}

.orbit {
    position: absolute;
    width: 62vw;
    max-width: 980px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 51, 5, 0.25);
    border-radius: 50%;
    box-shadow: inset 0 0 24px rgba(255, 51, 5, 0.14), 0 0 40px rgba(255, 51, 5, 0.12);
}

.orbit-one {
    animation: slowRotate 30s linear infinite;
}

.orbit-two {
    width: 48vw;
    max-width: 760px;
    transform: rotate(62deg) scaleY(0.42);
    border-color: rgba(255, 122, 0, 0.34);
    animation: angledOrbit 17s linear infinite;
}

.orbit-three {
    width: 74vw;
    max-width: 1150px;
    transform: rotate(-14deg);
    opacity: 0.58;
    animation: slowRotate 42s linear reverse infinite;
}

.particle {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hot));
    box-shadow: var(--glow);
}

.particle-one {
    transform: translate(385px, 150px);
    animation: pulseParticle 4s ease-in-out infinite;
}

.particle-two {
    width: 12px;
    height: 12px;
    transform: translate(-330px, -160px);
    animation: pulseParticle 5.5s ease-in-out infinite 700ms;
}

@keyframes slowRotate {
    to {
        rotate: 360deg;
    }
}

@keyframes angledOrbit {
    from {
        transform: rotate(62deg) scaleY(0.42);
    }

    to {
        transform: rotate(422deg) scaleY(0.42);
    }
}

@keyframes pulseParticle {
    0%,
    100% {
        opacity: 0.62;
        scale: 0.88;
    }

    50% {
        opacity: 1;
        scale: 1.08;
    }
}

@keyframes logoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 940px) {
    :root {
        --header-h: 72px;
        --shell: min(100% - 32px, 760px);
    }

    .site-header {
        padding: 0 18px;
    }

    .brand {
        width: 48px;
        min-width: 48px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 12px 18px 24px;
        background: rgba(0, 0, 0, 0.96);
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
    }

    .menu-open .primary-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-item > a {
        min-height: 54px;
    }

    .hero {
        min-height: 860px;
        padding-bottom: 72px;
    }

    .hero-logo-wrap {
        width: min(300px, 70vw);
    }

    .hero-copy h1 {
        font-size: 54px;
    }

    .hero-copy p,
    .page-hero p:not(.kicker) {
        font-size: 17px;
    }

    .page-hero {
        min-height: 470px;
    }

    .page-hero h1 {
        font-size: 44px;
    }

    .card-grid,
    .split-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        position: relative;
        top: auto;
    }

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

    .orbit {
        width: 96vw;
    }

    .orbit-two {
        width: 78vw;
    }

    .particle-one {
        transform: translate(34vw, 130px);
    }

    .particle-two {
        transform: translate(-32vw, -160px);
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: 800px;
        padding-top: calc(var(--header-h) + 24px);
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .hero-copy p,
    .page-hero p:not(.kicker) {
        font-size: 16px;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .feature-band,
    .content-band {
        padding: 58px 0;
    }

    .release-preview {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .signal-card,
    .text-panel,
    .contact-panel {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}

