/*
 * Virtual Tour appartamenti - InteractiveLab case study
 *
 * Light editorial page: white ground throughout, with three dark bands (map,
 * project card, FAQ) on a warm graphite. Chapter rail, numbered captions and
 * the gold accent keep the InteractiveLab case-study identity.
 *
 * Every rule is scoped to .vta-case-study or to the page body class
 * .vta-case-study-page, so nothing leaks into other posts or the theme.
 */

body.vta-case-study-page {
    margin: 0;
    background: #ffffff;
    color: #1a1a17;
    --vta-paper: #ffffff;
    --vta-ink: #1a1a17;
    --vta-body: #4a4b45;
    --vta-muted: #767770;
    --vta-line: #e2dfd7;
    --vta-band: #1a1b17;      /* dark bands: map, project card, FAQ */
    --vta-on-band: #f4f2ec;
    --vta-band-muted: #aea99c;
    --vta-band-line: rgba(255, 255, 255, 0.16);
    --vta-gold: #c9a566;      /* accent on the dark bands */
    --vta-gold-ink: #8a6630;  /* accent on white, AA for small text */
    --vta-rail: 96px;
    overflow-x: clip;
}

body.vta-case-study-page .kleanity-body-wrapper,
body.vta-case-study-page .kleanity-body-outer-wrapper {
    overflow: visible !important;
}

.vta-case-study {
    background: var(--vta-paper);
    color: var(--vta-ink);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.5;
}

.vta-case-study *,
.vta-case-study *::before,
.vta-case-study *::after {
    box-sizing: border-box;
}

.vta-case-study img,
.vta-case-study iframe,
.vta-case-study canvas {
    display: block;
    max-width: 100%;
}

.vta-case-study a {
    color: inherit;
    text-decoration: none;
}

.vta-case-study p {
    margin: 0 0 1em;
}

/* The theme imposes its own heading colours, so both the white ground and the
   dark bands state theirs explicitly. */
.vta-case-study h1,
.vta-case-study h2,
.vta-case-study h3 {
    color: #14150f;
}

.vta-on-band h1,
.vta-on-band h2,
.vta-on-band h3 {
    color: var(--vta-on-band);
}

.vta-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    color: var(--vta-gold-ink);
    font-weight: 500;
    margin: 0;
}

.vta-on-band .vta-eyebrow {
    color: var(--vta-gold);
}

.vta-chapter {
    margin-left: var(--vta-rail);
}

/* Chapter rail ----------------------------------------------------------- */

.vta-rail {
    position: fixed;
    z-index: 30;
    left: 0;
    top: var(--vta-header-offset, 0px);
    width: var(--vta-rail);
    height: calc(100vh - var(--vta-header-offset, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--vta-line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vta-rail::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 14%;
    bottom: 14%;
    width: 1px;
    background: var(--vta-line);
}

.vta-rail a {
    position: relative;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a3a49d;
    transition: color 0.3s;
}

.vta-rail a::before {
    content: "";
    position: absolute;
    left: calc(50% - 6px);
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f1efe9;
    border: 1px solid #cfcdc5;
}

.vta-rail a.is-active {
    color: var(--vta-gold-ink);
}

.vta-rail a.is-active::before {
    background: var(--vta-gold);
    border-color: #ffffff;
    box-shadow: 0 0 0 6px #ffffff;
}

.vta-rail span {
    font: 20px Georgia, serif;
}

.vta-rail em {
    font-size: 11px;
    font-style: normal;
    margin-top: 6px;
    letter-spacing: 0.02em;
    text-align: center;
}

/* Hero ------------------------------------------------------------------- */

.vta-hero {
    padding: 82px 7vw 96px;
    background: var(--vta-paper);
}

.vta-hero-head {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6vw;
    align-items: start;
    margin-bottom: 54px;
}

.vta-hero h1 {
    font-size: clamp(30px, 4vw, 60px);
    line-height: 1.03;
    font-weight: 300;
    letter-spacing: -0.05em;
    margin: 20px 0 0;
}

.vta-hero-aside {
    padding-top: 44px;
}

.vta-lead {
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.62;
    color: var(--vta-body);
}

.vta-lead strong {
    color: #14150f;
    font-weight: 500;
}

.vta-hero-facts {
    list-style: none;
    padding: 18px 0 0;
    margin: 22px 0 0;
    border-top: 1px solid var(--vta-line);
    display: grid;
    gap: 8px;
}

.vta-hero-facts li {
    font-size: 12.5px;
    color: var(--vta-muted);
    padding-left: 16px;
    position: relative;
}

.vta-hero-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--vta-gold);
}

