/* ============================================================
   NK Vogelfluiten — dedicated page styling
   Scrapbook of the championship: playful hero + editions
   timeline + newspaper-clipping press coverage.
   Brand display: Londrina Solid. Editorial serif: Fraunces.
   ============================================================ */

.nk-page {
    --nk-paper: #fbf7ee;
    --nk-ink: #4a3a33;
    --nk-line: rgba(74, 58, 51, 0.14);
    /* Match the rest of the site: one playful display face everywhere. */
    --nk-serif: 'Londrina Solid', sans-serif;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 0 4rem;
    color: var(--nk-ink);
}

/* ---------- HERO ---------- */
.nk-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 3.5rem 1.5rem 3rem;
    margin-bottom: 3.5rem;
    border-radius: 26px;
    background:
        radial-gradient(120% 120% at 50% -10%, rgba(255, 245, 104, 0.55), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88));
    box-shadow: 0 18px 50px rgba(74, 58, 51, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* concentric "whistle waves" emanating behind the title */
.nk-hero__waves {
    position: absolute;
    top: -40px;
    left: 50%;
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: 0;
}
.nk-hero__waves span {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: nkRipple 4s ease-out infinite;
}
.nk-hero__waves span:nth-child(1) { width: 220px; height: 220px; animation-delay: 0s;   border-color: var(--secondary-color); }
.nk-hero__waves span:nth-child(2) { width: 220px; height: 220px; animation-delay: 1.3s; border-color: var(--primary-color); }
.nk-hero__waves span:nth-child(3) { width: 220px; height: 220px; animation-delay: 2.6s; border-color: var(--blue-color); }
@keyframes nkRipple {
    0%   { width: 60px; height: 60px; opacity: 0.7; }
    100% { width: 560px; height: 560px; opacity: 0; }
}

.nk-hero > * { position: relative; z-index: 1; }

.nk-hero__kicker {
    font-family: var(--header-font);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: var(--blue-color);
    margin-bottom: 0.4rem;
}
.nk-hero__title {
    font-family: var(--header-font);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    line-height: 0.92;
    color: var(--secondary-color);
    margin: 0;
    text-shadow: 4px 4px 0 rgba(132, 237, 125, 0.55);
}
.nk-hero__title::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    border-radius: 4px;
    background: var(--primary-color);
    margin: 0.7rem auto 0;
}
.nk-hero__tagline {
    font-family: var(--header-font);
    font-size: clamp(1.3rem, 3.2vw, 2rem);
    color: var(--earth-text);
    margin: 0.6rem 0 1.4rem;
}
.nk-hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
}
.nk-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 2px solid var(--nk-line);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-family: var(--header-font);
    font-size: 1rem;
    color: var(--earth-text);
}
.nk-pill i { color: var(--secondary-color); }
.nk-hero__intro {
    max-width: 62ch;
    margin: 0 auto;
    font-family: var(--nk-serif);
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--earth-text);
}
.nk-hero__intro + .nk-hero__intro { margin-top: 0.9rem; }
.nk-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.8rem;
    background: var(--secondary-color);
    color: #fff;
    font-family: var(--header-font);
    font-size: 1.15rem;
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 0 rgba(194, 58, 134, 0.45);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.nk-hero__cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 0 rgba(194, 58, 134, 0.45);
}
.nk-hero__cta:active { transform: translateY(4px); box-shadow: 0 4px 0 rgba(194, 58, 134, 0.45); }

/* ---------- EDITIONS TIMELINE ---------- */
.nk-editions {
    position: relative;
    padding-left: 0;
}
/* the spine */
.nk-editions::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 4px;
    background: repeating-linear-gradient(
        180deg,
        var(--primary-color) 0 14px,
        transparent 14px 26px
    );
}

