/* NeoFilera cinematic detail page — every selector scoped under .nf-page. */

.nf-page {
    --nf-ink: #0b0a08;
    --nf-ink-soft: #14120d;
    --nf-paper: #f5f2ea;
    --nf-white: #ffffff;
    --nf-gold: #f4b833;
    --nf-gold-bright: #ffdb7d;
    --nf-gold-deep: #a9740f;
    --nf-line-dark: rgba(255, 255, 255, 0.14);
    --nf-line-light: rgba(11, 10, 8, 0.14);
    --nf-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nf-mouse-x: 50%;
    --nf-mouse-y: 50%;

    position: relative;
    background: var(--nf-ink);
    color: var(--nf-white);
    font-family: "Manrope", "IBM Plex Sans Thai", sans-serif;
    overflow-x: clip;
    isolation: isolate;
}

.nf-page * {
    box-sizing: border-box;
}

.nf-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.nf-page button,
.nf-page a {
    font: inherit;
    color: inherit;
}

.nf-page a {
    text-decoration: none;
}

.nf-page :focus-visible {
    outline: 2px solid var(--nf-gold-bright);
    outline-offset: 4px;
}

/* ── Ambient chrome ─────────────────────────────────────────────────────── */

.nf-particles {
    position: fixed;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.6;
}

.nf-cursor-light {
    position: fixed;
    z-index: 2;
    width: 520px;
    height: 520px;
    left: var(--nf-mouse-x);
    top: var(--nf-mouse-y);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 200, 90, 0.12), transparent 67%);
    mix-blend-mode: screen;
}

.nf-progress {
    position: sticky;
    top: 0;
    z-index: 40;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.nf-progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--nf-gold-deep), var(--nf-gold-bright));
    transform: scaleX(0);
    transform-origin: left;
}

/* ── Scene / layer system ──────────────────────────────────────────────── */

.nf-scene {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.nf-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nf-d0 { z-index: 0; }
.nf-d1 { z-index: 1; }
.nf-d2 { z-index: 2; }
.nf-d3 { z-index: 3; }
.nf-d4 { z-index: 4; }
.nf-d5 { z-index: 5; }

.nf-chapter {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 1.75rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
}

.nf-chapter span {
    color: var(--nf-gold);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.nf-hero {
    min-height: 112svh;
    background: var(--nf-ink);
}

.nf-hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

/* ── Atmosphere interlude (grid + halo transition beat) ──────────────────── */

.nf-atmosphere {
    height: 220svh;
    background: var(--nf-ink);
}

.nf-atmosphere-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: visible;
    display: grid;
    place-items: center;
    padding: calc(var(--header-height, 84px) + 4vh) 4.5vw;
}

.nf-atmosphere-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
}

.nf-title--center {
    text-align: center;
    margin-bottom: 0;
}

.nf-hero-grid {
    inset: -10%;
    opacity: 0.26;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black, transparent 76%);
    transform: perspective(900px) rotateX(63deg) translateY(34%) scale(1.4);
    transform-origin: center bottom;
}

.nf-hero-atmosphere {
    display: grid;
    place-items: center;
}

.nf-halo {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 205, 90, 0.28);
    border-radius: 50%;
    box-shadow: 0 0 130px rgba(244, 184, 51, 0.14) inset, 0 0 90px rgba(244, 184, 51, 0.1);
}

.nf-halo--inner {
    inset: 17%;
    opacity: 0.55;
}

.nf-hero-inner {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height, 84px) + 6vh) 4.5vw 10vh;
    min-height: 112svh;
}

.nf-hero-copy {
    max-width: 640px;
}

.nf-kicker {
    display: inline-block;
    margin: 0 0 1.6rem;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    transition: opacity 900ms ease, transform 900ms var(--nf-ease);
}

html:not(.no-js) .nf-kicker {
    opacity: 0;
    transform: translateY(14px);
}

