/* Floor Plan Reader feature page (/features/floor-plans/ and its versions). Builds on product-landings.css,
   video-feature-segments.css and hero-video-banner.css; every class here starts with fp-. Motion uses the landing's
   two easings: --fp-ease (settle) and --fp-pop (overshoot). */

.feature-landing-floorplans {
    --fp-orange: #ff9000;
    --fp-amber: #ffb14d;
    --fp-ink: #1e1e1e;
    --fp-copy: #5a5a5a;
    --fp-paper: #fcfcfa;
    --fp-card: #ffffff;
    --fp-line: rgba(0, 0, 0, 0.08);
    --fp-dark: #111214;
    --fp-ease: cubic-bezier(.2, .8, .2, 1);
    --fp-pop: cubic-bezier(.2, 1.4, .4, 1);
}

/* ---------- sections ---------- */
.fp-bold { padding: 104px 0; }
.fp-bold .video-feature-container { width: min(100%, 1240px); }
.fp-bold .video-feature-heading { max-width: 860px; }
.fp-bold .video-feature-eyebrow { font-size: 13px; letter-spacing: 0.09em; }
.fp-bold .video-feature-heading h2 {
    margin-top: 14px;
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.04;
}
.fp-bold .video-feature-heading h2 em {
    font-style: normal;
    text-decoration: underline;
    text-decoration-color: var(--fp-orange);
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}
.fp-bold .video-feature-heading > p:last-child:not(.video-feature-eyebrow) {
    max-width: 640px;
    margin-top: 16px;
    font-size: 19px;
    line-height: 1.5;
}
.fp-heading-center { margin-inline: auto; text-align: center; }
.fp-heading-center > p:last-child { margin-inline: auto; }
.fp-body { margin-top: 48px; }
.fp-note { margin: 18px 0 0; color: var(--fp-copy); font: 400 13px/1.5 Inter, sans-serif; }
.fp-section-dark {
    background:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 1.2px) 0 0 / 22px 22px,
        var(--fp-dark);
    color: #fff;
    border-top: 0;
}
.fp-section-dark .video-feature-heading h2 { color: #fff; }
.fp-section-dark .video-feature-heading > p:last-child { color: rgba(255, 255, 255, 0.72); }
.fp-section-dark .video-feature-eyebrow { color: var(--fp-amber); }

/* ---------- hero ---------- */
.feature-floorplan-hero .feature-landing-hero-grid { grid-template-columns: minmax(380px, 0.8fr) minmax(560px, 1.2fr); }
.fp-hero-title {
    margin: 0;
    font-size: clamp(2.6rem, 3.6vw, 4rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em !important;
}
.fp-hero-title > span,
.fp-hero-title > em { display: block; }
.fp-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.fp-hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    font: 500 13px/1 Inter, sans-serif;
}
.fp-hero-chips li b { color: #fff; font-weight: 700; }
.fp-hero-chips li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fp-orange);
}
.fp-light-chips li {
    border-color: var(--fp-line);
    background: var(--fp-card);
    color: var(--fp-copy);
}
.fp-light-chips li b { color: var(--fp-ink); }

/* ---------- framed media ---------- */
.fp-frame {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: var(--fp-paper);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.fp-frame-light { box-shadow: 0 24px 60px rgba(17, 18, 20, 0.12), 0 0 0 1px var(--fp-line); }
.fp-frame img,
.fp-frame video { display: block; width: 100%; height: auto; }
.fp-tag {
    position: absolute;
    z-index: 3;
    top: 14px;
    padding: 6px 11px;
    border-radius: 999px;
    font: 600 12px/1 Inter, sans-serif;
    pointer-events: none;
}
.fp-tag-left { left: 14px; color: #fff; background: rgba(17, 18, 20, 0.78); }
.fp-tag-right { right: 14px; color: #151515; background: var(--fp-orange); }

/* ---------- M1 wipe: sketch over plan, the handle at --fp-pos ---------- */
.fp-wipe {
    --fp-pos: 50%;
    position: relative;
    overflow: hidden;
    border-radius: inherit;
    touch-action: pan-y;
}
.fp-wipe > img { display: block; width: 100%; height: auto; }
.fp-wipe-top {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    clip-path: inset(0 calc(100% - var(--fp-pos)) 0 0);
}
.fp-wipe-line {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: var(--fp-pos);
    width: 3px;
    margin-left: -1.5px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}
.fp-wipe-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--fp-orange);
    color: #151515;
    box-shadow: 0 0 0 4px #fff, 0 12px 28px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, -50%);
}
.fp-wipe-knob svg { width: 26px; height: 26px; }
.fp-wipe input[type="range"] {
    position: absolute;
    z-index: 4;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}
.fp-wipe input[type="range"]:focus-visible ~ .fp-wipe-line .fp-wipe-knob { box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--fp-orange); }

/* ---------- H2 scan: the plan is revealed under a beam, then the read parts are counted ---------- */
.fp-scan { position: relative; }
.fp-scan-stage { position: relative; overflow: hidden; border-radius: inherit; }
.fp-scan-stage > img { display: block; width: 100%; height: auto; }
.fp-scan-plan {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100% !important;
    clip-path: inset(0 0 0 0);
}
.fp-scan-beam {
    position: absolute;
    z-index: 2;
    left: -2%;
    right: -2%;
    top: 100%;
    height: 3px;
    background: var(--fp-orange);
    box-shadow: 0 0 22px 6px rgba(255, 144, 0, 0.55), 0 -40px 60px rgba(255, 144, 0, 0.12);
    opacity: 0;
}
.fp-scan.is-playing .fp-scan-plan { animation: fp-scan-reveal 9s var(--fp-ease) infinite; }
.fp-scan.is-playing .fp-scan-beam { animation: fp-scan-beam 9s var(--fp-ease) infinite; }
@keyframes fp-scan-reveal {
    0%, 8% { clip-path: inset(0 0 100% 0); }
    48%, 86% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 0 100% 0); }
}
@keyframes fp-scan-beam {
    0%, 8% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    46% { opacity: 1; }
    48% { top: 100%; opacity: 0; }
    100% { top: 100%; opacity: 0; }
}
.fp-scan-steps {
    position: absolute;
    z-index: 3;
    left: 16px;
    bottom: 16px;
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 12px 14px;
    list-style: none;
    border-radius: 14px;
    background: rgba(17, 18, 20, 0.86);
    color: #fff;
    font: 500 13px/1.2 Inter, sans-serif;
    backdrop-filter: blur(8px);
}
.fp-scan-steps li { display: flex; align-items: center; gap: 8px; }
.fp-scan-steps li::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-sizing: border-box;
}
.fp-scan-steps li b { margin-left: auto; padding-left: 14px; color: var(--fp-amber); font-variant-numeric: tabular-nums; }
.fp-scan.is-playing .fp-scan-steps li::before { animation: fp-step-done 9s linear infinite; animation-delay: var(--d, 0s); }
@keyframes fp-step-done {
    0%, 10% { background: transparent; border-color: rgba(255, 255, 255, 0.35); }
    14%, 86% { background: var(--fp-orange); border-color: var(--fp-orange); }
    100% { background: transparent; border-color: rgba(255, 255, 255, 0.35); }
}