.nk-edition {
    position: relative;
    padding-left: 78px;
    margin-bottom: 2.6rem;
    opacity: 0;
    animation: nkFadeUp 0.6s ease forwards;
    animation-delay: calc(var(--i, 0) * 140ms);
}
/* per-edition accent palette */
.nk-edition--a { --nk-accent: #FF6DC3; --nk-accent-ink: #c23a86; }
.nk-edition--b { --nk-accent: #84ED7D; --nk-accent-ink: #2f8f3f; }
.nk-edition--c { --nk-accent: #76BFE9; --nk-accent-ink: #2f7fb0; }

/* year node on the spine */
.nk-edition__node {
    position: absolute;
    left: 0;
    top: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--nk-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--header-font);
    color: var(--nk-accent-ink);
    box-shadow: 0 6px 16px rgba(74, 58, 51, 0.18);
    z-index: 2;
}
.nk-edition__node i { font-size: 1.5rem; }

.nk-edition__card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 12px 34px rgba(74, 58, 51, 0.14);
    border-top: 7px solid var(--nk-accent);
}

.nk-edition__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}
.nk-edition__title {
    font-family: var(--header-font);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    margin: 0;
    color: var(--earth-text);
}
.nk-edition__title b { color: var(--nk-accent-ink); }
.nk-edition__when {
    font-family: var(--header-font);
    font-size: 1.05rem;
    color: var(--earth-text);
    opacity: 0.8;
}
.nk-edition__when i { color: var(--nk-accent-ink); margin-right: 0.25rem; }
.nk-edition__when .nk-dot { margin: 0 0.4rem; opacity: 0.5; }

/* winner medal */
.nk-winner {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.1rem;
    padding: 0.55rem 1.1rem 0.55rem 0.6rem;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--nk-accent), #fff 320%);
    border: 2px solid var(--nk-accent);
}
.nk-winner__medal {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yellow-color);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--earth-text);
    box-shadow: 0 2px 6px rgba(74, 58, 51, 0.25);
    flex: none;
}
.nk-winner__label {
    font-family: var(--header-font);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: var(--nk-accent-ink);
    display: block;
    line-height: 1;
    margin-bottom: 2px;
}
.nk-winner__name {
    font-family: var(--header-font);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--earth-text);
}

.nk-edition__image {
    margin-top: 1.3rem;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(74, 58, 51, 0.16);
}
.nk-edition__image img { display: block; width: 100%; height: auto; }

.nk-edition__desc {
    margin-top: 1.2rem;
    font-family: var(--nk-serif);
    font-size: 1.18rem;
    line-height: 1.5;
    color: var(--earth-text);
}
.nk-edition__desc p:last-child { margin-bottom: 0; }
.nk-edition__desc a { color: var(--nk-accent-ink); }

/* press coverage heading */
.nk-press-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.6rem 0 1rem;
    font-family: var(--header-font);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.85rem;
    color: var(--earth-text);
}
.nk-press-heading::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--nk-line);
}

/* clippings grid */
.nk-clippings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nk-clip {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--nk-paper);
    border: 1px solid var(--nk-line);
    border-radius: 10px;
    padding: 1.1rem 1rem 0.9rem;
    text-decoration: none;
    color: var(--nk-ink);
    box-shadow: 0 4px 12px rgba(74, 58, 51, 0.1);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
/* faint ruled-paper texture */
.nk-clip::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background-image: linear-gradient(transparent 95%, var(--nk-line) 95%);
    background-size: 100% 1.5em;
    opacity: 0.4;
    pointer-events: none;
}
.nk-clip:hover {
    transform: translateY(-5px) rotate(-0.6deg);
    box-shadow: 0 16px 30px rgba(74, 58, 51, 0.2);
    border-color: var(--nk-accent);
    color: var(--nk-ink);
}
.nk-clip__source {
    font-family: var(--header-font);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--nk-accent-ink);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.nk-clip__source::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--nk-accent);
    flex: none;
}
.nk-clip__title {
    font-family: var(--nk-serif);
    font-size: 1.18rem;
    line-height: 1.18;
    margin: 0 0 0.9rem;
    color: var(--earth-text);
    position: relative;
    z-index: 1;
}
.nk-clip__read {
    margin-top: auto;
    font-family: var(--header-font);
    font-size: 0.9rem;
    color: var(--nk-accent-ink);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}
.nk-clip:hover .nk-clip__read i { transform: translateX(3px); }
.nk-clip__read i { transition: transform 0.16s ease; }

.nk-empty {
    text-align: center;
    font-family: var(--nk-serif);
    color: var(--earth-text);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 2.5rem;
}

