/* The preview's layout rules and motion applied to WordPress block markup. */
.site-page.migrated-page {
    margin-block-start: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    overflow: clip;
}

.migrated-page > .wp-block-post-content {
    max-width: none;
    margin: 0;
}

.migrated-page > .wp-block-post-content > * {
    margin-block: 0;
}

.migrated-page .wp-block-post-content > :is(p, h1, h2, h3, ul, ol, .wp-block-table) {
    max-width: 70rem;
    margin: 1.5rem auto;
    padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.migrated-page .wp-block-post-content > :is(p, ul, ol):last-child {
    margin-block-end: 4rem;
}

.migrated-page :is(h1, h2, h3, p, div, aside, li) {
    min-inline-size: 0;
}

.migrated-page .page-intro {
    isolation: isolate;
}

.migrated-page .page-intro > * {
    position: relative;
    z-index: 1;
}

.migrated-page .page-intro::after {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 40px -120px auto auto;
    width: min(520px, 65vw);
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: radial-gradient(circle, var(--ink) 0 19%, transparent 19.3% 47%, var(--blue) 47.1% 47.4%, transparent 47.6%);
    pointer-events: none;
}

.migrated-page .hub-hero:not(:has(.hub-compass))::after {
    content: '';
    display: block;
    width: min(100%, 440px);
    aspect-ratio: 1;
    justify-self: end;
    border: 1px solid rgb(234 244 255 / .3);
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue) 0 10%, transparent 10.5% 29%, var(--blue) 29.3% 29.7%, transparent 30% 42%, rgb(141 196 253 / .4) 42.3% 42.7%, transparent 43%),
        linear-gradient(90deg, transparent 49.8%, rgb(141 196 253 / .4) 49.9% 50.1%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, rgb(141 196 253 / .4) 49.9% 50.1%, transparent 50.2%);
}

.migrated-page :is(.services-index, .insight-grid, .guide-library, .related-people-grid, .login-grid, .team-grid, .hub-guide-grid) > .wp-block-group,
.migrated-page .article-related > div > .wp-block-group {
    position: relative;
}

.migrated-page :is(.services-index, .insight-grid, .guide-library, .related-people-grid, .login-grid, .team-grid, .hub-guide-grid) > .wp-block-group > p:last-child:has(> a:only-child),
.migrated-page .article-related > div > .wp-block-group > p:last-child:has(> a:only-child) {
    height: 0;
    margin: 0;
    padding: 0;
    font-size: 0;
}

.migrated-page :is(.services-index, .insight-grid, .guide-library, .related-people-grid, .login-grid, .team-grid, .hub-guide-grid) > .wp-block-group > p:last-child > a:only-child::after,
.migrated-page .article-related > div > .wp-block-group > p:last-child > a:only-child::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
}

.migrated-page :is(.services-index, .insight-grid, .guide-library, .related-people-grid, .login-grid, .team-grid, .hub-guide-grid) > .wp-block-group:focus-within,
.migrated-page .article-related > div > .wp-block-group:focus-within {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}

.migrated-page :is(.hub-guide-top, .hub-guide-foot) > p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    width: 100%;
    font-size: inherit;
    opacity: 1;
}

.migrated-page .services-index > .wp-block-group > p:nth-child(4) {
    justify-self: end;
}

.migrated-page .insight-art > p {
    opacity: 1;
}

.migrated-page :is(.insight-art, .anniversary-mark, .story-year, .big-number, .hub-trust-mark) > p {
    margin: 0;
}

.migrated-page :is(.insight-art, .anniversary-mark) > p > span {
    display: inline-block;
}

/* These grids use their own gutters. WordPress flow margins offset every card after the first. */
.migrated-page :is(
    .benefit-grid,
    .booking-promise,
    .contact-options,
    .download-guide-grid,
    .guide-library,
    .hub-guide-grid,
    .hub-principles,
    .insight-grid,
    .login-grid,
    .policy,
    .proof-strip,
    .regulatory,
    .service-grid,
    .services-index,
    .sitemap-grid,
    .team-grid,
    .timeline-line
) > :is(.wp-block-group, article),
.migrated-page .values > .wp-block-group > article,
.migrated-page .team-directory .wp-block-post-template > .wp-block-post,
.home-blocks .home-proof > .wp-block-group {
    margin-block: 0;
}