/* ---------- H3 morph: sketch → plan → 3D → render ---------- */
.fp-morph { display: grid; gap: 14px; }
.fp-morph-stage { position: relative; aspect-ratio: 4 / 3; background: #fff; }
.fp-morph-frame {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 4%;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 700ms var(--fp-ease), transform 900ms var(--fp-ease);
}
.fp-morph-frame.is-active { opacity: 1; transform: scale(1); }
.fp-morph-frame img { width: 100%; height: 100%; object-fit: contain; }
.fp-morph-frame-photo { padding: 0; }
.fp-morph-frame-photo img { width: 100%; height: 100%; object-fit: cover; }
.fp-steps {
    display: grid;
    grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
    gap: 8px;
}
.fp-step {
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.55);
    font: 600 13px/1.2 Inter, sans-serif;
    text-align: left;
    cursor: pointer;
}
.fp-step-bar { position: relative; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.fp-step-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--fp-orange);
    transform: scaleX(0);
    transform-origin: left;
}
.fp-step.is-done .fp-step-bar::after { transform: scaleX(1); }
.fp-step.is-active { color: #fff; }
.fp-step.is-active .fp-step-bar::after { animation: fp-bar var(--fp-step-ms, 2800ms) linear forwards; }
.fp-light-steps .fp-step { color: rgba(0, 0, 0, 0.45); }
.fp-light-steps .fp-step.is-active { color: var(--fp-ink); }
.fp-light-steps .fp-step-bar { background: rgba(0, 0, 0, 0.08); }
@keyframes fp-bar { to { transform: scaleX(1); } }

/* ---------- H4 paper stack ---------- */
.fp-stack { position: relative; height: clamp(400px, 32vw, 520px); perspective: 1600px; }
.fp-stack-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(84%, 580px);
    aspect-ratio: 4 / 3;
    transform-style: preserve-3d;
    transition: transform 900ms var(--fp-ease), opacity 600ms ease, z-index 0s 450ms;
}
.fp-stack-card[data-order="0"] { z-index: 3; transform: translate(-50%, -50%) rotate(-2deg); }
.fp-stack-card[data-order="1"] { z-index: 2; transform: translate(-30%, -53%) rotate(7deg) scale(0.94); }
.fp-stack-card[data-order="2"] { z-index: 1; transform: translate(-72%, -47%) rotate(-10deg) scale(0.9); }
.fp-stack-card.is-flipped[data-order="0"] { transform: translate(-50%, -50%) rotate(0deg) rotateY(180deg); }
.fp-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    backface-visibility: hidden;
}
.fp-face img { width: 100%; height: 100%; object-fit: cover; }
.fp-face-back { transform: rotateY(180deg); display: grid; place-items: center; padding: 6%; }
.fp-face-back img { object-fit: contain; }
.fp-face .fp-tag { top: 12px; }

/* ---------- H5 app window ---------- */
.fp-app { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.fp-app-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 14px;
    background: #ececea;
}
.fp-app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d3cf; }
.fp-app-bar span {
    margin-left: 12px;
    padding: 4px 12px;
    border-radius: 7px;
    background: #fff;
    color: #8a8984;
    font: 500 11px/1 Inter, sans-serif;
}
.fp-app-stage { position: relative; aspect-ratio: 3 / 2; }
.fp-app-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 600ms ease;
}
.fp-app-shot.is-active { opacity: 1; }

