/* =========================================================
   Twelve Stones – Home page
   All sizes are in vw.
   Desktop: design px / 16.44 (1644px artboard)
   Mobile (<768px): design px / 3.75 (375px screen)
   1px hairline borders stay in px.
   ========================================================= */

@font-face {
    font-family: "Fenul Compressed";
    src: url("../fonts/FenulCompressed-TRIAL-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-v19-latin-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --dark: #3a3532;
    --sage: #838771;
    --cream: #f7f5ee;
    --tan: #b2ab8a;
    --field: #f0ede0;
    --olive: #4a452e;
    --legend-title: #7d7865;
    --legend-line: #a19d8a;
    --line-light: rgba(247, 245, 238, 0.45);

    --f-display: "Fenul Compressed", "Times New Roman", serif;
    --f-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

    --gutter: 6.63vw;

    --t-body: 1.016vw;
    --t-small: 0.754vw;
    --t-h-intro: 5.17vw;
    --t-h-xl: 6.533vw;
    --t-h-lg: 4.599vw;
    --t-h-partner: 6.478vw;
}

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

html {
    direction: ltr;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--dark);
    color: var(--cream);
    font-family: var(--f-mono);
    font-size: var(--t-body);
    line-height: 1.38;
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 1px solid var(--tan);
    outline-offset: 0.182vw;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ---------- Shared type ---------- */
.ts-heading {
    font-family: var(--f-display);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 0.93;
    letter-spacing: 0;
}
.ts-heading--xl { font-size: var(--t-h-xl); }
.ts-heading--lg { font-size: var(--t-h-lg); line-height: 0.94; }

.ts-text {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ts-text p + p {
    margin-top: 1.38em;
}

.ts-split {
    display: grid;
    grid-template-columns: 54.258vw 1fr;
    align-items: start;
    padding: 0 var(--gutter);
}
.ts-split .ts-text {
    max-width: 31.2vw;
    padding-top: 0.3em;
}
.ts-split--bottom {
    align-items: end;
    grid-template-columns: 52.007vw 1fr;
}
.ts-split--bottom .ts-text {
    max-width: 33.4vw;
}

/* ---------- Header ---------- */
.ts-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    padding: 5.109vw 9.489vw 0 11.375vw;
    color: var(--cream);
}
.ts-header__link {
    font-size: var(--t-small);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: opacity 0.2s ease;
}
.ts-header__link:last-child {
    justify-self: end;
}
.ts-header__link:hover {
    opacity: 0.7;
}
.ts-header__logo img {
    width: 12.713vw;
}
/* inner pages: header sits on the dark background */
body:not(.page-template-template-home) .ts-header {
    position: relative;
    padding-bottom: 2.433vw;
    background: var(--dark);
}

/* ---------- Hero ---------- */
.ts-hero {
    position: relative;
    height: 55.961vw;
    overflow: hidden;
    background: var(--dark);
}
.ts-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(40, 33, 26, 0.22);
}
.ts-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ts-hero__icon {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 55.4%;
    width: 6.752vw;
    transform: translate(-50%, -50%);
}

/* ---------- Intro ---------- */
.ts-intro {
    background: var(--cream);
    color: var(--dark);
}
.ts-intro__heading {
    padding: 3.163vw 4.197vw 0;
    font-family: var(--f-display);
    font-size: var(--t-h-intro);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}
.ts-intro__grid {
    display: grid;
    grid-template-columns: 64% 36%;
}
.ts-intro__media {
    padding-top: 12.895vw;
}
.ts-intro__media img {
    width: 100%;
    aspect-ratio: 1052 / 592;
    object-fit: cover;
}
.ts-intro__side {
    display: flex;
    flex-direction: column;
}
.ts-intro__text {
    max-width: 23vw;
    padding: 5.596vw 3.65vw 2.433vw 5.961vw;
    box-sizing: content-box;
}
.ts-intro__panel {
    position: relative;
    margin-top: auto;
    height: 26.095vw;
    background: var(--dark);
}
.ts-intro__badge {
    position: absolute;
    left: 63%;
    top: 61%;
    width: 7.786vw;
    transform: translate(-50%, -50%);
}