.vta-scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    font-size: 13px;
    color: var(--vta-ink) !important;
}

.vta-scroll-cue span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--vta-gold-ink);
    color: var(--vta-gold-ink);
    border-radius: 50%;
    font-size: 15px;
}

.vta-hero-figure {
    margin: 0;
}

.vta-hero-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #f4f3ef;
}

/* Shared captions -------------------------------------------------------- */

.vta-hero-figure figcaption,
.vta-figure figcaption,
.vta-compare-item figcaption {
    display: flex;
    gap: 18px;
    padding-top: 14px;
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.6;
    border-top: 1px solid var(--vta-line);
    color: var(--vta-muted);
}

.vta-hero-figure figcaption b,
.vta-figure figcaption b,
.vta-compare-item figcaption b {
    font: 13px Georgia, serif;
    color: var(--vta-gold-ink);
    flex: none;
}

/* Sections --------------------------------------------------------------- */

.vta-section {
    padding: 104px 7vw 112px;
    background: var(--vta-paper);
    border-top: 1px solid var(--vta-line);
}

.vta-section-head {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5vw;
    align-items: end;
    margin-bottom: 62px;
}

.vta-section-head .vta-eyebrow {
    grid-column: 1;
}

.vta-section-head h2,
.vta-copy h2,
.vta-map h2,
.vta-project h2,
.vta-faq h2,
.vta-tour h2 {
    font-size: clamp(24px, 2.6vw, 42px);
    line-height: 1.06;
    font-weight: 300;
    letter-spacing: -0.055em;
    margin: 15px 0 0;
}

.vta-section-head > .vta-body-copy {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: end;
    max-width: 545px;
}

.vta-body-copy p,
.vta-copy-columns p,
.vta-copy-columns li {
    font-size: 15px;
    line-height: 1.72;
    color: var(--vta-body);
}

.vta-copy-columns {
    max-width: 660px;
}

.vta-copy-columns ul {
    margin: 8px 0 22px;
    padding-left: 20px;
}

/* Editorial copy block --------------------------------------------------- */

.vta-copy {
    margin-left: var(--vta-rail);
    padding: 104px 7vw;
    background: var(--vta-paper);
    border-top: 1px solid var(--vta-line);
}

.vta-copy-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 8vw;
    margin-top: 25px;
}

/* Figures ---------------------------------------------------------------- */

.vta-figure {
    margin: 0;
}

.vta-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #f4f3ef;
}

/* Plans and maps are plates: one shared 16/9 box per pair, artwork contained
   and uncropped on white, so two different source ratios still render at
   exactly the same size. */
.vta-figure--plate img {
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #ffffff;
}

/* Embedded virtual tour -------------------------------------------------- */

.vta-tour {
    margin-left: var(--vta-rail);
    padding: 100px 7vw 104px;
    background: var(--vta-paper);
    border-top: 1px solid var(--vta-line);
}

.vta-embed {
    position: relative;
    border: 1px solid var(--vta-line);
    background: #f4f3ef;
}

/* Click-to-load gate. The iframe is never in the markup: it is created only
   after the reader starts the tour, so nothing about the tour loads on page
   view and the tour cannot start on mouse-over. */
.vta-embed-gate {
    display: grid;
    justify-items: start;
    gap: 14px;
    padding: 52px clamp(24px, 5vw, 72px) 54px;
    background: var(--vta-band);
    color: var(--vta-on-band);
}

.vta-embed-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    font-weight: 500;
    color: var(--vta-gold);
}