/* ---------- H6 race ---------- */
.fp-race { display: grid; gap: 14px; }
.fp-lane {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}
.fp-lane-us { border-color: rgba(255, 144, 0, 0.5); background: rgba(255, 144, 0, 0.08); }
.fp-lane-thumb { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #fff; }
.fp-lane-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 500ms ease; }
.fp-lane-thumb img + img { object-fit: contain; padding: 6%; opacity: 0; background: #fff; }
.fp-lane.is-finished .fp-lane-thumb img + img { opacity: 1; }
.fp-lane-name { margin: 0; color: #fff; font: 700 18px/1.2 "IBM Plex Sans", sans-serif; }
.fp-lane-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 12px; color: rgba(255, 255, 255, 0.7); font: 500 14px/1.3 Inter, sans-serif; }
.fp-lane-meta b { color: #fff; font-variant-numeric: tabular-nums; }
.fp-lane-us .fp-lane-meta b { color: var(--fp-amber); }
.fp-track { height: 8px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, 0.12); }
.fp-track span { display: block; height: 100%; width: var(--fp-progress, 0%); border-radius: inherit; background: rgba(255, 255, 255, 0.5); }
.fp-lane-us .fp-track span { background: var(--fp-orange); }
.fp-race-foot { margin: 4px 0 0; color: rgba(255, 255, 255, 0.5); font: 400 12px/1.4 Inter, sans-serif; }

/* ---------- S1 gallery ---------- */
.fp-gallery { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: 32px; align-items: start; }
.fp-gallery-picks { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.fp-pick {
    width: 74px;
    height: 74px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--fp-line);
    cursor: pointer;
    transition: transform 300ms var(--fp-pop), border-color 200ms ease;
}
.fp-pick img { width: 100%; height: 100%; object-fit: cover; }
.fp-pick:hover { transform: translateY(-3px); }
.fp-pick[aria-selected="true"] { border-color: var(--fp-orange); }
.fp-panel[hidden] { display: none !important; }
.fp-facts { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--fp-line); }
.fp-facts li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--fp-line);
    color: var(--fp-copy);
    font: 400 15px/1.4 Inter, sans-serif;
}
.fp-facts li b { color: var(--fp-ink); font: 600 15px/1.4 "IBM Plex Sans", sans-serif; font-variant-numeric: tabular-nums; text-align: right; }
.fp-facts-title { margin: 0 0 6px; color: var(--fp-ink); font: 700 22px/1.2 "IBM Plex Sans", sans-serif; }
.fp-facts-sub { margin: 0 0 18px; color: var(--fp-copy); font: 400 15px/1.5 Inter, sans-serif; }
.fp-credit { margin: 14px 0 0; color: #9a9893; font: 400 12px/1.4 Inter, sans-serif; }
.fp-credit a { color: inherit; }

/* ---------- S2 proof wall: flip cards ---------- */
.fp-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fp-flip {
    position: relative;
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 0;
    background: none;
    perspective: 1400px;
    cursor: pointer;
    text-align: left;
}
.fp-flip-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 900ms var(--fp-ease); }
.fp-flip.is-flipped .fp-flip-inner { transform: rotateY(180deg); }
.fp-flip .fp-face { box-shadow: 0 16px 40px rgba(17, 18, 20, 0.14), 0 0 0 1px var(--fp-line); }
.fp-flip-caption {
    position: absolute;
    z-index: 2;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.fp-flip-caption span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--fp-ink);
    font: 600 12px/1 Inter, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.fp-face-back .fp-flip-caption span { background: var(--fp-paper); box-shadow: 0 0 0 1px var(--fp-line); }

/* ---------- S12 stats ---------- */
.fp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.fp-stats li { display: grid; gap: 8px; padding: 26px 24px; border: 1px solid var(--fp-line); border-radius: 20px; background: var(--fp-card); }
.fp-stats strong { color: var(--fp-ink); font: 700 clamp(40px, 4.6vw, 64px)/1 "IBM Plex Sans", sans-serif; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fp-stats strong em { color: var(--fp-orange); font-style: normal; }
.fp-stats li > span { color: var(--fp-copy); font: 400 15px/1.4 Inter, sans-serif; }
.fp-section-dark .fp-stats li { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); }
.fp-section-dark .fp-stats strong { color: #fff; }
.fp-section-dark .fp-stats li > span { color: rgba(255, 255, 255, 0.7); }

/* ---------- S3 what it reads: pins over the plan ---------- */
.fp-reads { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: 40px; align-items: center; }
.fp-pins { position: relative; }
.fp-pin {
    position: absolute;
    z-index: 2;
    left: var(--x);
    top: var(--y);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    background: var(--fp-orange);
    color: #151515;
    font: 700 13px/1 Inter, sans-serif;
    box-shadow: 0 0 0 4px rgba(255, 144, 0, 0.25);
    transform: scale(0);
    transition: transform 500ms var(--fp-pop);
    transition-delay: calc(var(--i, 0) * 140ms);
}
.is-visible .fp-pin, .fp-pins.is-in-view .fp-pin { transform: scale(1); }
.fp-pin.is-active { box-shadow: 0 0 0 7px rgba(255, 144, 0, 0.35); }
.fp-legend { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; counter-reset: fp; }
.fp-legend li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 12px 14px;
    border-radius: 14px;
    counter-increment: fp;
    transition: background 200ms ease;
}
.fp-legend li::before {
    content: counter(fp);
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--fp-ink);
    color: #fff;
    font: 700 13px/1 Inter, sans-serif;
}
.fp-legend li.is-active { background: rgba(255, 144, 0, 0.1); }
.fp-legend li.is-active::before { background: var(--fp-orange); color: #151515; }
.fp-legend strong { display: block; color: var(--fp-ink); font: 600 17px/1.3 "IBM Plex Sans", sans-serif; }
.fp-legend span { color: var(--fp-copy); font: 400 14px/1.45 Inter, sans-serif; }

/* ---------- S4 clean-up ---------- */
.fp-cleanup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fp-cleanup figure { margin: 0; }
.fp-cleanup figcaption { margin-top: 14px; color: var(--fp-copy); font: 400 15px/1.45 Inter, sans-serif; }
.fp-cleanup figcaption b { display: block; color: var(--fp-ink); font: 600 18px/1.3 "IBM Plex Sans", sans-serif; }
.fp-overlay { position: relative; }
.fp-overlay > img { display: block; width: 100%; height: auto; }
.fp-overlay-top { position: absolute !important; inset: 0; width: 100%; height: 100% !important; }
.fp-overlay.is-playing .fp-overlay-top { animation: fp-trace 7s var(--fp-ease) infinite; }
@keyframes fp-trace { 0%, 8% { clip-path: inset(0 0 100% 0); } 50%, 90% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 100% 0); } }

/* ---------- H7 trace: orange walls trace the sketch, then the clean plan takes over ---------- */
.fp-trace { position: relative; }
.fp-trace > img { display: block; width: 100%; height: auto; }
.fp-trace-walls, .fp-trace-plan { position: absolute !important; inset: 0; width: 100%; height: 100% !important; }
.fp-trace-plan { opacity: 0; }
.fp-trace.is-playing .fp-trace-walls { animation: fp-trace-walls 10s var(--fp-ease) infinite; }
.fp-trace.is-playing .fp-trace-plan { animation: fp-trace-plan 10s var(--fp-ease) infinite; }
@keyframes fp-trace-walls { 0%, 6% { clip-path: inset(0 0 100% 0); } 40%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 100% 0); } }
@keyframes fp-trace-plan { 0%, 50% { opacity: 0; } 60%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* ---------- S5 views: tabs over one stage ---------- */
.fp-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #efeeea; }
.fp-tab {
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--fp-copy);
    font: 600 14px/1 Inter, sans-serif;
    cursor: pointer;
}
.fp-tab[aria-selected="true"] { background: var(--fp-ink); color: #fff; }
.fp-views-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.fp-views-stage { position: relative; aspect-ratio: 16 / 10; background: #fff; }
.fp-view {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 3%;
    opacity: 0;
    transition: opacity 500ms ease;
}
.fp-view.is-active { opacity: 1; }
.fp-view img, .fp-view video { width: 100%; height: 100%; object-fit: contain; }
.fp-view-fill { padding: 0; }
.fp-view-fill img { width: 100%; height: 100%; object-fit: cover; }
.fp-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fp-ink);
    font: 600 14px/1 Inter, sans-serif;
    cursor: pointer;
}
.fp-switch i {
    position: relative;
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: #d6d4cf;
    transition: background 200ms ease;
}
.fp-switch i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 300ms var(--fp-pop);
}
.fp-switch[aria-checked="true"] i { background: var(--fp-orange); }
.fp-switch[aria-checked="true"] i::after { transform: translateX(18px); }
.fp-switch[hidden] { display: none; }
.fp-twin { position: relative; width: 100%; height: 100%; }
.fp-twin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 600ms ease; }
.fp-twin img + img { opacity: 0; }
.fp-twin.is-alt img + img { opacity: 1; }
.fp-twin.is-alt img:first-child { opacity: 0; }