/* ---------- Villa ---------- */
.ts-villa {
    padding-top: 6.691vw;
    background: var(--dark);
}
.ts-villa__line {
    margin: 7.664vw 0 0 0.791vw;
    border: 0;
    border-top: 1px solid rgba(247, 245, 238, 0.3);
}

/* ---------- Interior ---------- */
.ts-interior {
    display: grid;
    grid-template-columns: 36% 64%;
    padding-top: 5.049vw;
    background: linear-gradient(var(--dark) 0 11.861vw, var(--sage) 0);
}
.ts-interior__side {
    padding: 15.45vw 0 0 7.421vw;
}
.ts-interior__icon {
    width: 6.569vw;
}
.ts-interior__media img {
    width: 100%;
    aspect-ratio: 1052 / 592;
    object-fit: cover;
}

/* ---------- Homes ---------- */
.ts-homes {
    padding: 4.562vw 0 7.178vw;
    background: var(--sage);
}
.ts-homes .ts-split {
    padding-left: 7.117vw;
}
.ts-homes .ts-text {
    padding-bottom: 0.2em;
}

/* ---------- Amenities (accordion) ---------- */
.ts-amenities {
    background: var(--dark);
}
.ts-amenities__inner {
    display: grid;
    grid-template-columns: 1fr 0fr;
    transition: grid-template-columns 0.45s ease;
}
.ts-amenities.is-open .ts-amenities__inner {
    grid-template-columns: 1fr 36%;
}
.ts-amenity {
    border-bottom: 1px solid var(--line-light);
}
.ts-amenity__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.946vw;
    width: 100%;
    min-height: 6.813vw;
    padding: 1.825vw 3.467vw 1.825vw 6.873vw;
    border: 0;
    background: none;
    color: var(--cream);
    font: inherit;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
}
.ts-amenity:first-child .ts-amenity__head {
    min-height: 7.603vw;
}
.ts-amenity__title {
    max-width: 60.827vw;
    min-width: 0;
}
.ts-amenity__icon {
    position: relative;
    flex: 0 0 auto;
    width: 1.703vw;
    aspect-ratio: 1;
}
/* SVG strokes: always render, even at fractional vw sizes */
.ts-amenity__icon::before,
.ts-amenity__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M0 12H24%27 fill=%27none%27 stroke=%27%23f7f5ee%27 stroke-width=%271.25%27 vector-effect=%27non-scaling-stroke%27/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.ts-amenity__icon::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M12 0V24%27 fill=%27none%27 stroke=%27%23f7f5ee%27 stroke-width=%271.25%27 vector-effect=%27non-scaling-stroke%27/%3E%3C/svg%3E");
}
.ts-amenity.is-active .ts-amenity__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.ts-amenity__head:hover .ts-amenity__title {
    opacity: 0.75;
}
.ts-amenity__body[hidden] {
    display: none;
}
.ts-amenity__body img {
    display: none;
}
.ts-amenity__desc {
    padding: 0 6.873vw 1.825vw;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.8;
}
.ts-amenities__media {
    position: relative;
    overflow: hidden;
    min-width: 0;
}
.ts-amenities__close {
    position: absolute;
    z-index: 2;
    top: 0.973vw;
    right: 0.973vw;
    width: 2.676vw;
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid rgba(247, 245, 238, 0.35);
    border-radius: 50%;
    background: rgba(58, 53, 50, 0.85);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.2s ease;
}
.ts-amenities__close:hover {
    background: var(--dark);
}
.ts-amenities.is-open .ts-amenities__close {
    opacity: 1;
}
.ts-amenities__close::before {
    content: "";
    position: absolute;
    inset: 29%;
    background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M0 0L24 24M24 0L0 24%27 fill=%27none%27 stroke=%27%23f7f5ee%27 stroke-width=%271.25%27 vector-effect=%27non-scaling-stroke%27/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.ts-amenities__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.ts-amenities__media img.is-active {
    opacity: 1;
}

/* ---------- Aerial ---------- */
.ts-aerial img {
    width: 100%;
    height: 56.569vw;
    object-fit: cover;
    object-position: center 62%;
}

/* ---------- Location ---------- */
.ts-location {
    position: relative;
    background: var(--cream);
    color: var(--dark);
}
.ts-location__map {
    width: 100%;
}
.ts-distance {
    position: absolute;
    left: 6.873vw;
    top: 9.246vw;
    width: 17.336vw;
    padding-top: 1.338vw;
    background: #fff;
}
.ts-distance__title {
    padding: 0 1.338vw;
    color: var(--legend-title);
    font-size: 1.539vw;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
    text-transform: uppercase;
}
.ts-distance__list li {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.73vw;
    height: 4.927vw;
    padding: 0 2.007vw 0 1.338vw;
    border-bottom: 1px solid var(--legend-line);
}
.ts-distance__time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 2.311vw;
    aspect-ratio: 1;
    margin-bottom: -0.365vw;
    border-radius: 50%;
    background: var(--olive);
    color: var(--cream);
    font-size: 0.7vw;
    line-height: 0.8;
}
.ts-distance__time b {
    font-size: 0.979vw;
    font-weight: 400;
    line-height: 1;
}
.ts-distance__place {
    align-self: center;
    padding-top: 0.6em;
    font-size: 0.888vw;
    text-align: right;
}

