/* Namya: corporate group theme. Every class starts with ny- */

/* ---------- Colours and measures ---------- */
:root {
    --ny-font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ny-bg: #ffffff;
    --ny-surface: #ffffff;
    --ny-soft-bg: #eef5fd;
    --ny-gray-bg: #f3f5f8;
    --ny-ink: #0b2545;
    --ny-text: #34425a;
    --ny-muted-base: #5b6a81;
    --ny-line: #e1e7ef;
    --ny-line-strong: #cdd7e3;
    --ny-link-base: var(--ny-primary-ink);
    --ny-navy-mark: #0b2545;
    --ny-amber: #e8a33d;
    --ny-teal: #0f8b8d;
    --ny-crimson: #b23a48;
    --ny-indigo: #4f46b8;
    --ny-amber-ink: #95570a;
    --ny-teal-ink: #0b6e70;
    --ny-crimson-ink: #a3303e;
    --ny-indigo-ink: #4038a8;
    --ny-amber-tint: #fdf1dc;
    --ny-teal-tint: #dcf2f2;
    --ny-crimson-tint: #fbe6e9;
    --ny-indigo-tint: #ebe9fc;
    --ny-live: #1b7f4f;
    --ny-live-bg: #e1f4ea;
    --ny-soon: #8a560b;
    --ny-soon-bg: #fcefd9;
    --ny-error: #a32630;
    --ny-error-bg: #fdeaea;
    --ny-shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
    --ny-shadow: 0 1px 2px rgba(11, 37, 69, 0.05), 0 14px 34px -14px rgba(11, 37, 69, 0.22);
    --ny-shadow-lg: 0 28px 64px -28px rgba(11, 37, 69, 0.42);
    --ny-ring: rgba(10, 91, 181, 0.4);
    --ny-radius: 16px;
    --ny-radius-lg: 22px;
    --ny-header-bg: var(--ny-site-header-bg, #ffffff);
    --ny-header-text: var(--ny-site-header-text, #0b2545);
    --ny-footer-bg: var(--ny-site-footer-bg, #f3f5f8);
    --ny-footer-text: var(--ny-site-footer-text, #34425a);
    --ny-muted: var(--ny-muted-base);
    --ny-link: var(--ny-link-base);
    --ny-heading: var(--ny-ink);
}

[data-mode="dark"] {
    --ny-bg: #08121f;
    --ny-surface: #0f1d31;
    --ny-soft-bg: #0d2039;
    --ny-gray-bg: #0b1829;
    --ny-ink: #f1f5fb;
    --ny-text: #c6d1e0;
    --ny-muted-base: #97a6bc;
    --ny-line: #1d2e47;
    --ny-line-strong: #2b3f5d;
    --ny-link-base: #8cc2ff;
    --ny-navy-mark: #9fc0ea;
    --ny-amber-ink: #f2b964;
    --ny-teal-ink: #55c9cb;
    --ny-crimson-ink: #f28896;
    --ny-indigo-ink: #aea8f7;
    --ny-amber-tint: rgba(232, 163, 61, 0.16);
    --ny-teal-tint: rgba(15, 139, 141, 0.2);
    --ny-crimson-tint: rgba(178, 58, 72, 0.2);
    --ny-indigo-tint: rgba(79, 70, 184, 0.24);
    --ny-live: #6fd6a3;
    --ny-live-bg: rgba(27, 127, 79, 0.2);
    --ny-soon: #f3c27a;
    --ny-soon-bg: rgba(232, 163, 61, 0.16);
    --ny-error: #ff9aa2;
    --ny-error-bg: rgba(163, 38, 48, 0.22);
    --ny-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --ny-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 16px 36px -16px rgba(0, 0, 0, 0.7);
    --ny-shadow-lg: 0 30px 70px -28px rgba(0, 0, 0, 0.8);
    --ny-ring: rgba(140, 194, 255, 0.55);
    --ny-header-bg: var(--ny-site-header-bg, #0b1626);
    --ny-header-text: var(--ny-site-header-text, #f1f5fb);
    --ny-footer-bg: var(--ny-site-footer-bg, #060e19);
    --ny-footer-text: var(--ny-site-footer-text, #c6d1e0);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    [data-mode="auto"] {
        --ny-bg: #08121f;
        --ny-surface: #0f1d31;
        --ny-soft-bg: #0d2039;
        --ny-gray-bg: #0b1829;
        --ny-ink: #f1f5fb;
        --ny-text: #c6d1e0;
        --ny-muted-base: #97a6bc;
        --ny-line: #1d2e47;
        --ny-line-strong: #2b3f5d;
        --ny-link-base: #8cc2ff;
        --ny-navy-mark: #9fc0ea;
        --ny-amber-ink: #f2b964;
        --ny-teal-ink: #55c9cb;
        --ny-crimson-ink: #f28896;
        --ny-indigo-ink: #aea8f7;
        --ny-amber-tint: rgba(232, 163, 61, 0.16);
        --ny-teal-tint: rgba(15, 139, 141, 0.2);
        --ny-crimson-tint: rgba(178, 58, 72, 0.2);
        --ny-indigo-tint: rgba(79, 70, 184, 0.24);
        --ny-live: #6fd6a3;
        --ny-live-bg: rgba(27, 127, 79, 0.2);
        --ny-soon: #f3c27a;
        --ny-soon-bg: rgba(232, 163, 61, 0.16);
        --ny-error: #ff9aa2;
        --ny-error-bg: rgba(163, 38, 48, 0.22);
        --ny-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
        --ny-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 16px 36px -16px rgba(0, 0, 0, 0.7);
        --ny-shadow-lg: 0 30px 70px -28px rgba(0, 0, 0, 0.8);
        --ny-ring: rgba(140, 194, 255, 0.55);
        --ny-header-bg: var(--ny-site-header-bg, #0b1626);
        --ny-header-text: var(--ny-site-header-text, #f1f5fb);
        --ny-footer-bg: var(--ny-site-footer-bg, #060e19);
        --ny-footer-text: var(--ny-site-footer-text, #c6d1e0);
        color-scheme: dark;
    }
}

/* Links in the dark look: a light tint of the site's own colour where the browser can mix one */
@supports (color: color-mix(in srgb, red, blue)) {
    [data-mode="dark"] {
        --ny-link-base: color-mix(in srgb, var(--ny-primary) 42%, #ffffff);
    }
    @media (prefers-color-scheme: dark) {
        [data-mode="auto"] {
            --ny-link-base: color-mix(in srgb, var(--ny-primary) 42%, #ffffff);
        }
    }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 104px;
}

body {
    margin: 0;
    background: var(--ny-bg);
    color: var(--ny-text);
    font-family: var(--ny-font);
    font-size: 1.125rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--ny-link);
}

h1,
h2,
h3,
h4 {
    color: var(--ny-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.5em;
}

h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem);
}

h3 {
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

::selection {
    background: rgba(10, 91, 181, 0.2);
}

:focus-visible {
    outline: 3px solid var(--ny-ring);
    outline-offset: 3px;
}

.ny-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ny-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ny-ink);
    color: var(--ny-bg);
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s;
}

.ny-skip:focus {
    top: 12px;
}

.ny-wrap {
    width: min(calc(100% - 32px), 1200px);
    margin-inline: auto;
}

@media (min-width: 768px) {
    .ny-wrap {
        width: min(calc(100% - 64px), 1200px);
    }
}

/* ---------- Buttons ---------- */
.ny-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border: 2px solid var(--ny-primary);
    border-radius: 999px;
    background: var(--ny-primary);
    color: var(--ny-on-primary);
    font: 700 1rem/1.2 var(--ny-font);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.ny-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ny-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -12px rgba(10, 91, 181, 0.7);
}

.ny-btn:hover svg {
    transform: translateX(3px);
}

.ny-btn--small {
    padding: 9px 18px;
    font-size: 0.95rem;
}

.ny-btn--large {
    padding: 16px 32px;
    font-size: 1.08rem;
}

.ny-btn--ghost {
    background: transparent;
    border-color: currentColor;
    color: var(--ny-link);
}

.ny-btn--ghost:hover {
    box-shadow: none;
    background: var(--ny-soft-bg);
}

.ny-btn--line {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.92);
    color: #ffffff;
}

.ny-btn--line:hover {
    background: #ffffff;
    color: #0b2545;
    box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.5);
}

/* On a coloured band a solid button turns white */
.ny-sec--primary .ny-btn:not(.ny-btn--line),
.ny-sec--accent .ny-btn:not(.ny-btn--line),
.ny-sec--image .ny-btn:not(.ny-btn--line),
.ny-sec--on-dark .ny-btn:not(.ny-btn--line) {
    background: #ffffff;
    border-color: #ffffff;
    color: #0b2545;
}

.ny-sec--on-dark .ny-hero:not(.ny-hero--on-dark) .ny-btn {
    background: transparent;
    color: #ffffff;
}

/* ---------- Announcement ---------- */
.ny-announce {
    background: var(--ny-accent);
    color: var(--ny-on-accent);
    font-size: 0.92rem;
    line-height: 1.4;
    text-align: center;
}

.ny-announce a,
.ny-announce span {
    color: inherit;
}

.ny-announce a,
.ny-announce .ny-wrap > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    text-decoration: none;
    font-weight: 600;
}

.ny-announce a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ny-announce__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ny-amber);
    box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.25);
    flex-shrink: 0;
}

.ny-announce__arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---------- Header ---------- */
.ny-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ny-header-bg);
    color: var(--ny-header-text);
    border-bottom: 1px solid var(--ny-line);
    transition: box-shadow 0.25s ease;
}

.ny-header.is-stuck {
    box-shadow: 0 10px 30px -20px rgba(11, 37, 69, 0.45);
}

.ny-header__row {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 78px;
}

.ny-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.ny-logo__mark {
    width: 36px;
    height: 32px;
    flex-shrink: 0;
}

.ny-logo__mark-out {
    fill: currentColor;
}

.ny-logo__mark-in {
    fill: var(--ny-primary);
}

.ny-logo__words {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ny-logo__name {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.ny-logo__tag {
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.68;
}

.ny-logo__img {
    display: block;
    max-height: 46px;
    width: auto;
}

.ny-menu-switch {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.ny-burger {
    display: none;
}

.ny-nav {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 16px;
    min-width: 0;
}

.ny-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.ny-nav__item {
    position: relative;
}

.ny-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    color: inherit;
    font-size: 1.02rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ny-nav__link::-webkit-details-marker {
    display: none;
}

.ny-nav__link:hover,
.ny-drop[open] > .ny-nav__link {
    background: rgba(10, 91, 181, 0.08);
}

.ny-nav__icon {
    width: 18px;
    height: 18px;
}

.ny-chev {
    width: 12px;
    height: 12px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.ny-drop[open] > summary .ny-chev {
    transform: rotate(180deg);
}

.ny-out {
    width: 11px;
    height: 11px;
    margin-left: 2px;
    opacity: 0.65;
    vertical-align: baseline;
}

.ny-drop {
    position: relative;
}

.ny-drop__panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 60;
    min-width: 250px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: var(--ny-surface);
    border: 1px solid var(--ny-line);
    border-radius: 14px;
    box-shadow: var(--ny-shadow-lg);
}

.ny-drop__panel::before {
    content: "";
    position: absolute;
    top: -13px;
    left: 0;
    right: 0;
    height: 13px;
}

.ny-drop--end .ny-drop__panel {
    left: auto;
    right: 0;
}

.ny-drop__panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--ny-ink);
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.ny-drop__panel a:hover {
    background: var(--ny-soft-bg);
    color: var(--ny-link-base);
}

.ny-nav__end {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ny-nav__link--quiet {
    font-weight: 600;
}

.ny-nav__contact {
    display: flex;
    gap: 14px;
    font-size: 0.9rem;
}

.ny-nav__contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.ny-nav__contact svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1140px) {
    .ny-header__row {
        position: relative;
        min-height: 70px;
    }

    .ny-burger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 46px;
        height: 46px;
        margin-left: auto;
        padding: 0 11px;
        border: 1px solid var(--ny-line);
        border-radius: 12px;
        cursor: pointer;
    }

    .ny-burger span {
        display: block;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .ny-menu-switch:focus-visible + .ny-burger {
        outline: 3px solid var(--ny-ring);
        outline-offset: 2px;
    }

    .ny-menu-switch:checked + .ny-burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .ny-menu-switch:checked + .ny-burger span:nth-child(2) {
        opacity: 0;
    }

    .ny-menu-switch:checked + .ny-burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .ny-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: -16px;
        right: -16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        padding: 8px 16px 24px;
        background: var(--ny-header-bg);
        border-bottom: 1px solid var(--ny-line);
        box-shadow: 0 24px 40px -24px rgba(11, 37, 69, 0.45);
    }

    .ny-menu-switch:checked ~ .ny-nav {
        display: flex;
    }

    .ny-nav__list {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
    }

    .ny-nav__item {
        border-bottom: 1px solid var(--ny-line);
    }

    .ny-nav__link {
        display: flex;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
        padding: 14px 4px;
        font-size: 1.08rem;
    }

    .ny-nav__link .ny-chev {
        margin-left: auto;
    }

    .ny-nav__link:hover,
    .ny-drop[open] > .ny-nav__link {
        background: transparent;
    }

    .ny-drop__panel {
        position: static;
        min-width: 0;
        padding: 0 0 10px 10px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .ny-drop__panel::before {
        display: none;
    }

    .ny-drop__panel a {
        color: inherit;
        white-space: normal;
    }

    .ny-nav__end {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 10px;
    }

    .ny-nav__end .ny-drop {
        border-bottom: 1px solid var(--ny-line);
    }

    .ny-nav__cta {
        width: 100%;
        padding: 13px 20px;
    }

    .ny-nav__contact {
        flex-direction: column;
        padding-top: 14px;
    }
}

@media (min-width: 1141px) {
    .ny-menu-switch {
        display: none;
    }
}

@media (max-width: 480px) {
    .ny-logo__tag {
        display: none;
    }

    .ny-logo__name {
        font-size: 1.08rem;
    }
}

/* ---------- Sections ---------- */
.ny-main {
    display: block;
}

.ny-sec {
    position: relative;
    --ny-sec-bg: var(--ny-bg);
    background-color: var(--ny-sec-bg);
    color: var(--ny-text);
}

.ny-sec--soft {
    --ny-sec-bg: var(--ny-soft-bg);
}

.ny-sec--gray {
    --ny-sec-bg: var(--ny-gray-bg);
}

.ny-sec--primary {
    --ny-sec-bg: var(--ny-primary);
    --ny-heading: var(--ny-on-primary);
    --ny-muted: var(--ny-on-primary);
    --ny-link: var(--ny-on-primary);
    color: var(--ny-on-primary);
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.6px),
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(135deg, rgba(0, 0, 0, 0) 30%, rgba(3, 18, 44, 0.42) 100%);
    background-size: 24px 24px, auto, auto;
}

.ny-sec--accent {
    --ny-sec-bg: var(--ny-accent);
    --ny-heading: var(--ny-on-accent);
    --ny-muted: var(--ny-on-accent);
    --ny-link: var(--ny-on-accent);
    color: var(--ny-on-accent);
    background-image: radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.1), transparent 45%);
}