/* Align the starts of adjacent columns while preserving their internal spacing. */
.migrated-page :is(
    .anniversary-hero,
    .approach,
    .article-layout,
    .booking-alternative,
    .contact-page,
    .documents,
    .hub-trust,
    .person-biography,
    .person-hero,
    .portal-preview,
    .service-depth,
    .service-faqs,
    .story-block,
    .tool-workbench
) > :is(.wp-block-group, aside),
.migrated-page .service-overview > .wp-block-group:not(.benefit-grid),
.migrated-page .insight-grid > .wp-block-group > .wp-block-group,
.migrated-page .future > .wp-block-group > p,
.migrated-page .reg-note > p,
.migrated-page .services-index > .wp-block-group > :is(p, h2),
.migrated-page :is(.section-heading, .current-access-heading, .promise, .tool-warning, .future) > h2 {
    margin-block-start: 0;
}

.migrated-page .team-card > .team-photo {
    margin-block-start: 26px;
}

.migrated-page .team-photo .wp-block-image {
    height: 100%;
    margin: 0;
}

.migrated-page .team-photo p:has(> span) {
    position: absolute;
    inset: auto auto 12px 18px;
    z-index: 2;
    color: var(--ivory);
}

.migrated-page .team-photo p > span {
    position: static;
}

.migrated-page .person-portrait .wp-block-image {
    width: 100%;
    margin: 0;
    display: grid;
    justify-items: center;
}

.migrated-page .person-portrait > p {
    position: absolute;
    z-index: 2;
    right: 4%;
    bottom: -8%;
    margin: 0;
    font: 400 clamp(5rem, 15vw, 15rem)/1 var(--font-serif);
    color: rgb(234 244 255 / .18);
}

.migrated-page .article-layout aside > p:has(a) {
    padding: 0;
    margin: 0;
    border: 0;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
}

.migrated-page .article-layout aside > p > a {
    display: block;
    margin-block-end: .75rem;
}

.migrated-page .article-byline span + span {
    margin-inline-start: 1.2rem;
}

.migrated-page .contact-meta > p {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    grid-column: 1/-1;
    max-width: none;
    width: 100%;
    margin: 0;
}

.migrated-page :is(.contact-actions, .hero-actions, .person-actions) > p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    max-width: none;
    margin: 0;
}

.migrated-page :is(.contact-actions, .hero-actions, .person-actions) > p > a:first-child {
    display: inline-flex;
    padding: .95rem 1.2rem;
    gap: .8rem;
    background: var(--blue);
    color: white;
    font: 700 12px/1.35 var(--font-sans);
}

.migrated-page .service-faqs > div:last-child p {
    margin: 0;
    padding: 1rem 0;
}

.migrated-page .service-faqs > div:last-child p:has(> span:first-child) {
    border-top: 1px solid var(--line);
    font: 400 21px/1.3 var(--font-serif);
}

.migrated-page .service-faqs p > span:first-child {
    margin-inline-end: 1rem;
    font: 700 10px/1 var(--font-sans);
}

.migrated-page .wp-block-post-content:has(> .team-directory) {
    display: flex;
    flex-direction: column;
}

.migrated-page .wp-block-post-content:has(> .team-directory) > .team .team-grid {
    display: none;
}

.migrated-page .wp-block-post-content:has(> .team-directory) > .team {
    padding-block-end: 0;
}

.migrated-page .wp-block-post-content:has(> .team-directory) > .contact {
    order: 1;
}

.migrated-page .team-directory {
    padding: 0 5vw clamp(3rem, 8vw, 7.5rem);
}