/* ---------- Partners ---------- */
.ts-partners {
    padding: 8.273vw 8.698vw 0 var(--gutter);
    background: var(--dark);
}
.ts-partners__top {
    display: flex;
    justify-content: space-between;
    gap: 2.433vw;
}
.ts-partner {
    position: relative;
    width: fit-content;
    white-space: nowrap;
    font-family: var(--f-display);
    font-size: var(--t-h-partner);
    font-weight: 500;
    line-height: 0.85;
    text-transform: uppercase;
}
.ts-partner__role {
    position: absolute;
    left: var(--x, 30%);
    top: 79%;
    padding: 0.1em 0.7em;
    border: 1px solid var(--dark);
    border-radius: 0.243vw;
    background: var(--tan);
    color: var(--dark);
    font-family: var(--f-mono);
    font-size: 0.876vw;
    line-height: 1.3;
    letter-spacing: 0.05em;
    transform: translateY(-50%);
    white-space: nowrap;
}
.ts-partners__tagline {
    padding-top: 0.2em;
    font-size: 0.912vw;
    letter-spacing: 0.06em;
    text-align: right;
    text-transform: uppercase;
}

/* ---------- Contact ---------- */
.ts-contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.433vw;
    padding: 10.827vw 0 0 0.243vw;
}
.ts-contact__title {
    margin: 0 0 2.068vw 0.426vw;
    font-size: var(--t-body);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ts-contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    padding-top: 0.243vw;
    font-size: 0.912vw;
    font-style: normal;
    letter-spacing: 0.06em;
    text-align: right;
    text-transform: uppercase;
}
.ts-contact__info a {
    white-space: nowrap;
}
.ts-contact__info a:hover {
    opacity: 0.7;
}

/* Contact Form 7 */
.ts-contact .wpcf7 form > p,
.ts-form p {
    margin: 0;
}
.ts-form__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.852vw;
}
.ts-form .wpcf7-form-control-wrap {
    position: relative;
    display: block;
}
.ts-form input[type="text"],
.ts-form input[type="tel"],
.ts-form input[type="email"] {
    width: 18.856vw;
    height: 2.616vw;
    padding: 0 1.703vw;
    border: 1px solid transparent;
    border-radius: 60.766vw;
    background: var(--field);
    color: var(--dark);
    font-family: var(--f-mono);
    font-size: var(--t-body);
    letter-spacing: 0.06em;
    outline: 0;
}
.ts-form input::placeholder {
    color: var(--tan);
    opacity: 1;
    text-transform: uppercase;
}
.ts-form input:focus {
    border-color: var(--tan);
}
.ts-form input[type="submit"],
.ts-form .wpcf7-submit {
    width: 7.908vw;
    height: 2.616vw;
    margin-left: 0.365vw;
    border: 0;
    border-radius: 60.766vw;
    background: var(--tan);
    color: var(--cream);
    font-family: var(--f-mono);
    font-size: 1.521vw;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.ts-form input[type="submit"]:hover {
    background: var(--cream);
    color: var(--dark);
}
.ts-form__consent {
    display: flex;
    flex-direction: column;
    gap: 0.487vw;
    margin: 1.582vw 0 0 0.426vw;
}
.ts-form .wpcf7-list-item {
    margin: 0;
}
.ts-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 0.608vw;
    font-size: 0.608vw;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}