.nf-title {
    margin: 0 0 1.6rem;
    font-family: "Kanit", "IBM Plex Sans Thai", sans-serif;
    font-weight: 300;
    font-size: clamp(3.4rem, 7vw, 6.4rem);
    line-height: 0.92;
    color: var(--nf-white);
}

.nf-title span {
    display: block;
}

.nf-title .nf-title-accent {
    color: var(--nf-gold-bright);
}

.nf-lead {
    max-width: 480px;
    margin: 0 0 2.4rem;
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    transition: opacity 900ms ease 120ms, transform 900ms var(--nf-ease) 120ms;
}

html:not(.no-js) .nf-lead {
    opacity: 0;
    transform: translateY(20px);
}

.nf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    transition: opacity 900ms ease 220ms, transform 900ms var(--nf-ease) 220ms;
}

html:not(.no-js) .nf-hero-actions {
    opacity: 0;
    transform: translateY(20px);
}

/* html:not(.no-js) .nf-kicker hides at (0,2,1); the old reveal selector was
   (0,2,0) and silently lost, so the hero copy and both CTA buttons never
   appeared. Adding html:not(.no-js) makes this (0,3,1) and it wins.
   Gated on .nf-hero-copy-in, which JS adds after the hero video finishes
   its first pass. */
html:not(.no-js) .nf-hero-copy-in .nf-kicker,
html:not(.no-js) .nf-hero-copy-in .nf-lead,
html:not(.no-js) .nf-hero-copy-in .nf-hero-actions {
    opacity: 1;
    transform: translateY(0);
}

.nf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 280ms var(--nf-ease), background 280ms ease, color 280ms ease, border-color 280ms ease;
}

.nf-btn--solid {
    background: linear-gradient(135deg, var(--nf-gold-bright), var(--nf-gold-deep));
    color: #241a04;
}

.nf-btn--solid:hover {
    transform: translateY(-2px);
}

.nf-btn--glass {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
    color: var(--nf-white);
}

.nf-btn--glass:hover {
    border-color: var(--nf-gold-bright);
    color: var(--nf-gold-bright);
}

.nf-hero-stage {
    position: relative;
    width: min(56vw, 58vh, 720px);
    height: min(56vw, 58vh, 720px);
    display: grid;
    place-items: center;
}

.nf-hero-stage.nf-is-revealed {
    animation: nf-stage-reveal 1100ms var(--nf-ease) both;
}

@keyframes nf-stage-reveal {
    from { opacity: 0; transform: scale(0.82); }
    to { opacity: 1; transform: scale(1); }
}

.nf-product-stage {
    position: relative;
    width: min(40vw, 380px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    transition: transform 400ms ease-out;
}

.nf-product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
    transition: opacity 500ms ease;
}

.nf-product-img--vial {
    opacity: 1;
    transform: translateY(-6%);
}

.nf-product-img--box {
    opacity: 0;
}

/* ── Orbiting compact-bead particles along the halo rings ─────────────────── */

