.tagtaly-textlogo {
    --logo-size: 108px;
    --divider-width: max(1px, calc(var(--logo-size) * 0.016));
    display: inline-flex;
    align-items: center;
    gap: calc(var(--logo-size) * 0.1);
    line-height: 1;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: var(--logo-size);
    font-weight: 700;
    letter-spacing: -0.065em;
    user-select: none;
    white-space: nowrap;
    overflow: visible;
    padding: 0.08em 0 0.16em;
}

.tagtaly-textlogo--header {
    --logo-size: 72px;
}

.tagtaly-textlogo--small {
    --logo-size: 52px;
}

.tagtaly-textlogo--large {
    --logo-size: 132px;
}

.tagtaly-textlogo--xl {
    --logo-size: 176px;
}

.tagtaly-textlogo__chunk {
    position: relative;
    display: inline-block;
    padding: 0 0.01em 0.12em;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0.01em 0.012em 0 rgba(255, 255, 255, 0.12);
    filter: drop-shadow(0.012em 0.02em 0 rgba(0, 0, 0, 0.1));
    overflow: visible;
}

.tagtaly-textlogo__chunk::after {
    content: "";
    position: absolute;
    inset: 10% 0 6%;
    opacity: 0.1;
    mix-blend-mode: multiply;
    pointer-events: none;
    background:
        radial-gradient(circle at 24% 34%, rgba(255, 255, 255, 0.9) 0 4%, transparent 5% 100%),
        radial-gradient(circle at 76% 62%, rgba(255, 255, 255, 0.7) 0 3.5%, transparent 4% 100%),
        repeating-linear-gradient(115deg, rgba(12, 12, 12, 0.08) 0 1px, transparent 1px 7px),
        repeating-linear-gradient(16deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 9px);
    border-radius: 0.08em;
    -webkit-mask: linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0);
}

.tagtaly-textlogo__letter {
    display: inline-block;
    overflow: visible;
}

.tagtaly-textlogo__letter--descender {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: none;
    padding-bottom: 0.14em;
    padding-right: 0.05em;
}

.tagtaly-textlogo__letter--descender::after {
    content: none;
}

.tagtaly-textlogo__chunk--tag {
    background-image: linear-gradient(180deg, #6f8bad 0%, #355987 18%, #23446f 54%, #1e3a5f 100%);
}

.tagtaly-textlogo__chunk--taly {
    background-image: linear-gradient(180deg, #d48a73 0%, #bd5a43 18%, #ab4631 54%, #a63d2a 100%);
}

.tagtaly-textlogo__chunk--tag .tagtaly-textlogo__letter--descender {
    background-image: linear-gradient(180deg, #5f7da1 0%, #2f5481 22%, #22436d 56%, #1e3a5f 100%);
}

.tagtaly-textlogo__chunk--taly .tagtaly-textlogo__letter--descender {
    background-image: linear-gradient(180deg, #cf856d 0%, #b9543d 22%, #aa4430 56%, #a63d2a 100%);
}

.tagtaly-textlogo__divider {
    width: var(--divider-width);
    height: calc(var(--logo-size) * 0.98);
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95),
        rgba(30, 30, 30, 0.72) 16%,
        rgba(255, 255, 255, 0.94) 86%,
        rgba(30, 30, 30, 0.7)
    );
    box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.14), 0 0 14px rgba(255, 255, 255, 0.16);
    transform: translateY(0.01em);
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    .tagtaly-textlogo--header {
        --logo-size: 56px;
    }
    .tagtaly-textlogo--large {
        --logo-size: 98px;
    }
    .tagtaly-textlogo--xl {
        --logo-size: 122px;
    }
}