.migrated-page .team-directory .wp-block-post-template {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.migrated-page .team-directory .wp-block-post {
    background: var(--paper);
    border: 0;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    transition: transform .35s ease, box-shadow .35s ease;
}

.migrated-page .team-directory .wp-block-post:hover,
.migrated-page .team-directory .wp-block-post:focus-within {
    position: relative;
    z-index: 2;
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgb(7 27 46 / .15);
}

.migrated-page .team-directory .wp-block-post-featured-image img {
    border-radius: 50%;
    aspect-ratio: 1;
    object-position: center top;
    filter: grayscale(1) contrast(1.06) brightness(1.025);
}

.migrated-page .team-directory .wp-block-post-title {
    margin-block: 1rem .5rem;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    line-height: 1.15;
}

.migrated-page .team-directory .wp-block-post-excerpt {
    font-size: .82rem;
    line-height: 1.5;
}

.migrated-page .three-d-isolated-form:has(.booking-form),
.migrated-page .three-d-isolated-form:has(.enquiry-form) {
    border: 0;
    padding: clamp(1.5rem, 7vw, 6rem) 5vw;
    background: var(--ink);
    color: var(--ivory);
}

.migrated-page .three-d-isolated-form:has(.booking-form) h2,
.migrated-page .three-d-isolated-form:has(.enquiry-form) h2 {
    color: var(--ivory);
}

.migrated-page .three-d-isolated-form :is(.booking-form, .enquiry-form) {
    margin-inline: auto;
}

.migrated-page .download-guide-card .three-d-isolated-form,
.migrated-page .article-download .three-d-isolated-form {
    border: 0;
    padding: 0;
    background: transparent;
}

.migrated-page .three-d-isolated-calculator {
    max-width: 60rem;
    margin: 3rem auto;
    padding: clamp(1.25rem, 4.5vw, 3.5rem);
    background: var(--ink);
    color: var(--ivory);
}

.migrated-page .three-d-isolated-calculator output {
    padding: 1.25rem;
    background: var(--sage);
    color: var(--ink);
}

/* The original orbit movement, applied to the image and card blocks. */
@media (prefers-reduced-motion: no-preference) {
    .home-hero .hero-image img {
        animation: heroBreath 15s ease-in-out infinite alternate;
    }

    .home-hero .hero-card {
        animation: cardFloat 8s ease-in-out infinite;
    }

    .home-hero .hero-trustmarks a {
        animation: sealFloat 6s ease-in-out infinite alternate;
    }

    .home-hero .hero-trustmarks p:nth-child(2) a {
        animation-delay: -2.1s;
    }

    .home-hero .hero-visual::after {
        content: '';
        position: absolute;
        z-index: 1;
        right: -12%;
        bottom: 5%;
        width: 65%;
        height: 18%;
        border-top: 2px solid #5facfe;
        border-radius: 50%;
        transform: rotate(-20deg);
        animation: lineSweep 7s ease-in-out infinite alternate;
        pointer-events: none;
    }

    .migrated-page .hub-hero:not(:has(.hub-compass))::after {
        animation: sealFloat 8s ease-in-out infinite alternate;
    }

    @supports (animation-timeline: view()) {
        :is(.home-blocks .home-section > .home-card-grid, .migrated-page .team-directory, .migrated-page .insight-grid) {
            animation: sectionReveal linear both;
            animation-timeline: view();
            animation-range: entry 5% cover 25%;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .migrated-page *,
    .migrated-page *::before,
    .migrated-page *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 900px) {
    .migrated-page .page-intro::after {
        opacity: .2;
    }

    .migrated-page .hub-hero:not(:has(.hub-compass))::after {
        width: min(65vw, 300px);
        justify-self: center;
    }

    .migrated-page .person-portrait > p {
        bottom: -3%;
    }
}

@media (max-width: 560px) {
    .migrated-page .section {
        padding: 3.5rem 1.25rem;
    }

    .migrated-page :is(.page-intro, .hub-hero, .anniversary-hero) h1 {
        font-size: clamp(2.75rem, 11.5vw, 4.25rem);
    }

    .migrated-page .contact-meta > p {
        flex-direction: column;
        align-items: center;
    }

    .migrated-page .team-directory .wp-block-post-template {
        grid-template-columns: 1fr 1fr;
    }

    .migrated-page .article-byline span {
        display: block;
        margin-inline-start: 0;
    }

    .migrated-page .three-d-isolated-calculator {
        margin-inline: 1.25rem;
    }
}

.home-hero .home-orbit-motion {
    position: absolute;
    inset: 0;
    z-index: 1;
    margin: 0;
    pointer-events: none;
}

.home-orbit-motion i {
    position: absolute;
    right: -22%;
    top: 4%;
    width: 80%;
    aspect-ratio: 1;
    border: 1px solid rgb(234 244 255 / .34);
    border-radius: 50%;
}

.home-orbit-motion i.home-orbit-inner {
    width: 55%;
    right: -8%;
    top: 20%;
}

.home-orbit-motion i::after,
.home-orbit-motion span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b8ddff;
    box-shadow: 0 0 18px 5px rgb(95 172 254 / .6);
}

.home-orbit-motion i::after {
    content: '';
    left: 50%;
    top: -3px;
}

.home-orbit-motion span:nth-of-type(1) { left: 21%; top: 25%; }
.home-orbit-motion span:nth-of-type(2) { left: 70%; top: 70%; }
.home-orbit-motion span:nth-of-type(3) { left: 56%; top: 17%; }

.home-blocks .home-section {
    padding: clamp(3.5rem, 6.35vw, 7.5rem) 5vw;
}

.home-blocks .home-section h2 {
    margin: 0;
    font-size: clamp(2.75rem, 5.7vw, 5.9rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.home-blocks .home-section .eyebrow {
    align-self: start;
    margin: 0;
    letter-spacing: .2em;
}

.home-blocks .home-section > p:not(.eyebrow) {
    max-width: 38rem;
    font-family: var(--wp--preset--font-family--rufina);
    line-height: 1.6;
}

.home-blocks .home-anniversary,
.home-blocks .home-approach {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    column-gap: 8vw;
    align-content: center;
}

.home-blocks .home-anniversary {
    background: var(--preview-ink);
    color: var(--preview-ice);
}

.home-anniversary > *,
.home-approach > * {
    grid-column: 2;
}

.home-blocks .home-anniversary h2,
.home-blocks .home-contact h2 {
    color: var(--preview-ice);
}

.home-blocks .home-anniversary h2 em,
.home-blocks .home-contact h2 em {
    color: #5facfe;
}

.home-anniversary::before,
.home-approach::before {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: center;
    justify-self: center;
    display: grid;
    place-items: center;
    width: min(100%, 26rem);
    aspect-ratio: 1;
    border-radius: 50%;
    font: 400 clamp(5rem, 11vw, 12rem)/1 var(--wp--preset--font-family--rufina);
    letter-spacing: -.09em;
}

.home-anniversary::before {
    content: '30' / '';
    border: 1px solid rgb(234 244 255 / .35);
    background: radial-gradient(circle, transparent 62%, #156fcc 62.2% 62.5%, transparent 62.7%);
}

.home-blocks .home-approach {
    background: var(--preview-ice);
}

.home-approach::before {
    content: '3D' / '';
    background: radial-gradient(circle, #071b2e 0 35%, #8dc4fd 35.2% 53%, rgb(7 27 46 / .25) 53.2% 53.6%, #8dc4fd 54% 69%, rgb(7 27 46 / .25) 69.2% 69.6%, #8dc4fd 70%);
    color: var(--preview-ice);
    font-size: clamp(2.5rem, 5vw, 5rem);
}

.home-services .home-card-grid,
.home-insights .home-card-grid,
.home-approach .home-card-grid {
    gap: 0;
    align-items: stretch;
    border-inline-start: 1px solid var(--preview-line);
    border-block-start: 1px solid var(--preview-line);
}

.home-blocks .home-services,
.home-blocks .home-insights {
    background: var(--preview-paper);
}

.home-services .home-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-services .home-card,
.home-insights .home-card,
.home-approach .home-card {
    margin: 0;
    border: 0;
    border-inline-end: 1px solid var(--preview-line);
    border-block-end: 1px solid var(--preview-line);
    background: transparent;
}

.home-services .home-card,
.home-insights .home-card {
    position: relative;
    min-height: 12rem;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    transition: transform .3s ease, color .3s ease, background-color .3s ease;
}

:is(.home-services, .home-insights) .home-card h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

:is(.home-services, .home-insights) .home-card:is(:hover, :focus-within) {
    transform: translateY(-5px);
    background: var(--preview-ink);
    color: var(--preview-ice);
}

:is(.home-services, .home-insights) .home-card:is(:hover, :focus-within) a {
    color: var(--preview-ice);
}

.home-approach .home-card-grid {
    grid-template-columns: minmax(0, 1fr);
}

.home-insights .home-card-grid {
    grid-template-columns: 1.35fr 1fr;
}

.home-insights .home-card:first-child {
    grid-row: span 3;
    padding-block-start: 5rem;
    background: #eaf4ff;
}

.home-insights .home-card:first-child:is(:hover, :focus-within) {
    background: var(--preview-ink);
}

.home-blocks .home-europe {
    background: var(--preview-sage);
}

.home-blocks .home-contact {
    text-align: center;
    background: var(--preview-ink);
    color: var(--preview-ice);
}

.home-contact > p,
.home-contact .wp-block-buttons {
    margin-inline: auto;
    justify-content: center;
}

.home-contact a:not(.wp-block-button__link) {
    color: inherit;
}

@media (prefers-reduced-motion: no-preference) {
    .home-hero .home-orbit-outer { animation: orbitSpin 19s linear infinite; }
    .home-hero .home-orbit-inner { animation: orbitSpin 13s linear infinite reverse; }
    .home-orbit-motion span { animation: dotDrift 9s ease-in-out infinite alternate; }
    .home-orbit-motion span:nth-of-type(2) { animation-delay: -3s; }
    .home-orbit-motion span:nth-of-type(3) { animation-delay: -6s; }
}

@media (prefers-reduced-motion: reduce) {
    .home-blocks .home-card {
        transition: none;
        transform: none !important;
    }
}

@media (max-width: 900px) {
    .home-blocks .home-anniversary,
    .home-blocks .home-approach {
        display: block;
    }

    .home-anniversary::before,
    .home-approach::before {
        width: min(50vw, 14rem);
        margin: 0 0 2rem;
    }

    .home-services .home-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home-services .home-card-grid,
    .home-insights .home-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-insights .home-card:first-child {
        grid-row: auto;
        padding-block-start: 2rem;
    }
}

/* Shared header, footer and viewport details from the original preview. */
.wp-site-blocks > header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: 32px;
}

.site-header {
    gap: clamp(.5rem, 1.1vw, 1rem);
    background: rgb(248 251 255 / .95);
    backdrop-filter: blur(18px);
}

.site-header .header-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.site-header .header-actions .wp-block-button__link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 52px;
    width: clamp(143px, 12.5vw, 185px);
    padding: .6rem .75rem;
    border-radius: 2px;
    background: var(--preview-ink);
    color: var(--preview-ice);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
}

.site-header .header-actions .wp-block-button__link::after {
    content: '↗' / '';
    margin-inline-start: auto;
    color: var(--preview-sage);
}

.site-header .header-guide .wp-block-button__link::before {
    content: '3D' / '';
    display: grid;
    flex: 0 0 28px;
    place-items: center;
    aspect-ratio: 1;
    border: 1px solid rgb(234 244 255 / .45);
    border-radius: 50%;
    color: var(--preview-sage);
    font-size: 10px;
}

.site-header .header-mobile-consultation {
    display: none;
}

.site-header:has(.is-menu-open) .header-actions {
    visibility: hidden;
}

.site-footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 45px;
    padding: 65px 5vw 35px;
    background: var(--preview-ice);
    color: var(--preview-ink);
}

.site-footer > * {
    margin: 0;
}

.site-footer .footer-brand {
    width: min(100%, 190px);
    max-width: none;
}

.site-footer .footer-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.site-footer > p:first-of-type {
    font: 400 22px/1.35 var(--wp--preset--font-family--rufina);
}

.site-footer .wp-block-navigation {
    justify-self: end;
    font-size: 11px;
    font-weight: 700;
}

.site-footer .wp-block-navigation__container {
    justify-content: flex-end;
    gap: 14px 22px;
}

.site-footer > p:not(:first-of-type) {
    grid-column: 1/-1;
    padding-block-start: 18px;
    border-top: 1px solid var(--preview-line);
    font-size: 9px;
    line-height: 1.65;
    opacity: .72;
}

.home-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: min(48vw, 760px);
    aspect-ratio: 1;
    inset: 8% auto auto -12%;
    border-radius: 50%;
    background: rgb(141 196 253 / .16);
    filter: blur(80px);
    pointer-events: none;
}

.migrated-page .hero-visual > .wp-block-image {
    position: absolute;
    inset: 0;
    margin: 0;
}

.migrated-page .hero-visual > .wp-block-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.045);
}

