/* VARIOFILL cinematic detail page — every selector scoped under .vf-page. */

.vf-page {
    --vf-ink: #150a12;
    --vf-ink-soft: #1d0f1a;
    --vf-paper: #fbf3f6;
    --vf-white: #ffffff;
    --vf-accent: #ff5fa8;
    --vf-accent-bright: #ffb3d9;
    --vf-accent-deep: #c81871;
    --vf-line-dark: rgba(255, 255, 255, 0.14);
    --vf-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --vf-mouse-x: 50%;
    --vf-mouse-y: 50%;

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

.vf-page * { box-sizing: border-box; }
.vf-page img { display: block; max-width: 100%; height: auto; }
.vf-page button, .vf-page a { font: inherit; color: inherit; }
.vf-page a { text-decoration: none; }
.vf-page :focus-visible { outline: 2px solid var(--vf-accent-bright); outline-offset: 4px; }

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

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

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

.vf-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);
}

.vf-chapter span { color: var(--vf-accent); }

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

.vf-hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    min-height: 108svh;
    background: var(--vf-ink);
}

/* Two classes (0,2,0): .vf-page img sets height:auto at (0,1,1) and was winning,
   so the square cover rendered at its own aspect instead of filling the hero —
   overflowing ~470px past the section on desktop and leaving a 181px gap on
   phones. object-position sits slightly below centre to lift the artwork up. */
.vf-hero .vf-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    opacity: 0.9;
    animation: vf-hero-zoom 22s ease-in-out infinite alternate;
}

@keyframes vf-hero-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.vf-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(21, 10, 18, 0.86) 0%, rgba(21, 10, 18, 0.58) 34%, rgba(21, 10, 18, 0.14) 62%, transparent 78%),
        linear-gradient(0deg, rgba(21, 10, 18, 0.6) 0%, transparent 28%);
    pointer-events: none;
}

.vf-hero-inner {
    position: relative;
    z-index: 4;
    display: flex;
    /* copy sits at the bottom-left of the hero, not vertically centred */
    align-items: flex-end;
    max-width: 1360px;
    margin: 0 auto;
    padding: calc(var(--header-height, 84px) + 6vh) 4.5vw 10vh;
    min-height: 108svh;
}

.vf-hero-copy { max-width: 620px; }

.vf-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(--vf-ease);
}

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

.vf-title {
    margin: 0 0 1.6rem;
    font-family: "Kanit", "IBM Plex Sans Thai", sans-serif;
    font-weight: 300;
    font-size: clamp(3.2rem, 6.6vw, 6rem);
    line-height: 0.96;
    color: var(--vf-white);
}

.vf-lead {
    max-width: 520px;
    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(--vf-ease) 120ms;
}

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

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

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

/* html:not(.no-js) .vf-kicker hides at (0,2,1); this reveal was (0,2,0) and
   silently lost, so the hero copy and both CTA buttons never appeared. Adding
   html:not(.no-js) makes it (0,3,1) and it wins. Unlike the video pages this
   fires on .vf-is-ready — the variofill hero is a still, so there is nothing
   to wait for. */
html:not(.no-js) .vf-is-ready .vf-kicker,
html:not(.no-js) .vf-is-ready .vf-lead,
html:not(.no-js) .vf-is-ready .vf-hero-actions { opacity: 1; transform: translateY(0); }

.vf-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(--vf-ease), background 280ms ease, color 280ms ease, border-color 280ms ease;
}

.vf-btn--solid {
    background: linear-gradient(135deg, var(--vf-accent-bright), var(--vf-accent-deep));
    color: #150a12;
}

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

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

.vf-btn--glass:hover { border-color: var(--vf-accent-bright); color: var(--vf-accent-bright); }

.vf-hero-hint {
    position: absolute;
    left: 50%;
    bottom: 4vh;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
}

/* ── Statement — scroll-holds while the words light up ───────────────────── */

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

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

.vf-statement-bgphoto {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.8;
}

.vf-statement-field {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 95, 168, 0.22), transparent 48%),
        color-mix(in srgb, var(--vf-ink-soft) 62%, transparent);
}

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

.vf-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;
}

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

.vf-words span.is-lit {
    color: var(--vf-white);
    text-shadow: 0 0 40px rgba(255, 95, 168, 0.25);
}