.ny-sec--image {
    --ny-heading: #ffffff;
    --ny-muted: #ffffff;
    --ny-link: #ffffff;
    color: #ffffff;
    background-size: cover;
    background-position: center;
}

.ny-sec--on-dark {
    --ny-heading: #ffffff;
    --ny-muted: #f1f5fb;
    --ny-link: #ffffff;
    color: #f1f5fb;
}

.ny-sec--on-light {
    --ny-heading: #0b2545;
    --ny-muted: #4a5870;
    --ny-link: #0b2545;
    color: #34425a;
}

.ny-sec--pick {
    --ny-heading: var(--ny-pick);
    --ny-muted: var(--ny-pick);
    color: var(--ny-pick);
}

[data-mode="dark"] .ny-sec--pick-light-only {
    --ny-heading: var(--ny-ink);
    --ny-muted: var(--ny-muted-base);
    color: var(--ny-text);
}

@media (prefers-color-scheme: dark) {
    [data-mode="auto"] .ny-sec--pick-light-only {
        --ny-heading: var(--ny-ink);
        --ny-muted: var(--ny-muted-base);
        color: var(--ny-text);
    }
}

.ny-pad--small {
    padding-block: 48px;
}

.ny-pad--medium {
    padding-block: 84px;
}

.ny-pad--large {
    padding-block: 104px;
}