.ts-form .wpcf7-list-item a {
    text-decoration: underline;
}
.ts-form input[type="checkbox"] {
    flex: 0 0 auto;
    width: 0.73vw;
    height: 0.73vw;
    margin: 0;
    border: 1px solid var(--cream);
    border-radius: 0.182vw;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.ts-form input[type="checkbox"]:checked {
    background: var(--tan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%233a3532' stroke-width='1.6'/%3E%3C/svg%3E") center / 100% no-repeat;
    border-color: var(--tan);
}
.ts-contact .wpcf7-not-valid-tip {
    position: absolute;
    left: 0.852vw;
    top: 100%;
    margin-top: 0.182vw;
    color: #f0b9a0;
    font-size: 0.669vw;
}
.ts-form__consent .wpcf7-not-valid-tip {
    position: static;
    margin: 0.243vw 0 0 1.338vw;
}
.ts-contact .wpcf7-spinner {
    position: absolute;
    margin: 0.73vw 0 0 0.608vw;
}
.ts-contact .wpcf7 form .wpcf7-response-output {
    margin: 1.095vw 0 0 0.426vw;
    padding: 0.487vw 0.852vw;
    border: 1px solid var(--tan);
    border-radius: 0.365vw;
    color: var(--cream);
    font-size: 0.73vw;
}
.cf7-success-message {
    display: flex;
    align-items: center;
    gap: 0.973vw;
}
.cf7-success-message svg {
    width: 2.676vw;
    height: 2.676vw;
}
.cf7-success-message .success-title {
    font-size: var(--t-body);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---------- Footer ---------- */
.ts-footer {
    overflow: hidden;
    padding-top: 5.779vw;
    background: var(--dark);
}
.ts-footer__wordmark {
    width: 100%;
}

/* ---------- Privacy / accessibility modal ---------- */
.privacy-wrapper {
    position: fixed;
    inset: 0;
    z-index: 1000;
    overflow-y: auto;
    padding: 4.866vw 1.217vw;
    background: rgba(58, 53, 50, 0.97);
}
.privacy-close-btn {
    position: fixed;
    top: 1.217vw;
    right: 1.217vw;
}
.privacy-content {
    max-width: 52.311vw;
    margin: 0 auto;
    color: var(--cream);
    font-size: 0.852vw;
    line-height: 1.6;
}
.privacy-content p + p {
    margin-top: 1em;
}
body.privacy-modal-open {
    overflow: hidden;
}

/* ---------- Generic inner pages ---------- */
.general-content {
    padding: 4.866vw 1.217vw;
    background: var(--cream);
    color: var(--dark);
}
.general-content .container {
    max-width: 60.827vw;
    margin: 0 auto;
}

/* =========================================================
   Tablet
   ========================================================= */
@media (min-width: 768px) and (max-width: 1100px) {
    .ts-amenities__close {
        width: 3.6vw;
    }
    :root {
        --t-body: 1.45vw;
        --t-small: 1.2vw;
    }
    .ts-intro__heading {
        white-space: normal;
    }
    .ts-split .ts-text {
        max-width: 42vw;
    }
    .ts-intro__text {
        max-width: 28vw;
        padding: 4vw 3vw 3vw 4vw;
    }
    .ts-amenity__title {
        max-width: 75vw;
    }
    .ts-distance {
        width: 26vw;
    }
    .ts-distance__title {
        font-size: 2vw;
    }
    .ts-distance__time {
        width: 3.6vw;
        font-size: 1vw;
    }
    .ts-distance__time b {
        font-size: 1.45vw;
    }
    .ts-distance__place {
        font-size: 1.3vw;
    }
    .ts-distance__list li {
        height: 6.4vw;
    }
    .ts-partner__role,
    .ts-partners__tagline,
    .ts-contact__info {
        font-size: 1.2vw;
    }
    .ts-form input[type="text"],
    .ts-form input[type="tel"],
    .ts-form input[type="email"],
    .ts-form input[type="submit"] {
        height: 4.6vw;
    }
    .ts-form input[type="checkbox"] {
        width: 1.3vw;
        height: 1.3vw;
    }
    .ts-form .wpcf7-list-item label {
        font-size: 1vw;
    }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 767px) {
    :root {
        --gutter: 5.333vw;
        --t-body: 3.467vw;
        --t-small: 2.933vw;
        --t-h-intro: 10.667vw;
        --t-h-xl: 13.333vw;
        --t-h-lg: 11.2vw;
        --t-h-partner: 11.733vw;
    }

    .ts-header {
        padding: 6.4vw 5.333vw 0;
    }
    .ts-header__logo img {
        width: 31.467vw;
    }

    .ts-hero {
        height: 165vw;
        min-height: 0;
    }

    .ts-split,
    .ts-split--bottom {
        grid-template-columns: 1fr;
        gap: 7.467vw;
    }
    .ts-split .ts-text {
        max-width: none;
        min-width: 0;
    }

    .ts-intro__heading {
        padding: 12.8vw 5.333vw 9.6vw;
        white-space: normal;
    }
    .ts-intro__grid {
        grid-template-columns: 1fr;
    }
    .ts-intro__media {
        order: 2;
        padding-top: 0;
    }
    .ts-intro__text {
        max-width: none;
        padding: 0 5.333vw 10.667vw;
    }
    .ts-intro__panel {
        display: none;
    }

    .ts-villa {
        padding-top: 17.067vw;
    }
    .ts-villa__line {
        margin: 14.933vw 0 0;
    }

    .ts-interior {
        grid-template-columns: 1fr;
        padding-top: 10.667vw;
        background: var(--dark);
    }
    .ts-interior__side {
        display: none;
    }

    .ts-homes {
        padding: 14.933vw 0 17.067vw;
    }
    .ts-homes .ts-split {
        padding-left: 5.333vw;
    }

    .ts-amenities.is-open .ts-amenities__inner,
    .ts-amenities__inner {
        grid-template-columns: 1fr;
    }
    .ts-amenities__media {
        display: none;
    }
    .ts-amenity__head {
        min-height: 0;
        padding: 6.933vw 5.333vw;
    }
    .ts-amenity:first-child .ts-amenity__head {
        min-height: 0;
    }
    .ts-amenity__body:not([hidden]) {
        display: block;
        padding: 0 5.333vw 6.4vw;
    }
    .ts-amenity__body img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
    .ts-amenity__desc {
        padding: 0 0 4.267vw;
    }

    .ts-aerial img {
        height: 64vw;
    }

    .ts-location {
        padding-bottom: 10.667vw;
    }
    .ts-distance {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        margin: -5.333vw 5.333vw 0;
        padding-top: 4.8vw;
    }
    .ts-distance__title {
        padding: 0 4.8vw;
    }
    .ts-distance__list li {
        padding: 0 4.8vw;
    }

    .ts-partners {
        padding: 17.067vw 5.333vw 0;
    }
    .ts-partners__top {
        flex-direction: column-reverse;
        gap: 8.533vw;
    }
    .ts-partners__tagline {
        text-align: left;
    }
    .ts-partner + .ts-partner {
        margin-top: 1.6vw;
    }

    .ts-contact {
        flex-direction: column;
        padding: 19.2vw 0 0;
    }
    .ts-contact__title {
        margin: 0 0 5.333vw;
    }
    .ts-contact__form {
        width: 100%;
    }
    .ts-form__row {
        flex-direction: column;
        gap: 3.2vw;
    }
    .ts-form input[type="text"],
    .ts-form input[type="tel"],
    .ts-form input[type="email"],
    .ts-form input[type="submit"],
    .ts-form .wpcf7-submit {
        width: 100%;
        height: 12.267vw;
        margin-left: 0;
        padding: 0 5.867vw;
    }
    .ts-form__consent {
        gap: 2.667vw;
        margin: 4.8vw 0 0;
    }
    .ts-form .wpcf7-list-item label {
        align-items: flex-start;
        gap: 2.667vw;
        font-size: 2.667vw;
    }
    .ts-contact__info {
        text-align: left;
        gap: 3.2vw;
    }

    .ts-footer {
        padding-top: 14.933vw;
    }

    .ts-hero__icon {
        width: 17vw;
    }
    .ts-amenity__icon {
        width: 5.333vw;
    }
    .ts-amenities__close {
        display: none;
    }

    .ts-distance__title {
        font-size: 5.333vw;
    }
    .ts-distance__list li {
        height: 16vw;
    }
    .ts-distance__time {
        width: 10.133vw;
        font-size: 2.667vw;
    }
    .ts-distance__time b {
        font-size: 4.267vw;
    }
    .ts-distance__place {
        font-size: 3.733vw;
    }

    .ts-partner__role {
        font-size: 2.667vw;
    }
    .ts-partners__tagline {
        font-size: 3.2vw;
    }
    .ts-contact__info {
        font-size: 3.467vw;
    }
    .ts-form input[type="submit"],
    .ts-form .wpcf7-submit {
        font-size: 4.8vw;
    }
    .ts-form input[type="checkbox"] {
        width: 3.467vw;
        height: 3.467vw;
        margin-top: 0.4vw;
    }
    .ts-contact .wpcf7-not-valid-tip {
        left: 3.733vw;
        font-size: 2.933vw;
    }
    .ts-contact .wpcf7 form .wpcf7-response-output {
        font-size: 3.2vw;
    }
    .cf7-success-message svg {
        width: 11.733vw;
        height: 11.733vw;
    }

    .privacy-wrapper {
        padding: 18.667vw 5.333vw;
    }
    .privacy-content {
        max-width: none;
        font-size: 3.733vw;
    }
    .general-content {
        padding: 16vw 5.333vw;
    }
    .general-content .container {
        max-width: none;
    }
}

/* =========================================================
   Animations
   Only opacity / translate / scale are animated (GPU friendly).
   [data-anim] is added by main.js; without JS nothing is hidden.
   ========================================================= */
/* Scroll reveal (hero section is not animated) */
[data-anim] {
    transition:
        opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s),
        translate 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s),
        scale 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s);
}
[data-anim="up"]:not(.is-in) {
    opacity: 0;
    translate: 0 2.4vw;
}
[data-anim="rise"] {
    transition-duration: 1.4s;
}
[data-anim="rise"]:not(.is-in) {
    opacity: 0;
    translate: 0 40%;
}
[data-anim="left"]:not(.is-in) {
    opacity: 0;
    translate: -1.8vw 0;
}
[data-anim="fade"] {
    transition-duration: 1.4s;
}
[data-anim="fade"]:not(.is-in) {
    opacity: 0;
}
[data-anim="pop"]:not(.is-in) {
    opacity: 0;
    scale: 0.6;
}
[data-anim="line"] {
    transform-origin: left center;
    transition-duration: 1.6s;
}
[data-anim="line"]:not(.is-in) {
    scale: 0 1;
}
/* Images: wrapper clips, photo settles from a slight zoom */
[data-anim="img"] {
    overflow: hidden;
}
[data-anim="img"] img {
    transition:
        opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s),
        scale 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s);
}
[data-anim="img"]:not(.is-in) img {
    opacity: 0;
    scale: 1.12;
}

