@font-face {
    font-family: 'NORD';
    src: url('../fonts/nord/NORD-Regular.woff2') format('woff2'), url('../fonts/nord/NORD-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Instrument Sans is bundled locally so staging does not depend on a blocked third-party stylesheet. */
@font-face {
    font-family: 'Instrument Sans';
    src: url('../fonts/instrument-sans/instrument-sans-latin-ext.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Instrument Sans';
    src: url('../fonts/instrument-sans/instrument-sans-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Shared font families. */

:root {
    --font-heading: 'NORD', Arial, sans-serif;
    --font-body: 'Instrument Sans', Arial, sans-serif;
}


/* Shared design tokens: map these to the CMS theme settings. */

:root {
    --green: #123e32;
    --green-dark: #102f27;
    --sand: #f0eae2;
    --gold: #b38a49;
    --gold-on-light: #7f5b24;
    --ink: #214e42;
    --white: #fff;
    --line: #88a198;
    --container: 1620px;
    --gutter: clamp(22px, 7.8vw, 150px);
    --section-space: clamp(64px, 7vw, 136px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --expertise-gold: #ba955b;
    --expertise-line: #ba955b70; 
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-body);
    font-size: clamp(15px, 1.16vw, 22px);
    line-height: 1.45
}

body.modal-open {
    overflow: hidden
}

button,
input,
textarea,
select {
    font: inherit
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

a {
    color: inherit;
    text-decoration: none
}

button {
    color: inherit
}

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

.urm-webp-picture {
    display: contents;
}

button {
    border-radius: 0
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: -0.03em
}

h1,
h2 {
    text-transform: uppercase;
    line-height: 1.3;
    font-size: clamp(25px, 2.1vw, 40px)
}

h3 {
    font-size: clamp(17px, 1.5vw, 28px)
}

p+p {
    margin-top: 24px
}

a,
button {
    touch-action: manipulation
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 6px
}

[hidden] {
    display: none!important
}

.container {
    width: calc(100% - var(--gutter)*2);
    max-width: var(--container);
    margin-inline: auto
}

.section {
    padding-block: var(--section-space)
}

.section--sand {
    background: var(--sand)
}

.section--green {
    background: var(--green);
    color: #ecf0e9
}

.eyebrow {
    text-transform: uppercase;
    color: #a47a37;
    font-size: clamp(12px, 1.12vw, 20px);
    font-weight: 600;
    letter-spacing: .23em;
    margin-bottom: 18px
}

.section--green .eyebrow {
    color: #c6a267
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 206px;
    min-height: 62px;
    padding: 14px 28px;
    border: 1px solid var(--line);
    background: transparent;
    text-transform: uppercase;
    font-size: clamp(12px, 1vw, 18px);
    line-height: 1.2;
    transition: background .25s, color .25s, border-color .25s
}

.button:hover {
    background: var(--green);
    color: white;
    border-color: var(--green)
}

.button--light {
    color: white;
    border-color: #91a79f
}

.button--light:hover {
    background: var(--sand);
    color: var(--green);
    border-color: var(--sand)
}

.button--small {
    min-width: 170px;
    min-height: 54px
}

.button-arrow {
    width: 0;
    opacity: 0;
    margin-left: -18px;
    transition: width .25s, opacity .25s, margin .25s
}

.button:hover .button-arrow,
.button:focus-visible .button-arrow {
    width: 12px;
    opacity: 1;
    margin-left: 0
}

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

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    transform: translateY(-160%);
    z-index: 100;
    background: white;
    padding: 14px
}

.skip-link:focus {
    transform: translateY(0)
}


/* Staggered contact-image entrances, triggered once when the section is visible. */

.contact-inner.reveal-pending .contact-image {
    transition: opacity .85s var(--ease), transform 1.1s var(--ease);
    transition-delay: var(--image-delay, 0s);
}

.contact-image--pool {
    --image-enter-x: -70px;
    --image-enter-y: -35px;
    --image-delay: .05s;
}

.contact-image--residence {
    --image-enter-x: 80px;
    --image-enter-y: 20px;
    --image-delay: .2s;
}

.contact-image--garden {
    --image-enter-x: -25px;
    --image-enter-y: 80px;
    --image-delay: .35s;
}

.contact-inner.reveal-pending:not(.is-visible) .contact-image {
    opacity: 0;
    transform: translate3d(var(--image-enter-x), var(--image-enter-y), 0);
}

.contact-inner.is-visible .contact-image {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .contact-inner.reveal-pending .contact-image {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* Keep the observed frames stationary so the entrance offset cannot trigger an early reveal. */

@media (prefers-reduced-motion: no-preference) {
    .ecosystem-image[data-reveal].reveal-pending {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ecosystem-image[data-reveal].reveal-pending>.urm-webp-picture>img {
        transition: opacity 1s var(--ease), transform 1.2s var(--ease);
    }
    .ecosystem-image[data-reveal].reveal-pending:not(.is-visible)>.urm-webp-picture>img {
        opacity: 0;
    }
    .ecosystem-image--first[data-reveal].reveal-pending:not(.is-visible)>.urm-webp-picture>img {
        transform: translateY(clamp(-100px, -7vw, -50px));
    }
    .ecosystem-image--last[data-reveal].reveal-pending:not(.is-visible)>.urm-webp-picture>img {
        transform: translateY(clamp(50px, 7vw, 100px));
    }
}


/* Individual service cards rise into view in viewport-triggered batches. */

@media (prefers-reduced-motion: no-preference) {
    .service-card.reveal-pending {
        opacity: 0;
        transform: translateY(64px);
        transition: opacity .75s var(--ease), transform .9s var(--ease);
    }
    .service-card.reveal-pending.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-dialog img.property-logo {
    width: 180px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
    object-position: left;
    padding: 12px;
    background: white;
}

.detail-dialog img.property-logo--fairmont {
    background: var(--green);
}

.detail-dialog img.property-logo--bespoke {
    background: var(--green);
}

.detail-dialog .property-brand {
    display: block;
    margin-bottom: 15px;
    font-size: 24px;
    color: var(--green);
}

.portfolio-list {
    display: grid;
}

.portfolio-list-item {
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 18px 0;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    font-size: 14px;
}

.portfolio-list-item:hover {
    color: #806024;
}

.portfolio-list-name {
    font-size: 18px;
    font-weight: 600;
}


/* Featured portfolio: seven CMS records, one property per slide. */

.portfolio {
    padding-block: clamp(72px, 6vw, 112px);
}

.portfolio>.container {
    width: calc(100% - clamp(44px, 4vw, 80px));
}

.portfolio .section-heading {
    margin-bottom: 44px;
}

.portfolio #portfolio-title {
    font-size: clamp(26px, 2.2vw, 40px);
}

.portfolio-slider {
    position: relative;
}

.portfolio-slider.is-initializing .portfolio-copy-track,
.portfolio-slider.is-initializing .portfolio-image-track {
    visibility: hidden;
}

.portfolio-layout {
    display: grid;
    grid-template-columns: minmax(0, .57fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 5.5%;
}

.portfolio-copy-viewport,
.portfolio-image-viewport {
    position: relative;
    min-width: 0;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.portfolio-copy-viewport {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    overflow: clip;
    clip-path: inset(0 1px 0 0);
}

.portfolio-copy-track,
.portfolio-image-track {
    display: flex;
    transition: transform .65s var(--ease);
    min-width: 0;
    will-change: transform;
}

.portfolio-copy-track {
    align-items: stretch;
}

.portfolio-image-track {
    align-items: flex-start;
}

.portfolio-copy-track {
    flex: 1 1 auto;
}

.portfolio-copy-slide,
.portfolio-image-slide {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 0;
}

.portfolio-copy-slide {
    display: flex;
    align-items: center;
}

.portfolio-image-slide {
    display: block;
}

.portfolio-copy {
    padding-block: 24px 88px;
}

.portfolio-copy .property-logo {
    display: block;
    width: clamp(130px, 12vw, 190px);
    height: 60px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.portfolio-copy .property-logo--fairmont {
    filter: none;
}

.portfolio-copy h3 {
    font-size: clamp(20px, 1.65vw, 30px);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.portfolio-copy .location {
    margin: 0 0 22px;
    font-size: clamp(15px, 1.25vw, 22px);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.portfolio-copy .property-description {
    margin: 0;
    font-size: clamp(15px, 1.15vw, 21px);
    line-height: 1.6;
    max-width: 540px;
}

.portfolio-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.6;
    height: auto;
    min-height: 0;
    align-self: flex-start;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #1c4c3e;
}

.portfolio-image > .urm-webp-picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio .portfolio-image .portfolio-card-photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .7s var(--ease);
}

.portfolio-image:hover .portfolio-card-photo,
.portfolio-image:focus-visible .portfolio-card-photo {
    transform: scale(1.035);
}

.portfolio-controls {
    display: flex;
    gap: 16px;
    position: absolute;
    left: 0;
    bottom: 6%;
}

.portfolio-arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 44px;
    padding: 0;
    border: 0;
    color: var(--gold);
    background: transparent;
}

.portfolio-arrow:hover {
    color: #e4c693;
}

.portfolio-arrow[aria-disabled="true"] {
    color: #8ba497;
    opacity: .5;
    cursor: default;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .portfolio-layout {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
        gap: 5%;
    }
    .portfolio-copy-viewport .portfolio-controls {
        bottom: 0;
    }
}

@media (max-width: 767px) {
    .portfolio {
        padding-block: 56px;
    }
    .portfolio .section-heading {
        gap: 16px;
        margin-bottom: 28px;
    }
    .portfolio #portfolio-title {
        font-size: 24px;
    }
    .portfolio-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .portfolio-image-viewport {
        order: 1;
    }

    .portfolio-copy-viewport {
        order: 2;
    }

    .portfolio-copy-slide {
        display: block;
    }

    .portfolio-image-slide {
        display: block;
    }

    .portfolio-image {
        height: auto;
        min-height: 0;
    }

    .portfolio-copy {
        padding: 0;
    }
    .portfolio-copy .property-logo {
        height: 45px;
        margin-bottom: 16px;
    }
    .portfolio-copy h3 {
        font-size: 22px;
    }
    .portfolio-controls {
        position: static;
        margin-top: 20px;
    }
}

@media (min-width: 768px) {
    /* Keep the image viewport at the same responsive height for every slide. */
    .portfolio-image-viewport {
        align-self: flex-start;
        min-height: 0;
    }
}


/* Contact page: courtyard banner, split enquiry panel and office content. */

.page-banner {
    position: relative;
    isolation: isolate;
    min-height: clamp(360px, 43.2vw, 830px);
    display: grid;
    place-items: center;
    color: white;
    background: var(--green-dark);
}

.page-banner-image,
.page-banner-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: cover;
}

.page-banner-image {
    object-position: center 53%;
}

.page-banner-shade {
    z-index: -1;
    background: #0006;
}

.page-banner-content {
    text-align: center;
    padding-top: 42px;
}

.page-banner h1 {
    font-size: clamp(26px, 2vw, 38px);
}

.contact-details-section {
    padding-block: clamp(64px, 8vw, 100px) clamp(56px, 5vw, 86px);
}

.contact-section-title {
    color: var(--gold);
    font-size: clamp(24px, 2vw, 36px);
    letter-spacing: -.03em;
    margin-bottom: clamp(28px, 2.8vw, 52px);
}

.contact-intro h3,
.contact-offices h3 {
    font-family: var(--font-body);
    font-size: clamp(20px, 1.95vw, 34px);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 28px;
}

.contact-intro>p,
.contact-offices>p {
    font-size: clamp(17px, 1.8vw, 32px);
    line-height: 1.5;
}

.contact-enquiry-layout {
    display: grid;
    grid-template-columns: .93fr 1fr;
    margin-top: 36px;
    align-items: stretch;
    border: 0;
}

.contact-enquiry-media {
    min-width: 0;
    min-height: 0;
    align-self: stretch;
}

.contact-enquiry-image {
    position: relative;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.contact-enquiry-image>.urm-webp-picture>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-office-address {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    margin-top: clamp(64px, 7vw, 96px);
    padding: 0;
    border: 1px solid rgba(127, 91, 36, .28);
    background: #faf7f1;
    color: #214e42;
    overflow: hidden;
}

.contact-office-address__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 4vw, 64px);
    border-left: 3px solid var(--gold);
}

.contact-office-address__heading {
    margin: 0 0 22px;
    color: var(--gold-on-light);
    font-size: clamp(16px, 1.1vw, 18px);
    letter-spacing: .12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.contact-office-address__title {
    margin: 0 0 24px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: clamp(28px, 2.8vw, 42px);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.12;
}

.contact-office-address__title::after {
    display: block;
    width: 48px;
    height: 2px;
    margin-top: 24px;
    background: var(--gold);
    content: '';
}

.contact-office-address address {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: clamp(16px, 1.1vw, 18px);
    font-style: normal;
    line-height: 1.55;
}

.contact-office-address__image {
    min-width: 0;
    min-height: 360px;
}

.contact-office-address__image>.urm-webp-picture,
.contact-office-address__image>.urm-webp-picture>img {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-office-address__image>.urm-webp-picture>img {
    object-fit: cover;
    object-position: center;
}

.contact-office-address--no-image {
    display: block;
}

.contact-office-address--no-image .contact-office-address__content {
    min-height: 0;
}

.contact-form-panel {
    min-width: 0;
    background: #142c23;
    color: #e5ece6;
    padding: clamp(30px, 3.3vw, 64px);
}

.contact-page-form.enquiry-form {
    display: grid;
    gap: clamp(22px, 2vw, 38px);
    margin: 0;
}

.contact-page-form.enquiry-form label {
    display: block;
    color: #c3a067;
    font-size: clamp(11px, .8vw, 15px);
    font-weight: 500;
    letter-spacing: .035em;
    text-transform: uppercase;
}


/* Contact us page — country calling code and national phone number field. */

.contact-page-form .phone-field>span {
    display: block;
    color: #c3a067;
    font-size: clamp(11px, .8vw, 15px);
    font-weight: 500;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.contact-page-form .phone-input-group {
    display: grid;
    grid-template-columns: minmax(112px, .8fr) minmax(0, 1.2fr);
    gap: 8px;
}

.contact-page-form.enquiry-form .phone-input-group select,
.contact-page-form.enquiry-form .phone-input-group input {
    min-width: 0;
}

.contact-page-form .form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(16px, 1.6vw, 30px);
}

.contact-page-form.enquiry-form input,
.contact-page-form.enquiry-form select,
.contact-page-form.enquiry-form textarea {
    display: block;
    margin-top: 7px;
    padding: 11px 14px;
    min-height: 46px;
    width: 100%;
    border: 1px solid #3e554a;
    background: #203a2f;
    color: #eef2ee;
    font-size: clamp(14px, .95vw, 18px);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 0;
}

.contact-page-form input::placeholder,
.contact-page-form textarea::placeholder {
    color: #a8b5ad;
    opacity: 1;
}

.contact-page-form.enquiry-form textarea {
    min-height: clamp(130px, 8.4vw, 162px);
    resize: vertical;
}

.contact-page-form .form-actions {
    text-align: center;
    margin-top: 12px;
}

.contact-page-form .button {
    margin: 0;
    min-width: 132px;
    min-height: 50px;
    padding: 12px 24px;
    font-size: 14px;
}

.contact-page-form .button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.contact-page-form .form-note,
.contact-page-form .form-preview-note {
    margin: 20px 0 0;
    color: #a8b5ad;
    font-size: 12px;
    line-height: 1.5;
}

.contact-page-form .form-preview-note {
    margin-top: 8px;
    font-size: 11px;
}

.contact-page-form .form-status {
    margin: 0;
    color: #e5ece6;
    font-size: 14px;
}

.contact-page-form .form-status:empty {
    display: none;
}

.contact-offices {
    margin-top: clamp(48px, 4.4vw, 84px);
}

.contact-offices + .contact-office-address {
    margin-top: clamp(64px, 7vw, 96px);
}

.contact-offices .contact-section-title {
    margin-bottom: 28px;
}

.contact-details-section .contact-section-title {
    color: #7f5b24;
}

.contact-offices>p+p {
    margin-top: 8px;
}

.careers-enquiry-link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.careers-enquiry-link:hover {
    color: #896329;
}

@media (max-width: 1000px) and (min-width: 701px) {
    .contact-enquiry-layout {
        grid-template-columns: .8fr 1fr;
    }
    .contact-office-address__content {
        padding: 32px;
    }
    .contact-office-address__title {
        font-size: clamp(24px, 3vw, 34px);
    }
    .contact-office-address__image {
        min-height: 320px;
    }
    .contact-page-form .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
}

@media (max-width: 700px) {
    .page-banner {
        min-height: 390px;
    }
    .page-banner-image {
        object-position: 60% center;
    }
    .contact-section-title {
        margin-bottom: 24px;
    }
    .contact-intro h3,
    .contact-offices h3 {
        margin-bottom: 18px;
    }
    .contact-enquiry-layout {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 28px;
    }
    .contact-enquiry-media {
        display: block;
    }
    .contact-enquiry-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .contact-enquiry-image>.urm-webp-picture>img {
        object-position: center 45%;
    }
    .contact-form-panel {
        padding: 32px 22px;
    }
    .contact-office-address {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 48px;
    }
    .contact-office-address__content {
        padding: 28px 22px 32px;
    }
    .contact-office-address__title {
        font-size: 28px;
    }
    .contact-office-address__image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
    .contact-office-address__image>.urm-webp-picture,
    .contact-office-address__image>.urm-webp-picture>img {
        height: 100%;
    }
    .contact-page-form .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
    .contact-page-form.enquiry-form input,
    .contact-page-form.enquiry-form select,
    .contact-page-form.enquiry-form textarea {
        font-size: 16px;
    }
    .contact-page-form .phone-input-group {
        grid-template-columns: minmax(124px, .9fr) minmax(0, 1.1fr);
    }
}


/* Contact Form 7 parity: keep the live control treatment scoped to Contact Us. */
.contact-form-panel .wpcf7 .hidden-fields-container {
    display: none;
}

.contact-page-form .wpcf7-form-control-wrap {
    display: block;
    position: relative;
}

.contact-page-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: #f2a49a;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.contact-page-form.enquiry-form .wpcf7-not-valid {
    border-color: #e07a6e;
}

.contact-page-form.enquiry-form .form-consent .wpcf7-list-item {
    display: block;
    margin: 0;
}

.contact-page-form.enquiry-form .form-consent label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #f5f1e9;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

.contact-page-form.enquiry-form .form-consent input {
    flex: none;
    width: 20px;
    height: 20px;
    min-height: 0;
    margin: 1px 0 0;
    padding: 0;
    accent-color: #c3a067;
    cursor: pointer;
}

.contact-page-form.enquiry-form .form-consent input[type="checkbox"]:hover {
    outline: 2px solid rgba(195, 160, 103, .6);
    outline-offset: 2px;
}

.contact-page-form.enquiry-form .form-consent input[type="checkbox"]:focus-visible {
    outline: 2px solid #c3a067;
    outline-offset: 3px;
}

.contact-page-form.enquiry-form .form-consent input[type="checkbox"][aria-invalid="true"] {
    outline: 2px solid #e07a6e;
    outline-offset: 3px;
}

.contact-page-form .form-consent .wpcf7-list-item-label::after {
    content: "*";
}

.contact-page-form .form-consent a {
    color: #c3a067;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-page-form.enquiry-form select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 42px;
    line-height: 1.4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c3a067' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    cursor: pointer;
}

.contact-page-form.enquiry-form select option {
    background: #203a2f;
    color: #eef2ee;
}

.contact-page-form {
    --iti-border-color: #3e554a;
    --iti-country-selector-bg: #203a2f;
    --iti-hover-color: rgba(195, 160, 103, .14);
    --iti-icon-color: #c3a067;
    --iti-arrow-size: 7px;
    --iti-arrow-width: 1.5px;
    --iti-spacer-horizontal: 14px;
}

.contact-page-form .iti {
    display: block;
    width: 100%;
    margin-top: 7px;
}

.contact-page-form .iti__selected-country {
    color: #eef2ee;
    font-size: clamp(14px, .95vw, 18px);
    cursor: pointer;
}

.contact-page-form .iti__selected-country:focus-visible {
    outline: 1px solid #c3a067;
    outline-offset: -1px;
}

.contact-page-form .iti__country-selector {
    border-radius: 0;
    color: #eef2ee;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.contact-page-form.enquiry-form .iti__search-input {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    min-height: 0;
    padding: 11px calc(var(--iti-spacer-horizontal) + var(--iti-clear-icon-size) + var(--iti-spacer-horizontal)) 11px calc(var(--iti-spacer-horizontal) + var(--iti-globe-icon-size) + var(--iti-spacer-horizontal));
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #eef2ee;
    font-size: 14px;
}

.contact-page-form.enquiry-form .iti__search-input:focus-visible {
    /* The shared focus ring is offset into the country list on first open. */
    outline: none;
    outline-offset: 0;
    box-shadow: inset 0 2px 0 var(--gold), inset 2px 0 0 var(--gold), inset -2px 0 0 var(--gold);
}

/* Keep the v29 country selector contained when the viewport or display scale changes. */
.contact-page .iti__country-selector {
    box-sizing: border-box;
    max-width: calc(100vw - 32px);
    overflow: hidden;
}

.contact-page .iti__search-input-wrapper {
    min-width: 0;
}

.contact-page .iti__search-icon {
    top: 50%;
    transform: translateY(-50%);
}

.contact-page .iti__search-input {
    box-sizing: border-box;
    min-width: 0;
}

body.contact-page .iti__country-list {
    max-height: min(185px, max(120px, calc(100dvh - 180px)));
}

.contact-page-form .iti__dial-code {
    color: #a8b5ad;
}

.contact-page-form .iti__country.iti__highlight {
    color: #fff;
}

.iti--fullscreen-popup {
    --iti-border-color: #3e554a;
    --iti-country-selector-bg: #203a2f;
    --iti-hover-color: rgba(195, 160, 103, .14);
    --iti-icon-color: #c3a067;
    color: #eef2ee;
    font-family: 'Instrument Sans', Arial, sans-serif;
}

.iti--fullscreen-popup .iti__search-input {
    background: transparent;
    color: #eef2ee;
}

.iti--fullscreen-popup .iti__dial-code {
    color: #a8b5ad;
}

.contact-page-form.enquiry-form {
    position: relative;
}

.contact-page-form .wpcf7-spinner,
.contact-page-form .wpcf7-response-output {
    display: none !important;
}

.contact-page-form::after {
    content: "";
    position: absolute;
    inset: -12px;
    z-index: 2;
    display: grid;
    background: rgba(16, 47, 39, .72) no-repeat center / 46px 46px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%23c3a067' stroke-opacity='.25' stroke-width='3'/%3E%3Cpath d='M25 5a20 20 0 0 1 20 20' fill='none' stroke='%23c3a067' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='.8s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.contact-page-form.is-sending::after {
    opacity: 1;
    visibility: visible;
    cursor: wait;
}

.contact-page-form.is-sending .button:disabled {
    cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
    .contact-page-form::after {
        transition: none;
    }
}

/* Navigation */

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    color: white;
    padding-block: 45px
}

/* Internal image banners use the live reference's separate top navigation shade. */
body.why-page .site-header:not(.is-scrolled)::before,
body.identity-page .site-header:not(.is-scrolled)::before,
body.expertise-page .site-header:not(.is-scrolled)::before,
body.portfolio-enhanced .site-header:not(.is-scrolled)::before,
body.contact-page .site-header:not(.is-scrolled)::before {
    content: "";
    position: absolute;
    inset: 0 0 -30px;
    z-index: -1;
    background: linear-gradient(to bottom, #061c1680, #061c1659 65%, #061c1600);
    pointer-events: none;
}

/* Pages without a rendered visual hero use the existing solid header treatment. */
body.header-solid .site-header {
    background: var(--green-dark);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    color: var(--gold);
    line-height: 1;
    text-align: center
}

.brand-name {
    font-size: clamp(38px, 4.2vw, 80px);
    letter-spacing: .06em;
    line-height: .94;
    font-weight: 500;
    transform: scaleX(1.13);
    transform-origin: center
}

.brand-caption {
    text-transform: uppercase;
    font-size: clamp(8px, .86vw, 16px);
    line-height: 1.2;
    margin-top: 8px
}

.brand--light {
    color: white
}

.site-header .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1
}

.site-header .brand-name {
    font-size: clamp(45px, 3.8vw, 72px)
}

.primary-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 32px;
    align-items: center;
    width: 90%;
    font-size: clamp(12px, 1.2vw, 23px);
    text-transform: uppercase
}

.primary-nav a {
    width: max-content;
    max-width: 100%;
    min-width: 0;
    position: relative;
    padding-block: 12px
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s
}

.primary-nav a:hover::after {
    transform: scaleX(1)
}

.menu-toggle {
    display: none
}


/* Video header */

.hero {
    height: clamp(680px, 52.7vw, 1050px);
    position: relative;
    display: grid;
    place-items: center;
    color: white;
    background: var(--green-dark);
    isolation: isolate;
    overflow: hidden
}

.hero-video,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2
}

.hero-video {
    height: 125%;
    bottom: auto;
    object-position: center top
}

.hero-shade {
    z-index: -1;
    background: linear-gradient(180deg, rgba(8, 15, 17, .48), rgba(8, 15, 17, .44) 60%, rgba(8, 15, 17, .3))
}

.hero-content {
    text-align: center;
    padding-top: 110px;
    animation: hero-enter 1.2s var(--ease) both
}

.hero h1 {
    font-size: clamp(30px, 2.15vw, 44px)
}

.hero p {
    margin: 20px auto 34px;
    font-size: clamp(15px, 1.15vw, 22px);
    line-height: 1.5
}

.video-toggle {
    position: absolute;
    right: var(--gutter);
    bottom: 26px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .5);
    background: #0003;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.video-toggle-icon {
    width: 12px;
    height: 12px;
    fill: currentColor
}

.video-toggle .video-toggle-icon--play,
.video-toggle.is-paused .video-toggle-icon--pause {
    display: none
}

.video-toggle.is-paused .video-toggle-icon--play {
    display: block
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: var(--white);
    transform: translateX(-50%);
}

.scroll-cue-label {
    position: static;
    width: auto;
    height: auto;
    background: none;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.scroll-cue-arrow {
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: background-color .25s, border-color .25s
}

.scroll-cue-arrow path {
    animation: urm-scroll-nudge 2s ease-in-out infinite
}

.scroll-cue:hover .scroll-cue-arrow,
.scroll-cue:focus-visible .scroll-cue-arrow {
    border-color: var(--white);
    background: rgba(255, 255, 255, .12)
}


/* CMS section primitives */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7%;
    align-items: start;
    margin-bottom: 80px
}

.intro-grid .button {
    margin-top: 34px
}

.intro-copy {
    padding-top: 42px
}

.values {
    color: #9b702f;
    font-weight: 600;
    line-height: 1.65
}

/* Match the live site's deeper gold on light homepage sections. */
body.home .section:not(.section--green) .eyebrow,
body.home .values,
body.home .values span {
    color: var(--gold-on-light);
}

.values span {
    opacity: .7
}

.image-frame {
    overflow: hidden
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease)
}

.image-frame:hover img {
    transform: scale(1.035)
}

.intro-image {
    aspect-ratio: 3.56
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px
}

.expertise {
    padding-block: 120px 160px
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3px
}

.service-card {
    flex: 1 1 calc((100% - 12px) / 5);
    min-width: 200px;
    position: relative;
    overflow: hidden;
    background: var(--green-dark);
    color: white;
    min-height: 560px;
    isolation: isolate
}

.service-card>.urm-webp-picture>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .9s var(--ease)
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 20%, rgba(18, 62, 50, .15) 46%, #10392ef2 88%)
}

.service-content {
    position: absolute;
    inset: auto 24px 30px
}

.service-card h3 {
    font-size: clamp(17px, 1.32vw, 25px);
    font-weight: 400;
    line-height: 1.25
}

.service-card p {
    font-size: clamp(12px, .96vw, 17px);
    line-height: 1.4;
    margin-top: 12px
}

.service-link {
    display: inline-flex;
    gap: 22px;
    align-items: center;
    border: 1px solid #a8b9b0;
    background: transparent;
    color: white;
    padding: 9px 15px;
    margin-top: 15px;
    font-size: 12px;
    text-transform: uppercase
}

.service-link:hover {
    background: white;
    color: var(--green)
}

.service-card:hover>.urm-webp-picture>img,
.service-card:focus-within>.urm-webp-picture>img {
    transform: scale(1.06)
}

.location {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: clamp(15px, 1.3vw, 25px);
    margin-bottom: 22px
}

.ecosystem {
    padding-block: 90px 125px
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1.55fr 1fr;
    gap: 5%;
    align-items: center;
    min-height: 780px
}

.ecosystem-image--first {
    align-self: start;
    aspect-ratio: .72
}

.ecosystem-image--last {
    align-self: end;
    aspect-ratio: .79
}

.ecosystem-copy {
    text-align: center
}

.ecosystem-copy h2 {
    font-size: clamp(23px, 2.05vw, 39px)
}

.ecosystem-copy>p:not(.eyebrow) {
    margin: 30px auto 0;
    max-width: 540px
}

.brand-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-block: 68px
}

.brand-pair .brand-name {
    font-size: clamp(32px, 3vw, 60px)
}

.brand-pair .brand-caption {
    font-size: clamp(7px, .72vw, 14px)
}

.brand-divider {
    height: 68px;
    width: 1px;
    background: #adbbb4
}

.contact {
    overflow: hidden
}

.contact-inner {
    position: relative;
    min-height: 540px;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    place-items: center
}

.contact-copy {
    text-align: center;
    position: relative;
    z-index: 1;
    grid-row: 1 / -1;
    align-self: stretch;
    display: grid;
    place-items: center;
    padding: 80px 0
}

.contact-copy-intro {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center
}

.contact-copy p {
    margin: 18px 0 30px
}

.contact-copy .button {
    position: absolute;
    top: 100%;
    left: 50%;
    width: max-content;
    max-width: 100%;
    overflow-wrap: anywhere;
    transform: translateX(-50%)
}

.contact-image {
    position: absolute;
    object-fit: cover
}

.contact-image--pool {
    left: -10px;
    top: 0;
    width: 26%;
    aspect-ratio: 2.15
}

.contact-image--residence {
    right: 5px;
    top: 27%;
    width: 19%;
    aspect-ratio: 1
}

.contact-image--garden {
    left: 14%;
    bottom: -88px;
    width: 19%;
    height: 190px;
    object-position: top
}

.site-footer {
    font-family: var(--font-body);
    background: var(--sand);
    padding-top: 70px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr 1.35fr .95fr .9fr .75fr;
    gap: 30px;
    padding-bottom: 82px;
    align-items: start
}

.footer-navigation-columns,
.footer-navigation-column {
    display: contents;
}

.footer-nav--why {
    order: 1;
}

.footer-nav--services {
    order: 2;
}

.footer-nav--identity {
    order: 3;
}

.footer-nav--portfolio {
    order: 4;
}

.footer-nav--contact {
    order: 5;
}

.site-footer>.container>.footer-grid>.brand {
    justify-self: start;
    margin-top: 20px
}

.footer-grid .brand-name {
    font-size: clamp(40px, 4.2vw, 80px)
}

.footer-grid h2 {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.25vw, 23px);
    font-weight: 600;
    margin-bottom: 20px
}

.footer-grid nav {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 9px
}

.footer-grid nav a,
.footer-grid nav button {
    font-size: clamp(12px, .94vw, 18px);
    line-height: 1.5;
    text-align: left
}

.footer-grid nav button {
    border: 0;
    padding: 0;
    background: none
}

.footer-grid nav a:hover,
.footer-grid nav button:hover {
    text-decoration: underline;
    text-underline-offset: 4px
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid #d9c7a8;
    padding: 25px 0 18px
}

.copyright {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    font-size: clamp(10px, .83vw, 15px);
    text-transform: uppercase
}

.footer-legal {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 20px
}

.footer-legal a,
.footer-legal button {
    font-size: clamp(10px, .83vw, 15px);
    line-height: 1.5;
    text-align: left
}

.footer-legal button {
    border: 0;
    padding: 0;
    background: none
}

.footer-legal a:hover,
.footer-legal button:hover {
    text-decoration: underline;
    text-underline-offset: 4px
}

.detail-dialog {
    width: min(760px, calc(100% - 36px));
    max-height: 85vh;
    max-height: 85dvh;
    border: 0;
    padding: clamp(28px, 5vw, 65px);
    color: var(--green);
    background: var(--sand)
}

.detail-dialog::backdrop {
    background: #061c16b8;
    backdrop-filter: blur(5px)
}

.dialog-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: none;
    font-size: 32px;
    line-height: 1;
    padding: 5px
}

