html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #111;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #f5f2ec;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.wrap {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background: #111;
}

.bg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(0.05) contrast(1.03) brightness(0.86);
    transform: scale(1.01);
}

.veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 35%, rgba(35, 120, 135, 0.10), transparent 34%),
        linear-gradient(90deg, rgba(5, 7, 9, 0.72) 0%, rgba(9, 11, 13, 0.48) 42%, rgba(7, 8, 10, 0.16) 100%);
    box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.74);
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: clamp(22px, 3.5vw, 46px) clamp(28px, 5vw, 72px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: inherit;
    text-decoration: none;
}

.brand-logo {
    width: clamp(42px, 4.2vw, 68px);
    height: clamp(42px, 4.2vw, 68px);
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(42, 155, 168, 0.22));
}

.brand-name {
    letter-spacing: 0.22em;
    font-size: clamp(17px, 1.6vw, 26px);
    font-weight: 700;
    color: #d8f4f2;
    text-shadow: 0 0 28px rgba(42, 155, 168, 0.26);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(8, 11, 13, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.main-nav a {
    color: rgba(245, 242, 236, 0.78);
    text-decoration: none;
    font-size: clamp(12px, 0.85vw, 14px);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #ffffff;
}

.content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: clamp(28px, 5vw, 72px);
    padding-top: 140px;
}

.panel {
    width: min(650px, 100%);
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: rgba(8, 11, 13, 0.56);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.eyebrow {
    margin: 0 0 18px;
    color: #62b8bd;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    max-width: 560px;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.96;
    letter-spacing: -0.06em;
    color: #fffaf2;
}

.intro {
    max-width: 520px;
    margin: 28px 0 0;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.55;
    color: rgba(245, 242, 236, 0.82);
}

.expertise {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(245, 242, 236, 0.64);
    font-size: 14px;
    line-height: 1.5;
}

.expertise p {
    margin: 0;
}

.expertise p + p {
    margin-top: 6px;
}

.contact {
    display: inline-flex;
    margin-top: 30px;
    color: #d8f4f2;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(98, 184, 189, 0.55);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .main-nav {
        max-width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    html,
    body {
        overflow: hidden;
        width: 100%;
        height: 100%;
    }

    .wrap {
        position: fixed;
        inset: 0;
        min-height: 100vh;
        overflow: hidden;
    }

    .bg {
        position: absolute;
        inset: 0;
        object-position: 72% center;
        filter: grayscale(0.05) contrast(1.03) brightness(0.82);
    }

    .veil {
        background:
            linear-gradient(180deg, rgba(5, 7, 9, 0.76) 0%, rgba(5, 7, 9, 0.48) 36%, rgba(5, 7, 9, 0.82) 100%);
        box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.86);
    }

    .site-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 18px 16px 0;
        z-index: 3;
    }

    .brand {
        gap: 12px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-name {
        font-size: 16px;
        letter-spacing: 0.15em;
    }

    .main-nav {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 15px 15px;
        border-radius: 999px;
        overflow: hidden;
    }

    .main-nav a {
        font-size: 10px;
        letter-spacing: 0.045em;
        white-space: nowrap;
        flex: 0 1 auto;
    }

    .main-nav a:last-child {
        display: none;
    }

    .content {
        position: absolute;
        inset: 0;
        min-height: 0;
        padding: 135px 16px 25%;
        display: flex;
        align-items: flex-end;
    }

    .panel {
        width: 100%;
        padding: 22px 20px;
        border-radius: 22px;
        background: rgba(8, 11, 13, 0.68);
    }

    .eyebrow {
        margin-bottom: 13px;
        font-size: 11px;
        letter-spacing: 0.18em;
    }

    h1 {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 0.98;
    }

    .intro {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.45;
    }

    .expertise {
        margin-top: 22px;
        padding-top: 16px;
        font-size: 12px;
        line-height: 1.4;
    }

    .contact {
        margin-top: 18px;
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .site-header {
        padding-top: 14px;
        gap: 12px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 14px;
        letter-spacing: 0.13em;
    }

    .main-nav {
        padding: 15px 10px;
        gap: 6px;
    }

    .main-nav a {
        font-size: 9px;
        letter-spacing: 0.035em;
    }

    .content {
	padding: 118px 14px 25%;
    }
    .panel {
        padding: 18px 17px;
        border-radius: 20px;
    }

    .eyebrow {
        margin-bottom: 10px;
        font-size: 10px;
    }

    h1 {
        font-size: 32px;
    }

    .intro {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.38;
    }

    .expertise {
        margin-top: 16px;
        padding-top: 13px;
        font-size: 11px;
    }

    .contact {
        margin-top: 14px;
        font-size: 12px;
    }
}