@media (max-width: 767px) {
    [data-anim="up"]:not(.is-in) {
        translate: 0 6.4vw;
    }
    [data-anim="left"]:not(.is-in) {
        translate: -5.333vw 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-anim],
    [data-anim] img {
        transition: none !important;
        opacity: 1 !important;
        translate: none !important;
        scale: none !important;
    }
}

/* =========================================================
   Sticky header
   .is-stuck is toggled by main.js once the page is scrolled
   ========================================================= */
.ts-header {
    position: fixed;
    transition: padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}
.ts-header__logo img {
    transition: width 0.4s ease;
}
.ts-header.is-stuck {
    align-items: center;
    padding-top: 1.2vw;
    padding-bottom: 1.2vw;
    background-color: rgba(58, 53, 50, 0.96);
    box-shadow: 0 1px 0 rgba(247, 245, 238, 0.12);
}
.ts-header.is-stuck .ts-header__logo img {
    width: 7.3vw;
}
body:not(.page-template-template-home) .ts-header {
    position: sticky;
}
body.admin-bar .ts-header {
    top: 32px;
}
#location,
#contact {
    scroll-margin-top: 8vw;
}

@media (max-width: 782px) {
    body.admin-bar .ts-header {
        top: 46px;
    }
}
@media (max-width: 600px) {
    body.admin-bar .ts-header.is-stuck {
        top: 0;
    }
}
@media (max-width: 767px) {
    .ts-header.is-stuck {
        padding-top: 3.2vw;
        padding-bottom: 3.2vw;
    }
    .ts-header.is-stuck .ts-header__logo img {
        width: 21.333vw;
    }
    #location,
    #contact {
        scroll-margin-top: 20vw;
    }
}