.vta-embed-gate-title {
    margin: 0;
    max-width: 620px;
    font-size: clamp(21px, 2.2vw, 34px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.05em;
    color: var(--vta-on-band);
}

/* The start control only appears once the script can honour it, so it is
   never a dead button without JavaScript. */
.vta-embed-start {
    display: none;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding: 17px 30px 17px 18px;
    min-height: 58px;
    background: var(--vta-gold);
    border: 1px solid var(--vta-gold);
    border-radius: 100px;
    color: #14150f;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.vta-embed--ready .vta-embed-start {
    display: inline-flex;
}

.vta-embed-start:hover,
.vta-embed-start:focus-visible {
    background: #d9b97d;
    transform: translateY(-2px);
}

.vta-embed-start-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 50%;
    background: #14150f;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
}

/* Fallback link: visible until the script confirms it can start the tour, so
   the plate is never a dead end when JavaScript is unavailable or fails. */
.vta-embed-fallback {
    margin: 4px 0 0;
    font-size: 13px;
}

.vta-embed-fallback a {
    color: var(--vta-on-band);
    border-bottom: 1px solid var(--vta-gold);
}

.vta-embed--ready .vta-embed-fallback {
    display: none;
}

.vta-embed iframe {
    width: 100%;
    height: clamp(420px, 74vh, 780px);
    border: 0;
    background: #ffffff;
}

/* Once started, the dark plate is gone and only the viewer remains. */
.vta-embed--live {
    background: #ffffff;
}

.vta-embed-note {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 20px;
    margin: 18px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--vta-muted);
}

.vta-embed-note a {
    color: var(--vta-ink);
    border-bottom: 1px solid var(--vta-gold-ink);
    padding-bottom: 1px;
}

/* Icon-activated AI furnishing preview ----------------------------------- */

/* Fallback first: without the script the two states are stacked figures with
   their own captions, and the toggle stays hidden because it could not work. */

.vta-compare {
    display: block;
    margin-top: 62px;
}

.vta-compare-item {
    margin: 0;
}

.vta-compare-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #f4f3ef;
}

.vta-compare-item--after {
    margin-top: 46px;
}

.vta-compare-control {
    display: none;
}

.vta-compare--ready .vta-compare-stage {
    position: relative;
}

.vta-compare--ready .vta-compare-item--before {
    position: relative;
}

.vta-compare--ready .vta-compare-item--after {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease;
}

.vta-compare--ready .vta-compare-item--after img {
    height: 100%;
}

.vta-compare--ready.is-on .vta-compare-item--after {
    opacity: 1;
    visibility: visible;
}

.vta-compare--ready .vta-compare-item figcaption {
    display: none;
}

.vta-compare--ready .vta-compare-control {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px 26px;
    margin-top: 26px;
}

.vta-toggle {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 11px 30px 11px 11px;
    min-height: 68px;
    /* Solid fill on the white ground: the control has to read as a button at
       a glance, not as a caption. */
    background: var(--vta-band);
    border: 1px solid var(--vta-band);
    border-radius: 100px;
    color: var(--vta-on-band);
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(26, 26, 23, 0.18);
    transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s,
        transform 0.25s;
}

.vta-toggle:hover,
.vta-toggle:focus-visible {
    background: #2b2c26;
    border-color: var(--vta-gold);
    transform: translateY(-2px);
}

.vta-toggle-thumb {
    width: 56px;
    height: 56px;
    flex: none;
    border: 2px solid var(--vta-gold);
    border-radius: 50%;
    overflow: hidden;
    background: #f4f3ef;
}

.vta-toggle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vta-toggle-text {
    display: grid;
    gap: 3px;
}

.vta-toggle-text strong {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.vta-toggle-text small {
    font-size: 11.5px;
    color: var(--vta-band-muted);
}

.vta-toggle[aria-pressed="true"] {
    background: var(--vta-gold);
    border-color: var(--vta-gold);
    color: #14150f;
}

.vta-toggle[aria-pressed="true"] .vta-toggle-thumb {
    border-color: #14150f;
}

.vta-toggle[aria-pressed="true"] .vta-toggle-text small {
    color: rgba(20, 21, 15, 0.72);
}

.vta-toggle[aria-pressed="true"]:hover,
.vta-toggle[aria-pressed="true"]:focus-visible {
    background: #d9b97d;
    border-color: #14150f;
}

.vta-compare-state {
    margin: 0;
    font-size: 12px;
    color: var(--vta-muted);
}

.vta-compare-state b {
    color: var(--vta-ink);
    font-weight: 500;
}

.vta-compare-note {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--vta-muted);
    max-width: 720px;
}