/* ── Product stage ──────────────────────────────────────────────────────── */

.vf-stage-section {
    display: grid;
    place-items: center;
    padding: 10vh 6vw;
    background: var(--vf-ink);
}

.vf-stage-head { margin-bottom: 5vh; text-align: center; }
.vf-stage-head .vf-chapter { justify-content: center; margin: 0; }

.vf-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;
}

.vf-stage {
    position: relative;
    width: min(52vw, 460px);
    aspect-ratio: 3 / 4;
    transition: transform 320ms ease-out;
    will-change: transform;
}

.vf-stage-panel {
    position: absolute;
    inset: 4%;
    border-radius: 28px;
    background:
        linear-gradient(165deg, color-mix(in srgb, var(--vf-accent) 16%, transparent), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid color-mix(in srgb, var(--vf-accent) 26%, rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.vf-stage-glow {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 70%;
    height: 70%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, color-mix(in srgb, var(--vf-accent) 55%, transparent), transparent 70%);
    filter: blur(30px);
    opacity: 0.55;
    pointer-events: none;
}

.vf-stage-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12%;
    filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.5));
    transition: transform 420ms var(--vf-ease);
}

.vf-stage:hover .vf-stage-img { transform: translateY(-6px) scale(1.02); }

.vf-stage-floor {
    position: absolute;
    left: 50%;
    bottom: 8%;
    width: 56%;
    height: 10%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5), transparent 72%);
    filter: blur(4px);
    pointer-events: none;
}

/* ── Stats band ─────────────────────────────────────────────────────────── */

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

.vf-stats-intro { max-width: 900px; margin: 0 auto 7vh; text-align: center; }
.vf-stats-intro .vf-chapter { justify-content: center; }

.vf-stats-intro h2 {
    margin: 0;
    font-family: "Kanit", "IBM Plex Sans Thai", sans-serif;
    font-weight: 300;
    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    line-height: 1.15;
    color: var(--vf-white);
}

.vf-stats-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vf-stat {
    flex: 1 1 280px;
    max-width: 340px;
    padding: 2.2rem 1.9rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(255, 95, 168, 0.1), rgba(255, 95, 168, 0.02));
    transition: opacity 700ms ease, transform 700ms var(--vf-ease), border-color 300ms ease, box-shadow 300ms ease;
    will-change: transform;
}

.vf-stat:hover { border-color: rgba(255, 95, 168, 0.4); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3); }

.vf-stat-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 95, 168, 0.4);
    color: var(--vf-accent-bright);
    font-size: 1.3rem;
}

.vf-stat span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.6rem;
}

.vf-stat strong {
    display: block;
    font-family: "Kanit", sans-serif;
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--vf-accent-bright);
    margin-bottom: 0.8rem;
}

.vf-stat p {
    margin: 0;
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

/* ── Product detail grid ───────────────────────────────────────────────── */

.vf-detail {
    padding: 14vh 6vw;
    background: var(--vf-paper);
    color: var(--vf-ink);
}

.vf-detail-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 7vh;
}

.vf-detail-head .vf-chapter { color: rgba(21, 10, 18, 0.5); }
.vf-detail-head .vf-chapter span { color: var(--vf-accent-deep); }

.vf-detail-head h2 {
    margin: 0;
    font-family: "Kanit", "IBM Plex Sans Thai", sans-serif;
    font-weight: 300;
    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    line-height: 1.1;
}

.vf-detail-head p {
    max-width: 420px;
    margin: 0;
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-size: 0.96rem;
    line-height: 1.75;
    color: rgba(21, 10, 18, 0.66);
}

.vf-detail-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vf-detail-list article {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.8rem 1.5rem;
    border: 1px solid rgba(200, 24, 113, 0.18);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 95, 168, 0.1), rgba(255, 95, 168, 0.02));
    transition: opacity 700ms ease, transform 700ms var(--vf-ease), border-color 300ms ease, box-shadow 300ms ease;
    will-change: transform;
}

.vf-detail-list article:hover { border-color: rgba(200, 24, 113, 0.4); box-shadow: 0 16px 32px rgba(200, 24, 113, 0.14); }

.vf-detail-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(200, 24, 113, 0.35);
    color: var(--vf-accent-deep);
    font-size: 1.1rem;
}