@media (max-width: 760px) {
    .ny-pad--small {
        padding-block: 36px;
    }

    .ny-pad--medium {
        padding-block: 56px;
    }

    .ny-pad--large {
        padding-block: 64px;
    }
}

/* Two sections of the same colour in a row read as one */
.ny-sec--plain + .ny-sec--plain,
.ny-sec--gray + .ny-sec--gray,
.ny-sec--soft + .ny-sec--soft {
    padding-top: 0;
}

.ny-head {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.ny-head h2 {
    margin-bottom: 14px;
}

.ny-head p {
    margin: 0;
    color: var(--ny-muted);
    font-size: 1.18rem;
}

.ny-head--left {
    margin-left: 0;
    text-align: left;
}

.ny-pagehead__title {
    margin: 0;
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

/* Cards and panels keep their own colours inside any band */
.ny-card,
.ny-feat,
.ny-faq__item,
.ny-form,
.ny-quote,
.ny-family__item,
.ny-news,
.ny-cookies,
.ny-drop__panel {
    --ny-heading: var(--ny-ink);
    --ny-muted: var(--ny-muted-base);
    --ny-link: var(--ny-link-base);
}

/* ---------- Hero ---------- */
.ny-hero {
    position: relative;
}

.ny-hero--slider .ny-hero__track {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.ny-hero--slider .ny-hero__track::-webkit-scrollbar {
    display: none;
}

.ny-hero__track:focus-visible {
    outline-offset: 8px;
    border-radius: 12px;
}

.ny-slide {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 56px;
}

.ny-hero--slider .ny-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.ny-slide--1 {
    --ny-slide-accent: #8cc2ff;
}

.ny-slide--2 {
    --ny-slide-accent: #f4b24f;
}

.ny-slide--3 {
    --ny-slide-accent: #4fd1cf;
}

.ny-slide--4 {
    --ny-slide-accent: #ff8f9c;
}

.ny-slide--5 {
    --ny-slide-accent: #b9b3ff;
}

.ny-sec--plain .ny-slide,
.ny-sec--soft .ny-slide,
.ny-sec--gray .ny-slide {
    --ny-slide-accent: var(--ny-primary);
}

.ny-slide__title {
    margin: 0 0 22px;
    color: var(--ny-heading);
    font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.032em;
}

.ny-slide__title::after {
    content: "";
    display: block;
    width: 72px;
    height: 5px;
    margin-top: 24px;
    border-radius: 3px;
    background: var(--ny-slide-accent);
}

.ny-slide__lead {
    max-width: 34em;
    margin: 0 0 34px;
    font-size: clamp(1.1rem, 1rem + 0.45vw, 1.34rem);
    line-height: 1.55;
    opacity: 0.94;
}

.ny-sec--plain .ny-slide__lead,
.ny-sec--soft .ny-slide__lead,
.ny-sec--gray .ny-slide__lead {
    color: var(--ny-text);
}

.ny-slide__art img {
    display: block;
    width: 100%;
    max-height: 440px;
    margin-inline: auto;
    object-fit: contain;
}

.ny-slide__art--blend img {
    mix-blend-mode: multiply;
}

.ny-hero__dots {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.ny-hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.4;
    transition: width 0.25s ease, opacity 0.25s ease;
}

.ny-hero__dot:hover {
    opacity: 0.75;
}

.ny-hero__dot.is-active {
    width: 34px;
    opacity: 1;
}

@media (max-width: 900px) {
    .ny-slide {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .ny-slide__art img {
        max-width: 420px;
        max-height: 300px;
    }

    .ny-hero__dots {
        margin-top: 28px;
    }
}

/* ---------- Picture cards ---------- */
.ny-cards {
    --ny-cols: 3;
    display: grid;
    grid-template-columns: repeat(var(--ny-cols), minmax(0, 1fr));
    gap: 24px;
}

.ny-cards--2 {
    --ny-cols: 2;
}

.ny-cards--4 {
    --ny-cols: 4;
}

.ny-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 26px 30px;
    overflow: hidden;
    text-align: center;
    background: var(--ny-surface);
    color: var(--ny-text);
    border: 1px solid var(--ny-line);
    border-radius: 20px;
    box-shadow: var(--ny-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ny-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--ny-card-accent);
}

.ny-card--1 {
    --ny-card-accent: var(--ny-amber);
    --ny-card-ink: var(--ny-amber-ink);
    --ny-card-tint: var(--ny-amber-tint);
}

.ny-card--2 {
    --ny-card-accent: var(--ny-teal);
    --ny-card-ink: var(--ny-teal-ink);
    --ny-card-tint: var(--ny-teal-tint);
}

.ny-card--3 {
    --ny-card-accent: var(--ny-crimson);
    --ny-card-ink: var(--ny-crimson-ink);
    --ny-card-tint: var(--ny-crimson-tint);
}

.ny-card--4 {
    --ny-card-accent: var(--ny-indigo);
    --ny-card-ink: var(--ny-indigo-ink);
    --ny-card-tint: var(--ny-indigo-tint);
}

.ny-card--linked:hover {
    transform: translateY(-4px);
    border-color: var(--ny-line-strong);
    box-shadow: var(--ny-shadow);
}

.ny-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 128px;
    margin-bottom: 18px;
}

.ny-card__spot {
    width: 128px;
    height: 128px;
}

.ny-card__badge {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--ny-card-tint);
    color: var(--ny-card-ink);
    box-shadow: inset 0 0 0 1px rgba(11, 37, 69, 0.04);
}

.ny-card__badge svg {
    width: 44px;
    height: 44px;
    stroke-width: 1.6;
}

.ny-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ny-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.ny-pill--live {
    background: var(--ny-live-bg);
    color: var(--ny-live);
}

.ny-pill--soon {
    background: var(--ny-soon-bg);
    color: var(--ny-soon);
}

.ny-card__title {
    margin: 0 0 10px;
    font-size: 1.32rem;
}

.ny-card__text {
    flex-grow: 1;
    margin: 0 0 20px;
    color: var(--ny-muted);
    font-size: 1.02rem;
    line-height: 1.6;
}

.ny-card__link {
    display: inline-block;
    margin-top: auto;
    color: var(--ny-link);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.ny-card__last {
    white-space: nowrap;
}

.ny-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.ny-card__link svg {
    width: 18px;
    height: 18px;
    margin-left: 4px;
    vertical-align: -4px;
    transition: transform 0.2s ease;
}

.ny-card--linked:hover .ny-card__link svg {
    transform: translateX(4px);
}

.ny-card__link:focus-visible {
    outline: none;
}

.ny-card__link:focus-visible::after {
    box-shadow: inset 0 0 0 3px var(--ny-ring);
}

@media (max-width: 1080px) {
    .ny-cards--4 {
        --ny-cols: 2;
    }
}

@media (max-width: 860px) {
    .ny-cards--3 {
        --ny-cols: 2;
    }
}

@media (max-width: 600px) {
    .ny-cards,
    .ny-cards--2,
    .ny-cards--3,
    .ny-cards--4 {
        --ny-cols: 1;
        gap: 14px;
    }

    /* On a phone each card is a row: picture on the left, words on the right */
    .ny-card {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        column-gap: 16px;
        align-items: start;
        padding: 22px 18px 20px;
        text-align: left;
    }

    .ny-card__media {
        grid-row: span 4;
        height: auto;
        margin: 0;
    }

    .ny-card__spot {
        width: 76px;
        height: 76px;
    }

    .ny-card__badge {
        width: 64px;
        height: 64px;
    }

    .ny-card__badge svg {
        width: 30px;
        height: 30px;
    }

    .ny-pill {
        justify-self: start;
        margin-bottom: 8px;
    }

    .ny-card__title {
        margin-bottom: 6px;
        font-size: 1.15rem;
    }

    .ny-card__text {
        margin-bottom: 10px;
        font-size: 0.98rem;
    }

    .ny-card__link {
        justify-self: start;
    }
}

/* ---------- Feature cards ---------- */
.ny-feats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ny-feats--n1 {
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
}

.ny-feats--n2,
.ny-feats--n4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1081px) {
    .ny-feats--n4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ny-feat {
    padding: 30px 28px;
    background: var(--ny-surface);
    color: var(--ny-text);
    border: 1px solid var(--ny-line);
    border-radius: var(--ny-radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ny-feat:hover {
    border-color: var(--ny-line-strong);
    box-shadow: var(--ny-shadow);
}

.ny-feat__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 15px;
    background: var(--ny-soft-bg);
    color: var(--ny-link);
}

.ny-sec--soft .ny-feat__icon {
    background: var(--ny-gray-bg);
}

.ny-feat__icon svg {
    width: 27px;
    height: 27px;
}

.ny-feat__icon--emoji {
    font-size: 1.6rem;
}

.ny-feat h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.ny-feat p {
    margin: 0;
    color: var(--ny-muted);
    font-size: 1rem;
}

@media (max-width: 900px) {
    .ny-feats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .ny-feats,
    .ny-feats--n2,
    .ny-feats--n4 {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    /* On a phone each feature is a row: icon on the left, words on the right */
    .ny-feat {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        column-gap: 16px;
        align-items: start;
        padding: 18px;
    }

    .ny-feat__icon {
        grid-row: span 2;
        width: 46px;
        height: 46px;
        margin: 0;
        border-radius: 13px;
    }

    .ny-feat__icon svg {
        width: 23px;
        height: 23px;
    }

    .ny-feat h3 {
        margin: 2px 0 4px;
        font-size: 1.1rem;
    }
}

/* ---------- Steps ---------- */
.ny-steps {
    --ny-n: 4;
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--ny-n), minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ny-steps--1 {
    --ny-n: 1;
}

.ny-steps--2 {
    --ny-n: 2;
}

.ny-steps--3 {
    --ny-n: 3;
}

.ny-steps--5 {
    --ny-n: 5;
}

.ny-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(50% / var(--ny-n));
    right: calc(50% / var(--ny-n));
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--ny-line-strong) 0 8px, transparent 8px 15px);
}

.ny-sec--primary .ny-steps::before,
.ny-sec--accent .ny-steps::before {
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 8px, transparent 8px 15px);
}

