:root
{
    --bg: #050505;
    --bg-soft: #0d0d0f;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --line: rgba(255, 255, 255, 0.12);
    --text: #f4f4f5;
    --text-soft: #c3c5ca;
    --text-muted: #90949b;
    --shadow: 0 10px 10px rgba(0, 0, 0, 0.45);
    --radius: 10px;
    --radius-sm: 16px;
    --container: 1180px;
}

.hero__title-row
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@keyframes logoFloatGlow
{
    0%
    {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0px 0px 0px rgba(255, 255, 255, 0));
    }
    100%
    {
        transform: translateY(-5px) scale(1);
        filter: drop-shadow(0px 0px 18px rgba(255, 255, 255, 0.35));
    }
}

.hero__logo
{
    width: 35%;
    height: 35%;
    object-fit: contain;
    border-radius: 18px;
    flex-shrink: 0;
    box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    animation: logoFloatGlow 2s ease-in-out infinite alternate;
}

*
{
    box-sizing: border-box;
}

html
{
    scroll-behavior: smooth;
}

body
{
    margin: 0;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.07), transparent 30%),
        linear-gradient(180deg, #111214 0%, #080809 25%, #050505 100%);
    color: var(--text);
}

body.body--lightbox-open
{
    overflow: hidden;
}

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

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

button,
input,
textarea
{
    font: inherit;
}

.site-shell
{
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
    pointer-events: none;
    z-index: -1;
}