/* ---------- FLASH MESSAGES ---------- */
.nk-messages { margin-bottom: 1.5rem; }
.nk-message {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--header-font);
    font-size: 1.15rem;
    padding: 0.9rem 1.3rem;
    border-radius: 14px;
    background: #fff;
    border-left: 7px solid var(--primary-color);
    box-shadow: 0 8px 22px rgba(74, 58, 51, 0.14);
    color: var(--earth-text);
}
.nk-message i { color: #2f8f3f; font-size: 1.3rem; }
.nk-message--error { border-left-color: var(--secondary-color); }
.nk-message--error i { color: #c23a86; }

/* ---------- SIGNUP BAND ---------- */
.nk-signup {
    position: relative;
    overflow: hidden;
    margin-top: 3.5rem;
    padding: 2.8rem 2rem 3rem;
    border-radius: 26px;
    background:
        radial-gradient(120% 130% at 100% 0%, rgba(118, 191, 233, 0.5), transparent 55%),
        linear-gradient(135deg, var(--primary-color), #5fd87f);
    box-shadow: 0 18px 50px rgba(47, 143, 63, 0.28);
}
.nk-signup__waves { position: absolute; top: 0; right: 0; width: 1px; height: 1px; pointer-events: none; }
.nk-signup__waves span {
    position: absolute;
    right: 0; top: 0;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(50%, -50%);
    animation: nkRipple2 5s ease-out infinite;
}
.nk-signup__waves span:nth-child(2) { animation-delay: 2s; }
@keyframes nkRipple2 {
    0% { width: 40px; height: 40px; opacity: 0.6; }
    100% { width: 420px; height: 420px; opacity: 0; }
}

.nk-signup__body { position: relative; z-index: 1; max-width: 640px; }
.nk-signup__kicker {
    font-family: var(--header-font);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    color: var(--earth-text);
    margin-bottom: 0.3rem;
}
.nk-signup__title {
    font-family: var(--header-font);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    color: #fff;
    margin: 0 0 0.5rem;
    text-shadow: 3px 3px 0 rgba(47, 143, 63, 0.45);
}
.nk-signup__lead {
    font-family: var(--nk-serif);
    font-size: 1.3rem;
    line-height: 1.4;
    color: #2a4a30;
    margin-bottom: 1.5rem;
}
.nk-signup__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.nk-field__label {
    display: block;
    font-family: var(--header-font);
    font-size: 0.95rem;
    color: var(--earth-text);
    margin-bottom: 0.25rem;
}
.nk-signup .form-control {
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-family: var(--nk-serif);
    font-size: 1.02rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--nk-ink);
}
.nk-signup .form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 109, 195, 0.3);
}
.nk-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.4rem;
}
.nk-consent .form-check-input {
    width: 1.3em;
    height: 1.3em;
    margin-top: 0.1em;
    flex: none;
    cursor: pointer;
    accent-color: var(--secondary-color);
}
.nk-consent__label {
    font-family: var(--nk-serif);
    font-size: 1rem;
    line-height: 1.4;
    color: #2a4a30;
    cursor: pointer;
}
.nk-field__error {
    color: #8a1f4f;
    background: rgba(255, 255, 255, 0.85);
    font-family: var(--header-font);
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
    margin-top: 0.4rem;
    display: inline-block;
}
.nk-captcha { margin: 0.8rem 0; }
.nk-signup__submit {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    font-family: var(--header-font);
    font-size: 1.25rem;
    padding: 0.65rem 2rem;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 8px 0 rgba(194, 58, 134, 0.5);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.nk-signup__submit:hover { transform: translateY(-2px); box-shadow: 0 10px 0 rgba(194, 58, 134, 0.5); }
.nk-signup__submit:active { transform: translateY(4px); box-shadow: 0 4px 0 rgba(194, 58, 134, 0.5); }

@keyframes nkFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .nk-editions::before { left: 18px; }
    .nk-edition { padding-left: 56px; }
    .nk-edition__node { width: 44px; height: 44px; }
    .nk-edition__node i { font-size: 1.1rem; }
    .nk-edition__card { padding: 1.3rem; }
    .nk-signup__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .nk-edition { opacity: 1; animation: none; }
    .nk-hero__waves span,
    .nk-signup__waves span { animation: none; display: none; }
    .nk-clip:hover { transform: none; }
}