.ny-step {
    position: relative;
    padding: 0 6px;
    text-align: center;
}

.ny-step__num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--ny-primary);
    color: var(--ny-on-primary);
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 0 0 8px var(--ny-sec-bg);
}

.ny-sec--primary .ny-step__num,
.ny-sec--accent .ny-step__num {
    background: #ffffff;
    color: #0b2545;
}

.ny-step__title {
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.ny-step p {
    margin: 0;
    color: var(--ny-muted);
    font-size: 0.99rem;
}

@media (max-width: 860px) {
    .ny-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .ny-steps::before {
        top: 0;
        bottom: 0;
        left: 27px;
        right: auto;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, var(--ny-line-strong) 0 8px, transparent 8px 15px);
    }

    .ny-step {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 20px;
        padding: 0;
        text-align: left;
    }

    .ny-step__num {
        grid-row: span 2;
        margin: 0;
    }

    .ny-step__title {
        align-self: end;
        margin-top: 4px;
    }
}

/* ---------- Picture and text ---------- */
.ny-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 64px;
}

.ny-split--right .ny-split__media {
    order: 2;
}

.ny-split--text-only {
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
}

.ny-split__media img {
    display: block;
    width: 100%;
}

.ny-split__media--blend img {
    mix-blend-mode: multiply;
}

.ny-split__text h2 {
    font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
}

.ny-split__text .ny-btn {
    margin-top: 12px;
}

@media (max-width: 860px) {
    .ny-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .ny-split--right .ny-split__media {
        order: 0;
    }

    .ny-split__media img {
        max-width: 440px;
        margin-inline: auto;
    }
}

/* ---------- Long text ---------- */
.ny-prose {
    font-size: 1.08rem;
}

.ny-prose > :first-child {
    margin-top: 0;
}

.ny-prose > :last-child {
    margin-bottom: 0;
}

.ny-prose h1 {
    margin-bottom: 0.4em;
    font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
}

.ny-prose h2 {
    margin: 1.7em 0 0.5em;
    font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.7rem);
}