.detail-dialog h2 {
    padding-right: 12px;
    margin-bottom: 24px
}

.detail-dialog h3 {
    margin: 25px 0 8px
}

.detail-dialog p {
    font-size: 16px
}

.detail-dialog img {
    margin-bottom: 25px;
    width: 100%;
    max-height: 300px;
    object-fit: cover
}

.detail-dialog .button {
    margin-top: 24px
}

.enquiry-form {
    display: grid;
    gap: 16px;
    margin-top: 24px
}

.enquiry-form label {
    display: grid;
    gap: 6px;
    font-size: 14px
}

.enquiry-form input,
.enquiry-form textarea,
.enquiry-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--green);
    border-radius: 0
}

.enquiry-form textarea {
    resize: vertical;
    min-height: 110px
}

.form-note {
    font-size: 13px!important
}

.form-status {
    font-size: 14px!important
}

.enquiry-form .button {
    margin-top: 0
}

@keyframes hero-enter {
    from {
        opacity: 0;
        transform: translateY(20px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes urm-scroll-nudge {
    0%,
    100% {
        transform: translateY(-1.5px)
    }
    50% {
        transform: translateY(2.5px)
    }
}

[data-reveal].reveal-pending {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease)
}

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

@media(min-width:1101px) {
    .service-card p {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: 0;
        transition: max-height .4s, opacity .4s, margin .4s
    }
    .service-card .service-link {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding-block: 0;
        border-width: 0;
        margin-top: 0;
        transition: all .4s
    }
    .service-card:hover p,
    .service-card:focus-within p {
        max-height: 160px;
        opacity: 1;
        margin-top: 12px
    }
    .service-card:hover .service-link,
    .service-card:focus-within .service-link {
        max-height: 50px;
        opacity: 1;
        padding-block: 9px;
        border-width: 1px;
        margin-top: 15px
    }
}

@media(max-width:1500px) {
    .primary-nav {
        gap: 22px;
        width: 100%
    }
    .site-header {
        padding-block: 25px
    }
    .service-card {
        min-height: 440px
    }
    .service-content {
        inset: auto 18px 24px
    }
    .expertise {
        padding-block: 90px 110px
    }
    .ecosystem-grid {
        min-height: 620px
    }
    .contact-inner {
        min-height: 440px
    }
    .footer-grid {
        gap: 20px
    }
    .button {
        min-width: 170px;
        min-height: 50px
    }
    .button--small {
        min-width: 140px;
        min-height: 44px
    }
}

@media(max-width:1100px) {
     :root {
        --gutter: 40px
    }
    .site-header .brand {
        position: static;
        transform: none
    }
    .header-inner {
        justify-content: space-between;
        min-height: 65px
    }
    .site-header {
        padding-block: 24px
    }
    .site-header .brand-name {
        font-size: 48px
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        background: transparent;
        border: 1px solid #ffffff80;
        width: 46px;
        height: 46px;
        padding: 10px;
        color: inherit;
        z-index: 2
    }
    .menu-toggle>span:not(.sr-only) {
        height: 1px;
        width: 24px;
        background: currentColor;
        transition: transform .25s
    }
    .menu-toggle[aria-expanded=true]>span:first-child {
        transform: translateY(8px) rotate(45deg)
    }
    .menu-toggle[aria-expanded=true]>span:nth-child(2) {
        opacity: 0
    }
    .menu-toggle[aria-expanded=true]>span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg)
    }
    .primary-nav {
        display: none;
        position: absolute;
        top: calc(100% + 18px);
        left: 0;
        right: 0;
        background: var(--green-dark);
        padding: 24px;
        font-size: 16px;
        box-shadow: 0 20px 30px #0003
    }
    .primary-nav.is-open {
        display: grid;
        grid-template-columns: 1fr 1fr
    }
    .hero {
        height: 700px
    }
    .hero-content {
        padding-top: 50px
    }
    .intro-grid {
        gap: 45px;
        margin-bottom: 50px
    }
    .intro-copy {
        padding-top: 30px
    }
    .service-grid {
        gap: 12px
    }
    .service-card {
        flex: 1 1 calc((100% - 24px) / 3);
        min-width: calc((100% - 24px) / 3);
        min-height: 410px
    }
    .service-card:nth-last-child(-n+2) {
        min-height: 350px
    }
    .service-card h3 {
        font-size: 21px
    }
    .service-card p {
        font-size: 14px
    }
    .ecosystem-grid {
        gap: 3%;
        min-height: 500px
    }
    .ecosystem-copy h2 {
        font-size: 24px
    }
    .brand-pair {
        gap: 16px;
        margin-block: 36px
    }
    .contact-image--pool {
        width: 21%
    }
    .contact-image--residence {
        width: 17%;
        top: 36%
    }
    .contact-copy {
        max-width: 62%
    }
    .contact-copy h2 {
        font-size: 25px
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px
    }
    .footer-grid .brand {
        justify-self: start
    }
    .footer-grid h2 {
        margin-bottom: 8px;
        font-size: 16px
    }
    .footer-grid nav a,
    .footer-grid nav button {
        font-size: 14px
    }
}