.vf-detail-list h3 {
    margin: 0;
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.vf-detail-list p {
    margin: 0;
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(21, 10, 18, 0.68);
}

/* ── Candidates checklist ───────────────────────────────────────────────── */

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

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

.vf-candidates h2 {
    margin: 0 0 6vh;
    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(--vf-white);
}

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

.vf-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);
    transition: opacity 600ms ease, transform 600ms var(--vf-ease);
}

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

/* ── Comparison ─────────────────────────────────────────────────────────── */

.vf-compare {
    padding: 14vh 6vw;
    background: var(--vf-paper);
    color: var(--vf-ink);
}

.vf-compare-inner { max-width: 1100px; margin: 0 auto; }

.vf-compare h2 {
    margin: 0 0 6vh;
    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;
}

.vf-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.vf-compare-col {
    padding: 2rem 1.8rem;
    border-radius: 22px;
    background: var(--vf-white);
    border: 1px solid rgba(21, 10, 18, 0.08);
}

.vf-compare-col--accent {
    background: linear-gradient(160deg, rgba(255, 95, 168, 0.12), rgba(255, 95, 168, 0.03));
    border-color: rgba(200, 24, 113, 0.25);
}

.vf-compare-col h3 {
    margin: 0 0 1.4rem;
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
}

.vf-compare-col--accent h3 { color: var(--vf-accent-deep); }

.vf-compare-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.vf-compare-col li {
    position: relative;
    padding-left: 1.3rem;
    font-family: "IBM Plex Sans Thai", sans-serif;
    font-size: 0.94rem;
    line-height: 1.6;
    color: rgba(21, 10, 18, 0.72);
}

.vf-compare-col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(21, 10, 18, 0.4);
}

.vf-compare-col--accent li::before { background: var(--vf-accent-deep); }

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

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

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

.vf-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);
}

.vf-trust-item i { font-size: 0.7rem; color: rgba(255, 95, 168, 0.65); }

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

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

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

.vf-gallery-heading { width: min(1200px, 100%); margin: 0 auto 6vh; }
.vf-gallery-heading .vf-chapter { color: rgba(21, 10, 18, 0.5); }
.vf-gallery-heading .vf-chapter span { color: var(--vf-accent-deep); }

.vf-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);
}

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

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

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

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

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

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

.vf-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(8, 4, 7, 0.95);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}

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

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

.vf-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(--vf-white);
    cursor: pointer;
}

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

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

.vf-reveal { transition: opacity 800ms ease, transform 800ms var(--vf-ease); }
html:not(.no-js) .vf-reveal { opacity: 0; transform: translateY(30px); }
/* html:not(.no-js) .vf-reveal hides at (0,2,1); this was (0,2,0) and lost,
   so a revealed section stayed at opacity 0 — a full-height blank hole even
   though JS had added .is-visible. html:not(.no-js) makes it (0,3,0). */
html:not(.no-js) .vf-reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1180px) {
    .vf-hero-inner { padding-top: calc(var(--header-height, 84px) + 4vh); }
    .vf-detail-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    /* With the copy hidden the hero has no content to give it height, so it
       collapsed to 176px of padding. svh (not vh) so the mobile URL bar
       appearing/disappearing does not resize it mid-scroll. */
    .vf-hero { min-height: 62svh; }
    .vf-hero-inner { padding: calc(var(--header-height, 66px) + 5vh) 6vw 8vh; min-height: 62svh; }
    /* Phones show the artwork alone. Only the visible copy is dropped — the h1
       stays in the DOM (it is visually hidden anyway) so the page keeps its
       heading for search engines and screen readers. */
    .vf-kicker,
    .vf-lead,
    .vf-hero-actions { display: none; }
    .vf-title { font-size: clamp(2.5rem, 10vw, 3.8rem); }

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

    .vf-stats { padding: 10vh 6vw; }
    .vf-detail { padding: 10vh 6vw; }
    .vf-detail-head { flex-direction: column; align-items: flex-start; }
    .vf-detail-list { grid-template-columns: 1fr; }

    .vf-candidates { padding: 10vh 6vw; }
    .vf-candidate-list { grid-template-columns: 1fr; }

    .vf-compare { padding: 10vh 6vw; }
    .vf-compare-grid { grid-template-columns: 1fr; }

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

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

@media (max-width: 460px) {
    .vf-gallery-grid { grid-template-columns: 1fr; }
}

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