.migrated-page .hero-card > p:first-child:has(span) {
    margin: 0;
    color: var(--ivory);
    opacity: .65;
}

.migrated-page .hero-card > p:has(> strong) {
    margin: 0;
    color: var(--ivory);
    letter-spacing: normal;
    text-transform: none;
}

.migrated-page .hero-trustmarks > p,
.migrated-page .hero-foot > p,
.migrated-page .proof-strip > div > p {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
}

.migrated-page .hero-trustmarks a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(92px, 7vw, 132px);
    aspect-ratio: 1;
    border: 1px solid var(--sage);
    border-radius: 50%;
    background: rgb(7 27 46 / .38);
    color: var(--ivory);
    text-align: center;
    backdrop-filter: blur(8px);
}

.migrated-page .hero-trustmarks span { font-size: 7px; letter-spacing: .12em; }
.migrated-page .hero-trustmarks strong { font: 400 clamp(17px, 1.35vw, 24px)/1.5 var(--font-serif); }
.migrated-page .hero-trustmarks small { font-size: 8px; color: var(--sage); }

.migrated-page .hero-visual > .home-orbit-motion {
    z-index: 2;
}

.migrated-page [data-currency-converter] {
    display: grid;
    max-width: none;
    margin: 0;
    padding: clamp(3rem, 7.5vw, 7.5rem) 5vw;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(1rem, 4vw, 3.25rem) 8vw;
    border: 0;
    background: var(--paper);
    color: var(--ink);
}