.ny-prose h3 {
    margin: 1.5em 0 0.4em;
    font-size: 1.25rem;
}

.ny-prose h4 {
    margin: 1.4em 0 0.3em;
    font-size: 1.08rem;
}

.ny-prose ul,
.ny-prose ol {
    margin: 0 0 1.1em;
    padding-left: 1.3em;
}

.ny-prose li {
    margin: 0.35em 0;
}

.ny-prose li::marker {
    color: var(--ny-primary);
}

.ny-prose a {
    color: var(--ny-link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.ny-prose a:hover {
    text-decoration-thickness: 2px;
}

.ny-prose strong {
    color: var(--ny-heading);
}

.ny-prose blockquote {
    margin: 1.5em 0;
    padding: 6px 0 6px 22px;
    border-left: 4px solid var(--ny-primary);
    color: var(--ny-heading);
    font-size: 1.15rem;
}

.ny-prose hr {
    margin: 2.2em 0;
    border: 0;
    border-top: 1px solid var(--ny-line);
}

.ny-prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--ny-gray-bg);
    font-size: 0.92em;
}

.ny-prose pre {
    overflow-x: auto;
    padding: 16px;
    border-radius: 12px;
    background: var(--ny-gray-bg);
}

.ny-prose--block,
.ny-prose--page {
    max-width: 820px;
    margin-inline: auto;
}

/* ---------- Questions ---------- */
.ny-faq {
    max-width: 860px;
    margin-inline: auto;
}

.ny-faq__list {
    display: grid;
    gap: 12px;
}

.ny-faq__item {
    background: var(--ny-surface);
    color: var(--ny-text);
    border: 1px solid var(--ny-line);
    border-radius: 14px;
    transition: border-color 0.2s ease;
}

.ny-faq__item[open] {
    border-color: var(--ny-line-strong);
}

.ny-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    color: var(--ny-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.ny-faq__item summary::-webkit-details-marker {
    display: none;
}

.ny-faq__sign {
    position: relative;
    flex: 0 0 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ny-soft-bg);
}

.ny-faq__sign::before,
.ny-faq__sign::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--ny-link);
    transform: translate(-50%, -50%);
}

.ny-faq__sign::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.2s ease;
}

.ny-faq__item[open] .ny-faq__sign::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.ny-faq__answer {
    padding: 0 24px 22px;
    color: var(--ny-muted);
}

.ny-faq__answer p {
    margin: 0;
}

/* ---------- Call to action ---------- */
.ny-cta {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.ny-cta h2 {
    font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem);
}

.ny-cta p {
    max-width: 46em;
    margin: 0 auto 30px;
    color: var(--ny-muted);
    font-size: 1.18rem;
}

.ny-sec--primary .ny-cta p,
.ny-sec--accent .ny-cta p,
.ny-sec--image .ny-cta p {
    opacity: 0.94;
}

.ny-sec--primary.ny-b-cta {
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.6px),
        radial-gradient(circle at 15% 110%, rgba(255, 255, 255, 0.16), transparent 45%),
        linear-gradient(110deg, rgba(3, 18, 44, 0.42) 0%, rgba(0, 0, 0, 0) 65%);
}

/* ---------- Numbers ---------- */
.ny-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin: 0;
}

.ny-stat {
    display: flex;
    flex-direction: column-reverse;
    padding: 12px;
    text-align: center;
}

.ny-stat dd {
    margin: 0;
    color: var(--ny-heading);
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ny-stat dt {
    color: var(--ny-muted);
    font-weight: 600;
}

/* ---------- Quotes ---------- */
.ny-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ny-quote {
    margin: 0;
    padding: 30px;
    background: var(--ny-surface);
    color: var(--ny-text);
    border: 1px solid var(--ny-line);
    border-radius: var(--ny-radius);
}

.ny-quote__mark {
    margin-bottom: 14px;
    fill: var(--ny-primary);
    opacity: 0.3;
}

.ny-quote blockquote {
    margin: 0 0 18px;
    color: var(--ny-heading);
    font-size: 1.12rem;
}

.ny-quote figcaption {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
}

.ny-quote figcaption strong {
    color: var(--ny-heading);
}

.ny-quote figcaption span {
    color: var(--ny-muted);
}

/* ---------- Brand family ---------- */
.ny-family {
    text-align: center;
}

.ny-family__title {
    margin-bottom: 26px;
    color: var(--ny-muted);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ny-family__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ny-family__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--ny-surface);
    color: var(--ny-heading);
    border: 1px solid var(--ny-line);
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.ny-family__mark {
    fill: var(--ny-fam);
}

.ny-family__item--1 {
    --ny-fam: var(--ny-navy-mark);
}

.ny-family__item--2 {
    --ny-fam: var(--ny-amber);
}

.ny-family__item--3 {
    --ny-fam: var(--ny-teal);
}

.ny-family__item--4 {
    --ny-fam: var(--ny-crimson);
}

.ny-family__item--5 {
    --ny-fam: var(--ny-indigo);
}

/* ---------- Books ---------- */
.ny-books {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 28px 22px;
}

.ny-book {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: inherit;
    text-decoration: none;
}

.ny-book__cover {
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 10px;
    background: var(--ny-gray-bg);
    box-shadow: var(--ny-shadow);
    aspect-ratio: 2 / 3;
    transition: transform 0.2s ease;
}

.ny-book:hover .ny-book__cover {
    transform: translateY(-4px);
}

.ny-book__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ny-book__title {
    color: var(--ny-heading);
    font-weight: 700;
    line-height: 1.3;
}

.ny-book__author,
.ny-book__price {
    color: var(--ny-muted);
    font-size: 0.95rem;
}

.ny-more {
    margin: 36px 0 0;
    text-align: center;
}

/* ---------- Contact form ---------- */
.ny-contact {
    max-width: 880px;
    margin-inline: auto;
}

.ny-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    padding: 38px;
    background: var(--ny-surface);
    color: var(--ny-text);
    border: 1px solid var(--ny-line);
    border-radius: var(--ny-radius-lg);
    box-shadow: var(--ny-shadow);
}

.ny-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.ny-form__field--wide {
    grid-column: 1 / -1;
}

.ny-form label {
    color: var(--ny-heading);
    font-size: 0.96rem;
    font-weight: 700;
}

.ny-form__req {
    color: var(--ny-crimson-ink);
}

.ny-form input,
.ny-form select,
.ny-form textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--ny-bg);
    color: var(--ny-ink);
    border: 1.5px solid var(--ny-line-strong);
    border-radius: 12px;
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ny-form input:focus,
.ny-form select:focus,
.ny-form textarea:focus {
    outline: none;
    border-color: var(--ny-primary);
    box-shadow: 0 0 0 4px var(--ny-ring);
}

.ny-form textarea {
    min-height: 150px;
    resize: vertical;
}

.ny-form__select {
    position: relative;
}

.ny-form__select select {
    padding-right: 46px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.ny-form__select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--ny-muted);
    border-bottom: 2px solid var(--ny-muted);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.ny-form__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    padding-top: 6px;
}

.ny-form__hint {
    margin: 0;
    color: var(--ny-muted);
    font-size: 0.92rem;
}

.ny-form__notice {
    grid-column: 1 / -1;
    margin: 0;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 600;
}