@media(max-width:767px) {
    .contact-copy {
        align-self: auto;
        display: block
    }
    .contact-copy .button {
        position: static;
        transform: none
    }
}

@media(max-width:700px) {
     :root {
        --gutter: 22px;
        --section-space: 64px
    }
    html {
        scroll-padding-top: 25px
    }
    .site-header {
        padding-block: 22px
    }
    .brand-caption {
        font-size: 9px
    }
    .hero {
        height: 680px;
        height: 92svh;
        min-height: 570px;
        max-height: 850px
    }
    .hero-video {
        object-position: 58% top
    }
    .hero-content {
        padding-top: 35px
    }
    .hero h1 {
        font-size: clamp(25px, 6vw, 36px)
    }
    .hero p {
        font-size: 15px;
        max-width: 370px;
        margin-block: 22px 28px
    }
    .desktop-break {
        display: none
    }
    .hero .button {
        min-width: 155px
    }
    .video-toggle {
        right: max(var(--gutter), env(safe-area-inset-right));
        bottom: calc(26px + env(safe-area-inset-bottom))
    }
    .scroll-cue {
        left: 50%;
        bottom: calc(28px + env(safe-area-inset-bottom))
    }
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 32px
    }
    .intro-copy {
        padding-top: 0
    }
    .intro-grid .button {
        margin-top: 22px
    }
    .intro-image {
        aspect-ratio: 1.65
    }
    .intro-image img {
        object-position: 60%
    }
    .eyebrow {
        margin-bottom: 12px;
        font-size: 11px
    }
    .values {
        font-size: 14px
    }
    .section-heading {
        gap: 16px;
        margin-bottom: 28px
    }
    .section-heading h2 {
        font-size: 23px
    }
    .button--small {
        min-width: 99px;
        min-height: 42px;
        padding: 10px 12px;
        font-size: 10px
    }
    .expertise {
        padding-block: 64px
    }
    .service-grid {
        gap: 10px
    }
    .service-card,
    .service-card:nth-last-child(-n+2) {
        flex: 1 1 calc((100% - 10px) / 2);
        min-width: calc((100% - 10px) / 2);
        min-height: 350px
    }
    .service-card:last-child {
        flex-basis: 100%;
        min-width: 100%;
        min-height: 300px
    }
    .service-card:last-child>.urm-webp-picture>img {
        object-position: center 55%
    }
    .service-content {
        inset: auto 14px 20px
    }
    .service-card h3 {
        font-size: 17px
    }
    .service-card p {
        font-size: 12px
    }
    .service-link {
        font-size: 10px;
        padding: 8px 10px;
        gap: 12px
    }
    .location {
        font-size: 15px;
        margin-bottom: 15px
    }
    .ecosystem {
        padding-block: 64px
    }
    .ecosystem-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        min-height: 0
    }
    .ecosystem-copy {
        grid-column: 1/-1;
        grid-row: 1
    }
    .ecosystem-copy h2 {
        font-size: 26px
    }
    .ecosystem-copy>p:not(.eyebrow) {
        max-width: 360px;
        margin-top: 22px
    }
    .brand-pair {
        margin-block: 32px
    }
    .brand-pair .brand-name {
        font-size: 42px
    }
    .brand-pair .brand-caption {
        font-size: 9px
    }
    .brand-divider {
        height: 45px
    }
    .ecosystem-image {
        aspect-ratio: .9;
        width: 100%
    }
    .ecosystem-image--last {
        margin-top: 42px
    }
    .contact-inner {
        min-height: 490px
    }
    .contact-copy {
        max-width: 100%;
        padding: 125px 0 110px
    }
    .contact-copy h2 {
        font-size: 25px
    }
    .contact-copy p {
        font-size: 14px;
        max-width: 330px;
        margin-inline: auto
    }
    .contact-image--pool {
        width: 34%;
        max-height: 85px;
        left: 0
    }
    .contact-image--residence {
        width: 23%;
        top: auto;
        bottom: -18px;
        right: 0
    }
    .contact-image--garden {
        left: 0;
        bottom: -75px;
        width: 31%;
        height: 140px
    }
    .site-footer {
        padding-top: 44px
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 35px
    }

    .footer-navigation-columns {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 30px 20px;
    }

    .footer-navigation-column {
        display: flex;
        flex-direction: column;
        gap: 30px;
        min-width: 0;
    }

    .footer-navigation-column .footer-nav {
        order: 0;
        min-width: 0;
    }
    .site-footer>.container>.footer-grid>.brand {
        grid-column: 1/-1;
        margin: 0 0 38px
    }
    .footer-grid .brand-name {
        font-size: 52px
    }
    .footer-grid .brand-caption {
        font-size: 10px
    }
    .footer-grid h2 {
        font-size: 14px
    }
    .footer-grid nav a,
    .footer-grid nav button {
        font-size: 12px
    }
    .footer-bottom {
        align-items: center;
        flex-direction: column;
        gap: 14px;
        padding-block: 20px
    }
    .footer-legal {
        order: -1;
        width: 100%;
        justify-content: center;
        gap: 8px 20px
    }
    .footer-legal a,
    .footer-legal button {
        text-align: center
    }
    .copyright {
        width: 100%;
        font-size: 9px;
        text-align: center
    }
    .detail-dialog h2 {
        font-size: 24px
    }
    .detail-dialog .eyebrow {
        margin-top: 10px
    }
}