.migrated-page [data-currency-converter] > * {
    margin: 0;
}

.migrated-page [data-currency-converter] label :is(input, select) {
    width: 100%;
    min-height: 44px;
    margin-block-start: .5rem;
    padding: .45rem .6rem;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
}

.migrated-page .booking-fields label,
.migrated-page .enquiry-form .form-field label {
    margin-block: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .home-hero::after { animation: softGlow 12s ease-in-out infinite alternate; }
    .migrated-page .hero-visual > .wp-block-image img { animation: heroBreath 15s ease-in-out infinite alternate; }
    .migrated-page .hero-trustmarks a { animation: sealFloat 6s ease-in-out infinite alternate; }
    .migrated-page .hero-trustmarks a:nth-child(2) { animation-delay: -2.1s; }
    .site-header .header-actions .wp-block-button__link { transition: transform .25s ease; }
    .site-header .header-actions .wp-block-button__link:is(:hover, :focus-visible) { transform: translateY(-2px); }
}

@media (max-width: 1100px) {
    .site-header .header-mobile-consultation { display: flex; }
    .site-header .header-consultation { display: none; }
}

@media (max-width: 900px) {
    .migrated-page [data-currency-converter] { grid-template-columns: minmax(0, 1fr); }

    .migrated-page .services-index > .wp-block-group {
        grid-template-columns: 55px minmax(0, 1fr) 24px;
    }

    .migrated-page .services-index > .wp-block-group > :is(p:first-child,p:nth-child(4),p:last-child) {
        display: block;
    }

    .migrated-page .services-index > .wp-block-group > h2 {
        font-size: clamp(1.65rem, 5vw, 2.65rem);
    }

    .migrated-page .services-index > .wp-block-group > p:last-child {
        position: absolute;
        inset: 0;
        width: 100%;
    }

    .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer .wp-block-navigation { grid-column: 1/-1; justify-self: start; }
    .site-footer .wp-block-navigation__container { justify-content: flex-start; }
}