.ny-form__notice--success {
    background: var(--ny-live-bg);
    color: var(--ny-live);
}

.ny-form__notice--error {
    background: var(--ny-error-bg);
    color: var(--ny-error);
}

@media (max-width: 640px) {
    .ny-form {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px 20px;
    }
}

/* ---------- Book list and search ---------- */
.ny-search {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ny-search__q {
    position: relative;
    flex: 1 1 320px;
}

.ny-search__q svg {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--ny-muted);
    transform: translateY(-50%);
}

.ny-search input,
.ny-search select {
    width: 100%;
    padding: 13px 16px;
    background: var(--ny-surface);
    color: var(--ny-ink);
    border: 1.5px solid var(--ny-line-strong);
    border-radius: 999px;
    font: inherit;
    font-size: 1rem;
}

.ny-search__q input {
    padding-left: 46px;
}

.ny-search__pick {
    flex: 0 1 200px;
}

.ny-count {
    margin-bottom: 22px;
    color: var(--ny-muted);
    font-weight: 600;
}

.ny-empty {
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
}

.ny-empty__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: var(--ny-link);
}

.ny-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
}

.ny-pager a,
.ny-pager span {
    min-width: 44px;
    padding: 9px 14px;
    border: 1px solid var(--ny-line);
    border-radius: 999px;
    color: var(--ny-ink);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.ny-pager a:hover {
    border-color: var(--ny-primary);
}

.ny-pager .is-current {
    background: var(--ny-primary);
    border-color: var(--ny-primary);
    color: var(--ny-on-primary);
}

.ny-crumbs {
    margin-bottom: 26px;
    color: var(--ny-muted);
    font-size: 0.95rem;
}

.ny-crumbs a {
    color: var(--ny-link);
    text-decoration: none;
}

.ny-detail {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    align-items: start;
    gap: 56px;
}

.ny-detail__cover img {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--ny-shadow-lg);
}

.ny-detail h1 {
    font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
}

.ny-detail__author {
    color: var(--ny-muted);
    font-size: 1.2rem;
}

.ny-detail__sub {
    margin-top: 34px;
    font-size: 1.3rem;
}

.ny-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin: 26px 0 0;
}

.ny-facts div {
    padding: 14px 16px;
    border: 1px solid var(--ny-line);
    border-radius: 12px;
}

