:root {
    --tagtaly-blue: #0072cc;
}

.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.navbar-brand {
    color: #111827 !important;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-brand span {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.tagtaly-textlogo {
    --logo-size: 2.3rem;
    --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: "Fraunces", "Newsreader", 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__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;
}

.nav-link {
    color: #64748b !important;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #111827 !important;
}

.site-footer {
    background-color: #111827;
    color: #fff;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 4px solid var(--tagtaly-blue);
}

.site-footer a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #3b42d4;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 1.25rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    background-color: #64748b;
    color: #fff !important;
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
