/* Newline popup + permanent banner — delete this file after Newline 2026 */
@font-face {
    font-family: "Brother";
    src: url("/fonts/brother-bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.newline-popup {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", "Arial", sans-serif;
}

.newline-popup.hidden {
    display: none;
}

.newline-popup__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: newlineFadeIn 0.3s ease-out;
}

.newline-popup__dialog {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 3rem 2.5rem 2.5rem;
    color: #fff;
    text-align: center;
    background: linear-gradient(180deg, #ff5a6e 0%, #ff7a58 35%, #ffa048 70%, #ffb640 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: newlinePopIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-x: hidden;
}

@keyframes newlineFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes newlinePopIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.newline-popup__close {
    position: absolute;
    top: 12px;
    right: 18px;
    z-index: 3;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: #fff5e6;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.newline-popup__close:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #ff5a6e;
    transform: rotate(90deg);
}

.newline-popup__logo {
    position: relative;
    z-index: 2;
    display: block;
    width: clamp(240px, 70%, 480px);
    height: auto;
    margin: 0 auto 1.25rem;
}

.newline-popup__date {
    position: relative;
    z-index: 2;
    font-family: "Brother", sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: bold;
    text-transform: uppercase;
    color: #fff5e6;
    margin: 0.25rem 0;
}

.newline-popup__location {
    position: relative;
    z-index: 2;
    font-family: "Brother", sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: bold;
    text-transform: uppercase;
    color: #fff5e6;
    margin: 0.25rem 0 1.5rem;
    opacity: 0.95;
}

.newline-popup__tagline {
    position: relative;
    z-index: 2;
    font-family: "Brother", sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.3;
    color: #fff5e6;
    max-width: 560px;
    margin: 0 auto 2rem;
}

.newline-popup__description {
    position: relative;
    z-index: 2;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 560px;
    margin: 0 auto 2rem;
}

.newline-popup__buttons {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.newline-popup__cta {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-family: "Brother", sans-serif;
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-bottom: none;
}

.newline-popup__cta--primary {
    background: rgba(255, 255, 255, 0.95);
    color: #ff5a6e;
    border: 2px solid rgba(255, 255, 255, 0.95);
}

.newline-popup__cta--primary:hover {
    background: #fff5e6;
    color: #ff5a6e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.newline-popup__cta--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff5e6;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.newline-popup__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff5e6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.newline-popup__floaters {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.newline-float {
    position: absolute;
    width: clamp(44px, 7vw, 78px);
    opacity: 0.55;
    filter: brightness(0) invert(1);
}

.newline-float--1 { top: 6%;  left: 3%;  animation: newlineFloat 6s ease-in-out infinite; }
.newline-float--2 { top: 10%; right: 4%; animation: newlineFloatAlt 7s ease-in-out infinite 0.5s; }
.newline-float--3 { bottom: 3%; left: 2%; animation: newlineFloat 7.5s ease-in-out infinite 1s; }
.newline-float--4 { bottom: 3%; right: 2%; animation: newlineFloatAlt 6.5s ease-in-out infinite 1.5s; }
.newline-float--5 { top: 42%; right: 2%; animation: newlineFloat 8s ease-in-out infinite 0.8s; }

@keyframes newlineFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-14px) rotate(5deg); }
}

@keyframes newlineFloatAlt {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-18px) rotate(-5deg); }
}

@media (max-width: 600px) {
    .newline-popup__dialog {
        padding: 2.5rem 1.5rem 2rem;
        border-radius: 18px;
    }
    .newline-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .newline-popup__backdrop,
    .newline-popup__dialog,
    .newline-float {
        animation: none !important;
        transition: none !important;
    }
}

/* Permanent Newline banner on homepage */
.newline-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.75rem;
    margin: 1.5rem 0 1rem;
    background: linear-gradient(90deg, #ff5a6e 0%, #ff7a58 35%, #ffa048 70%, #ffb640 100%);
    border: none !important;
    border-radius: 16px;
    color: #fff5e6;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 90, 110, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", "Arial", sans-serif;
}

.newline-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 90, 110, 0.4);
    color: #fff5e6;
}

.newline-banner__logo {
    width: clamp(140px, 18vw, 200px);
    height: auto;
    flex-shrink: 0;
}

.newline-banner__info {
    flex: 1;
    min-width: 0;
}

.newline-banner__date {
    font-family: "Brother", sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: bold;
    text-transform: uppercase;
    color: #fff5e6;
    margin: 0;
    line-height: 1.1;
}

.newline-banner__location {
    font-family: "Brother", sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: bold;
    text-transform: uppercase;
    color: #fff5e6;
    margin: 0.35rem 0 0;
    opacity: 0.9;
    line-height: 1.1;
}

.newline-banner__cta {
    font-family: "Brother", sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.7rem 1.4rem;
    background: rgba(255, 255, 255, 0.95);
    color: #ff5a6e;
    border-radius: 50px;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.newline-banner:hover .newline-banner__cta {
    background: #fff5e6;
}

@media (max-width: 600px) {
    .newline-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem;
    }
}