/* Keep the shared footer's mobile bottom rows centered through the 767px breakpoint. */
@media (min-width: 701px) and (max-width: 767px) {
    .footer-bottom {
        align-items: center;
        flex-direction: column;
        gap: 14px;
        padding-block: 20px;
    }

    .footer-legal {
        order: -1;
        width: 100%;
        justify-content: center;
        gap: 8px 20px;
    }

    .footer-legal a,
    .footer-legal button {
        text-align: center;
    }

    .copyright {
        width: 100%;
        text-align: center;
    }
}

@media(max-width:330px) {
    .video-toggle {
        padding-inline: 12px;
        gap: 8px
    }
}

@media(max-width:319px) {
    .expertise .section-heading,
    .portfolio .section-heading {
        align-items: flex-start;
        flex-wrap: wrap;
        justify-content: flex-start
    }
    .expertise .service-link {
        gap: 6px;
        padding-inline: 6px
    }
}

@media(max-width:360px) {
    .expertise .service-card h3,
    .expertise .service-card p {
        overflow-wrap: anywhere
    }
}

@media(min-width:1101px) {
    .primary-nav {
        grid-template-columns: repeat(var(--nav-left-count, 3), minmax(0, 1fr)) clamp(150px, 15vw, 280px) repeat(var(--nav-right-count, 3), minmax(0, 1fr));
        gap: 18px;
        width: 100%
    }
    .primary-nav a {
        grid-column: var(--nav-column, auto);
        justify-self: center;
        overflow-wrap: anywhere
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
    *,
    *::before,
    *::after {
        animation: none!important;
        transition: none!important
    }
    [data-reveal].reveal-pending {
        opacity: 1;
        transform: none
    }
    .image-frame:hover img,
    .service-card:hover>.urm-webp-picture>img {
        transform: none
    }
}


/* Full-screen mobile navigation. */

.mobile-menu-header {
    display: none
}

@media(max-width:1100px) {
    html.menu-open {
        overflow: hidden
    }
    body.menu-open {
        position: fixed;
        width: 100%;
        overflow: hidden
    }
    .primary-nav {
        position: fixed;
        inset: 0;
        z-index: 30;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        padding: max(24px, env(safe-area-inset-top)) var(--gutter) max(32px, env(safe-area-inset-bottom));
        background: var(--green-dark);
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: none
    }
    .primary-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0
    }
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        margin-bottom: clamp(36px, 8vh, 80px);
        flex-shrink: 0
    }
    .primary-nav .mobile-menu-header .brand {
        position: static;
        transform: none;
        padding: 0;
        width: auto
    }
    .primary-nav .mobile-menu-header .brand::after {
        display: none
    }
    .menu-close {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid #ffffff80;
        background: transparent;
        color: white;
        font-size: 36px;
        line-height: 1
    }
    .menu-close:hover {
        background: #ffffff15
    }
    .primary-nav>a {
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid #ffffff24;
        font-family: var(--font-heading);
        font-size: clamp(20px, 3vw, 30px);
        line-height: 1.3;
        letter-spacing: -.03em
    }
    .primary-nav>a::after {
        display: none
    }
    .primary-nav>a:hover {
        color: #d2b178
    }
}


/* Fixed navigation compacts on scroll without changing the full-screen mobile menu. */

html {
    scroll-padding-top: 100px;
}

.site-header {
    position: fixed;
    padding-block: 20px;
    transition: padding .25s var(--ease), background-color .25s, box-shadow .25s;
}

.site-header .header-inner {
    min-height: 76px;
    transition: min-height .25s var(--ease);
}

.site-header .header-inner>.brand .brand-name {
    font-size: 52px;
    transition: font-size .25s var(--ease);
}

.site-header .header-inner>.brand .brand-caption {
    font-size: 10px;
    margin-top: 6px;
    transition: font-size .25s var(--ease), margin .25s var(--ease);
}

.site-header.is-scrolled {
    padding-block: 10px;
    background: var(--green-dark);
    box-shadow: 0 4px 20px #0002;
}

.site-header.is-scrolled .header-inner {
    min-height: 56px;
}

.site-header.is-scrolled .header-inner>.brand {
    width: 90px;
}

.site-header.is-scrolled .header-inner>.brand .brand-name {
    font-size: 36px;
}

.site-header.is-scrolled .header-inner>.brand .brand-caption {
    font-size: 7px;
    margin-top: 4px;
}

@media (min-width: 1101px) {
    .site-header.is-scrolled .primary-nav {
        font-size: 14px;
    }
}

@media (max-width: 1100px) {
    .site-header {
        padding-block: 14px;
    }
    .site-header .header-inner {
        min-height: 64px;
    }
    .site-header .header-inner>.brand .brand-name {
        font-size: 44px;
    }
    .site-header .header-inner>.brand .brand-caption {
        font-size: 8px;
    }
    .site-header.is-scrolled .header-inner {
        min-height: 52px;
    }
}


/* Shared inner pages — Identity and Portfolio banners. */

.identity-banner,
.portfolio-banner {
    position: relative;
    display: grid;
    place-items: center;
    height: min(43.2vw, 830px);
    min-height: 470px;
    color: white;
}

.identity-banner>.urm-webp-picture>img,
.portfolio-banner>.urm-webp-picture>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.identity-banner::after,
.portfolio-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #0006;
}

.identity-banner-content,
.portfolio-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 45px;
}

.identity-banner h1,
.portfolio-banner h1 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(30px, 2.1vw, 40px);
}


/* Shared inner pages — introductory copy and keyboard-safe viewport reveals. */

.why-intro,
.identity-copy {
    font-size: clamp(18px, 1.75vw, 34px);
    line-height: 1.5;
}

.why-page [data-reveal].reveal-pending:focus-within,
.page-id-193 [data-reveal].reveal-pending:focus-within,
.portfolio-page [data-reveal].reveal-pending:focus-within {
    opacity: 1;
    transform: none;
    transition: none;
}


/* Why URM page — banner, stakeholder carousel, advantages and ecosystem. */

.why-hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 540px;
    height: min(43.35vw, 832px);
    padding: 180px 0 11%;
    color: white;
    text-align: center;
    background: #665033;
}

.why-hero>.urm-webp-picture>img,
.why-hero::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.why-hero>.urm-webp-picture>img {
    object-fit: cover;
    object-position: center;
}

.why-hero::after {
    content: '';
    background: #0006;
    pointer-events: none;
}

.why-hero-content {
    position: relative;
    z-index: 1;
}

.why-hero h1 {
    font-size: clamp(28px, 2vw, 38px);
    margin-bottom: 18px;
}

.why-hero p {
    max-width: 760px;
    margin-inline: auto;
}

.why-hero .why-hero-subtitle {
    font-weight: 600;
    margin-bottom: 4px;
}

.why-hero p+p {
    margin-top: 0;
}

.why-page h2:not(.contact-copy h2,
.footer-grid h2) {
    letter-spacing: .08em;
}

.why-page #why-urm > .container > .eyebrow,
.why-page #ecosystem > .container > .eyebrow {
    color: #7f5b24;
}

.why-intro {
    margin: 30px 0 62px;
}

.why-stakeholder {
    display: grid;
    grid-template-columns: 1.32fr 1fr;
    align-items: center;
    gap: 5%;
}

.why-stakeholder-image {
    width: 100%;
    aspect-ratio: 1.46;
    object-fit: cover;
}

.why-stakeholder > .urm-webp-picture,
.why-ecosystem-grid > .urm-webp-picture {
    display: block;
    width: 100%;
    min-width: 0;
}

.why-stakeholder h3 {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: clamp(24px, 2.1vw, 40px);
    margin-bottom: 30px;
}

.why-benefits {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: clamp(16px, 1.3vw, 25px);
    line-height: 1.6;
}

.why-benefits li::before {
    content: '· ';
}

.why-slider-controls {
    display: flex;
    gap: 16px;
    margin-top: clamp(25px, 4vw, 75px);
}

.why-slider-controls button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gold-on-light);
}

.why-slider-controls button:disabled {
    color: #9d9d94;
    cursor: default;
}

.why-slider-controls svg,
.expertise-panel-controls svg {
    width: 44px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.why-advantages {
    padding-block: clamp(64px, 8vw, 154px);
}

.why-advantages h2 {
    color: var(--gold);
    margin-bottom: 62px;
}

.why-advantage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 52px;
}

.why-advantage {
    border-bottom: 1px solid #b38a4980;
    padding-bottom: 34px;
}

.why-advantage-heading {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
}