.nf-bead-ring {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.nf-bead-ring--inner {
    inset: 17%;
}

.nf-bead-orbit {
    position: absolute;
    inset: 0;
    transform: rotate(var(--a, 0deg));
    animation: nf-orbit-spin 20s linear infinite;
}

.nf-bead-ring--inner .nf-bead-orbit {
    animation-duration: 13s;
    animation-direction: reverse;
}

.nf-bead {
    position: absolute;
    top: 0;
    left: 50%;
    width: calc(30px * var(--s, 1));
    height: calc(30px * var(--s, 1));
    margin-top: calc(-15px * var(--s, 1));
    margin-left: calc(-15px * var(--s, 1));
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fffbe6, #ffe9a8 32%, var(--nf-gold-bright) 58%, var(--nf-gold-deep) 92%);
    box-shadow: 0 0 22px 4px rgba(255, 205, 90, 0.75), 0 0 3px 1px rgba(255, 255, 255, 0.5) inset;
}

@keyframes nf-orbit-spin {
    from { transform: rotate(var(--a, 0deg)); }
    to { transform: rotate(calc(var(--a, 0deg) + 360deg)); }
}

.nf-chip {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 1.3rem 1.6rem;
    min-width: 200px;
    border-radius: 18px;
    background: rgba(20, 17, 10, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
    animation: nf-chip-float 7s ease-in-out infinite;
}


.nf-chip span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.nf-chip strong {
    font-size: 1.25rem;
    color: var(--nf-gold-bright);
}

.nf-chip small {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.72);
}

/* b and c share the right side; they need a gap wider than the float animation's
   ±14px travel, or they visibly clip into each other at opposite phases. */
.nf-chip--a { top: 10%; left: -22%; animation-delay: 0s; }
.nf-chip--b { bottom: 3%; right: -20%; animation-delay: -2.4s; }
.nf-chip--c { top: 41%; right: -26%; animation-delay: -4.8s; }

.nf-hero-hint {
    position: absolute;
    left: 50%;
    bottom: 4vh;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* ── Statement ──────────────────────────────────────────────────────────── */

.nf-statement {
    height: 200svh;
    background: var(--nf-ink-soft);
}

.nf-statement-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: grid;
    align-items: center;
}

.nf-statement-field {
    opacity: 0.4;
    background: radial-gradient(circle at 50% 50%, rgba(232, 165, 40, 0.16), transparent 48%);
}

.nf-statement-inner {
    position: relative;
    z-index: 4;
    width: min(1120px, 86vw);
    margin: 0 auto;
}

.nf-statement-inner h2 {
    max-width: 1000px;
    margin: 0;
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-weight: 300;
    font-size: clamp(1.9rem, 3.6vw, 3.4rem);
    line-height: 1.4;
}

.nf-words span {
    color: rgba(255, 255, 255, 0.18);
    transition: color 280ms ease, text-shadow 280ms ease;
}

.nf-words span.is-lit {
    color: var(--nf-white);
    text-shadow: 0 0 40px rgba(255, 197, 80, 0.16);
}

/* ── Technology / composition ──────────────────────────────────────────── */

.nf-tech {
    height: 340svh;
    background: #070605;
}

.nf-tech-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
}

.nf-tech-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #070605;
}

.nf-tech-heading {
    position: absolute;
    top: 12vh;
    right: 6vw;
    max-width: 480px;
    text-align: right;
}

.nf-tech-heading .nf-chapter {
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.nf-tech-heading .nf-chapter span {
    color: var(--nf-gold-bright);
}

.nf-tech-heading h2 {
    margin: 0;
    font-family: "Kanit", "IBM Plex Sans Thai", sans-serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.15;
    color: var(--nf-white);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
}

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

/* ── Who it's for ──────────────────────────────────────────────────────── */

.nf-candidates {
    padding: 14vh 6vw;
    background: var(--nf-ink);
}

.nf-candidates-inner { max-width: 1100px; margin: 0 auto; }

.nf-candidates h2 {
    margin: 0 0 1.6rem;
    max-width: 760px;
    font-family: "Kanit", "IBM Plex Sans Thai", sans-serif;
    font-weight: 300;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 1.2;
    color: var(--nf-white);
}

.nf-candidates-duration {
    margin: 0 0 5vh;
    max-width: 760px;
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.nf-candidates-duration strong {
    color: var(--nf-gold-bright);
    font-weight: 600;
}

.nf-candidate-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nf-candidate-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.nf-candidate-list li i {
    flex: 0 0 auto;
    margin-top: 0.25em;
    color: var(--nf-gold);
}

@media (max-width: 900px) {
    .nf-candidate-list { grid-template-columns: 1fr; }
}

/* ── Trust / safety strip ──────────────────────────────────────────────── */

.nf-trust {
    padding: 1.6vh 0;
    background: var(--nf-ink);
    border-top: 1px solid var(--nf-line-dark);
    border-bottom: 1px solid var(--nf-line-dark);
    overflow: hidden;
}

.nf-trust-track {
    display: flex;
    align-items: center;
    gap: 2.8rem;
    width: max-content;
    animation: nf-trust-scroll 22s linear infinite;
}

.nf-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.4);
}

