:root {
    --bg: #020202;
    --panel: #0b0b0b;
    --panel-2: #101010;
    --panel-3: #141414;

    --line: #1a1a1a;
    --line-2: #242424;
    --line-3: rgba(255, 255, 255, .07);

    --text: #f3f3f3;
    --muted: #a7a7ad;
    --muted-2: #7f7f87;

    --accent: #7b4dff;
    --accent-soft: rgba(123, 77, 255, .08);
    --accent-border: rgba(123, 77, 255, .22);

    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, system-ui, sans-serif;
    background: linear-gradient(180deg, #090909 0%, #050505 42%, #020202 100%);
    position: relative;
    overflow-x: hidden;
}

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

.bg-fx {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
}

.page-center {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.page-top {
    align-items: start;
}

.shell-card {
    position: relative;
    width: min(540px, 100%);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .012), rgba(255, 255, 255, .004)),
        linear-gradient(180deg, #0c0c0c, #080808);
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .55),
        inset 0 1px 0 rgba(255, 255, 255, .02);
    overflow: hidden;
}

.contact-card {
    width: min(1100px, 100%);
}

.card-outline {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, .03);
    z-index: 1;
}

.card-outline::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123, 77, 255, .22), transparent);
    opacity: .9;
}

.card-head {
    position: relative;
    z-index: 2;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    background: linear-gradient(180deg, rgba(255, 255, 255, .012), rgba(255, 255, 255, 0));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.card-body {
    position: relative;
    z-index: 2;
    padding: 22px;
}

.home-card .card-body {
    padding: 28px 22px 22px;
}

.contact-body {
    display: grid;
    gap: 14px;
}

.brand-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.brand-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-inline__text {
    min-width: 0;
}

.logo-wrap {
    position: relative;
    width: 156px;
    height: 156px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}

.logo-wrap.small {
    width: 84px;
    height: 84px;
    margin: 0;
}

.logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .02), transparent 62%);
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .006);
}

.logo-ring::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1px dashed rgba(123, 77, 255, .18);
    animation: slowRotate 42s linear infinite;
}

.logo {
    position: relative;
    z-index: 2;
    width: 74%;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 16px 28px rgba(0, 0, 0, .72)) drop-shadow(0 1px 0 rgba(255, 255, 255, .025));
}

.logo.small {
    width: 70%;
}

.name {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.45rem);
    line-height: 1.05;
    letter-spacing: .01em;
    font-weight: 700;
    position: relative;
}

.name::after {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: rgba(123, 77, 255, .75);
}

.tag {
    margin: 7px 0 18px;
    color: var(--muted-2);
    font-size: .82rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.contact-name {
    font-size: 1.35rem;
    margin: 0;
}

.contact-name::after {
    width: 34px;
    margin: 8px 0 0;
}

.contact-tag {
    margin: 2px 0 0;
    font-size: .72rem;
}

.stack {
    width: 100%;
    display: grid;
    gap: 10px;
}

.row-link {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, .012), rgba(255, 255, 255, .006));
    border: 1px solid rgba(255, 255, 255, .05);
    color: var(--muted);
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        color .16s ease,
        box-shadow .16s ease;
    overflow: hidden;
}

.row-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    opacity: .6;
    transition: background .16s ease, opacity .16s ease;
}

.row-link:hover {
    transform: translateY(-2px);
    color: var(--text);
    border-color: rgba(255, 255, 255, .10);
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.row-link:hover::before {
    background: rgba(123, 77, 255, .9);
    opacity: 1;
}

.row-link.is-active {
    color: var(--text);
    border-color: var(--accent-border);
    background: linear-gradient(180deg, rgba(123, 77, 255, .05), rgba(255, 255, 255, .01));
}

.row-link.is-active::before {
    background: rgba(123, 77, 255, .95);
    opacity: 1;
}

.row-link.compact {
    min-height: 50px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.row-link__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.row-link__left span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.row-link__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    flex: 0 0 auto;
}

.row-link.is-active .row-link__dot {
    background: rgba(123, 77, 255, .9);
}

.row-link__right {
    color: #d0d0d5;
    opacity: .85;
    font-size: 1rem;
    flex: 0 0 auto;
}

.chip-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.chip-link {
    color: var(--muted);
    border: 1px solid transparent;
    background: #0a0a0a;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: .15s ease;
    font-size: .92rem;
}

.chip-link:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, .08);
}

.chip-link.is-active {
    color: var(--text);
    border-color: rgba(123, 77, 255, .28);
    background: #101010;
}

.panel-block {
    border: 1px solid rgba(255, 255, 255, .05);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .008), rgba(255, 255, 255, .003)),
        #0a0a0a;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.panel-block__head {
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    background: linear-gradient(180deg, rgba(255, 255, 255, .01), rgba(255, 255, 255, 0));
}

.panel-block__head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.panel-block__head p {
    margin: 4px 0 0;
    color: var(--muted-2);
    font-size: .86rem;
}

.contact-grid {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.booksy-frame {
    padding: 12px;
}

.booksy-wrap {
    min-height: 680px;
    border: 1px solid #171717;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #070707, #050505);
}

.booksy-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    overflow: hidden;
    border-radius: 14px;
}

.booksy-widget-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 680px;
    border: 0 !important;
    background: #000;
    border-radius: 14px;
}

@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .chip-nav {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .page-center {
        padding: 14px;
    }

    .home-card .card-body,
    .card-body {
        padding: 18px 14px 14px;
    }

    .card-head {
        padding: 14px;
    }

    .logo-wrap {
        width: 132px;
        height: 132px;
    }

    .name {
        font-size: 1.85rem;
    }

    .row-link {
        padding: 13px 12px 13px 14px;
    }

    .booksy-widget-container iframe {
        min-height: 620px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-ring::before {
        animation: none !important;
    }
}