.why-advantage svg {
    flex: 0 0 66px;
    width: 66px;
    height: 70px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.why-advantage h3 {
    font-family: var(--font-body);
    font-size: clamp(21px, 1.95vw, 37px);
    letter-spacing: -.04em;
    text-transform: uppercase;
}

.why-advantage p {
    font-size: clamp(15px, 1.3vw, 25px);
}

.why-ecosystem .why-intro {
    margin-bottom: 44px;
}

.why-ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    align-items: end;
    margin-top: 30px;
}

.why-ecosystem-image {
    width: 100%;
    aspect-ratio: 1.1;
    object-fit: cover;
}

.why-brand-block {
    display: grid;
    grid-template-columns: clamp(80px, 8vw, 150px) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin-top: 42px;
}

.why-brand-block .brand {
    display: inline-flex;
    width: 100%;
    margin-bottom: 0;
}

.why-brand-block .brand-name {
    font-size: clamp(30px, 3vw, 56px);
}

.why-brand-block .brand-caption {
    font-size: clamp(7px, .65vw, 12px);
}

.why-brand-block p {
    margin: 0;
    font-size: clamp(16px, 1.15vw, 22px);
    line-height: 1.45;
}

.why-brand-block p+p {
    margin-top: 0;
}

.why-brand-copy {
    border-left: 1px solid var(--gold);
    padding: 8px 0 8px 18px;
}

.why-brand-arrow {
    width: clamp(58px, 5.5vw, 104px);
    height: clamp(54px, 5vw, 94px);
    margin: 22px 0 22px calc((clamp(80px, 8vw, 150px) - clamp(58px, 5.5vw, 104px)) / 2);
    background: var(--gold);
    clip-path: polygon(25% 0, 75% 0, 75% 50%, 100% 50%, 50% 100%, 0 50%, 25% 50%);
}

.why-brand-arrow+.why-brand-block {
    margin-top: 0;
}

.why-brand-block:last-child {
    margin-bottom: 90px;
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes urm-text-in {
        from {
            opacity: 0;
            transform: translate3d(calc(var(--urm-dir, 1) * 36px), 0, 0);
        }
        to {
            opacity: 1;
            transform: none;
        }
    }

    @keyframes urm-rise-in {
        from {
            opacity: 0;
            transform: translate3d(0, 16px, 0);
        }
        to {
            opacity: 1;
            transform: none;
        }
    }

    .why-page [data-stakeholder].urm-enter h3 {
        animation: urm-text-in .7s var(--ease) backwards;
    }

    .why-page [data-stakeholder].urm-enter .why-benefits li {
        animation: urm-rise-in .6s var(--ease) backwards;
    }

    .why-page [data-stakeholder].urm-enter .why-benefits li:nth-child(1) { animation-delay: .12s; }
    .why-page [data-stakeholder].urm-enter .why-benefits li:nth-child(2) { animation-delay: .19s; }
    .why-page [data-stakeholder].urm-enter .why-benefits li:nth-child(3) { animation-delay: .26s; }
    .why-page [data-stakeholder].urm-enter .why-benefits li:nth-child(4) { animation-delay: .33s; }
    .why-page [data-stakeholder].urm-enter .why-benefits li:nth-child(5) { animation-delay: .4s; }
    .why-page [data-stakeholder].urm-enter .why-benefits li:nth-child(n+6) { animation-delay: .47s; }
}


/* Why URM page — viewport entrances use the shared data-reveal observer in scripts.js.
   Each block fades upward once; desktop columns enter with a gentle stagger. */

@media (prefers-reduced-motion: no-preference) and (min-width: 701px) {
    .why-stakeholder-copy[data-reveal].reveal-pending,
    .why-advantage:nth-child(even)[data-reveal].reveal-pending,
    .why-ecosystem-image[data-reveal].reveal-pending {
        transition-delay: .12s;
    }
}


/* Why URM page — tablet and mobile layouts. Shared header, CTA and footer use style.css. */

@media (max-width: 1100px) {
    .why-hero {
        min-height: 510px;
        padding-bottom: 85px;
    }
    .why-intro {
        margin-block: 24px 36px;
    }
    .why-stakeholder h3 {
        margin-bottom: 18px;
    }
    .why-advantage-grid {
        gap: 28px;
    }
    .why-advantage-heading {
        gap: 16px;
    }
    .why-advantage svg {
        flex-basis: 46px;
        width: 46px;
        height: 52px;
    }
    .why-advantages h2 {
        margin-bottom: 38px;
    }
    .why-brand-block:last-child {
        margin-bottom: 25px;
    }
}

@media (max-width: 700px) {
    .why-hero {
        min-height: 500px;
        height: 70svh;
        max-height: 650px;
        padding-bottom: 70px;
    }
    .why-hero>.urm-webp-picture>img {
        object-position: 65% center;
    }
    .why-hero p {
        max-width: 400px;
    }
    .why-stakeholder,
    .why-ecosystem-grid,
    .why-advantage-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .why-stakeholder-image {
        aspect-ratio: 1.35;
    }
    .why-slider-controls {
        margin-top: 18px;
    }
    .why-advantage {
        padding-bottom: 25px;
    }
    .why-advantage-heading {
        margin-bottom: 12px;
    }
    .why-ecosystem-grid {
        margin-top: 24px;
    }
    .why-brand-block {
        margin-top: 30px;
    }
    .why-brand-block .brand {
        margin-bottom: 15px;
    }
    .why-brand-block:last-child {
        margin-bottom: 8px;
    }
}


/* Identity page — banner, story, philosophy, principles and hospitality group. */

.identity-banner {
    background: #827d70;
}

.identity-banner>.urm-webp-picture>img {
    object-position: center;
}

.identity-page .identity-heading {
    font-size: clamp(25px, 2.1vw, 40px);
    line-height: 1.4;
    letter-spacing: .07em;
}

.identity-heading+.identity-copy {
    margin-top: 30px;
}

.identity-story .identity-copy+.identity-copy {
    margin-top: 48px;
}

.identity-philosophy {
    padding-block: clamp(64px, 6.3vw, 120px) clamp(52px, 3.8vw, 72px);
}

.identity-philosophy .eyebrow {
    margin-bottom: 38px;
}

.identity-gold {
    color: var(--gold);
}

.identity-formula-title {
    margin-top: 58px;
    margin-bottom: 52px;
}

.identity-formula {
    display: grid;
    grid-template-columns: 1fr 32px 1.06fr 40px 1.3fr;
    align-items: stretch;
    gap: 22px;
}

.identity-formula-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(24px, 2.6vw, 52px) clamp(24px, 1.7vw, 34px);
    background: #ffffff08;
    border: 1px solid #ffffff1c;
}

.identity-formula-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: inherit;
    line-height: 1.45;
    letter-spacing: -.04em;
}

.identity-formula-card p {
    margin: 0;
}

.identity-formula-card ul {
    margin: 0;
    padding-left: 1.1em;
    list-style: disc;
    font-size: 26px;
}

.identity-formula-card h3,
.identity-formula-card p,
.identity-formula-card ul,
.identity-formula-card li {
    min-width: 0;
    overflow-wrap: anywhere;
}

.identity-symbol {
    align-self: center;
    text-align: center;
    color: var(--gold);
    font-size: 48px;
    line-height: 1;
}

.identity-principles-title {
    margin-block: 90px 65px;
}

.identity-principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px 84px;
}

.identity-principle {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: 42px;
}

.identity-principle > .urm-webp-picture {
    display: block;
    width: 100%;
    min-width: 0;
}

.identity-principle > div {
    min-width: 0;
}

.identity-principle img {
    width: 100%;
    aspect-ratio: 1.25;
    object-fit: cover;
}

.identity-principle h3 {
    font-family: var(--font-body);
    font-size: clamp(23px, 1.95vw, 38px);
    line-height: 1.15;
    letter-spacing: -.04em;
    margin-bottom: 22px;
}

.identity-principle h2,
.identity-principle h3 {
    overflow-wrap: anywhere;
}

@media (min-width: 701px) {
    .identity-page .identity-principle h3 {
        max-width: clamp(138px, 6.1em, 220px);
    }
}

.identity-principle p {
    font-size: clamp(15px, 1.25vw, 24px);
    line-height: 1.5;
}

.identity-group {
    padding-block: clamp(64px, 4.6vw, 90px) clamp(60px, 3.8vw, 74px);
}

.identity-page .contact {
    overflow: clip;
}

.identity-group-flow {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    align-items: stretch;
    gap: 24px;
    margin-top: 48px;
}

.identity-group-card {
    display: flex;
    align-items: flex-start;
    gap: 42px;
    background: #eae1d5;
    border: 1px solid #d5cfc7;
    padding: 42px 35px;
}

.identity-group-card .brand {
    margin-top: 22px;
}

.identity-group-card .brand-name {
    font-size: clamp(34px, 2.7vw, 52px);
}

.identity-group-card .brand-caption {
    font-size: clamp(7px, .55vw, 11px);
}

.identity-group-card h3 {
    font-family: var(--font-body);
    font-size: clamp(18px, 1.7vw, 32px);
    font-weight: 600;
    letter-spacing: -.04em;
    color: #7f5b24;
    margin-bottom: 12px;
}

.identity-group-card ul {
    margin: 0;
    padding-left: 24px;
    font-size: clamp(16px, 1.5vw, 28px);
    line-height: 1.4;
}

.identity-group-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 54px;
}

.identity-group-link p {
    text-transform: uppercase;
}

.identity-group-link .button {
    flex-shrink: 0;
    color: var(--gold);
    border-color: var(--gold);
}


/* Identity page — viewport entrances reuse the shared scripts.js observer. */

@media (prefers-reduced-motion: no-preference) and (min-width: 701px) {
    .identity-principle:nth-child(even)[data-reveal].reveal-pending {
        transition-delay: .12s;
    }
}


/* Identity page — tablet and mobile layouts. Shared header, CTA and footer use style.css. */

@media (max-width: 1100px) {
    .identity-formula {
        gap: 12px;
        grid-template-columns: 1fr 20px 1fr 25px 1.2fr;
    }
    .identity-formula-card {
        padding: 24px 18px;
    }
    .identity-symbol {
        font-size: 32px;
    }
    .identity-principles {
        gap: 34px;
    }
    .identity-principle {
        gap: 22px;
    }
    .identity-principle h3 {
        font-size: 23px;
        margin-bottom: 14px;
    }
    .identity-group-flow {
        gap: 16px;
        grid-template-columns: 1fr 26px 1fr;
    }
    .identity-group-card {
        flex-direction: column;
        gap: 22px;
        padding: 26px;
    }
    .identity-group-card .brand {
        margin-top: 0;
    }
}

@media (max-width: 700px) {
    .identity-banner {
        min-height: 460px;
        height: 65svh;
        max-height: 620px;
    }
    .identity-banner>.urm-webp-picture>img {
        object-position: 58% center;
    }
    .identity-story .identity-copy+.identity-copy {
        margin-top: 24px;
    }
    .identity-philosophy .eyebrow {
        margin-bottom: 22px;
    }
    .identity-heading br {
        display: none;
    }
    .identity-formula-title {
        margin-block: 36px 28px;
    }
    .identity-formula,
    .identity-group-flow {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .identity-formula-card {
        padding: 28px;
    }
    .identity-symbol--arrow {
        transform: rotate(90deg);
    }
    .identity-principles-title {
        margin-block: 48px 30px;
    }
    .identity-principles {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .identity-principle {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .identity-principle img {
        aspect-ratio: .95;
    }
    .identity-principle h3 {
        font-size: 22px;
    }
    .identity-group-flow {
        margin-top: 30px;
    }
    .identity-group-card {
        flex-direction: row;
        gap: 24px;
        padding: 24px 20px;
    }
    .identity-group-card h3 {
        font-size: 19px;
    }
    .identity-group-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-top: 32px;
    }
}

@media (max-width: 380px) {
    .identity-page .identity-heading {
        font-size: 22px;
        overflow-wrap: anywhere;
    }
    .identity-group-card {
        flex-direction: column;
    }
    .identity-principle {
        gap: 15px;
    }
    .identity-principle h3 {
        font-size: 20px;
    }
}


/* Portfolio page — banner, residence cards, pagination and brand partnerships. */

.portfolio-banner {
    background: #59645d;
}

.portfolio-banner>.urm-webp-picture>img {
    object-position: center 58%;
}

.portfolio-listing {
    padding-block: clamp(60px, 5.4vw, 104px) clamp(64px, 4.5vw, 86px);
}

.portfolio-page-heading {
    color: #7F5B24;
    letter-spacing: .09em;
    font-size: clamp(26px, 2.1vw, 40px);
    margin-bottom: 54px;
}

.residence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 38px;
}

.residence-card {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: clamp(360px, 28.8vw, 554px);
    aspect-ratio: .93;
    isolation: isolate;
    overflow: hidden;
    background: var(--green);
    color: #f5f5ee;
}

.residence-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s var(--ease);
}