.nf-trust-item i {
    font-size: 0.7rem;
    color: rgba(255, 219, 125, 0.5);
}

@keyframes nf-trust-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Gallery ────────────────────────────────────────────────────────────── */

.nf-gallery {
    padding: 14vh 5vw 16vh;
    background: var(--nf-paper);
    color: var(--nf-ink);
}

.nf-gallery-heading {
    width: min(1200px, 100%);
    margin: 0 auto 6vh;
}

.nf-gallery-heading .nf-chapter {
    color: rgba(11, 10, 8, 0.5);
}

.nf-gallery-heading .nf-chapter span {
    color: var(--nf-gold-deep);
}

.nf-gallery-heading h2 {
    margin: 0;
    font-family: "Kanit", "IBM Plex Sans Thai", sans-serif;
    font-weight: 300;
    font-size: clamp(2.1rem, 3.4vw, 3.2rem);
}

.nf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    width: min(1200px, 100%);
    margin: 0 auto;
    background: rgba(11, 10, 8, 0.1);
}

.nf-gallery-tile {
    position: relative;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    cursor: zoom-in;
    overflow: hidden;
    background: #ece7d9;
}

.nf-gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 800ms var(--nf-ease);
}

.nf-gallery-tile:hover img {
    transform: scale(1.05);
}

.nf-gallery-tile span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 6px 10px;
    background: rgba(11, 10, 8, 0.72);
    color: var(--nf-white);
    font-size: 0.64rem;
    backdrop-filter: blur(8px);
}

.nf-gallery-tile--3d {
    display: grid;
    place-items: center;
    background: var(--nf-ink);
    color: var(--nf-white);
    cursor: pointer;
}

.nf-gallery-tile--3d i {
    font-size: 1.8rem;
    color: var(--nf-gold-bright);
    margin-bottom: 0.6rem;
}

.nf-gallery-tile--3d p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.nf-gallery-tile--video { background: var(--nf-ink); }

.nf-gallery-play {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 10, 8, 0.32);
    transition: background 280ms ease;
}

.nf-gallery-play i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
    color: var(--nf-white);
    font-size: 1.2rem;
    padding-left: 3px;
}

.nf-gallery-tile--video:hover .nf-gallery-play {
    background: rgba(11, 10, 8, 0.5);
}

/* ── Lightbox ───────────────────────────────────────────────────────────── */

.nf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    align-items: center;
    padding: 3rem;
    background: rgba(4, 4, 3, 0.95);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.nf-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.nf-lightbox img {
    grid-column: 2;
    max-width: min(80vw, 1100px);
    max-height: 82vh;
    margin: 0 auto;
    object-fit: contain;
}

.nf-lightbox video {
    grid-column: 2;
    max-width: min(80vw, 1100px);
    max-height: 82vh;
    margin: 0 auto;
    background: #000;
}

.nf-lightbox button {
    justify-self: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: var(--nf-white);
    cursor: pointer;
}

.nf-lightbox__close {
    position: absolute;
    top: 22px;
    right: 22px;
}

/* ── Reveal-on-scroll (generic) ────────────────────────────────────────── */

.nf-reveal {
    transition: opacity 800ms ease, transform 800ms var(--nf-ease);
}

html:not(.no-js) .nf-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.nf-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes nf-chip-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
    .nf-hero-inner { padding-top: calc(var(--header-height, 84px) + 4vh); }
    .nf-hero-stage { width: min(70vw, 52vh, 520px); height: min(70vw, 52vh, 520px); }
    .nf-product-stage { width: min(46vw, 300px); }
}

