* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --bg: #0c0c0e;
    --card: #17161a;
    --ember: #ff6b35;
    --text: #f4f2ee;
    --muted: #8a8a8f;
}
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    cursor: none;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
}
nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
}
nav a {
    color: var(--text);
    text-decoration: none;
}
.logo {
    height: 36px;
    width: auto;
    display: block;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.05;
    max-width: 800px;
    margin-bottom: 24px;
}

#hero {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}
#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}
#hero span {
    color: var(--ember);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}
#hero p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 32px;
}
#hero a {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    margin-right: 16px;
}
#hero a:first-of-type {
    background: var(--ember);
    color: #0c0c0e;
}
#hero a:last-of-type {
    border: 1px solid var(--muted);
    color: var(--text);
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.scroll-hint span {
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--ember);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0% {
        transform: scaleY(0.3);
        opacity: 0.3;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0.3);
        opacity: 0.3;
    }
}

#work {
    padding: 100px 40px;
}
#work > span {
    color: var(--ember);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}
#work h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 48px;
}
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.work-card {
    background: rgba(23, 22, 26, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.work-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--ember);
    opacity: 0.25;
    border-radius: 50%;
    z-index: 0;
}
.work-card > * {
    position: relative;
    z-index: 1;
}
.work-card > div {
    width: 100%;
    height: 160px;
    background: #1f1d22;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.8rem;
}
.work-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.work-card p {
    color: var(--muted);
    font-size: 0.9rem;
}
.work-card span {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.75rem;
    color: var(--ember);
}

#about {
    padding: 100px 40px;
}
#about > span {
    color: var(--ember);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}
#about h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 40px;
}
#about p {
    color: var(--ember);
    font-size: 1rem;
    max-width: 700px;
    margin-bottom: 20px;
    line-height: 1.7;
}
#about ul {
    list-style: none;
    margin-top: 32px;
    max-width: 700px;
}
#about li {
    color: var(--text);
    padding-left: 24px;
    margin-bottom: 12px;
    position: relative;
}
#about li::before {
    content: '\2192';
    color: var(--ember);
    position: absolute;
    left: 0;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    gap: 4px;
}
label {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 16px;
}
input, textarea {
    background: rgba(23, 22, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 12px 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}
textarea {
    min-height: 120px;
    resize: vertical;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--ember);
}
button {
    background: var(--ember);
    color: #0c0c0e;
    border: none;
    border-radius: 4px;
    padding: 14px 28px;
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 24px;
    cursor: pointer;
    align-self: flex-start;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    border-top: 1px solid #26242a;
    color: var(--muted);
    font-size: 0.85rem;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--ember);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 2px solid var(--ember);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}
.cursor-ring.hovering {
    width: 56px;
    height: 56px;
    background: rgba(255, 107, 53, 0.15);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.glass-panel {
    background: rgba(23, 22, 26, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    z-index: 1;
}
.glass-backdrop {
    position: relative;
}
.glass-backdrop::before,
.glass-backdrop::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}
.glass-backdrop::before {
    top: -40px;
    left: 15%;
    width: 160px;
    height: 160px;
    background: var(--ember);
    opacity: 0.5;
}
.glass-backdrop::after {
    bottom: -50px;
    right: 10%;
    width: 200px;
    height: 200px;
    background: #ffb088;
    opacity: 0.35;
}
.media-cycle {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #1f1d22;
    cursor: pointer;
}
.media-cycle .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.media-cycle .slide.active {
    opacity: 1;
}

@media (max-width: 700px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
    #hero {
        grid-template-columns: 1fr;
    }
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 14, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 40px;
}
.lightbox.open {
    display: flex;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
}
.lightbox-content img,
.lightbox-content video {
    width: 90vw;
    height: 85vh;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin: 0;
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(23, 22, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-prev {
    left: 24px;
}
.lightbox-next {
    right: 24px;
}

#contact .glass-panel {
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.08);
}
.contact-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
#contact.glass-backdrop {
    margin-top: 8px;
}