.residence-card::before,
.residence-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.residence-card::before {
    background: linear-gradient(180deg, transparent 35%, #123e3240 52%, #123e32 80%);
}

.residence-card::after {
    background: #123e32ed;
    opacity: 1;
    transition: opacity .4s ease;
}

.portfolio-enhanced .residence-card:not(.is-expanded)::after {
    opacity: 0;
}

.residence-card.is-expanded .residence-photo {
    transform: scale(1.035);
}

.residence-type {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    padding: 10px 18px;
    color: white;
    background: #946F37;
    font-size: clamp(11px, .85vw, 16px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    max-width: calc(100% - 36px);
    overflow-wrap: anywhere;
    text-align: right;
}

.residence-copy {
    position: absolute;
    inset: 65px 8% 75px;
    z-index: 3;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    pointer-events: none;
}

.residence-card.is-expanded .residence-copy {
    z-index: 5;
    padding-bottom: 18px;
    pointer-events: auto;
    touch-action: pan-y;
}

.portfolio-enhanced .residence-card:not(.is-expanded) .residence-copy {
    top: auto;
    bottom: 32px;
    padding-right: 0;
    overflow: visible;
}

.residence-copy h3,
.residence-brand {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.18vw, 23px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .055em;
    line-height: 1.45;
}

.residence-brand {
    margin-top: 6px;
}

.residence-location {
    margin-top: 9px;
    font-size: clamp(13px, 1.12vw, 21px);
    text-transform: uppercase;
    letter-spacing: .12em;
}

.residence-keys {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: clamp(12px, .95vw, 18px);
    text-transform: uppercase;
}

.residence-keys svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.residence-description {
    margin-top: 18px;
    font-size: clamp(13px, 1.16vw, 16px);
    line-height: 1.45;
    pointer-events: auto;
}

.residence-logo {
    position: absolute;
    right: 8%;
    bottom: 32px;
    z-index: 2;
    width: 29%;
    height: 54px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.residence-card.is-expanded .residence-logo {
    z-index: 6;
    pointer-events: none;
}

.residence-toggle {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    padding: 0;
}

.residence-toggle:focus-visible {
    outline-offset: -5px;
    outline-width: 3px;
}

.residence-tap-hint {
    display: none;
}

.residence-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 82px;
}

.residence-pagination button {
    width: 62px;
    min-height: 62px;
    padding: 8px;
    color: var(--green);
    border: 1px solid var(--green);
    background: transparent;
    font-weight: 600;
}

.residence-pagination button[aria-current="page"] {
    color: white;
    background: #946F37;
    border-color: #946F37;
}

.residence-pagination button:disabled {
    opacity: .45;
    cursor: default;
}

.portfolio-partnerships {
    padding-top: clamp(72px, 5.8vw, 112px);
}

.portfolio-partnerships h2 {
    text-align: center;
    margin-bottom: 65px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    row-gap: 56px;
}

.partner-logos li {
    display: grid;
    place-items: center;
    width: 20%;
    padding: 6px 40px;
    min-height: 98px;
    border-right: 1px solid #b38a4960;
}

.partner-logos li:nth-child(5),
.partner-logos li:last-child {
    border-right: 0;
}

.partner-logos img {
    width: 100%;
    max-width: 205px;
    max-height: 90px;
    object-fit: contain;
}

.partner-logos img[alt^="Fairmont"] {
    filter: brightness(0) saturate(100%) invert(20%) sepia(26%) saturate(1039%) hue-rotate(112deg) brightness(94%) contrast(94%);
}


/* Portfolio page — responsive cards and touch controls. */

@media (max-width: 1100px) {
    .residence-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
    .residence-card {
        min-height: 410px;
    }
    .residence-copy h3,
    .residence-brand {
        font-size: 18px;
    }
    .residence-description {
        font-size: 17px;
    }
    .residence-logo {
        height: 40px;
    }
    .residence-pagination {
        margin-top: 45px;
    }
    .residence-pagination button {
        width: 48px;
        min-height: 48px;
    }
    .partner-logos li {
        padding-inline: 22px;
    }
}

@media (max-width: 700px) {
    .portfolio-banner {
        min-height: 430px;
        height: 60svh;
        max-height: 620px;
    }
    .portfolio-banner>.urm-webp-picture>img {
        object-position: 55% center;
    }
    .portfolio-page-heading {
        margin-bottom: 30px;
    }
    .residence-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }
    .residence-card {
        min-height: 440px;
        aspect-ratio: .9;
    }
    .residence-pagination {
        gap: 12px;
    }
    .portfolio-partnerships h2 {
        font-size: 25px;
        margin-bottom: 35px;
    }
    .partner-logos {
        row-gap: 28px;
    }
    .partner-logos li {
        width: 50%;
        padding-inline: 26px;
        min-height: 70px;
    }
    .partner-logos li:nth-child(5) {
        border-right: 1px solid #b38a4960;
    }
    .partner-logos li:nth-child(even) {
        border-right: 0;
    }
    .partner-logos img {
        max-height: 65px;
    }
}

@media (max-width: 319px) {
    .portfolio-page-heading {
        overflow-wrap: anywhere;
    }
}

@media (hover: none) {
    .residence-tap-hint {
        display: block;
        position: absolute;
        bottom: 20px;
        left: 8%;
        font-size: 12px;
        color: white;
        text-decoration: underline;
        text-underline-offset: 4px;
    }
    .portfolio-enhanced .residence-card:not(.is-expanded) .residence-copy {
        bottom: 66px;
    }
}


/* Portfolio page — reduced motion. */

@media (prefers-reduced-motion: reduce) {
    .residence-photo,
    .residence-card::after {
        transition: none;
    }
    .residence-card.is-expanded .residence-photo {
        transform: none;
    }
}


/* Our Expertise page — banner, service navigation and five service sections. */

.expertise-page {
    --expertise-gold: #c3a067;
    --expertise-slide-heading: #7f5b24;
    --expertise-line: #ba955b70;
    background: var(--green);
}

.expertise-banner {
    position: relative;
    display: grid;
    place-items: center;
    height: min(43.2vw, 830px);
    min-height: 420px;
    color: white;
    isolation: isolate;
}

.expertise-banner>.urm-webp-picture>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.expertise-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #0006;
    z-index: -1;
}

.expertise-banner h1 {
    padding: 65px 22px 0;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
}

.expertise-index {
    padding-block: clamp(48px, 6.7vw, 128px);
}

.expertise-index ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(30px, 3.7vw, 72px) clamp(24px, 5vw, 96px);
    padding: 0;
    list-style: none;
}

.expertise-index a {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 82px;
    margin-left: 40px;
    padding: 24px 12px 12px;
    border-bottom: 1px solid var(--expertise-line);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: clamp(16px, 1.75vw, 33px);
    line-height: 1.35;
}

.expertise-index a>span {
    position: absolute;
    top: -12px;
    left: -40px;
    color: #214e4233;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(42px, 3.8vw, 72px);
    line-height: 1;
}

.expertise-index a:hover {
    border-color: var(--green);
}

.expertise-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(30px, 3.6vw, 70px);
}

.expertise-intro--reverse {
    column-gap: clamp(36px, 6.8vw, 130px);
}

.expertise-intro>.urm-webp-picture {
    display: block;
    width: 100%;
    min-width: 0;
}

.expertise-intro--reverse>.urm-webp-picture {
    grid-column: 2;
    grid-row: 1;
}

.expertise-intro--reverse>div {
    grid-column: 1;
    grid-row: 1;
}

.expertise-intro>.urm-webp-picture>img {
    width: 100%;
    aspect-ratio: 1.22;
    height: auto;
    object-fit: cover;
}

.expertise-number {
    display: block;
    color: #71958a;
    font-size: clamp(58px, 5.8vw, 110px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.06em;
}

.expertise-intro h2 {
    margin: 12px 0 24px;
    color: var(--expertise-gold);
    font-size: clamp(25px, 2.5vw, 48px);
    letter-spacing: .08em;
    line-height: 1.28;
}

.expertise-intro p {
    line-height: 1.75;
}

.expertise-intro .expertise-lead {
    font-size: clamp(18px, 1.66vw, 32px);
    line-height: 1.55;
}

.expertise-intro .expertise-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(18px, 1.65vw, 30px);
    letter-spacing: -.03em;
    margin-bottom: 20px;
}

.expertise-overview {
    margin-top: clamp(38px, 5.6vw, 108px);
    line-height: 1.65;
}

.expertise-overview h3,
.expertise-table caption {
    color: var(--expertise-gold);
    font-family: var(--font-heading);
    font-size: clamp(21px, 1.85vw, 35px);
    text-transform: uppercase;
    letter-spacing: .07em;
    text-align: left;
    margin-bottom: 28px;
}

.expertise-overview p+p {
    margin-top: 30px;
}

.expertise-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-top: clamp(40px, 5vw, 96px);
    font-size: clamp(15px, 1.6vw, 30px);
    line-height: 1.5;
}

.expertise-table caption {
    padding-bottom: 22px;
    margin: 0;
}

.expertise-table th,
.expertise-table td {
    padding: 14px 30px;
    text-align: left;
    vertical-align: middle;
}

.expertise-table th:first-child {
    width: 31%;
}

.expertise-table thead {
    background: var(--expertise-gold);
    color: white;
}

.expertise-table tbody tr {
    border-bottom: 1px solid var(--expertise-line);
}

.expertise-table tbody th {
    border-right: 1px solid var(--expertise-line);
    font-weight: 500;
}

.expertise-table--plain thead {
    background: transparent;
    color: inherit;
    border-bottom: 1px solid var(--expertise-line);
}

.expertise-table--plain th:first-child {
    width: 29%;
    padding-left: 0;
}

.expertise-service-name {
    display: flex;
    align-items: center;
    gap: 24px;
}

.expertise-icon {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.expertise-gold {
    background: var(--expertise-gold);
    color: white;
    padding-block: clamp(48px, 5.2vw, 100px);
}

.expertise-benefits>.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 80px;
}

.expertise-benefits article {
    width: 33.333%;
    padding: 16px 32px;
    text-align: center;
    border-right: 1px solid #36574970;
}

.expertise-benefits article:nth-child(3),
.expertise-benefits article:last-child {
    border-right: 0;
}

.expertise-benefits .expertise-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
}

.expertise-benefits h3 {
    font-size: clamp(17px, 1.5vw, 28px);
    text-transform: uppercase;
    letter-spacing: .09em;
    margin-bottom: 24px;
}

.expertise-benefits p {
    max-width: 320px;
    margin-inline: auto;
    font-size: clamp(16px, 1.45vw, 28px);
    line-height: 1.35;
}


/* Our Expertise page — manually controlled service panels and resident journey. */

.expertise-panels {
    position: relative;
}

.expertise-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: normal;
}

.expertise-panel>.urm-webp-picture {
    /* Keep picture/source/img together as one grid item in WebP slides. */
    display: block;
    width: 100%;
    min-width: 0;
}

.expertise-panel>.urm-webp-picture>img {
    width: 100%;
    height: clamp(590px, 39vw, 740px);
    min-height: 0;
    object-fit: cover;
}

.expertise-panel-copy {
    padding: clamp(80px, 9vw, 170px) var(--gutter) clamp(50px, 7vw, 134px) clamp(35px, 4.6vw, 88px);
    align-self: center;
}

.expertise-panel-copy h3 {
    color: var(--expertise-gold);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: clamp(24px, 1.9vw, 36px);
    margin-bottom: 36px;
}

.expertise-panel-copy .eyebrow {
    color: var(--green);
    font-size: clamp(13px, 1.15vw, 22px);
}

.expertise-panel-copy p,
.expertise-panel-copy li {
    line-height: 1.75;
}

.expertise-panel-copy ul {
    padding-left: 1.2em;
    margin-top: 40px;
    list-style-type: square;
}

.expertise-panel-controls {
    position: absolute;
    right: var(--gutter);
    top: 35px;
    display: flex;
    gap: 16px;
}

.expertise-panel-controls button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #987039;
    font-size: 40px;
    line-height: 1;
}

.expertise-panel-controls button:disabled {
    opacity: .25;
    cursor: default;
}

.expertise-panel-controls button:not(:disabled):hover {
    background: #ba955b20;
}

.expertise-journey h3,
.expertise-framework h3 {
    font-family: var(--font-body);
    font-size: clamp(25px, 2vw, 38px);
    font-weight: 600;
    letter-spacing: -.03em;
}

.expertise-journey-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(40px, 7vw, 134px);
    align-items: center;
    margin-top: 50px;
}

.expertise-journey-grid>.urm-webp-picture {
    display: block;
    width: 100%;
    min-width: 0;
}

.expertise-journey-grid>.urm-webp-picture>img {
    width: 100%;
    aspect-ratio: .8;
    object-fit: cover;
    height: auto;
}

.expertise-journey ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.expertise-journey li {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    padding-bottom: 34px;
}

.expertise-journey li:last-child {
    padding-bottom: 0;
}

.expertise-journey li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 76px;
    bottom: 8px;
    left: 34px;
    border-left: 1px solid #fff9;
}


/* Our Expertise page — downward arrowheads between every resident journey step. */