/* ---------- Pojo accessibility toolbar ---------- */
#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    font-size: 140% !important;
}
/* Wider menu so every item stays on one line.
   px on purpose: the plugin sets its text in px (16px), so the width must match it.
   The closed offset and the toggle position must equal the menu width. */
#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay {
    width: 240px;
}
#pojo-a11y-toolbar.pojo-a11y-toolbar-left {
    left: -240px;
}
#pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    left: 240px;
}
#pojo-a11y-toolbar.pojo-a11y-toolbar-right {
    right: -240px;
}
#pojo-a11y-toolbar.pojo-a11y-toolbar-right .pojo-a11y-toolbar-toggle {
    right: 240px;
}
#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title,
#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay ul.pojo-a11y-toolbar-items li.pojo-a11y-toolbar-item a {
    white-space: nowrap;
}
#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay ul.pojo-a11y-toolbar-items li.pojo-a11y-toolbar-item a svg {
    padding-left: 0;
    padding-right: 8px;
}

.cc-slider, body.pojo-a11y-high-contrast .cc-slider, body.pojo-a11y-grayscale .cc-slider,
body.pojo-a11y-negative-contrast :not(#pojo-a11y-toolbar) .cc-slider,
body.pojo-a11y-light-background :not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) .cc-slider{
    background: #ababff !important;
}
body.pojo-a11y-light-background *:not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) .cc-btn{
        border: 1px solid #000 !important;
}
/* Remove the problematic body filter only during grayscale mode */
body.pojo-a11y-grayscale {
    -webkit-filter: none !important;
    filter: none !important;
    overflow-x: hidden !important;
}