/* Map chapter (dark band) ------------------------------------------------ */

.vta-map {
    margin-left: var(--vta-rail);
    padding: 104px 7vw 112px;
    background: var(--vta-band);
    color: var(--vta-on-band);
    border-top: 1px solid var(--vta-band);
}

.vta-map-grid {
    display: grid;
    /* Equal columns: the two plates must render at the same size. */
    grid-template-columns: 1fr 1fr;
    gap: 3vw;
    align-items: start;
    margin-top: 56px;
}

.vta-map .vta-body-copy p {
    color: var(--vta-band-muted);
}

.vta-map .vta-figure figcaption {
    border-top-color: var(--vta-band-line);
    color: var(--vta-band-muted);
}

.vta-map .vta-figure figcaption b {
    color: var(--vta-gold);
}

.vta-map .vta-figure img {
    background: #ffffff;
}

.vta-map-note {
    grid-column: 1 / -1;
    margin: 46px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--vta-band-line);
    font-size: 13px;
    line-height: 1.75;
    color: var(--vta-band-muted);
    max-width: 820px;
}

/* Benefits --------------------------------------------------------------- */

.vta-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--vta-line);
    border: 1px solid var(--vta-line);
}

.vta-benefits > div {
    background: #fbfaf7;
    padding: 30px 28px 26px;
}

.vta-benefits h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.vta-benefits p {
    font-size: 13.5px;
    line-height: 1.68;
    color: var(--vta-body);
    margin: 0;
}

.vta-benefits-num {
    display: block;
    font: 13px Georgia, serif;
    color: var(--vta-gold-ink);
    margin-bottom: 14px;
}

/* Project card (dark band) ---------------------------------------------- */

.vta-project {
    margin-left: var(--vta-rail);
    padding: 96px 7vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: start;
    background: var(--vta-band);
    color: var(--vta-on-band);
    border-top: 1px solid var(--vta-band);
}

.vta-project h2 {
    /* This heading is followed by body copy in the same column, so it needs a
       bottom margin that the shared h2 rule leaves at zero. */
    margin: 22px 0 22px;
}

.vta-project-service > p:not(.vta-eyebrow) {
    font-size: 15px;
    line-height: 1.72;
    color: var(--vta-band-muted);
    max-width: 620px;
}

.vta-project-service a {
    color: var(--vta-on-band);
    border-bottom: 1px solid var(--vta-gold);
}

.vta-project-card dl {
    margin: 0;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--vta-band-line);
    padding: 20px 35px;
}

.vta-project-card dl div {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 10px;
    padding: 17px 0;
    border-bottom: 1px solid var(--vta-band-line);
}

.vta-project-card dl div:last-child {
    border-bottom: 0;
}

.vta-project-card dt {
    font-size: 12px;
    font-weight: 500;
    color: var(--vta-on-band);
}

.vta-project-card dd {
    margin: 0;
    font-size: 12px;
    line-height: 1.58;
    color: var(--vta-band-muted);
}

.vta-sources {
    margin-top: 26px;
    font-size: 13px;
    line-height: 1.78;
}

/* FAQ (dark band, continues the project block) --------------------------- */

.vta-faq {
    margin-left: var(--vta-rail);
    padding: 78px 7vw 108px;
    background: var(--vta-band);
    color: var(--vta-on-band);
}

.vta-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 5vw;
    margin-top: 38px;
}

.vta-faq details {
    border-top: 1px solid var(--vta-band-line);
    padding: 24px 0;
}

.vta-faq-grid > div:last-child details:last-child {
    border-bottom: 1px solid var(--vta-band-line);
}

.vta-faq summary {
    cursor: pointer;
    font-size: 18px;
    padding-right: 20px;
    color: var(--vta-on-band);
}

.vta-faq details p {
    max-width: 650px;
    line-height: 1.72;
    color: var(--vta-band-muted);
    font-size: 14px;
}

/* Closing CTA (back on the light ground) --------------------------------- */

.vta-footer {
    margin-left: var(--vta-rail);
    padding: 88px 7vw 45px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 30px;
    background: var(--vta-paper);
}

.vta-footer-title {
    font-size: clamp(22px, 2.8vw, 43px);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.055em;
    margin: 0 0 24px;
}