.ny-facts dt {
    color: var(--ny-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ny-facts dd {
    margin: 2px 0 0;
    color: var(--ny-ink);
    font-weight: 700;
}

.ny-editions {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ny-edition {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 14px 18px;
    border: 1px solid var(--ny-line);
    border-radius: 12px;
}

.ny-edition__name {
    display: flex;
    flex: 1 1 200px;
    flex-direction: column;
}

.ny-edition__name span {
    color: var(--ny-muted);
    font-size: 0.92rem;
}

.ny-edition__price {
    color: var(--ny-ink);
    font-weight: 800;
}

@media (max-width: 760px) {
    .ny-detail {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .ny-detail__cover {
        max-width: 260px;
    }
}

/* ---------- Not found ---------- */
.ny-lost {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 56px;
}

.ny-lost__art img {
    display: block;
    width: 100%;
}

.ny-lost__code {
    margin-bottom: 10px;
    color: var(--ny-link);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ny-lost h1 {
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

.ny-lost__text p:not(.ny-lost__code) {
    margin-bottom: 28px;
    font-size: 1.15rem;
}

@media (max-width: 860px) {
    .ny-lost {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        text-align: center;
    }

    .ny-lost__art img {
        max-width: 380px;
        margin-inline: auto;
    }
}

/* ---------- Footer ---------- */
.ny-footer {
    --ny-heading: currentColor;
    background: var(--ny-footer-bg);
    color: var(--ny-footer-text);
    border-top: 1px solid var(--ny-line);
    font-size: 1rem;
}

.ny-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 3fr);
    gap: 56px;
    padding-block: 64px 40px;
}

.ny-logo--footer {
    margin-bottom: 4px;
}

.ny-footer__tag {
    margin: 10px 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.ny-footer__about {
    max-width: 34em;
    margin: 18px 0 0;
    font-size: 0.98rem;
    line-height: 1.65;
    opacity: 0.85;
}

.ny-footer__cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.ny-footer__cols--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ny-footer__cols--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ny-footer__cols--1 {
    grid-template-columns: minmax(0, 1fr);
}

.ny-footer__col h2 {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ny-line-strong);
    color: inherit;
    font-size: 1.06rem;
    letter-spacing: 0;
}

.ny-footer__links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ny-footer__brand .ny-footer__links {
    margin-top: 18px;
}

.ny-footer__links a {
    color: inherit;
    text-decoration: none;
    opacity: 0.86;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.ny-footer__links a:hover {
    color: var(--ny-link-base);
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ny-news {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
    margin-bottom: 36px;
    padding: 24px 28px;
    background: var(--ny-surface);
    color: var(--ny-text);
    border: 1px solid var(--ny-line);
    border-radius: 18px;
}

.ny-news__intro {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ny-news__icon {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 12px;
    background: var(--ny-soft-bg);
    color: var(--ny-link);
    flex-shrink: 0;
}

.ny-news label {
    color: var(--ny-heading);
    font-size: 1.1rem;
    font-weight: 800;
}

.ny-news__row {
    display: flex;
    flex: 1 1 340px;
    gap: 10px;
    max-width: 520px;
}

.ny-news input {
    flex: 1;
    min-width: 0;
    padding: 11px 18px;
    background: var(--ny-bg);
    color: var(--ny-ink);
    border: 1.5px solid var(--ny-line-strong);
    border-radius: 999px;
    font: inherit;
    font-size: 1rem;
}

.ny-news input:focus {
    outline: none;
    border-color: var(--ny-primary);
    box-shadow: 0 0 0 4px var(--ny-ring);
}

.ny-news__notice {
    flex-basis: 100%;
    margin: 0;
    font-weight: 600;
}

.ny-news__notice--success {
    color: var(--ny-live);
}

.ny-news__notice--error {
    color: var(--ny-error);
}

.ny-footer__base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 22px 28px;
    border-top: 1px solid var(--ny-line-strong);
    font-size: 0.92rem;
}

.ny-footer__copy {
    margin: 0;
    opacity: 0.85;
}

.ny-social {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ny-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(11, 37, 69, 0.08);
    color: inherit;
    transition: background-color 0.2s ease, color 0.2s ease;
}

[data-mode="dark"] .ny-social a {
    background: rgba(255, 255, 255, 0.08);
}

@media (prefers-color-scheme: dark) {
    [data-mode="auto"] .ny-social a {
        background: rgba(255, 255, 255, 0.08);
    }
}

.ny-social a:hover {
    background: var(--ny-primary);
    color: var(--ny-on-primary);
}

@media (max-width: 1000px) {
    .ny-footer__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

@media (max-width: 700px) {
    .ny-footer__cols,
    .ny-footer__cols--3,
    .ny-footer__cols--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .ny-news__row {
        flex-direction: column;
    }
}

/* ---------- Cookie notice ---------- */
.ny-cookies {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 80;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    max-width: 580px;
    margin-inline: auto;
    padding: 18px 22px;
    background: var(--ny-surface);
    color: var(--ny-text);
    border: 1px solid var(--ny-line);
    border-radius: 16px;
    box-shadow: var(--ny-shadow-lg);
    font-size: 0.98rem;
}

.ny-cookies p {
    flex: 1 1 260px;
    margin: 0;
}

.ny-cookies__actions {
    display: flex;
    gap: 10px;
}

/* ---------- Careers: job list, job page, application form ---------- */
.ny-jobcard,
.ny-jobfacts,
.ny-jobs-empty,
.ny-applied {
    --ny-heading: var(--ny-ink);
    --ny-muted: var(--ny-muted-base);
    --ny-link: var(--ny-link-base);
    background: var(--ny-surface);
    color: var(--ny-text);
}

.ny-jobs {
    display: grid;
    gap: 14px;
}

.ny-jobcard {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 24px 28px;
    border: 1px solid var(--ny-line);
    border-radius: 18px;
    box-shadow: var(--ny-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ny-jobcard:hover {
    transform: translateY(-2px);
    border-color: var(--ny-line-strong);
    box-shadow: var(--ny-shadow);
}

.ny-jobcard__main {
    min-width: 0;
}

.ny-jobcard__title {
    margin: 0 0 10px;
    font-size: 1.28rem;
}

.ny-jobcard__title a {
    color: var(--ny-heading);
    text-decoration: none;
}

.ny-jobcard__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.ny-jobcard__title a:focus-visible {
    outline: none;
}

.ny-jobcard__title a:focus-visible::after {
    box-shadow: inset 0 0 0 3px var(--ny-ring);
}

.ny-jobcard__summary {
    margin: 0;
    color: var(--ny-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.ny-jobcard__side {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
}

.ny-jobcard__date {
    color: var(--ny-muted);
    font-size: 0.9rem;
}

.ny-jobcard__go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ny-link);
    font-weight: 800;
    white-space: nowrap;
}

.ny-jobcard__go svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.ny-jobcard:hover .ny-jobcard__go svg {
    transform: translateX(4px);
}

.ny-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.ny-chip {
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--ny-soft-bg);
    color: var(--ny-heading);
    font-size: 0.86rem;
    font-weight: 600;
}

.ny-jobs__more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    text-align: center;
}

.ny-jobs__more p {
    margin: 0;
    color: var(--ny-muted);
}

.ny-jobs__more a:not(.ny-btn) {
    color: var(--ny-link);
    font-weight: 700;
}

.ny-jobs-empty {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 30px;
    text-align: center;
    border: 1.5px dashed var(--ny-line-strong);
    border-radius: 22px;
}

.ny-jobs-empty__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--ny-soft-bg);
    color: var(--ny-link);
}

.ny-jobs-empty__icon svg {
    width: 30px;
    height: 30px;
}

.ny-jobs-empty h2,
.ny-jobs-empty h3 {
    font-size: 1.4rem;
}

.ny-jobs-empty p {
    margin-bottom: 22px;
    color: var(--ny-muted);
}

.ny-jobhead__title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
}

.ny-jobhead__lead {
    max-width: 46em;
    margin: 0 0 18px;
    font-size: 1.15rem;
}

.ny-jobhead .ny-chips {
    margin-bottom: 24px;
}

.ny-jobhead .ny-chip {
    background: var(--ny-surface);
    border: 1px solid var(--ny-line);
}

.ny-jobhead__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ny-jobfilter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.ny-jobfilter select {
    min-width: 190px;
    padding: 11px 42px 11px 16px;
    background-color: var(--ny-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%235b6a81' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 12px;
    color: var(--ny-ink);
    border: 1.5px solid var(--ny-line-strong);
    border-radius: 999px;
    font: inherit;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.ny-jobfilter__clear {
    color: var(--ny-link);
    font-weight: 700;
}

.ny-job {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 56px;
}

.ny-job__lead {
    margin-bottom: 1.2em;
    color: var(--ny-heading);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.55;
}

.ny-job__side {
    position: sticky;
    top: 112px;
}

.ny-jobfacts {
    padding: 28px;
    border: 1px solid var(--ny-line);
    border-radius: 20px;
    box-shadow: var(--ny-shadow);
}

.ny-jobfacts h2 {
    margin-bottom: 14px;
    font-size: 1.15rem;
}

.ny-jobfacts dl {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
}

.ny-jobfacts dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ny-line);
}

.ny-jobfacts dt {
    color: var(--ny-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.ny-jobfacts dd {
    margin: 0;
    color: var(--ny-heading);
    font-size: 0.98rem;
    font-weight: 700;
    text-align: right;
}

.ny-btn--block {
    display: flex;
    width: 100%;
}

.ny-form__label {
    color: var(--ny-heading);
    font-size: 0.96rem;
    font-weight: 700;
}

.ny-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--ny-bg);
    border: 2px dashed var(--ny-line-strong);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ny-file:hover,
.ny-file.is-over {
    border-color: var(--ny-primary);
    background: var(--ny-soft-bg);
}

.ny-file:focus-within {
    border-color: var(--ny-primary);
    box-shadow: 0 0 0 4px var(--ny-ring);
}

.ny-form .ny-file input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
}

.ny-file__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--ny-soft-bg);
    color: var(--ny-link);
}

.ny-file__icon svg {
    width: 22px;
    height: 22px;
    transform: rotate(180deg);
}

.ny-file__text {
    min-width: 0;
    color: var(--ny-text);
    font-weight: 500;
    overflow-wrap: anywhere;
}

.ny-file__text strong {
    color: var(--ny-heading);
}

.ny-file.is-chosen {
    border-style: solid;
    border-color: var(--ny-live);
}

.ny-file.is-invalid {
    border-style: solid;
    border-color: var(--ny-error);
}

.ny-form__hint.is-error {
    color: var(--ny-error);
    font-weight: 700;
}

.ny-form .ny-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ny-text);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}

.ny-form .ny-check input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--ny-primary);
}

.ny-applied {
    padding: 44px 32px;
    text-align: center;
    border: 1px solid var(--ny-line);
    border-radius: var(--ny-radius-lg);
    box-shadow: var(--ny-shadow);
}

.ny-applied__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--ny-live-bg);
    color: var(--ny-live);
}

.ny-applied__icon svg {
    width: 30px;
    height: 30px;
}

.ny-applied h3 {
    font-size: 1.5rem;
}

.ny-applied p {
    max-width: 34em;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .ny-job {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .ny-job__side {
        position: static;
    }
}

@media (max-width: 700px) {
    .ny-jobcard {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px;
    }

    .ny-jobcard__side {
        align-items: flex-start;
        text-align: left;
    }

    .ny-jobfilter select,
    .ny-jobfilter .ny-btn {
        width: 100%;
    }

    .ny-jobfilter label {
        flex: 1 1 100%;
    }
}

/* ---------- Pictures in the dark look ---------- */
[data-mode="dark"] .ny-split__media img,
[data-mode="dark"] .ny-lost__art img,
[data-mode="dark"] .ny-card__spot {
    filter: brightness(0.92);
}

@media (prefers-color-scheme: dark) {
    [data-mode="auto"] .ny-split__media img,
    [data-mode="auto"] .ny-lost__art img,
    [data-mode="auto"] .ny-card__spot {
        filter: brightness(0.92);
    }
}

/* ---------- Less motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Print ---------- */
@media print {
    .ny-header,
    .ny-announce,
    .ny-news,
    .ny-cookies,
    .ny-hero__dots {
        display: none;
    }

    .ny-sec {
        padding-block: 16px;
        background: none;
        color: #000000;
    }
}

/* ---------- News ---------- */
.ny-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 24px;
}