@media (max-width: 782px) {
    .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; }
}

@media (max-width: 600px) {
    .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
}

@media (max-width: 560px) {
    .site-header { padding-inline: 20px; }
    .site-header .wp-block-image { width: 116px; }

    .site-header .wp-block-navigation__responsive-container-open {
        width: 46px;
        height: 44px;
        justify-content: center;
        align-items: center;
        border: 1px solid var(--preview-ink);
    }

    .site-header .wp-block-navigation__responsive-container.is-menu-open {
        padding: 1.5rem 20px;
        background: var(--preview-ink);
        color: var(--preview-ice);
    }

    .site-header .header-actions {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    /* Keep the fixed action anchored to the viewport, rather than the blur layer. */
    .site-header { backdrop-filter: none; }
    .site-header .header-guide { width: 100%; }
    .site-header .header-guide .wp-block-button__link { width: 100%; }
    .site-footer { gap: 24px; padding-block-end: 90px; }

    .home-hero h1 {
        font-size: clamp(43px, 14.6vw, 57px);
    }

    .home-hero .wp-block-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .home-hero .wp-block-button:first-child .wp-block-button__link { width: 100%; }
    .home-hero .hero-card {
        position: absolute;
        inset: auto 18px 18px;
        width: auto;
        padding: 16px;
    }

    .home-hero .hero-trustmarks { right: 14px; top: 14px; gap: 7px; }
    .home-hero .hero-trustmarks a { width: 92px; }

    .migrated-page .page-intro h1 { font-size: clamp(42px, 14.4vw, 56px); }
    .migrated-page .hub-hero h1 { font-size: clamp(42px, 14.1vw, 55px); }
    .migrated-page .anniversary-hero h1 { font-size: clamp(42px, 14.9vw, 58px); }
    .migrated-page .services-index.section { padding-block: 0 3rem; }
    .migrated-page .team-directory .wp-block-post-template { grid-template-columns: minmax(0, 1fr); }
    .migrated-page .team-directory .wp-block-post { padding: 26px; }
    .migrated-page [data-currency-converter] { margin: 0; padding-inline: 20px; }

    :is(.migrated-page, .home-blocks) :is(h1, h2, h3, h4) {
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .migrated-page .map-band {
        min-height: 0;
        padding: clamp(2.25rem, 10vw, 3.5rem) 20px;
    }

    .migrated-page .map-band > p {
        display: grid;
        gap: .75rem;
        width: 100%;
        margin: 0;
    }

    .migrated-page .map-band > p > i {
        width: 100%;
    }

    .migrated-page .documents .document-unavailable:has(> p) {
        display: block;
    }

    .migrated-page .documents .document-unavailable > p {
        display: grid;
        grid-template-columns: 2rem minmax(0, 1fr);
        align-items: baseline;
        gap: .5rem;
        margin: 0;
    }

    .migrated-page .documents .document-unavailable > p > b {
        grid-column: 2;
    }

    .migrated-page .future > .wp-block-group {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        margin-block-start: 0;
    }

    .migrated-page :is(.promise, .tool-warning) > p {
        margin-block-start: 0;
    }
}