.vta-footer-copy {
    max-width: 700px;
    color: var(--vta-body);
    font-size: 15px;
    line-height: 1.72;
    margin: 0 0 12px;
}

.vta-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-width: 270px;
    padding: 18px 20px 18px 24px;
    background: var(--vta-gold);
    border: 1px solid var(--vta-gold);
    border-radius: 8px;
    color: #14150f !important;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
}

.vta-cta span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #14150f;
    color: #ffffff;
    font-size: 17px;
}

.vta-cta:hover {
    background: #d9b97d;
    transform: translateY(-2px);
}

.vta-cta-secondary {
    background: transparent;
    border-color: rgba(26, 26, 23, 0.28);
    color: var(--vta-ink) !important;
}

.vta-cta-secondary span {
    background: var(--vta-ink);
    color: #ffffff;
}

.vta-cta-secondary:hover {
    background: rgba(26, 26, 23, 0.06);
    border-color: var(--vta-ink);
}

.vta-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vta-footer small {
    grid-column: 1 / 3;
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid var(--vta-line);
    color: #9b9c95;
}

/* Focus visibility ------------------------------------------------------- */

.vta-case-study a:focus-visible,
.vta-case-study button:focus-visible,
.vta-case-study summary:focus-visible,
.vta-case-study iframe:focus-visible {
    outline: 2px solid var(--vta-gold-ink);
    outline-offset: 3px;
}

.vta-on-band a:focus-visible,
.vta-on-band button:focus-visible,
.vta-on-band summary:focus-visible {
    outline-color: var(--vta-gold);
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 900px) {
    body.vta-case-study-page {
        --vta-rail: 0px;
    }

    .vta-rail {
        left: 16px;
        top: auto;
        bottom: 16px;
        width: auto;
        height: 46px;
        border: 1px solid var(--vta-line);
        border-radius: 100px;
        flex-direction: row;
        padding: 0 8px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 6px 22px rgba(26, 26, 23, 0.12);
    }

    .vta-rail::before,
    .vta-rail em {
        display: none;
    }

    .vta-rail a {
        min-height: 44px;
        width: 44px;
    }

    .vta-rail a::before {
        display: none;
    }

    .vta-rail span {
        font-size: 15px;
    }

    .vta-hero {
        padding: 54px 24px 72px;
    }

    .vta-hero-head {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 34px;
    }

    .vta-hero-aside {
        padding-top: 0;
    }

    .vta-hero h1 {
        font-size: clamp(28px, 8.2vw, 40px);
    }

    .vta-hero-facts {
        display: none;
    }

    .vta-section,
    .vta-copy {
        padding: 76px 24px;
    }

    .vta-section-head {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 46px;
    }

    .vta-section-head .vta-eyebrow,
    .vta-section-head h2,
    .vta-section-head > .vta-body-copy {
        grid-column: 1;
        grid-row: auto;
    }

    .vta-copy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vta-tour,
    .vta-map,
    .vta-project,
    .vta-faq,
    .vta-footer {
        margin-left: 0;
    }

    .vta-tour,
    .vta-map {
        padding: 72px 24px;
    }

    .vta-embed iframe {
        height: 70vh;
        min-height: 380px;
    }

    .vta-map-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        margin-top: 40px;
    }

    .vta-benefits {
        grid-template-columns: 1fr;
    }

    .vta-project {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 72px 24px;
    }

    .vta-project-card dl {
        padding: 15px;
    }

    .vta-project-card dl div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .vta-faq {
        padding: 60px 24px 96px;
    }

    .vta-faq-grid {
        grid-template-columns: 1fr;
    }

    .vta-footer {
        padding: 70px 24px 108px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vta-footer small {
        grid-column: 1;
        margin-top: 20px;
    }

    .vta-footer-actions {
        width: 100%;
    }

    .vta-cta {
        min-width: 0;
        width: 100%;
    }

    /* The icon toggle stays usable on touch, stacked under the frame. */
    .vta-compare {
        margin-top: 40px;
    }

    .vta-compare--ready .vta-compare-control {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vta-toggle {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.vta-case-study-page {
        scroll-behavior: auto;
    }

    .vta-case-study *,
    .vta-case-study *::before,
    .vta-case-study *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