/* Reapply grayscale to the document root */
html:has(body.pojo-a11y-grayscale) {
    -webkit-filter: grayscale(100%) !important;
    filter: grayscale(100%) !important;
}

/* Change toolbar positioning only during grayscale mode */
body.pojo-a11y-grayscale #pojo-a11y-toolbar {
    position: fixed !important;
    z-index: 99999 !important;
}

body #cc-floater {
    bottom: unset !important;
    top: 12.5vw !important;
    left: 0.2vw !important;
    right: unset !important;
    width: 2.5vw !important;
    height: 2.5vw !important;
    line-height: 2.5vw;
    text-align: center !important;
    z-index: 999 !important;
}
body #cc-floater svg{
    width: 1.5vw !important;
    height: 1.5vw !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
body #pojo-a11y-toolbar{
    z-index: 9999 !important;
    top: 9vw !important;
}
body #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    font-size: 1.5vw !important;
    padding: 0.6vw !important;
}
body #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle svg{
    width: 1.5vw !important;
}

@media(max-width: 767px){
    body #cc-floater{
        bottom: unset !important;
        top: 60vw !important;
        left: 2px !important;
        width: 7.5vw !important;
        height: 7.5vw !important;
        line-height: 7.5vw;
        padding: 4.5vw !important;
    }
    body #cc-floater svg {
        width: 5vw !important;
        height: 5vw !important;
    }
    body #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
        font-size: 5.5vw !important;
        padding: 2vw !important;
    }
    body #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle svg {
        width: 5.8vw !important;
    }
    body #pojo-a11y-toolbar {
        top: 48vw !important;
    }
    
    .cc-banner {
            padding: 16px !important;
    }
    .cc-pos-right {
        left: 50% !important;
        right: unset !important;
        bottom: 10px !important;
        width: 95%;
        transform: translateX(-50%);
    }
    .cc-btn{
        padding: 7px 9px !important;
    }
}