.ny-post {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--ny-surface);
    color: var(--ny-text);
    border: 1px solid var(--ny-line);
    border-radius: 20px;
    box-shadow: var(--ny-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    --ny-heading: var(--ny-ink);
    --ny-muted: var(--ny-muted-base);
}

.ny-post:hover {
    transform: translateY(-4px);
    border-color: var(--ny-line-strong);
    box-shadow: var(--ny-shadow);
}

.ny-post__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--ny-soft-bg);
}

.ny-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ny-post__media .ny-post__art {
    object-fit: contain;
    padding: 12px;
}

.ny-post__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 22px 24px 24px;
}

.ny-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--ny-muted);
}

.ny-post__cat {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--ny-soft-bg);
    color: var(--ny-primary-ink);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ny-post__title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.35;
}

.ny-post__title a {
    color: var(--ny-heading);
    text-decoration: none;
}

/* The whole card opens the post */
.ny-post__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.ny-post__excerpt {
    margin: 0;
    color: var(--ny-muted);
}

.ny-post__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    color: var(--ny-primary-ink);
    font-weight: 700;
}

.ny-post__more svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 900px) {
    .ny-posts--featured {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .ny-posts--featured .ny-post--featured {
        grid-row: span 2;
    }

    .ny-post--featured .ny-post__title {
        font-size: 1.6rem;
    }
}

.ny-postlist {
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.ny-postlist li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--ny-line);
}

.ny-postlist time {
    min-width: 9.5em;
    color: var(--ny-muted);
    font-size: 0.9rem;
}

.ny-postlist a {
    flex: 1;
    font-weight: 700;
    color: var(--ny-heading);
}

.ny-posts__more,
.ny-paging {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    color: var(--ny-muted);
}

.ny-posts-empty {
    text-align: center;
    color: var(--ny-muted);
}

.ny-article-wrap {
    max-width: 820px;
}

.ny-article__title {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
    line-height: 1.15;
}

.ny-article__meta {
    margin: 0;
    color: var(--ny-muted);
}

.ny-article__lead {
    margin: 18px 0 0;
    font-size: 1.2rem;
}

.ny-article__cover {
    margin: 0 0 32px;
}

.ny-article__cover img {
    width: 100%;
    height: auto;
    border-radius: var(--ny-radius-lg);
}

.ny-article__body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.ny-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 36px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--ny-line);
}

.ny-share span {
    font-weight: 700;
    color: var(--ny-heading);
}

.ny-share a {
    padding: 6px 14px;
    border: 1px solid var(--ny-line-strong);
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
}

.ny-article__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.ny-article__nav a {
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--ny-line);
    border-radius: 14px;
    text-decoration: none;
    color: var(--ny-heading);
    font-weight: 700;
}

.ny-article__nav small {
    display: block;
    color: var(--ny-muted);
    font-weight: 400;
}

.ny-article__nav .is-next {
    text-align: right;
}

/* ---------- Picture, gallery, video ---------- */
.ny-figure {
    margin: 0 auto;
}

.ny-figure--narrow {
    max-width: 760px;
}

.ny-figure--full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.ny-figure img {
    width: 100%;
    height: auto;
    border-radius: var(--ny-radius-lg);
}

.ny-figure--full img {
    border-radius: 0;
}

.ny-figure figcaption,
.ny-gallery figcaption,
.ny-video figcaption {
    margin-top: 10px;
    text-align: center;
    color: var(--ny-muted);
    font-size: 0.9rem;
}

.ny-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (min-width: 768px) {
    .ny-gallery--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ny-gallery--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.ny-gallery figure {
    margin: 0;
}

.ny-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.2s ease;
}

.ny-gallery a:hover img {
    transform: scale(1.02);
}

.ny-lightbox {
    width: min(1100px, 96vw);
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.ny-lightbox::backdrop {
    background: rgba(5, 18, 38, 0.86);
}

.ny-lightbox figure {
    margin: 0;
    text-align: center;
    color: #fff;
}

.ny-lightbox img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 10px;
}

.ny-lightbox button {
    position: fixed;
    top: 50%;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.ny-lightbox__prev {
    left: 16px;
}

.ny-lightbox__next {
    right: 16px;
}

.ny-lightbox button.ny-lightbox__close {
    top: 16px;
    right: 16px;
}

.ny-video {
    max-width: 960px;
    margin: 0 auto;
}

.ny-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--ny-radius-lg);
    background: #0b2545;
}

.ny-video__frame img,
.ny-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.ny-video__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--ny-primary);
}

.ny-video__play svg {
    transition: transform 0.2s ease;
}

.ny-video__play:hover svg {
    transform: scale(1.08);
}

/* ---------- Downloads, logos, team, space ---------- */
.ny-files {
    display: grid;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.ny-file-dl {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--ny-surface);
    border: 1px solid var(--ny-line);
    border-radius: 14px;
    text-decoration: none;
    color: var(--ny-text);
    --ny-heading: var(--ny-ink);
    --ny-muted: var(--ny-muted-base);
}

.ny-file-dl:hover {
    border-color: var(--ny-line-strong);
    box-shadow: var(--ny-shadow-sm);
}

.ny-file-dl__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ny-soft-bg);
    color: var(--ny-primary-ink);
}

.ny-file-dl__icon svg {
    width: 22px;
    height: 22px;
}

.ny-file-dl__text {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.ny-file-dl__text strong {
    color: var(--ny-heading);
}

.ny-file-dl__text span,
.ny-file-dl__meta {
    color: var(--ny-muted);
    font-size: 0.88rem;
}

.ny-logos__title {
    margin: 0 0 24px;
    text-align: center;
    color: var(--ny-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ny-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ny-logos img {
    width: auto;
    max-width: 160px;
    height: auto;
    max-height: 56px;
    object-fit: contain;
}

.ny-logos--gray img {
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.ny-logos--gray li:hover img {
    filter: none;
    opacity: 1;
}

.ny-team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.ny-person h3 {
    margin: 14px 0 2px;
    font-size: 1.1rem;
}

.ny-person__photo {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.ny-person__photo--empty {
    display: grid;
    place-items: center;
    background: var(--ny-soft-bg);
    color: var(--ny-primary-ink);
    font-size: 2.6rem;
    font-weight: 800;
}

.ny-person__role {
    margin: 0;
    color: var(--ny-primary-ink);
    font-weight: 600;
}

.ny-person__bio {
    margin: 8px 0 0;
    color: var(--ny-muted);
    font-size: 0.95rem;
}

.ny-person__in {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-top: 10px;
    border-radius: 8px;
    background: #0a66c2;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.ny-spacer--small {
    height: 8px;
}

.ny-spacer--medium {
    height: 32px;
}

.ny-spacer--large {
    height: 72px;
}

.ny-spacer hr {
    position: relative;
    top: 50%;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--ny-line-strong);
}

.ny-embed iframe {
    max-width: 100%;
}
