:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-text: #e0e0e0;
    --color-accent: #ff3c00;
    /* Safety Orange */
    --color-border: #333;
    --font-display: 'Unbounded', display;
    --font-mono: 'Space Mono', monospace;
    --grid-gap: 1px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: crosshair;
}

::selection {
    background: var(--color-accent);
    color: #000;
}

html {
    font-size: 16px;
    background-color: var(--color-border);
    /* Creates the grid lines via gap */
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-mono);
    overflow-x: hidden;
    line-height: 1.4;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.9;
}

h1 {
    /* Adjusted for mobile scaling */
    font-size: clamp(3rem, 12vw, 10rem);
    letter-spacing: -0.04em;
    word-break: break-word;
    /* Prevent overflow */
    color: #fff;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
}

p {
    font-size: 0.9rem;
    max-width: 60ch;
    text-transform: uppercase;
}

.period {
    color: var(--color-accent);
    margin-left: -0.05em;
    /* Tighten up */
}

a {
    color: inherit;
    text-decoration: none;
}

/* Utilities */
.border-b {
    border-bottom: 1px solid var(--color-border);
}

.border-t {
    border-top: 1px solid var(--color-border);
}

.border-l {
    border-left: 1px solid var(--color-border);
}

.border-r {
    border-right: 1px solid var(--color-border);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.uppercase {
    text-transform: uppercase;
}

/* Layout Grid */
.grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--color-bg);
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    background: var(--color-accent);
    color: #000;
    padding: 0.5rem 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    /* Increased padding */
    height: 70px;
    /* Taller header */
}

.logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

.nav-toggle {
    font-family: var(--font-mono);
    cursor: pointer;
    border: 1px solid var(--color-border);
    padding: 0.4rem 1rem;
    transition: 0.2s;
}

.nav-toggle:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* Overlay Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1);
}

.menu-overlay.active {
    transform: translateY(0);
}

.menu-links a {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    /* Responsive menu font */
    margin: 1rem 0;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-text);
    transition: 0.3s;
}

.menu-links a:hover {
    color: var(--color-accent);
    -webkit-text-stroke: 1px var(--color-accent);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
    /* Reduced padding to bring meta closer */
    border-bottom: 1px solid var(--color-border);
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    /* More space */
    font-size: 0.8rem;
    color: #666;
    flex-wrap: wrap;
    /* Allow wrapping on mobile */
    gap: 1rem;
}

.hero-cta {
    margin-top: 6rem;
    /* More space */
    display: inline-block;
    border: 1px solid var(--color-text);
    padding: 1.2rem 2.5rem;
    font-family: var(--font-mono);
    font-weight: 700;
    transition: 0.2s;
    background: transparent;
    color: var(--color-text);
}

.hero-cta:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #000;
    box-shadow: 5px 5px 0px #fff;
}

/* Services (The Drop) */
.services-section {
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    padding: 4rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.service-item {
    display: grid;
    grid-template-columns: 0.5fr 2fr 1fr;
    padding: 3rem 1.5rem;
    /* More padding */
    border-bottom: 1px solid var(--color-border);
    transition: 0.3s;
    position: relative;
}

.service-item:hover {
    background: #fff;
    color: #000;
}

.service-item:hover .service-price {
    color: var(--color-accent);
}

.service-index {
    font-size: 0.8rem;
    opacity: 0.5;
}

.service-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 2rem);
}

.service-price {
    text-align: right;
    font-weight: 700;
}

/* Work (Archives) */
.work-section {
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.work-card {
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;

}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: 0.4s;
}

.work-card:hover .work-img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(100%);
    transition: 0.3s;
    border-top: 1px solid var(--color-border);
}

.work-card:hover .work-info {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .work-card {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
    }

    .work-img {
        aspect-ratio: 1;
    }

    .work-info {
        position: relative;
        transform: none;
        background: var(--color-bg);
        border-top: 1px solid var(--color-border);
        padding: 1rem;
    }

    .work-card:hover .work-img {
        transform: none;
    }
}

/* Contact */
.contact-section {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    padding: 6rem 2rem;
    border-right: 1px solid var(--color-border);
}

.contact-form-wrapper {
    padding: 6rem 2rem;
}

.brutalist-input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: -1px;
    /* Collapse borders */
    transition: 0.3s;
}

.brutalist-input:focus {
    outline: none;
    background: #1a1a1a;
    border-color: var(--color-accent);
    z-index: 10;
    position: relative;
}

.submit-btn {
    width: 100%;
    padding: 1.5rem;
    background: var(--color-accent);
    border: none;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
}

.submit-btn:hover {
    background: #fff;
    color: #000;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* Sticker */
.sticker {
    position: absolute;
    z-index: 10;
    background: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    transform: rotate(-5deg);
    border: 1px solid #000;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}