.container
{
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.header
{
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(5, 5, 5, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.brand
{
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand__logo
{
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.4);
}

.brand__text
{
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand__eyebrow,
.eyebrow
{
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.brand__title
{
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.nav
{
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a
{
    color: var(--text-soft);
    font-size: 18px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover
{
    color: var(--text);
}

.nav-toggle
{
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span
{
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 5px auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero
{
    position: relative;
    overflow: visible;
    padding: 4rem 0 1rem;
}

.hero__backdrop
{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.7) 35%, rgba(5, 5, 5, 0.35) 100%),
        url("assets/image1.png") center/cover no-repeat;
    opacity: 0.55;
}

.hero__content
{
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
    justify-items: center;
}

.hero h1
{
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.96;
    margin: 0 0 1rem;
    max-width: 10ch;
}

section
{
    scroll-margin-top: 45px;
}

.hero__lead,
.section-heading__lede,
.about-copy p,
.project-card p,
.contact-copy p,
.form-note
{
    color: var(--text-soft);
    line-height: 1.75;
}

.hero__lead
{
    font-size: 20px;
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
}

.project-card__actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.button
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, #ffffff, #d9d9dd);
    color: #090909;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: none;
    cursor: pointer;
}

.button i
{
    margin-right: 8px;
    font-size: 1.5em;
    vertical-align: middle;
}

.button:hover
{
    transform: translateY(-2px);
}

.button--ghost
{
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    box-shadow: none;
}

.button--small
{
    min-height: 44px;
    padding: 0.65rem 1rem;
}

.glass-card
{
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card
{
    overflow: hidden;
}

.hero-card img
{
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hero-card__meta
{
    padding: 1.25rem;
}

.hero-card__meta h2
{
    margin: 0.75rem 0 0.4rem;
}

.hero-card__meta p
{
    margin: 0;
    color: var(--text-soft);
}

.section
{
    padding: 3rem 0;
}

.section-heading h2
{
    font-size: clamp(0.75rem, 1.5vw, 1.5rem);
    line-height: 1;
    margin: 0;
}

.section-heading--split
{
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section--about
{
    text-align: center;
    padding: 1rem 0;
}

.about-copy p
{
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-copy
{
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading__lead
{
    max-width: 50rem;
    text-align: center;
    margin-bottom: 0%;
}

.contact-point
{
    padding: 1.2rem;
}

.contact-point span
{
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
}

.projects-grid
{
    display: grid;
    gap: 1.5rem;
}

.project-card
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
}

.project-card--featured
{
    grid-template-columns: 1.1fr 0.9fr;
}

.project-card__media,
.project-card__media--large
{
    min-height: 50%;
}

.project-card__actions
{
    margin-top: 20px;
}

.project-card__gallery
{
    margin-bottom: 16px;
}

.project-card__actions
{
    margin-top: 16px;
}

.project-card__media img,
.project-card__media--large img
{
    height: 100%;
    object-fit: cover;
}

.project-card__content
{
    padding: 1.5rem;
}

.project-card__header
{
    margin-bottom: 0.9rem;
}

.project-card__header h3
{
    margin: 0.75rem 0 0;
    font-size: 1.8rem;
}

.project-card__gallery
{
    margin-top: 1.25rem;
}

.two-up
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
}

.gallery-thumb
{
    position: relative;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: transparent;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.gallery-thumb::after
{
    content: "View full size!";
    position: absolute;
    inset: auto 12px 12px 12px;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.78);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.24s ease;
    pointer-events: none;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible
{
    transform: scale(1.01);
    border-color: rgba(255, 255, 255, 0.22);
}

.gallery-thumb:hover::after,
.gallery-thumb:focus-visible::after
{
    opacity: 1;
    transform: translateY(0);
}

.gallery-thumb:focus-visible
{
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 3px;
}

.two-up img
{
    border-radius: 8px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img
{
    transform: scale(1.04);
    filter: brightness(1.06);
}

.status-badge
{
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-badge--muted
{
    color: #d8dadf;
    background: rgba(255, 255, 255, 0.05);
}

.contact-grid
{
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.5rem;
    align-items: start;
}

.contact-points
{
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-point p,
.contact-point a
{
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.contact-form
{
    padding: 1.4rem;
}

.contact-form label
{
    display: block;
    margin-bottom: 1rem;
}

.contact-form span
{
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea
{
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    padding: 0.95rem 1rem;
    resize: vertical;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus
{
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.footer
{
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.4rem 0 2.5rem;
}

.footer__inner
{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    color: var(--text-muted);
}

.reveal
{
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible
{
    opacity: 1;
    transform: translateY(0);
}

.lightbox
{
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.26s ease, visibility 0.26s ease;
}

.lightbox.is-open
{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox__backdrop
{
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 6, 0.82);
    backdrop-filter: blur(16px);
}

.lightbox__dialog
{
    position: relative;
    width: min(100%, 1100px);
    max-height: min(88vh, 900px);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(16, 16, 18, 0.96), rgba(8, 8, 10, 0.95));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.lightbox.is-open .lightbox__dialog
{
    transform: scale(1);
    opacity: 1;
}

.lightbox__close
{
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lightbox__close span
{
    font-size: 1.8rem;
    line-height: 1;
}

.lightbox__close:hover,
.lightbox__close:focus-visible
{
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
}

.lightbox__close:focus-visible
{
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 3px;
}

.lightbox__title
{
    margin: 0 0 1rem;
    padding-right: 3.5rem;
    color: var(--text-soft);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lightbox__image-wrap
{
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.lightbox__image
{
    display: block;
    width: 100%;
    max-height: calc(88vh - 5rem);
    object-fit: contain;
    background: #050505;
}

@media (max-width: 980px)
{
    .hero__content,
    .about-grid,
    .contact-grid,
    .project-card,
    .project-card--featured
    {
        grid-template-columns: 1fr;
    }

    .section-heading--split,
    .footer__inner
    {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 820px)
{
    .nav-toggle
    {
        display: inline-block;
    }

    .nav
    {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(8, 8, 9, 0.96);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .nav.is-open
    {
        display: flex;
    }

    .brand__title
    {
        font-size: 0.9rem;
        white-space: normal;
    }

    .hero
    {
        padding-top: 4rem;
    }
}

@media (max-width: 640px)
{
    .container
    {
        width: min(calc(100% - 1.25rem), var(--container));
    }

    .hero h1
    {
        max-width: 12ch;
    }

    .two-up
    {
        grid-template-columns: 1fr;
    }

    .button,
    .project-card__actions .button
    {
        width: 100%;
    }

    .brand__logo
    {
        width: 48px;
        height: 48px;
    }

    .lightbox
    {
        padding: 1rem;
    }

    .lightbox__dialog
    {
        padding: 0.85rem;
        border-radius: 20px;
    }

    .lightbox__close
    {
        width: 44px;
        height: 44px;
    }
}