@media (max-width: 820px) {
    /* Phones show the hero artwork alone — the kicker, lead and CTAs are
       hidden here, so min-height keeps the section from collapsing to its
       padding. svh (not vh) so the mobile URL bar does not resize it. */
    .nf-hero { min-height: 62svh; }
    .nf-hero-inner { padding: calc(var(--header-height, 66px) + 5vh) 6vw 8vh; min-height: 62svh; }
    .nf-kicker,
    .nf-lead,
    .nf-hero-actions { display: none; }

    /* Floating the chips around the stage needs more width than a phone has —
       at 390px they overlapped each other by 87px and ran off both edges.
       Stack them under the product instead, centred and full-width. */
    .nf-chip {
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translateX(-50%);
        width: min(320px, 84vw);
        min-width: 0;
        padding: 0.85rem 1.1rem;
        animation: none;
    }
    .nf-chip--a { top: calc(100% + 16px); }
    .nf-chip--b { top: calc(100% + 144px); }
    .nf-chip--c { top: calc(100% + 272px); }
    .nf-title { font-size: clamp(2.6rem, 11vw, 4rem); }
    .nf-cursor-light { display: none; }

    .nf-atmosphere { height: auto; }
    /* The chips stack below the stage here, and .nf-scene clips at the section
       edge — so this needs room for all three or the first one gets cut off. */
    .nf-atmosphere-sticky { position: relative; height: auto; overflow: visible; padding: calc(var(--header-height, 66px) + 5vh) 6vw calc(6vh + 396px); }

    .nf-statement { height: auto; }
    .nf-statement-sticky { position: relative; height: auto; padding: 12vh 0; }
    .nf-statement-inner { width: calc(100% - 3rem); }

    .nf-tech { height: auto; min-height: 0; }
    /* The mobile still (data-mobile-poster) is square, so a square box shows the
       whole composition — callouts and vial both — with nothing cropped away. */
    .nf-tech-sticky { position: relative; height: auto; aspect-ratio: 1 / 1; min-height: 0; overflow: hidden; }
    /* max-width:480px is wider than the phone viewport, so the right-aligned
       heading wrapped flush against x=0. Pin the left edge too, and drop it to the
       bottom of the frame — at the top it lands right on top of the PDLLA callout. */
    .nf-tech-heading { left: 6vw; max-width: none; top: auto; bottom: 3%; }
    .nf-tech-heading .nf-chapter { margin-bottom: 0.55rem; }
    /* The artwork's own callouts run down to the lower third here, so the overlay
       heading needs a scrim of its own to stay legible on top of them. */
    .nf-tech-sticky::after {
        content: '';
        position: absolute;
        inset: auto 0 0 0;
        height: 26%;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(to top, rgba(7, 6, 5, 0.85) 10%, rgba(7, 6, 5, 0.4) 55%, transparent 100%);
    }
    .nf-tech-heading { z-index: 2; }
    /* A 16:9 frame in a portrait box only shows its middle ~45%, which cuts off
       the PDLLA / CMC callouts baked into the left of the artwork. Anchor the crop
       to the left edge so the labels survive in full. */
    .nf-tech-frame { object-position: 50% 50%; }

    .nf-candidates { padding: 10vh 6vw; }

    .nf-gallery { padding: 10vh 6vw 12vh; }
    .nf-gallery-grid { grid-template-columns: 1fr 1fr; }

    .nf-lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; padding: 1rem; }
}

@media (max-width: 460px) {
    .nf-gallery-grid { grid-template-columns: 1fr; }
    .nf-chip { min-width: 128px; padding: 0.7rem 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
    .nf-page *,
    .nf-page *::before,
    .nf-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .nf-reveal,
    .nf-kicker,
    .nf-lead,
    .nf-hero-actions {
        opacity: 1 !important;
        transform: none !important;
    }

    .nf-trust-track {
        animation: none !important;
        flex-wrap: wrap;
        transform: none !important;
    }

    .nf-trust-item[aria-hidden="true"] {
        display: none;
    }
}
