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

:root {
    --orange: #FF6A00;
    --orange-light: #FF8C33;
    --orange-dim: #CC5500;
    --black: #0A0A0A;
    --black-lighter: #141414;
    --gray: #5A5A5A;
    --gray-light: #8A8A8A;
}

html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
}

/* Ambient glow */
.glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.08) 0%, transparent 70%);
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Grid lines background */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 106, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 106, 0, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

/* Header */
header {
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.15em;
    text-decoration: none;
}

.logo-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    color: var(--orange);
    line-height: 1;
    letter-spacing: 0.02em;
}

.logo-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--gray-light);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--orange-dim), transparent);
    margin-left: 2rem;
    opacity: 0.3;
}

.back-link {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-light);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
    margin-left: 2rem;
    white-space: nowrap;
}

.back-link:hover {
    color: var(--orange);
}

/* Footer / Contact */
footer {
    position: relative;
    z-index: 10;
    padding: 3rem;
    border-top: 1px solid rgba(255, 106, 0, 0.12);
    margin-top: auto;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-block h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

.contact-block p,
.contact-block a {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--gray-light);
    line-height: 1.7;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-block a:hover {
    color: var(--orange-light);
}

.copyright {
    font-size: 0.75rem;
    color: var(--gray);
    text-align: center;
    padding: 1.5rem 3rem 2rem;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 10;
}

/* Rotating 540 watermark */
.watermark {
    position: fixed;
    bottom: -8vw;
    right: -5vw;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28vw;
    color: rgba(255, 106, 0, 0.025);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transform: rotate(-12deg);
}

@keyframes fadeDown {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive — shared elements */
@media (max-width: 640px) {
    header { padding: 1.5rem; }
    .logo-number { font-size: 1.8rem; }
    .header-line { display: none; }
    .back-link { margin-left: 1rem; }
    footer { padding: 2rem 1.5rem; }
    .footer-inner { gap: 1.5rem; }
    .copyright { padding: 1rem 1.5rem 1.5rem; }
}
