:root {
    --brand-1: #e97f08;
    --brand-2: #ffaf00;
    --brand-3: #cb410b;
    --black: #000000;
    --bg: #0a0a0a;
    --muted: #9aa4af;
    --card: #0f1115;
    --border: #1f232b;
    --radius: 18px;
    --container: 1200px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .25);
    --grad: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    --grad-2: linear-gradient(120deg, rgba(233, 127, 8, .3), rgba(203, 65, 11, .25) 40%, rgba(0, 0, 0, .1));
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial;
    background: var(--bg);
    color: #e7ebef;
    line-height: 1.6
}

a {
    color: #fff;
    text-decoration: none
}

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

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 20px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--grad);
    color: #111;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(233, 127, 8, .25)
}

.btn.outline {
    background: transparent;
    border-color: #2a2f39;
    color: #e7ebef
}

.badge {
    display: inline-block;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(233, 127, 8, .12);
    color: #ffb347;
    border: 1px solid rgba(233, 127, 8, .25);
    font-weight: 600
}

.muted {
    color: #aab2bd
}

/* Header */
.nav-blur {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(140%) blur(6px);
    background: rgba(10, 10, 10, .75);
    border-bottom: 1px solid var(--border)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 0
}

.nav a.logo {
    display: flex;
    align-items: center;
    gap: .7rem
}

.nav img {
    width: 42px;
    height: 42px
}

.links {
    display: flex;
    gap: 1rem;
    align-items: center
}

.links a {
    padding: .6rem .8rem;
    border-radius: 12px;
    color: #cfd6de;
    border: 1px solid transparent
}

.links a:hover, .links a.active {
    color: #fff;
    border-color: #2a2f39;
    background: #12151b
}

.menu-toggle {
    display: none;
    appearance: none;
    border: 0;
    background: #141821;
    color: #e7ebef;
    border: 1px solid var(--border);
    width: 44px;
    height: 44px;
    border-radius: 12px
}

@media (max-width: 960px) {
    .links {
        position: fixed;
        inset: 64px 16px auto 16px;
        background: #0b0d11;
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 12px;
        display: none;
        flex-direction: column
    }

    .links.open {
        display: flex
    }

    .menu-toggle {
        display: block
    }
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border)
}

.hero-grid {
    display: grid;
    gap: 32px;
    grid-template-columns:1.2fr .8fr;
    align-items: center;
    min-height: 72svh;
    padding-block: 64px
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin: 0
}

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: #c6ccd6;
    max-width: 58ch
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px
}

.logo-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 12px
}

.brand {
    font-weight: 800;
    letter-spacing: .5px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.shape {
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 65%;
    background: radial-gradient(600px 300px at 30% 30%, rgba(233, 127, 8, .25), transparent 60%), radial-gradient(500px 250px at 80% 20%, rgba(203, 65, 11, .25), transparent 60%);
    filter: blur(40px);
    opacity: .55;
    pointer-events: none
}

.hero-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 18px;
    box-shadow: var(--shadow)
}

/* Sections */
.section {
    padding-block: 80px
}

.head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 24px;
    gap: 20px
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0
}

.grid {
    display: grid;
    gap: 18px
}

.grid-3 {
    grid-template-columns:repeat(3, minmax(0, 1fr))
}

.grid-2 {
    grid-template-columns:repeat(2, minmax(0, 1fr))
}

.grid-4 {
    grid-template-columns:repeat(4, minmax(0, 1fr))
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns:repeat(2, 1fr)
    }

    .grid-3 {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns:1fr
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    position: relative;
    overflow: hidden
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-2);
    opacity: 0;
    transition: opacity .25s ease
}

.card:hover::after {
    opacity: 1
}

.card h3 {
    margin: 0 0 6px;
    font-size: 1.15rem
}

.card p {
    margin: 0;
    color: #b7c0cb
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--grad);
    display: grid;
    place-items: center;
    color: #0b0b0b;
    font-weight: 900;
    margin-bottom: .8rem
}

.w-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--grad);
    display: grid;
    place-items: center;
    color: #0b0b0b;
    font-weight: 900;
    margin-bottom: .8rem
}

/* Portfolio */
.folio-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #0e1116;
    display: flex;
    flex-direction: column
}

.folio-media {
    aspect-ratio: 16/9;
    background: linear-gradient(180deg, rgba(255, 175, 0, .18), rgba(0, 0, 0, .1));
    display: grid;
    place-items: center
}

.folio-media span {
    font-weight: 700;
    opacity: .7
}

.folio-body {
    padding: 16px
}

.tags {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .35rem .55rem;
    border: 1px solid #262a33;
    background: #12151b;
    border-radius: 999px;
    color: #c7d0da;
    font-size: .85rem
}

/* Contact */
form {
    display: grid;
    gap: 12px
}

input, textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: #0c0e12;
    border: 1px solid var(--border);
    color: #e7ebef
}

textarea {
    min-height: 140px;
    resize: vertical
}

.form-row {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12px
}

@media (max-width: 720px) {
    .form-row {
        grid-template-columns:1fr
    }
}

.form-note {
    font-size: .9rem;
    color: #9aa4af
}

.success {
    border-color: rgba(32, 201, 151, .35)
}

.error {
    border-color: rgba(220, 38, 38, .55)
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    color: #9aa4af
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

/* Accessibility */
.skip {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.skip:focus {
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    background: #111;
    padding: .6rem .8rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    z-index: 9999
}

.links a.active {
    border-color: #2a2f39;
    background: #12151b
}

/* Helpers */
.p {
    padding: 18px
}

.li {
    margin: 8px 0 0 18px
}

.badges {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px
}

.folio-media picture, .folio-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