.expertise-journey li:not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 31px;
    width: 7px;
    height: 7px;
    border-right: 1px solid #fff9;
    border-bottom: 1px solid #fff9;
    transform: rotate(45deg);
}

.expertise-disc {
    display: inline-grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: 26px;
    font-weight: 600;
}

.expertise-journey h4,
.expertise-framework h4 {
    margin: 0 0 5px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: inherit;
    letter-spacing: -.02em;
}

.expertise-journey p,
.expertise-framework p {
    font-size: inherit;
    line-height: 1.6;
}

.expertise-framework>.container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 70px 10%;
}

.expertise-framework h3 {
    align-self: start;
    margin-top: 28px;
    line-height: 1.25;
    font-size: clamp(26px, 2.6vw, 48px);
}

.expertise-framework .expertise-disc {
    margin-bottom: 28px;
}

.expertise-framework em {
    display: block;
}

.expertise-owner-services .expertise-table {
    margin: 0;
}

.expertise-owner-services .expertise-table th:first-child {
    width: 33%;
}

.expertise-owner-services .expertise-table tbody th {
    padding-left: 10px;
}


/* Our Expertise page — viewport entrance timing and staggered section items. */

.expertise-page [data-reveal].reveal-pending:focus-within {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (prefers-reduced-motion: no-preference) {
    .expertise-page [data-reveal].reveal-pending {
        transition-duration: .9s;
    }
    .expertise-index [data-reveal].reveal-pending li,
    .expertise-benefits [data-reveal].reveal-pending article,
    .expertise-framework [data-reveal].reveal-pending article {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity .65s var(--ease), transform .65s var(--ease);
    }
    .expertise-index [data-reveal].is-visible li,
    .expertise-benefits [data-reveal].is-visible article,
    .expertise-framework [data-reveal].is-visible article {
        opacity: 1;
        transform: translateY(0);
    }
    .expertise-index [data-reveal].is-visible li:nth-child(2),
    .expertise-benefits [data-reveal].is-visible article:nth-child(2),
    .expertise-framework [data-reveal].is-visible article:nth-child(2) {
        transition-delay: .08s;
    }
    .expertise-index [data-reveal].is-visible li:nth-child(3),
    .expertise-benefits [data-reveal].is-visible article:nth-child(3),
    .expertise-framework [data-reveal].is-visible article:nth-child(3) {
        transition-delay: .16s;
    }
    .expertise-index [data-reveal].is-visible li:nth-child(4),
    .expertise-benefits [data-reveal].is-visible article:nth-child(4),
    .expertise-framework [data-reveal].is-visible article:nth-child(4) {
        transition-delay: .24s;
    }
    .expertise-index [data-reveal].is-visible li:nth-child(5),
    .expertise-benefits [data-reveal].is-visible article:nth-child(5),
    .expertise-framework [data-reveal].is-visible article:nth-child(5) {
        transition-delay: .32s;
    }
}


/* Our Expertise page — tablet and mobile. Shared header, CTA and footer retain their existing layouts. */

@media (max-width: 1100px) {
    .expertise-index a {
        margin-left: 26px;
        padding-left: 6px;
    }
    .expertise-index a>span {
        left: -26px;
    }
    .expertise-intro h2 {
        font-size: clamp(24px, 3vw, 34px);
        letter-spacing: .04em;
    }
    .expertise-table {
        font-size: 16px;
    }
    .expertise-table th,
    .expertise-table td {
        padding: 12px 16px;
    }
    .expertise-table th:first-child,
    .expertise-table--plain th:first-child {
        width: 36%;
    }
    .expertise-icon {
        width: 42px;
        height: 42px;
    }
    .expertise-service-name {
        gap: 12px;
    }
    .expertise-benefits article {
        padding-inline: 20px;
    }
    .expertise-panel-copy {
        padding: 90px 32px 48px;
    }
    .expertise-journey-grid {
        gap: 35px;
    }
    .expertise-disc {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .expertise-journey li {
        gap: 20px;
        padding-bottom: 25px;
    }
    .expertise-journey li:not(:last-child)::after {
        top: 58px;
        left: 24px;
    }
    .expertise-journey li:not(:last-child)::before {
        left: 21px;
    }
    .expertise-framework>.container {
        gap: 44px;
    }
}

@media (max-width: 700px) {
    .expertise-banner {
        height: 440px;
        min-height: 0;
    }
    .expertise-index ol {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .expertise-index a {
        min-height: 65px;
        font-size: 17px;
    }
    .expertise-intro,
    .expertise-panel,
    .expertise-journey-grid {
        grid-template-columns: 1fr;
    }
    .expertise-intro--reverse>.urm-webp-picture,
    .expertise-intro--reverse>div {
        grid-column: auto;
        grid-row: auto;
    }
    .expertise-intro>.urm-webp-picture>img {
        aspect-ratio: 1.22;
    }
    .expertise-intro h2 {
        max-width: 480px;
    }
    .expertise-intro p {
        line-height: 1.6;
    }
    .expertise-table {
        font-size: 14px;
    }
    .expertise-table th,
    .expertise-table td {
        padding: 12px 10px;
        overflow-wrap: anywhere;
    }
    .expertise-table th:first-child,
    .expertise-table--plain th:first-child,
    .expertise-owner-services .expertise-table th:first-child {
        width: 38%;
    }
    .expertise-service-name {
        display: block;
    }
    .expertise-service-name .expertise-icon {
        display: block;
        margin-bottom: 10px;
    }
    .expertise-benefits>.container {
        row-gap: 30px;
    }
    .expertise-benefits article {
        width: 50%;
        padding: 12px 18px;
    }
    .expertise-benefits article:nth-child(3) {
        border-right: 1px solid #36574970;
    }
    .expertise-benefits article:nth-child(even),
    .expertise-benefits article:last-child {
        border-right: 0;
    }
    .expertise-benefits article:last-child {
        width: 100%;
    }
    .expertise-benefits h3 {
        font-size: 15px;
        letter-spacing: .04em;
    }
    .expertise-benefits .expertise-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 18px;
    }
    .expertise-panel>.urm-webp-picture>img {
        height: clamp(260px, 87vw, 460px);
    }
    .expertise-panel-copy {
        padding: 42px var(--gutter) 0;
    }
    .expertise-panel-copy > :last-child {
        margin-bottom: 0;
    }
    .expertise-panel-controls {
        position: static;
        inset: auto;
        justify-content: flex-start;
        margin: 28px var(--gutter) 55px calc(var(--gutter) - 2px);
        padding: 0;
        background: var(--sand);
    }
    .expertise-panel-controls button {
        width: 48px;
        height: 44px;
    }
    .expertise-panel-copy h3 {
        margin-bottom: 24px;
    }
    .expertise-panel-copy ul {
        margin-top: 28px;
    }
    .expertise-journey-grid {
        margin-top: 30px;
    }
    .expertise-journey-grid>.urm-webp-picture>img {
        aspect-ratio: 1;
        max-height: 500px;
    }
    .expertise-framework>.container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 26px;
    }
    .expertise-framework h3 {
        grid-column: 1 / -1;
        margin: 0;
    }
    .expertise-framework h3 br {
        display: none;
    }
    .expertise-framework h3 br::after {
        content: ' ';
    }
    .expertise-framework .expertise-disc {
        margin-bottom: 16px;
    }
}

/* Match the published Expertise panel transition while keeping the dynamic slider accessible. */
@media (prefers-reduced-motion: no-preference) {
    @keyframes urm-expertise-text-in {
        from { opacity: 0; transform: translate3d(36px, 0, 0); }
        to { opacity: 1; transform: none; }
    }

    @keyframes urm-expertise-text-in-back {
        from { opacity: 0; transform: translate3d(-36px, 0, 0); }
        to { opacity: 1; transform: none; }
    }

    @keyframes urm-expertise-wipe-forward {
        from { transform: scale(1.12); clip-path: inset(5.4% 5.4% 5.4% 100%); }
        to { transform: none; clip-path: inset(0); }
    }

    @keyframes urm-expertise-wipe-back {
        from { transform: scale(1.12); clip-path: inset(5.4% 100% 5.4% 5.4%); }
        to { transform: none; clip-path: inset(0); }
    }

    @keyframes urm-expertise-fade-out {
        to { opacity: 0; }
    }

    .expertise-panels.is-changing {
        overflow: hidden;
        overflow: clip;
    }

    .expertise-panel.urm-enter {
        position: relative;
        z-index: 1;
    }

    .expertise-panel.urm-leave {
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
    }

    .expertise-panel.urm-leave .expertise-panel-copy {
        animation: urm-expertise-fade-out .3s ease-out forwards;
    }

    .expertise-panels>.expertise-panel-controls {
        z-index: 2;
    }

    .expertise-panel.urm-enter>.urm-webp-picture>img {
        animation: urm-expertise-wipe-forward 1.05s cubic-bezier(.65, 0, .25, 1) backwards;
    }

    .expertise-panel.urm-enter.urm-back>.urm-webp-picture>img {
        animation-name: urm-expertise-wipe-back;
    }

    .expertise-panel.urm-enter .expertise-panel-copy>:not(.expertise-panel-controls) {
        animation: urm-expertise-text-in .75s var(--ease) backwards;
    }

    .expertise-panel.urm-enter.urm-back .expertise-panel-copy>:not(.expertise-panel-controls) {
        animation-name: urm-expertise-text-in-back;
    }

    .expertise-panel.urm-enter .expertise-panel-copy>:nth-child(1) { animation-delay: .3s; }
    .expertise-panel.urm-enter .expertise-panel-copy>:nth-child(2) { animation-delay: .4s; }
    .expertise-panel.urm-enter .expertise-panel-copy>:nth-child(3) { animation-delay: .5s; }
    .expertise-panel.urm-enter .expertise-panel-copy>:nth-child(4) { animation-delay: .6s; }
}

/* Published Our Expertise parity: accessible contrast colours and the shared banner frame. */
.expertise-page .expertise-gold,
.expertise-page .expertise-table:not(.expertise-table--plain) thead {
    border-color: #946f37;
    background: #946f37;
}

.expertise-page .expertise-table thead th {
    color: var(--white);
}

@media (min-width: 1101px) {
    /* Keep the existing Advisory table presentation isolated from the
       Facilities and Home Owner table proportions below. */
    .expertise-page #advisory .expertise-table:not(.expertise-table--plain) th:first-child {
        width: 29%;
    }
}

.expertise-page #advisory .expertise-table:not(.expertise-table--plain) th:first-child {
    padding-left: 0;
}

/* Published internal Expertise slider heading treatment. */
.expertise-page .expertise-panel-copy h3 {
    color: var(--expertise-slide-heading);
}

@media (min-width: 701px) {
    .expertise-page .expertise-service-name > .urm-webp-picture {
        display: block;
        flex: 0 0 auto;
        width: 70px;
        height: 70px;
    }

    .expertise-page .expertise-service-name > .urm-webp-picture > img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .expertise-page .expertise-panel {
        min-height: clamp(590px, 39vw, 740px);
    }

    .expertise-page .expertise-panel>.urm-webp-picture {
        height: 100%;
        align-self: stretch;
    }

    .expertise-page .expertise-panel>.urm-webp-picture>img {
        height: 100%;
        min-height: 0;
    }
}

@media (min-width: 701px) and (max-width: 1100px) {
    .expertise-page .expertise-service-name > .urm-webp-picture {
        width: 42px;
        height: 42px;
    }
}

/* 404 page styles start */

.error-page .site-header {
    background: var(--green-dark);
}

.error-section {
    display: grid;
    align-items: center;
    min-height: 85vh;
    min-height: 85svh;
    padding-block: 180px 90px;
    text-align: center;
}

.error-content {
    max-width: 760px;
}

.error-code {
    color: var(--green);
    font-family: var(--font-heading);
    font-size: clamp(100px, 18vw, 240px);
    line-height: 1;
    letter-spacing: -.06em;
    margin-bottom: 28px;
}

.error-content .eyebrow {
    margin-top: 0;
}