/* ---------- S6 layers: switches over an inline plan ---------- */
.fp-layers { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr); gap: 36px; align-items: center; }
.fp-layers-plan svg { display: block; width: 100%; height: auto; }
.fp-layers-plan [data-layer] { transition: opacity 350ms ease; }
.fp-layers-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fp-layers-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--fp-line);
    border-radius: 14px;
    background: var(--fp-card);
}
.fp-layers-list .fp-switch { width: 100%; justify-content: space-between; }

/* ---------- S7 fix it in place ---------- */
.fp-fix { position: relative; }
.fp-fix-box {
    position: absolute;
    z-index: 3;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    height: var(--h);
    border: 2.5px dashed var(--fp-orange);
    border-radius: 10px;
    background: rgba(255, 144, 0, 0.08);
    opacity: 0;
    transform: scale(0.9);
}
.fp-fix-note {
    position: absolute;
    z-index: 4;
    left: var(--nx);
    top: var(--ny);
    max-width: 250px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--fp-ink);
    color: #fff;
    font: 500 14px/1.35 Inter, sans-serif;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(8px);
}
.fp-fix-note small { display: block; margin-top: 6px; color: var(--fp-amber); font: 600 12px/1 Inter, sans-serif; }
.fp-fix-after { position: absolute !important; inset: 0; width: 100%; height: 100% !important; opacity: 0; }
.fp-fix.is-playing .fp-fix-box { animation: fp-fix-box 10s var(--fp-ease) infinite; }
.fp-fix.is-playing .fp-fix-note { animation: fp-fix-note 10s var(--fp-ease) infinite; }
.fp-fix.is-playing .fp-fix-after { animation: fp-fix-after 10s var(--fp-ease) infinite; }
@keyframes fp-fix-box { 0%, 8% { opacity: 0; transform: scale(0.9); } 14%, 70% { opacity: 1; transform: scale(1); } 78%, 100% { opacity: 0; transform: scale(1); } }
@keyframes fp-fix-note { 0%, 18% { opacity: 0; transform: translateY(8px); } 24%, 70% { opacity: 1; transform: translateY(0); } 78%, 100% { opacity: 0; } }
@keyframes fp-fix-after { 0%, 52% { opacity: 0; } 62%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- S8 property website mock ---------- */
.fp-site { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(17, 18, 20, 0.12), 0 0 0 1px var(--fp-line); }
.fp-site-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.fp-site-hero { position: relative; min-height: 100%; }
.fp-site-hero { background: #fff; }
.fp-site-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4% 4% 96px; }
.fp-site-hero div {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
}
.fp-site-hero strong { display: block; color: var(--fp-ink); font: 700 20px/1.2 "IBM Plex Sans", sans-serif; }
.fp-site-hero span { color: var(--fp-copy); font: 400 14px/1.4 Inter, sans-serif; }
.fp-site-plan { padding: 26px; display: grid; gap: 14px; align-content: start; }
.fp-site-plan h3 { margin: 0; color: var(--fp-ink); font: 700 20px/1.2 "IBM Plex Sans", sans-serif; }
.fp-site-plan .fp-views-stage { aspect-ratio: 1; border-radius: 14px; box-shadow: 0 0 0 1px var(--fp-line); overflow: hidden; }

/* ---------- S9 hub ---------- */
.fp-hub { display: grid; grid-template-columns: minmax(0, 0.8fr) 140px minmax(0, 1.4fr); gap: 0; align-items: center; }
.fp-hub-source figure { margin: 0; }
.fp-hub-source figcaption, .fp-hub-out figcaption { margin-top: 10px; color: var(--fp-copy); font: 600 14px/1.3 Inter, sans-serif; text-align: center; }
.fp-section-dark .fp-hub-source figcaption, .fp-section-dark .fp-hub-out figcaption { color: rgba(255, 255, 255, 0.75); }
.fp-hub-link { position: relative; height: 100%; min-height: 260px; }
.fp-hub-link svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fp-hub-link path { fill: none; stroke: var(--fp-orange); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.fp-hub.is-in-view .fp-hub-link path, .is-visible .fp-hub-link path { animation: fp-draw 1.2s var(--fp-ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fp-draw { to { stroke-dashoffset: 0; } }
.fp-hub-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: var(--fp-ink);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 8px rgba(255, 144, 0, 0.18);
}
.fp-hub-mark img { width: 30px; height: auto; }
.fp-hub-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fp-hub-out figure { margin: 0; opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 600ms ease, transform 700ms var(--fp-pop); transition-delay: calc(0.5s + var(--i, 0) * 0.15s); }
.fp-hub.is-in-view .fp-hub-out figure, .is-visible .fp-hub-out figure { opacity: 1; transform: none; }
.fp-hub-out .fp-frame { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #fff; }
.fp-hub-out .fp-frame img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.fp-hub-out .fp-frame.fp-fill img { object-fit: cover; padding: 0; }

/* ---------- S13 any input: each sketch over its own plan ---------- */
.fp-inputs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fp-input { display: grid; gap: 10px; justify-items: center; margin: 0; }
.fp-input .fp-frame { width: 100%; aspect-ratio: 4 / 3; }
.fp-input-sketch img { width: 100%; height: 100%; object-fit: cover; }
.fp-input-plan { display: grid; place-items: center; background: #fff; }
.fp-input-plan img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.fp-input-arrow { color: var(--fp-orange); font: 400 26px/1 Inter, sans-serif; }
.fp-input figcaption { color: var(--fp-copy); font: 600 14px/1.3 Inter, sans-serif; text-align: center; }

/* ---------- S14 render close-up ---------- */
.fp-zoom { position: relative; overflow: hidden; cursor: zoom-in; }
.fp-zoom img { display: block; width: 100%; height: auto; transition: transform 600ms var(--fp-ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.fp-zoom.is-zoomed img { transform: scale(2.2); }
.fp-zoom.is-zoomed { cursor: zoom-out; }

/* ---------- S10 cost (two rows) ---------- */
.fp-cost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fp-cost-card { display: grid; gap: 14px; align-content: start; padding: 30px; border: 1px solid var(--fp-line); border-radius: 24px; background: var(--fp-card); }
.fp-cost-card.is-us { border-color: var(--fp-orange); box-shadow: 0 0 0 3px rgba(255, 144, 0, 0.15); }
.fp-cost-card h3 { margin: 0; color: var(--fp-ink); font: 600 18px/1.2 "IBM Plex Sans", sans-serif; }
.fp-cost-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.fp-cost-card dt { color: var(--fp-copy); font: 400 15px/1.3 Inter, sans-serif; }
.fp-cost-card dd { margin: 0; color: var(--fp-ink); font: 700 15px/1.3 Inter, sans-serif; text-align: right; font-variant-numeric: tabular-nums; }
.fp-cost-big { margin: 0; color: var(--fp-ink); font: 700 clamp(40px, 4.4vw, 60px)/1 "IBM Plex Sans", sans-serif; letter-spacing: -0.04em; }
.fp-cost-card.is-us .fp-cost-big { color: var(--fp-orange); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .feature-floorplan-hero .feature-landing-hero-grid { grid-template-columns: 1fr; }
    .fp-gallery, .fp-reads, .fp-layers { grid-template-columns: 1fr; }
    .fp-hub { grid-template-columns: 1fr; gap: 18px; }
    .fp-hub-link { min-height: 120px; }
    .fp-hub-link svg { display: none; }
    .fp-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .fp-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fp-cost { grid-template-columns: 1fr; }
    .fp-site-body { grid-template-columns: 1fr; }
    .fp-site-hero { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
    .fp-bold { padding: 72px 0; }
    .fp-bold .video-feature-heading > p:last-child:not(.video-feature-eyebrow) { font-size: 16.5px; }
    .fp-lane { grid-template-columns: 72px minmax(0, 1fr); padding: 14px; gap: 12px; }
    .fp-lane-name { font-size: 16px; }
    .fp-wall { gap: 10px; }
    .fp-stack { height: 300px; }
    .fp-stack-card { width: 80%; }
    .fp-steps { gap: 5px; }
    .fp-step { font-size: 11px; }
    .fp-scan-steps { left: 10px; bottom: 10px; padding: 9px 10px; font-size: 11px; }
    .fp-fix-note { max-width: 190px; font-size: 12px; }
    .fp-views-stage { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
    .fp-scan.is-playing .fp-scan-plan, .fp-scan.is-playing .fp-scan-beam, .fp-scan.is-playing .fp-scan-steps li::before,
    .fp-fix.is-playing .fp-fix-box, .fp-fix.is-playing .fp-fix-note, .fp-fix.is-playing .fp-fix-after,
    .fp-overlay.is-playing .fp-overlay-top, .fp-trace.is-playing .fp-trace-walls, .fp-trace.is-playing .fp-trace-plan { animation: none !important; }
    .fp-fix-box, .fp-fix-note { opacity: 1; transform: none; }
    .fp-pin, .fp-hub-out figure { transform: none; opacity: 1; transition: none; }
    .fp-hub-link path { stroke-dashoffset: 0; }
    .fp-stack-card, .fp-flip-inner, .fp-morph-frame { transition: none; }
}

/* ---------- S15 strip: sketch → plan → render rows ---------- */
.fp-strip { display: grid; gap: 22px; }
.fp-strip-row { display: grid; grid-template-columns: 150px repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.fp-strip-label { margin: 0; padding-top: 10px; color: var(--fp-ink); font: 600 15px/1.35 "IBM Plex Sans", sans-serif; }
.fp-strip figure, .fp-old figure { margin: 0; }
.fp-strip .fp-frame, .fp-old .fp-frame { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #fff; }
.fp-strip .fp-frame img, .fp-old .fp-frame img { width: 100%; height: 100%; object-fit: contain; padding: 5%; }
.fp-strip .fp-fill img, .fp-old .fp-fill img { object-fit: cover; padding: 0; }
.fp-strip figcaption, .fp-old figcaption { margin-top: 8px; color: var(--fp-copy); font: 500 13px/1.3 Inter, sans-serif; }
.fp-section-dark .fp-old figcaption { color: rgba(255, 255, 255, 0.7); }
.fp-section-dark .fp-credit { color: rgba(255, 255, 255, 0.5); }

/* ---------- S16 your language ---------- */
.fp-langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fp-lang-card { margin: 0; }
.fp-lang-card figcaption { display: grid; gap: 4px; margin-top: 12px; }
.fp-lang-card b { color: var(--fp-ink); font: 700 17px/1.2 "IBM Plex Sans", sans-serif; }
.fp-lang-card span { color: var(--fp-copy); font: 400 14px/1.4 Inter, sans-serif; }
.fp-lang-card .fp-wipe-knob { width: 40px; height: 40px; }
.fp-lang-card .fp-tag { display: none; }

/* ---------- S17 old plans ---------- */
.fp-old { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

@media (max-width: 900px) {
    .fp-strip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .fp-strip-label { grid-column: 1 / -1; padding: 0; }
    .fp-langs, .fp-old { grid-template-columns: 1fr; }
}
.fp-lang-card .fp-wipe { aspect-ratio: 1; }
.fp-lang-card .fp-wipe > img { height: 100%; object-fit: cover; }

/* ---------- S7 v2: a cursor drags the box, the request types itself, the reader fixes that part ---------- */
.fp-fixdemo { position: relative; overflow: hidden; max-width: 860px; margin: 0 auto; }
.fp-fixdemo > img { display: block; width: 100%; height: auto; }
.fp-fixdemo-after { position: absolute !important; inset: 0; width: 100%; height: 100% !important; opacity: 0; transition: opacity 700ms ease; }
.fp-fixdemo.is-done .fp-fixdemo-after { opacity: 1; }
.fp-fixdemo-box {
    position: absolute;
    z-index: 3;
    left: var(--bx);
    top: var(--by);
    width: 0;
    height: 0;
    border: 2.5px dashed var(--fp-orange);
    border-radius: 8px;
    background: rgba(255, 144, 0, 0.1);
    opacity: 0;
    overflow: hidden;
    transition: width 1100ms var(--fp-ease), height 1100ms var(--fp-ease), border-color 300ms ease, background 300ms ease, opacity 300ms ease;
}
.fp-fixdemo.is-marking .fp-fixdemo-box, .fp-fixdemo.is-marked .fp-fixdemo-box { opacity: 1; }
.fp-fixdemo.is-marked .fp-fixdemo-box { width: var(--bw); height: var(--bh); }
.fp-fixdemo-box i {
    position: absolute;
    left: 0;
    right: 0;
    top: -20%;
    height: 20%;
    background: linear-gradient(180deg, transparent, rgba(255, 144, 0, 0.45), transparent);
    opacity: 0;
}
.fp-fixdemo.is-fixing .fp-fixdemo-box i { opacity: 1; animation: fp-fix-beam 1.1s linear infinite; }
@keyframes fp-fix-beam { from { top: -20%; } to { top: 100%; } }
.fp-fixdemo.is-done .fp-fixdemo-box { border-style: solid; border-color: #1f9d55; background: rgba(31, 157, 85, 0.08); }
.fp-fixdemo-card {
    position: absolute;
    z-index: 5;
    left: var(--cx);
    top: var(--cy);
    width: min(270px, 44%);
    display: grid;
    gap: 9px;
    padding: 13px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(17, 18, 20, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    transition: opacity 260ms ease, transform 360ms var(--fp-pop);
    pointer-events: none;
}
.fp-fixdemo.is-asking .fp-fixdemo-card { opacity: 1; transform: none; }
.fp-fixdemo-card p { margin: 0; color: var(--fp-ink); font: 600 13px/1.2 Inter, sans-serif; }
.fp-fixdemo-field {
    min-height: 40px;
    padding: 9px 10px;
    border: 1.5px solid var(--fp-orange);
    border-radius: 9px;
    color: var(--fp-ink);
    font: 400 13px/1.35 Inter, sans-serif;
}
.fp-fixdemo-field i { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--fp-ink); animation: fp-caret 900ms steps(1) infinite; }
@keyframes fp-caret { 50% { opacity: 0; } }
.fp-fixdemo-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fp-fixdemo-row small { color: var(--fp-copy); font: 500 12px/1 Inter, sans-serif; }
.fp-fixdemo-row b {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--fp-orange);
    color: #151515;
    font: 700 12px/1 Inter, sans-serif;
    transition: transform 140ms ease;
}
.fp-fixdemo.is-pressing .fp-fixdemo-row b { transform: scale(0.92); }
.fp-fixdemo-status {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(17, 18, 20, 0.88);
    color: #fff;
    font: 500 13px/1 Inter, sans-serif;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 6px);
    transition: opacity 300ms ease, transform 300ms ease;
}
.fp-fixdemo-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fp-orange); animation: fp-caret 800ms steps(1) infinite; }
.fp-fixdemo.is-fixing .fp-fixdemo-status, .fp-fixdemo.is-done .fp-fixdemo-status { opacity: 1; transform: translate(-50%, 0); }
.fp-fixdemo.is-done .fp-fixdemo-status::before { background: #3ad07a; animation: none; }
.fp-fixdemo-status [data-fp-state] { display: none; }
.fp-fixdemo.is-fixing .fp-fixdemo-status [data-fp-state="fixing"], .fp-fixdemo.is-done .fp-fixdemo-status [data-fp-state="done"] { display: inline; }
.fp-cursor {
    position: absolute;
    z-index: 6;
    left: 104%;
    top: 104%;
    width: 22px;
    height: 30px;
    transition: left 800ms var(--fp-ease), top 800ms var(--fp-ease), transform 120ms ease;
    pointer-events: none;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}
.fp-fixdemo.is-dragging .fp-cursor { transition: left 1100ms var(--fp-ease), top 1100ms var(--fp-ease); }
.fp-fixdemo.is-pressing .fp-cursor, .fp-fixdemo.is-marking .fp-cursor { transform: scale(0.9); }
@media (max-width: 640px) {
    .fp-fixdemo-card { width: 56%; padding: 9px; gap: 6px; }
    .fp-fixdemo-field { min-height: 30px; padding: 6px 7px; font-size: 11px; }
    .fp-fixdemo-card p, .fp-fixdemo-row b { font-size: 11px; }
    .fp-fixdemo-status { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .fp-fixdemo-box { width: var(--bw); height: var(--bh); opacity: 1; transition: none; }
    .fp-fixdemo-card { opacity: 1; transform: none; }
    .fp-cursor { display: none; }
}

/* ---------- S18 / H8 film: the whole process, from the photo of a sketch to a furnished render ---------- */
.fp-film { display: grid; gap: 14px; }
.fp-film-stage {
    position: relative;
    aspect-ratio: 960 / 776;
    overflow: hidden;
    border-radius: 22px;
    background: #f4f3ef;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.fp-film-sheet { position: absolute; top: 0; bottom: 0; left: 14.25%; width: 71.5%; background: #fff; }
.fp-film-sheet > *, .fp-film-house, .fp-film-render { position: absolute; display: block; }
.fp-film-sheet > * { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-film-house { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-film-walls { clip-path: inset(0 0 100% 0); }
.fp-film [data-fp-layer] { opacity: 0; }
.fp-film [data-fp-layer="sketch"] { opacity: 1; }
.fp-film-caption {
    position: absolute;
    z-index: 4;
    left: 14px;
    top: 14px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(17, 18, 20, 0.84);
    color: #fff;
    font: 600 13px/1 Inter, sans-serif;
    backdrop-filter: blur(6px);
}
.fp-film-toggle {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.06);
    color: var(--fp-ink);
    font: 600 13px/1 Inter, sans-serif;
    opacity: 0;
    transform: translateX(-50%);
}
.fp-film-toggle i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--fp-orange); transition: background 200ms ease; }
.fp-film-toggle i::after { content: ""; position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left 260ms var(--fp-pop); }
.fp-film-toggle.is-off i { background: #d6d4cf; }
.fp-film-toggle.is-off i::after { left: 3px; }
.fp-film .fp-cursor { left: 0; top: 0; opacity: 0; transition: none; z-index: 6; }
.fp-film-click {
    position: absolute;
    z-index: 5;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 2px solid var(--fp-orange);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}
.fp-film .fp-steps { --n: 4; }
@media (max-width: 640px) {
    .fp-film-caption { left: 8px; top: 8px; padding: 6px 9px; font-size: 11px; }
    .fp-film-toggle { padding: 6px 10px; font-size: 11px; bottom: 8px; }
    .fp-film .fp-cursor { width: 16px; height: 22px; }
}
.fp-film .fp-step-bar::after { transform: scaleX(var(--fp-k, 0)); animation: none !important; }
/* the Furnished switch sits top right, clear of the app's camera bar in the recorded clip */
.fp-film-toggle { left: auto; right: 2%; top: 2.5%; bottom: auto; transform: none; }
@media (max-width: 640px) { .fp-film-toggle { top: 2%; bottom: auto; } }
/* the part the fix changed: a soft pulse once the fixed plan is in */
.fp-fixdemo-spot {
    position: absolute;
    z-index: 4;
    left: calc(var(--sx) - var(--sw) / 2);
    top: calc(var(--sy) - var(--sh, 3.2%) / 2);
    width: var(--sw);
    height: var(--sh, 3.2%);
    border-radius: 6px;
    box-shadow: 0 0 0 3px #1f9d55, 0 0 22px 6px rgba(31, 157, 85, 0.45);
    opacity: 0;
    pointer-events: none;
}
.fp-fixdemo.is-done .fp-fixdemo-spot { animation: fp-spot 1.6s ease-out 0.4s 2 both; }
@keyframes fp-spot { 0% { opacity: 0; transform: scale(1.25); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
/* the paper stack holds portrait sketches (the look-alikes are mostly portrait) */
.fp-stack-card { width: min(62%, 400px); aspect-ratio: 3 / 4; }
@media (max-width: 640px) { .fp-stack { height: 360px; } .fp-stack-card { width: 58%; } }
/* one definite grid cell, so a tall plan fits the frame instead of overflowing it */
.fp-view, .fp-morph-frame { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.fp-view > *, .fp-morph-frame > * { min-width: 0; min-height: 0; }
/* script.js fades every lazy image in with an inline opacity of 1, which would show a stack's hidden layer (the empty
   render under "Furnished", the fixed plan before the fix): these layers keep the opacity their state gives them */
.fp-twin img + img, .fp-fixdemo-after, .fp-lane-thumb img + img, .fp-app-shot, .fp-trace-plan { opacity: 0 !important; }
.fp-twin.is-alt img + img, .fp-fixdemo.is-done .fp-fixdemo-after, .fp-lane.is-finished .fp-lane-thumb img + img, .fp-app-shot.is-active { opacity: 1 !important; }
.fp-twin.is-alt img:first-child { opacity: 0 !important; }
/* tall media never runs past the screen: a capped frame carries its media's aspect (--ar = width / height) and stays
   within 78% of the screen's height, centred in its column */
.fp-capped { width: min(100%, calc(var(--ar, 1) * 78vh)); margin-inline: auto; }
/* the two clean-up sketches stay side by side down to phone width */
@media (max-width: 560px) { .fp-cleanup { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .fp-site-hero { aspect-ratio: 1; } }
/* a hero with a 16:9 video (version A): the wide visual column of the Video page's hero */
.feature-floorplan-hero.fp-hero-wide .feature-landing-hero-grid { grid-template-columns: minmax(380px, 0.68fr) minmax(600px, 1.32fr); }
@media (max-width: 1100px) { .feature-floorplan-hero.fp-hero-wide .feature-landing-hero-grid { grid-template-columns: 1fr; } }
/* the gallery preview fits the screen below its sketch picks (--fp-fit is set by the tabs script) */
.fp-gallery .fp-capped { width: min(100%, calc(var(--ar, 1) * var(--fp-fit, 78vh))); }
/* S1c "Any plan, digitised": the sketch photos fanned across the top (the picked one lifts). Below, a stage of fixed height
   (the screen height left under the header and the fan: --fp-fit from the tabs script) holds the sketch, an arrow and the
   clean plan / visualized slider. Every plan is contained in the same box, so a switch never moves the page. */
.fp-digi { display: grid; gap: 14px; }
.fp-digi .fp-arc { position: relative; height: 236px; margin: 0; padding: 0; list-style: none; }
.fp-arc li { position: absolute; left: var(--x); top: var(--y); z-index: var(--z); width: 150px; margin-left: -75px; transform: rotate(var(--r)); transform-origin: 50% 100%; transition: transform 320ms var(--fp-pop); }
.fp-arc li:hover { z-index: 15; transform: rotate(var(--r)) translateY(-8px); }
.fp-arc li:has(.fp-pick[aria-selected="true"]) { z-index: 20; transform: translateY(-16px) scale(1.06); }
.fp-arc .fp-pick { display: block; width: 100%; height: auto; padding: 6px 6px 8px; overflow: visible; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 14px 30px rgba(17, 18, 20, 0.16), 0 0 0 1px var(--fp-line); text-align: left; transition: box-shadow 200ms ease; }
.fp-arc .fp-pick:hover { transform: none; }
.fp-arc .fp-pick img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.fp-arc .fp-pick[aria-selected="true"] { box-shadow: 0 0 0 3px var(--fp-orange), 0 18px 40px rgba(17, 18, 20, 0.22); }
.fp-arc-name { display: block; padding: 6px 2px 0; color: var(--fp-ink); font: 600 12px/1.25 Inter, sans-serif; }
.fp-digi-out { min-width: 0; }
.fp-digi-flow { --stage: clamp(300px, var(--fp-fit, 60vh), 760px); --h: var(--stage); display: grid; grid-template-columns: minmax(0, 0.72fr) 56px minmax(0, 1.28fr); grid-template-rows: minmax(0, 1fr); align-items: center; justify-items: center; gap: 10px; height: var(--h); }
/* the sketch and the slider take their own shape (--ar) inside the fixed stage: the stage, not the frame, sets the page's height */
.fp-digi-result { display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; }
.fp-digi-sketch, .fp-digi-result > .fp-frame { width: min(100%, calc(var(--h) * var(--ar, 1))); aspect-ratio: var(--ar, 1); }
.fp-digi-sketch { background: #fff; }
.fp-digi-arrow { width: 56px; height: 24px; overflow: visible; }
.fp-digi-arrow path { fill: none; stroke: var(--fp-orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.fp-digi-panel.is-in .fp-digi-arrow path { animation: fp-digi-draw 420ms ease-out 360ms both; }
.fp-digi-panel.is-in .fp-digi-arrow path + path { animation-delay: 640ms; animation-duration: 220ms; }
.fp-digi-panel.is-in .fp-digi-result { animation: fp-digi-result 620ms var(--fp-pop) 560ms both; }
@keyframes fp-digi-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fp-digi-result { from { opacity: 0; transform: translateX(24px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
    .fp-digi .fp-arc { display: flex; gap: 12px; height: auto; padding: 10px 4px 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
    .fp-arc li, .fp-arc li:hover, .fp-arc li:has(.fp-pick[aria-selected="true"]) { position: static; flex: 0 0 132px; width: auto; margin: 0; transform: none; scroll-snap-align: start; }
    /* narrow: the picked card above already shows the sketch, so the slider gets the stage */
    .fp-digi-flow { --h: min(var(--stage), 118vw); grid-template-columns: 1fr; }
        .fp-digi-sketch, .fp-digi-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .fp-digi-panel.is-in .fp-digi-arrow path, .fp-digi-panel.is-in .fp-digi-result { animation: none; }
}
/* S11 steps: each tile shows one short sequence, in turn, on one 9 s clock while the grid is in view (data-fp-play):
   the sketch photo is uploaded (0-3 s), the plan is drawn over the sketch (3-6 s), the visualized version develops over the
   plan (6-9 s); everything holds, then fades and starts again. Without the animation each tile shows its end state. */
.fp-stepvis { position: relative; aspect-ratio: 16 / 10; margin: 0 0 20px; overflow: hidden; border-radius: 14px; background: #f6f5f1; box-shadow: 0 0 0 1px var(--fp-line); }
.fp-stepvis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.fp-up-zone { position: absolute; inset: 9%; display: grid; place-items: center; border: 2px dashed rgba(255, 144, 0, 0.55); border-radius: 12px; }
.fp-up-icon { width: 30px; height: 30px; fill: none; stroke: var(--fp-orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fp-up-photo { position: absolute; left: 27%; top: 14%; width: 46%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 10px 24px rgba(17, 18, 20, 0.2); }
.fp-up-photo img { object-fit: cover; }
.fp-up-bar { position: absolute; left: 27%; right: 27%; bottom: 17%; height: 6px; overflow: hidden; border-radius: 99px; background: rgba(0, 0, 0, 0.08); }
.fp-up-bar i { position: absolute; inset: 0; background: var(--fp-orange); transform-origin: 0 50%; }
.fp-up-ok { position: absolute; right: 17%; bottom: 12%; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1f9d55; }
.fp-up-ok svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fp-stepvis-2 .fp-sv-under { opacity: 0.55; }
.fp-sv-scan { position: absolute; top: 0; bottom: 0; left: 100%; width: 3px; background: var(--fp-orange); box-shadow: 0 0 14px rgba(255, 144, 0, 0.7); opacity: 0; }
.fp-steps-anim.is-playing .fp-up-photo { animation: fp-sv-photo 9s var(--fp-ease) infinite both; }
.fp-steps-anim.is-playing .fp-up-bar i { animation: fp-sv-bar 9s ease-in-out infinite both; }
.fp-steps-anim.is-playing .fp-up-ok { animation: fp-sv-ok 9s var(--fp-pop) infinite both; }
.fp-steps-anim.is-playing .fp-sv-plan { animation: fp-sv-plan 9s linear infinite both; }
.fp-steps-anim.is-playing .fp-sv-scan { animation: fp-sv-scan 9s linear infinite both; }
.fp-steps-anim.is-playing .fp-sv-render { animation: fp-sv-render 9s ease-out infinite both; }
@keyframes fp-sv-photo { 0% { opacity: 0; transform: translateY(-60%) rotate(-8deg); } 9%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes fp-sv-bar { 0%, 10% { transform: scaleX(0); } 27%, 93% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes fp-sv-ok { 0%, 27% { transform: scale(0); } 30% { transform: scale(1.25); } 32%, 93% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes fp-sv-plan { 0%, 35% { clip-path: inset(0 100% 0 0); opacity: 1; } 58%, 94% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes fp-sv-scan { 0%, 35% { left: 0; opacity: 0; } 37% { opacity: 1; } 57% { left: 100%; opacity: 1; } 59%, 100% { left: 100%; opacity: 0; } }
@keyframes fp-sv-render { 0%, 67% { opacity: 0; transform: scale(0.96); filter: blur(6px); } 82%, 94% { opacity: 1; transform: none; filter: blur(0); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .fp-steps-anim.is-playing .fp-up-photo, .fp-steps-anim.is-playing .fp-up-bar i, .fp-steps-anim.is-playing .fp-up-ok,
    .fp-steps-anim.is-playing .fp-sv-plan, .fp-steps-anim.is-playing .fp-sv-scan, .fp-steps-anim.is-playing .fp-sv-render { animation: none; }
}
