html {
    scroll-behavior: smooth;
}

.tn-nav-link {
    position: relative;
}

.tn-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #8a140f;
    transition: width .25s ease;
    border-radius: 2px;
}

.tn-nav-link:hover::after {
    width: 100%;
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-down {
    animation: slide-down .2s ease;
}

.tn-message {
    padding: 16px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    transition: opacity .3s ease;
    color: #fff;
    border-radius: 4px;
}

.tn-message-success {
    background: #10b981;
}

.tn-message-error {
    background: #ef4444;
}

.tn-message--compact {
    padding: 14px 16px;
    margin-bottom: 24px;
    font-size: 13px;
}

.tn-btn {
    font-family: 'Agency Gothic CT', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
    white-space: nowrap;
}

.tn-btn:hover {
    transform: translateY(-1px);
}

.tn-btn-primary {
    background: #8a140f;
    color: #fff;
    border-color: #8a140f;
}

.tn-btn-primary:hover {
    background: transparent;
    color: #8a140f;
    border-color: #8a140f;
}

.tn-btn-light {
    background: #fff;
    color: #8a140f;
    border-color: #fff;
}

.tn-btn-light:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.tn-btn-outline {
    background: transparent;
    color: #0a0a0a;
    border-color: #d0d0d0;
}

.tn-btn-outline:hover {
    border-color: #0a0a0a;
    color: #0a0a0a;
}

.tn-btn-outline-light {
    background: transparent;
    color: rgba(255,255,255,0.65);
    border-color: rgba(255,255,255,0.25);
}

.tn-btn-outline-light:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

.tn-sticky-panel {
    position: sticky;
    top: 100px;
}

.tn-link-underline {
    font-family: 'Agency Gothic CT', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 4px;
    transition: gap .2s, border-color .2s, color .2s;
}

.tn-link-underline:hover {
    gap: 18px;
    border-color: #8a140f;
    color: #fff;
}

.tn-link-underline i {
    font-size: 11px;
    color: #8a140f;
}

.tn-panel-cta {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.tn-btn--sm {
    padding: 14px 32px;
    font-size: 12px;
}

.tn-btn--md {
    padding: 13px 28px;
    font-size: 11px;
}

.tn-btn--lg {
    padding: 15px 28px;
    font-size: 12px;
}

.tn-inline-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 48px;
    position: relative;
    overflow: hidden;
}

.tn-inline-cta__pattern {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 10px, rgba(0,0,0,0.04) 10px, rgba(0,0,0,0.04) 11px);
    pointer-events: none;
}

.tn-inline-cta__content {
    position: relative;
    z-index: 1;
}

.tn-inline-cta__title {
    font-family: 'Agency Gothic CT', sans-serif;
    font-size: clamp(20px, 3vw, 34px);
    font-weight: 300;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 8px;
}

.tn-inline-cta__accent {
    color: #8a140f;
}

.tn-inline-cta__muted {
    color: rgba(255,255,255,0.45);
}

.tn-inline-cta__text {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    max-width: 44ch;
}

.tn-inline-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.tn-inline-cta--dark {
    background: #0a0a0a;
    border-left: 4px solid #8a140f;
}

.tn-inline-cta--red {
    background: #8a140f;
    border-left: 4px solid #0a0a0a;
}

.tn-inline-cta--dark .tn-inline-cta__text {
    color: rgba(255,255,255,0.35);
}