.error-description {
    max-width: 560px;
    margin: 24px auto 0;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.error-actions .error-home {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.error-actions .error-home:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

@media (max-width: 700px) {
    .error-section {
        padding-block: 150px 64px;
    }
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    .error-actions .button {
        width: 100%;
        max-width: 320px;
    }
}


/* 404 page styles end */

/* Thank you page styles start */
.thank-you-page .site-header {
    background: var(--green-dark);
}

.thank-you-section {
    display: grid;
    align-items: center;
    min-height: 85vh;
    min-height: 85svh;
    padding-block: 180px 90px;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
}

.thank-you-icon {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 32px;
    border: 1px solid var(--gold);
    border-radius: 50%;
}

.thank-you-icon span {
    width: 22px;
    height: 40px;
    border-right: 3px solid var(--green);
    border-bottom: 3px solid var(--green);
    transform: translateY(-6px) rotate(45deg);
}

.thank-you-content h1 {
    font-size: clamp(36px, 5vw, 72px);
}

.thank-you-description {
    max-width: 560px;
    margin: 24px auto 0;
}

.thank-you-note {
    font-size: .9em;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.thank-you-actions .thank-you-home {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.thank-you-actions .thank-you-home:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

@media (max-width: 700px) {
    .thank-you-section {
        padding-block: 150px 64px;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

    .thank-you-actions .button {
        width: 100%;
        max-width: 320px;
    }
}
/* Thank you page styles end */

/* Terms and conditions page styles start */
.terms-page .site-header {
    background: var(--green-dark);
}

.terms-banner {
    padding-block: 180px 64px;
}

.terms-banner h1 {
    font-size: clamp(28px, 3.5vw, 56px);
    overflow-wrap: anywhere;
}

.terms-banner h1 + p {
    max-width: 680px;
    margin-top: 24px;
}

.terms-layout {
    padding-block: 64px 96px;
}

.terms-content {
    width: 100%;
    line-height: 1.7;
}

.terms-content p + p {
    margin-top: 16px;
}

.terms-content ul {
    list-style: disc;
    padding-left: 1.4em;
    margin-block: 16px;
}

.terms-content li + li {
    margin-top: 8px;
}

.terms-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.terms-notice {
    padding: 20px 24px;
    background: var(--sand);
    border-left: 3px solid var(--gold);
    font-size: 16px;
    margin-bottom: 40px;
}

.terms-content section + section {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid #88a19855;
}

.terms-content h2 {
    font-size: clamp(20px, 1.6vw, 28px);
    margin-bottom: 18px;
}

.terms-content .button {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .terms-layout {
        padding-block: 40px 64px;
    }
}

@media (max-width: 700px) {
    .terms-banner {
        padding-block: 150px 44px;
    }
}
/* Terms and conditions page styles end */

/* Shared internal-page banners: one responsive frame with content-safe growth. */
.internal-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: min(43.2vw, 830px);
    max-height: none;
    padding: 0;
    isolation: isolate;
}

.internal-banner>.urm-webp-picture>img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.internal-banner-content {
    position: relative;
    z-index: 1;
    flex: 0 1 auto;
    align-self: center;
    padding-block: clamp(32px, 3.1vw, 45px);
    text-align: center;
    overflow-wrap: anywhere;
}

.internal-banner-content h1,
.internal-banner-content .internal-banner-promoted-heading,
.internal-banner-content-copy {
    overflow-wrap: anywhere;
}

.internal-banner .internal-banner-promoted-heading {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(28px, 2.1vw, 40px);
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
}

.internal-banner-content .internal-banner-subtitle {
    margin-bottom: 4px;
}

.internal-banner-content.is-title-only h1,
.internal-banner-content.is-title-subtitle-only .internal-banner-subtitle {
    margin-bottom: 0;
}

.internal-banner-content-copy {
    max-width: 760px;
    margin-inline: auto;
}

.internal-banner-content-copy p+p {
    margin-top: 24px;
}

.internal-banner-content>h1:not(.sr-only)+.internal-banner-content-copy,
.internal-banner .internal-banner-promoted-heading+.internal-banner-content-copy {
    margin-top: 18px;
}

/* Why URM retains the live reference's bottom-aligned hero without changing the
   shared banner behavior used by the other internal pages. */
.internal-banner.why-hero {
    display: grid;
    align-items: end;
    justify-content: normal;
    min-height: 540px;
    height: min(43.35vw, 832px);
    padding: 180px 0 11%;
}

.internal-banner.why-hero .why-hero-content {
    align-self: end;
    padding-block: 0;
}

@media (max-width: 1100px) {
    .internal-banner.why-hero {
        min-height: 510px;
        padding-bottom: 85px;
    }
}

@media (max-width: 700px) {
    .internal-banner.why-hero {
        min-height: 500px;
        height: 70svh;
        max-height: 650px;
        padding-bottom: 70px;
    }

    .internal-banner.why-hero>.urm-webp-picture>img {
        object-position: 65% center;
    }
}

@media (max-width: 1100px) {
    .internal-banner {
        min-height: 510px;
    }
}

@media (max-width: 700px) {
    .expertise-panels {
        /* Contain the intentional controls margin within the cream section. */
        display: flow-root;
    }
    .internal-banner {
        min-height: max(500px, 70svh);
    }

    .internal-banner-content {
        padding-block: 32px;
    }
}

/* Contact Us keeps the live page-banner frame without changing other internal banners. */
.internal-banner.page-banner.contact-page-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    min-height: clamp(360px, 43.2vw, 830px);
    height: auto;
}

.internal-banner.page-banner.contact-page-banner .internal-banner-content {
    padding-top: 42px;
    padding-bottom: 0;
}

@media (max-width: 700px) {
    .internal-banner.page-banner.contact-page-banner {
        min-height: 390px;
    }
}

/* Portfolio banner keeps the live reference frame while retaining the shared
   dynamic Banner Settings markup and single-H1 behavior. */
.internal-banner.portfolio-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    height: min(43.2vw, 830px);
    min-height: 470px;
    max-height: none;
}

.internal-banner.portfolio-banner .internal-banner-content {
    padding-top: 45px;
    padding-bottom: 0;
}

.internal-banner.portfolio-banner > .urm-webp-picture > img {
    object-position: center 58%;
}

.internal-banner.portfolio-banner::after {
    pointer-events: none;
}

@media (max-width: 1100px) {
    .internal-banner.portfolio-banner {
        min-height: 470px;
    }
}

@media (max-width: 700px) {
    .internal-banner.portfolio-banner {
        min-height: 430px;
        height: 60svh;
        max-height: 620px;
    }

    .internal-banner.portfolio-banner > .urm-webp-picture > img {
        object-position: 55% center;
    }
}

/* Identity keeps the published banner frame while using the shared dynamic markup. */
.internal-banner.identity-banner {
    height: min(43.2vw, 830px);
    min-height: 470px;
}

.internal-banner.identity-banner > .urm-webp-picture > img {
    object-position: center;
}

.internal-banner.identity-banner .internal-banner-content {
    padding-top: 45px;
    padding-bottom: 0;
}

.identity-page .identity-group > .container > .identity-heading.identity-gold {
    color: #7f5b24;
}

@media (max-width: 700px) {
    .internal-banner.identity-banner {
        min-height: 460px;
        height: 65svh;
        max-height: 620px;
    }

    .internal-banner.identity-banner > .urm-webp-picture > img {
        object-position: 58% center;
    }
}

.internal-banner.expertise-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: min(43.2vw, 830px);
    min-height: 420px;
    max-height: none;
}

.internal-banner.expertise-banner h1 {
    padding: 65px 22px 0;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
}

@media (max-width: 700px) {
    .internal-banner.expertise-banner {
        height: 440px;
        min-height: 0;
    }
}

@media (max-width: 300px) {
    .internal-banner.expertise-banner h1 {
        padding-inline: 12px;
    }
}

/* Home Expertise — additional published cards use a native, accessible track. */
.service-slider,
.service-viewport {
    min-width: 0;
}

.service-viewport {
    overflow: hidden;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    touch-action: pan-y pinch-zoom;
}

.service-viewport:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.service-slider .service-grid {
    width: 100%;
    flex-wrap: nowrap;
    gap: 3px;
    transition: transform .65s var(--ease);
    will-change: transform;
}

.service-slider .service-card,
.service-slider .service-card:last-child {
    flex: 0 0 calc((100% - 9px) / 4);
    min-width: calc((100% - 9px) / 4);
}

.service-slider .service-card:last-child > .urm-webp-picture > img {
    object-position: center;
}

.service-slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 28px;
}

.service-slider-controls button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gold);
    font-size: 32px;
    line-height: 1;
}

.service-slider-controls .urm-arrow {
    width: 44px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.service-slider-controls button:hover,
.service-slider-controls button:focus-visible {
    color: var(--green);
}

.service-slider-toggle.sr-only,
.portfolio-slider-toggle.sr-only {
    pointer-events: none;
}

.service-slider-toggle.sr-only:focus-visible,
.portfolio-slider-toggle.sr-only:focus-visible {
    position: static;
    width: 48px;
    height: 44px;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-size: 20px;
    pointer-events: auto;
}

.why-advantage-heading > .why-advantage-icon {
    display: flex;
    flex: 0 0 66px;
    align-items: center;
    justify-content: flex-start;
    width: 66px;
    height: 70px;
}

.why-advantage-icon .urm-webp-picture {
    display: contents;
}

.why-advantage-icon img,
.why-advantage-icon svg {
    display: block;
    flex: 0 0 66px;
    width: 66px;
    height: 70px;
    object-fit: contain;
}

.why-advantage h3 {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .service-slider .service-grid {
        gap: 12px;
    }

    .service-slider .service-card,
    .service-slider .service-card:last-child {
        flex: 0 0 calc((100% - 24px) / 3);
        min-width: calc((100% - 24px) / 3);
        min-height: 410px;
    }

    .why-advantage-heading > .why-advantage-icon {
        flex-basis: 46px;
        width: 46px;
        height: 52px;
    }

    .why-advantage-icon img,
    .why-advantage-icon svg {
        flex-basis: 46px;
        width: 46px;
        height: 52px;
    }
}

@media (max-width: 700px) {
    .service-slider .service-grid {
        gap: 10px;
    }

    .service-slider .service-card,
    .service-slider .service-card:last-child {
        flex: 0 0 100%;
        min-width: 100%;
        min-height: 350px;
    }

    .service-slider-controls {
        margin-top: 28px;
    }
}

@media (min-width: 701px) {
    .expertise-panels--holiday-homes-property-management .expertise-panel {
        align-items: stretch;
    }

    .expertise-panels--holiday-homes-property-management .expertise-panel > .urm-webp-picture,
    .expertise-panels--holiday-homes-property-management .expertise-panel > .urm-webp-picture > img {
        height: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-viewport {
        scroll-behavior: auto;
        scroll-snap-type: none;
    }
}

/* Keep success and notice dialog overrides after the generic and responsive dialog rules. */
.detail-dialog--notice {
    width: min(520px, calc(100% - 36px));
    text-align: center;
}

.form-notice-icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 24px;
    line-height: 1;
}

.form-notice--success .form-notice-icon::before {
    content: "\2713";
}

.form-notice--error .form-notice-icon {
    border-color: #b4483c;
    color: #b4483c;
}

.form-notice--error .form-notice-icon::before {
    content: "!";
}

.detail-dialog--notice h2 {
    padding-right: 0;
    margin-bottom: 14px;
}

.detail-dialog--notice .form-notice-message {
    margin: 0 auto;
    max-width: 38ch;
}

.detail-dialog--thanks {
    width: min(680px, calc(100% - 36px));
}

.detail-dialog--thanks .thank-you-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
}

.detail-dialog--thanks .thank-you-icon span {
    width: 16px;
    height: 30px;
    transform: translateY(-4px) rotate(45deg);
}

.detail-dialog--thanks h2 {
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 52px);
}

.detail-dialog--thanks .thank-you-description {
    margin-top: 18px;
}

.detail-dialog--thanks .thank-you-actions {
    margin-top: 28px;
}

.detail-dialog--thanks :is(a, button, input, select, textarea):focus-visible {
    outline-color: var(--green);
}

/* Keep the success actions compact on small screens without changing the approved desktop layout. */
@media (max-width: 700px) {
    .detail-dialog--thanks .thank-you-actions {
        margin-top: 20px;
    }

    .detail-dialog--thanks .thank-you-actions .button {
        min-width: 0;
        margin-top: 0;
    }
}

/* Give the success dialog a usable short-viewport layout at high browser zoom. */
@media (max-width: 700px) and (max-height: 700px) {
    .detail-dialog--thanks {
        max-height: calc(100dvh - 24px);
        padding: clamp(16px, 3vw, 24px);
    }

    .detail-dialog--thanks .thank-you-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }

    .detail-dialog--thanks .thank-you-icon span {
        width: 12px;
        height: 22px;
        border-width: 2px;
        transform: translateY(-3px) rotate(45deg);
    }

    .detail-dialog--thanks .eyebrow {
        margin-top: 0;
        margin-bottom: 6px;
    }

    .detail-dialog--thanks h2 {
        font-size: clamp(26px, 4vw, 42px);
    }

    .detail-dialog--thanks .thank-you-description {
        margin-top: 10px;
    }

    .detail-dialog--thanks .thank-you-note {
        margin-top: 10px;
    }

    .detail-dialog--thanks .thank-you-actions {
        margin-top: 12px;
    }

    .detail-dialog--thanks .thank-you-actions .button {
        min-width: 0;
        padding-inline: 12px;
        margin-top: 0;
    }
}

/* Keep the approved desktop success-dialog composition stable at native browser zoom. */
@media (min-width: 701px) {
    .detail-dialog--thanks .thank-you-actions .button {
        margin-top: 0;
    }
}

@media (min-width: 701px) and (max-height: 700px) {
    .detail-dialog--thanks {
        max-height: calc(100dvh - 24px);
        padding: clamp(28px, 4vw, 65px);
    }
}
