.hero-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: end;
    padding: 145px 0 0;
    background: transparent;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(248, 248, 248, 0.16), rgba(248, 248, 248, 0.02));
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    filter: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 95%;
    max-width: none;
    margin: 0 auto;
    padding-bottom: 50px;
    color: rgba(0, 0, 0, 0.72);
}

.eyebrow {
    color: rgba(0, 0, 0, 0.72);
    font-family: "Oooh Baby";
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 8px;
}

.hero-content h1 {
    margin-bottom: 10px;
    color: #000;
    font-family: "Monteilga";
}

.hero-title-row {
    display: block;
}

.hero-content h1 span {
    display: block;
}

.hero-bottom-line {
    display: block;
    white-space: nowrap;
}

.hero-content h1 .hero-bottom-line > span {
    display: inline;
    white-space: nowrap;
}

.hero-content h1 .hero-bottom-line > em {
    display: inline;
    white-space: nowrap;
}

.hero-bottom-line em {
    font-family: "Oooh Baby";
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.08;
    color: rgba(0, 0, 0, 0.68);
}

.hero-content .eyebrow,
.hero-content h1 > span:first-child,
.hero-content h1 > .hero-bottom-line {
    animation: heroTextReveal 1050ms cubic-bezier(0.16, 1, 0.3, 1) both;
    transform-origin: left center;
    will-change: transform, opacity, clip-path;
}

.hero-content .eyebrow {
    animation-delay: 120ms;
}

.hero-content h1 > span:first-child {
    animation-delay: 280ms;
}

.hero-content h1 > .hero-bottom-line {
    animation-delay: 440ms;
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
        transform: translate3d(-24px, 0, 0) skewX(-4deg);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content .eyebrow,
    .hero-content h1 > span:first-child,
    .hero-content h1 > .hero-bottom-line {
        animation: none;
    }
}

.home-about-section {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    background: var(--primary);
}

.home-about-grid {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    display: grid;
    gap: var(--content-gap);
    padding-top: 0;
}

.about-watermark {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: clamp(64px, 16vw, 92px);
    display: none;
    flex: 0 0 auto;
    transform: translateY(18px);
    margin-bottom: -50px;
}

.about-image-card {
    position: relative;
    z-index: 5;
    top: -30px;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 0.95;
    margin: 0 auto -30px;
    overflow: hidden;
}

.about-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy {
    max-width: 620px;
    padding-bottom: 56px;
}

.about-copy h2 {
    margin-bottom: var(--text-gap);
}

.about-copy p {
    font-weight: 400;
}

.about-lead {
    max-width: 570px;
    margin-bottom: var(--text-gap);
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
}

.about-button {
    min-width: 116px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px 22px;
    border: 1px solid var(--black);
    background: var(--black);
    color: var(--white);
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.about-button:hover {
    background: transparent;
    color: var(--black);
}

.about-marquee {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 4px;
    left: 0;
    width: 95%;
    height: clamp(28px, 8vw, 76px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 0 auto;
    pointer-events: none;
}

.about-marquee span {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    color: #000;
    font-family: var(--heading-font);
    font-size: 100px;
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    transform: scaleX(0.94);
    transform-origin: center bottom;
}

.home-reputation-section {
    position: relative;
    min-height: auto;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 30px 0 #ffffff;
    padding: 25px 0;
    background:
        url('../images/bottom-leafs.webp') center bottom / 100% auto no-repeat,
        var(--white);
    background-position: center calc(100% + 0px), center;
}

.reputation-content {
    position: relative;
    z-index: 2;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.reputation-heading {
    max-width: none;
    margin: 0 0 var(--content-gap);
}

.reputation-heading h2 {
    margin-bottom: 8px;
    color: #000;
}

.reputation-heading p {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 30px;
    font-weight: 500;
}

.reputation-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--text-gap) var(--content-gap);
    align-items: stretch;
    margin-bottom: var(--section-space);
}

.reputation-stats article {
    min-height: 70px;
    text-align: left;
}

.reputation-stats strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Nyght Serif", var(--heading-font);
    font-size: 42px;
    font-weight: 300;
    line-height: 52px;
    letter-spacing: 0;
}

.reputation-stats span {
    display: block;
    font-size: 12px;
    line-height: 22px;
    font-weight: 500;
}

.reputation-leaf-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: min(34vw, 220px);
    opacity: 0.4;
    mix-blend-mode: plus-darker;
    pointer-events: none;
    transform-origin: 100% 0%;
    animation: reputation-leaf-sway 10s ease-in-out infinite;
}

@keyframes reputation-leaf-sway {
    0%,
    100% {
        transform: rotate(-1deg) skewX(0deg);
    }

    28% {
        transform: rotate(2deg) skewX(0.8deg);
    }

    58% {
        transform: rotate(-1.6deg) skewX(-0.5deg);
    }

    80% {
        transform: rotate(0.7deg) skewX(0.3deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reputation-leaf-corner {
        animation: none;
        transform: none;
    }
}

.reputation-bird {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: min(42vw, 180px);
    transform-origin: 46% 92%;
    animation: reputation-bird-hop 4.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes reputation-bird-hop {
    0%,
    62%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    70% {
        transform: translate3d(0, -10px, 0) rotate(-1.4deg);
    }

    78% {
        transform: translate3d(0, 0, 0) rotate(1deg);
    }

    84% {
        transform: translate3d(0, -4px, 0) rotate(-0.5deg);
    }

    91% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

.home-collection-section {
    padding: var(--section-space) 0;
    background: var(--white);
}

.collection-content {
    width: 95%;
}

.collection-heading {
    margin: 0 auto var(--content-gap);
    text-align: center;
}

.collection-heading h2 {
    margin-bottom: 16px;
    color: #000;
    font-size: var(--main-heading-size);
    line-height: var(--main-heading-line-height);
}

.collection-heading p {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 30px;
    font-weight: 500;
}

.collection-grid {
    display: grid;
    gap: var(--content-gap);
}

.collection-card {
    animation: sectionRise 0.8s ease both;
}

.collection-card img {
    width: 100%;
    aspect-ratio: 16 / 9.4;
    object-fit: cover;
    margin-bottom: var(--text-gap);
}

.collection-card-head {
    display: grid;
    gap: var(--text-gap);
    align-items: center;
    margin-bottom: var(--text-gap);
}

.collection-card h3 {
    margin: 0;
    color: #000;
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 400;
    line-height: 36px;
}

.collection-card a {
    width: max-content;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid var(--black);
    background: var(--black);
    color: var(--white);
    font-family: var(--button-font);
    font-size: 14px;
    line-height: 24px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.collection-card a:hover {
    background: transparent;
    color: var(--black);
}

.collection-kicker {
    margin-bottom: var(--text-gap);
    font-size: 11px;
    line-height: 21px;
    font-weight: 500;
}

.collection-card > p:last-child {
    max-width: 640px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
}

.home-region-section {
    position: relative;
    overflow: hidden;
    padding: var(--section-space) 0 0;
    background: var(--bg);
}

.region-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: none;
    display: grid;
    gap: var(--content-gap);
    margin: 0 auto clamp(34px, 6vw, 78px);
}

.region-heading h2 {
    max-width: 520px;
    margin-bottom: 0;
    color: #000;
    font-size: clamp(30px, 9vw, 48px);
    line-height: 1.08;
}

.region-card {
    width: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .region-card:hover {
        transform: translate3d(0, -4px, 0);
    }
}

.region-card figure {
    position: relative;
    margin: 0 0 18px;
    overflow: hidden;
}

.region-card img {
    width: 100%;
    aspect-ratio: 0.78;
    object-fit: cover;
}

.region-card figcaption {
    position: absolute;
    right: 10px;
    bottom: 18px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.58);
    color: var(--white);
    font-family: var(--body-font);
    font-size: 12px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.58);
    transform: none;
}

.region-card h3 {
    margin: 0;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
}

.region-copy {
    max-width: 420px;
}

.region-copy p {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 22px;
    font-weight: 400;
}

.region-skyline {
    position: relative;
    z-index: 0;
    width: 80%;
    display: flex;
    align-items: flex-end;
    margin: 0 auto -1px;
    overflow: hidden;
    pointer-events: none;
}

.region-skyline::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: clamp(24px, 10vw, 150px);
    width: clamp(160px, 27vw, 430px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(248, 247, 243, 0.95);
    transform: translateY(17%);
}

.region-skyline img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto;
}

.home-project-showcase {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
    background: #FFF;
}

.project-showcase-inner {
    width: 90%;
    max-width: none;
    display: grid;
    gap: 15px;
    margin: 0 auto;
}

.project-showcase-head {
    display: grid;
    gap: 18px;
}

.project-showcase-head h2 {
    margin-bottom: 0;
    font-size: clamp(26px, 7vw, 42px);
    line-height: 1.12;
}

.project-tabs {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.project-tabs::-webkit-scrollbar {
    display: none;
}

.project-tab {
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(0, 0, 0, 0.38);
    font-family: "Noto Sans Gujarati UI", "Noto Sans Gujarati", Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.25s ease;
}

.project-tab:hover,
.project-tab:focus-visible {
    color: var(--primary);
}

.project-tab.is-active {
    color: #000;
}

.project-showcase-body {
    position: relative;
    display: grid;
    gap: 18px;
}

.project-showcase-mark {
    display: none;
}

.project-panels {
    min-width: 0;
}

.project-panel {
    display: none;
}

.project-panel.is-active {
    display: block;
}

.project-slide {
    display: none;
}

.project-slide.is-active {
    display: grid;
    gap: 16px;
}

.project-slide > img {
    width: 100%;
    aspect-ratio: 16 / 8.1;
    object-fit: cover;
}

.project-slide-meta {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: center;
    font-family: var(--body-font);
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}

.project-slide-meta a {
    width: max-content;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    font-family: var(--body-font);
    font-size: 12px;
    line-height: 22px;
    font-weight: 500;
    transition: transform 0.25s ease, background 0.25s ease;
}

.project-slide-meta a:hover {
    background: transparent;
    color: #000;
}

.project-slider-controls {
    display: flex;
    gap: 25px;
    align-items: center;
    order: 2;
}

.project-slider-controls button {
    width: 44px;
    height: 44px;
    display: inline-grid;
    flex: 0 0 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.project-slider-controls button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-slider-controls button:last-child img {
    transform: rotate(180deg);
}

.project-slider-controls button:hover,
.project-slider-controls button:focus-visible {
    opacity: 0.88;
}

.home-testimonials-section {
    padding: 30px 0;
    background: #FFF;
}

.testimonials-inner {
    width: 90%;
    max-width: none;
    display: grid;
    gap: var(--content-gap);
    margin: 0 auto;
}

.testimonial-photo {
    margin: 0;
    overflow: hidden;
}

.testimonial-photo img {
    width: 100%;
    aspect-ratio: 0.78;
    object-fit: cover;
}

.testimonials-center {
    min-width: 0;
    max-width: 100%;
    display: grid;
    gap: 30px;
    align-content: space-between;
    text-align: center;
}

.testimonials-title-block {
    display: grid;
    gap: 10px;
}

.testimonial-stars {
    width: min(38vw, 148px);
    margin: 0 auto;
}

.testimonials-heading h2 {
    margin-bottom: 0;
    color: #000;
    font-family: var(--heading-font);
    font-size: clamp(28px, 8vw, 42px);
    font-weight: 400;
    line-height: 1.12;
    text-transform: uppercase;
}

.testimonials-heading p {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 22px;
    font-weight: 700;
}

.testimonial-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: grid;
    align-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding: 22px;
    background: var(--bg);
    text-align: left;
}

.testimonial-copy {
    display: none;
}

.testimonial-copy.is-active {
    display: block;
}

.testimonial-copy p {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.testimonial-author {
    min-width: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}

.testimonial-author > span:last-child {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--bg);
    color: #000;
    font-size: 15px;
}

.testimonial-author strong,
.testimonial-author em {
    display: block;
    font-style: normal;
    font-size: 11px;
    line-height: 19px;
}

.testimonial-author strong {
    font-weight: 700;
}

.testimonial-author em {
    font-weight: 500;
}

.testimonial-points {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 4px;
}

.testimonial-points button {
    width: 5px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.24);
    cursor: pointer;
}

.testimonial-points button.is-active {
    width: 16px;
    border-radius: 999px;
    background: var(--primary);
}

.home-enquiry-section {
    padding: 60px 0;
    background: #F4EEE3;
}

.enquiry-inner {
    width: 90%;
    max-width: none;
    display: grid;
    gap: 44px;
    margin: 0 auto;
}

.enquiry-heading {
    display: grid;
    gap: 15px;
    text-align: center;
}

.enquiry-heading h2 {
    margin: 0;
    color: #000;
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 400;
    line-height: 46px;
}

.enquiry-heading p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
}

.enquiry-form {
    width: min(100%, 1040px);
    display: grid;
    gap: 18px;
    margin: 0 auto;
}

.form-field {
    display: grid;
    gap: 4px;
}

.form-field label {
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    font-weight: 500;
}

.form-field input {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 0;
    background: transparent;
    color: #000;
    font: inherit;
    font-size: 16px;
    line-height: 26px;
    outline: none;
}

.form-field input:focus {
    border-bottom-color: #000;
}

.form-field.is-invalid input {
    border-bottom-color: #9b1c1c;
}

.field-error,
.form-success {
    min-height: 18px;
    color: #9b1c1c;
    font-size: 14px;
    line-height: 24px;
}

.form-success {
    color: #000;
    text-align: center;
}

.enquiry-submit,
.articles-view-all {
    width: max-content;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border: 1px solid #000;
    padding: 0 28px;
    background: #000;
    color: #fff;
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.enquiry-submit:hover,
.articles-view-all:hover {
    background: transparent;
    color: #000;
}

.featured-articles {
    display: grid;
    gap: clamp(22px, 3vw, 36px);
}

.home-featured-articles-section .featured-articles {
    width: 90%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
}

.featured-articles > h2 {
    margin-bottom: 0;
    color: #000;
    font-family: var(--heading-font);
    font-size: var(--main-heading-size);
    font-weight: 400;
    line-height: var(--main-heading-line-height);
    text-align: center;
}

.featured-articles-grid {
    display: grid;
    gap: clamp(24px, 3.2vw, 42px);
}

.featured-article-card {
    --featured-article-text-gap: 6px;
    display: grid;
    gap: 15px;
    align-content: start;
    padding-bottom: 15px;
}

.featured-article-card img {
    width: 100%;
    aspect-ratio: 16 / 9.2;
    object-fit: cover;
    margin-bottom: 0;
}

.featured-article-card time {
    display: block;
    margin: var(--featured-article-text-gap) 0;
    font-family: "Noto Sans Gujarati UI", "Noto Sans Gujarati", Arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}

.featured-article-card p {
    display: block;
    max-width: 96%;
    margin: var(--featured-article-text-gap) 0;
    font-family: "Noto Sans Gujarati UI", "Noto Sans Gujarati", Arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}

.featured-article-card > a {
    display: block;
    width: max-content;
    margin: var(--featured-article-text-gap) 0;
    font-family: "Noto Sans Gujarati UI", "Noto Sans Gujarati", Arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}

.featured-article-title {
    max-width: 94%;
    margin: var(--featured-article-text-gap) 0;
    padding: 0;
    color: #000;
    font-family: "Noto Sans Gujarati UI", "Noto Sans Gujarati", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

@keyframes sectionRise {
    from {
        transform: translateY(18px);
    }

    to {
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding-bottom: 104px;
    }

    .hero-content h1 .hero-bottom-line > span,
    .hero-content h1 .hero-bottom-line > em {
        display: inline;
        white-space: nowrap;
    }

    .home-about-section {
        padding-bottom: 100px;
    }

    .home-about-grid {
        grid-template-columns: 0.9fr 1fr;
        align-items: start;
        gap: var(--content-gap);
        padding-top: 0;
    }

    .about-image-card {
        top: -30px;
        width: calc(100% - 122px);
        max-width: 460px;
        margin: 0 0 -30px;
    }

    .about-watermark {
        width: 112px;
        display: block;
    }

    .about-copy {
        padding-top: var(--section-space);
        padding-bottom: 0;
    }

    .about-copy p {
        font-size: 13px;
        line-height: 23px;
    }

    .home-reputation-section {
        min-height: 760px;
        padding: 40px 0 20px;
        background-size: 100% auto, auto;
        background-position: center bottom, center;
    }

    .reputation-content {
        width: 76%;
        margin-left: 18%;
        margin-right: auto;
    }

    .reputation-heading {
        margin-bottom: var(--content-gap);
    }

    .reputation-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--content-gap);
        margin-bottom: var(--section-space);
    }

    .reputation-stats article {
        min-height: 112px;
    }

    .reputation-stats strong {
        margin-bottom: 14px;
        font-size: 50px;
        line-height: 60px;
    }

    .reputation-bird {
        width: 300px;
        bottom: 0;
        left: 0;
    }

    .collection-content {
        width: 90%;
    }

    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--content-gap);
    }

    .collection-card-head {
        grid-template-columns: 1fr auto;
        gap: var(--text-gap);
    }

    .collection-card > p:last-child {
        font-size: 13px;
        line-height: 23px;
    }

    .region-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--content-gap);
        align-items: start;
    }

    .region-heading {
        align-self: center;
    }

    .region-heading h2 {
        font-size: 44px;
        line-height: 60px   ;
    }

    .project-showcase-inner {
        gap: 28px;
    }

    .project-showcase-head {
        grid-template-columns: minmax(240px, 0.8fr) 1fr;
        align-items: center;
        gap: 30px;
    }

    .project-tabs {
        justify-content: flex-end;
        gap: 34px;
    }

    .project-showcase-body {
        grid-template-columns: 86px 1fr;
        gap: 28px;
        align-items: center;
    }

    .project-showcase-mark {
        position: absolute;
        top: 8px;
        left: 0;
        width: 92px;
        display: block;
        pointer-events: none;
    }

    .project-slider-controls {
        order: 0;
        align-self: end;
        padding-bottom: 72px;
    }

    .project-slide-meta {
        grid-template-columns: 1fr 1fr auto;
        gap: 24px;
        font-size: 13px;
        line-height: 23px;
    }

    .testimonials-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 30px;
    }

    .testimonials-center {
        grid-column: 1 / -1;
        grid-row: 1;
        width: min(100%, 430px);
        min-height: 360px;
        justify-self: center;
        align-self: end;
        order: -1;
    }

    .testimonial-photo-left,
    .testimonial-photo-right {
        grid-row: 2;
    }

    .testimonial-card {
        padding: 28px;
    }

    .testimonial-copy p {
        font-size: 13px;
        line-height: 23px;
    }

    .enquiry-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 64px;
    }

    .enquiry-submit,
    .form-success {
        grid-column: 1 / -1;
    }

    .featured-articles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (min-width: 1200px) {
    .hero-section {
        align-items: end;
        padding-top: 145px;
        padding-bottom: 0;
        background-position: center;
    }

    .home-about-section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: -1px;
        padding-bottom: 250px;
    }

    .home-about-grid {
        grid-template-columns: 0.92fr 1fr;
        width: 90%;
        max-width: none;
        gap: var(--content-gap);
        padding-top: 0;
    }

    .about-image-card {
        top: -50px;
        left: 40px;
        width: min(100%, 500px);
        max-width: 500px;
        height: 540px;
        justify-self: end;
        margin: 0;
        aspect-ratio: auto;
    }

    .about-watermark {
        top: 370px;
        left: 0px;
        width: 160px;
        display: block;
        transform: translateY(28px);
    }

    .about-copy {
        max-width: 760px;
        padding-top: 145px;
        padding-left: 4vw;
    }

    .about-copy h2 {
        margin-bottom: var(--text-gap);
        color: #000;
        font-family: "Monteilga", Georgia, serif;
        font-size: 36px;
        font-style: normal;
        font-weight: 400;
        line-height: 46px;
        letter-spacing: 1.08px;
    }

    .about-copy p {
        max-width: 642px;
        font-size: 16px;
        line-height: 26px;
    }

    .about-lead {
        max-width: 642px;
    }

    .about-marquee {
        bottom: 20px;
        width: 100%;
    }

    .about-button {
        margin-top: var(--text-gap);
        font-size: 16px;
        line-height: 26px;
    }

    .home-reputation-section {
        position: relative;
        height: 1000px;
        min-height: 1000px;
        max-height: 1000px;
        padding: 160px 0 320px;
        overflow: hidden;
        background-size: 100% auto, auto;
        background-position: center bottom, center;
        background-repeat: no-repeat;
    }

    .reputation-content {
        position: relative;
        z-index: 2;
        width: 90%;
        max-width: 1200px;
        margin-left: 320px;
        margin-right: auto;
        top: 0;
    }

    .reputation-heading {
        width: 100%;
        margin: 0 0 100px;
    }

    .reputation-heading h2 {
        margin-bottom: 14px;
    }

    .reputation-heading p {
        margin-bottom: 0;
    }

    .reputation-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
        max-width: 1150px;
        gap: 40px;
        margin: 0;
    }

    .reputation-stats article {
        min-height: 140px;
        text-align: left;
    }

    .reputation-stats strong {
        display: block;
        margin-bottom: 14px;
        font-size: 74px;
        line-height: 84px;
    }

    .reputation-stats span {
        display: block;
        font-size: 16px;
        line-height: 26px;
    }

    .reputation-leaf-corner {
        position: absolute;
        top: 0;
        right: 0;
        width: 280px;
        pointer-events: none;
    }

    .reputation-bird {
        position: absolute;
        z-index: 3;
        width: 350px;
        bottom: 0;
        left: 0;
        pointer-events: none;
    }

    .home-collection-section {
        padding: 30px 0;
    }

.collection-content {
        width: 90%;
        max-width: 1510px;
    }

    .collection-heading {
        margin-bottom: var(--content-gap);
    }

    .collection-grid {
        gap: var(--content-gap);
    }

    .collection-card img {
        margin-bottom: var(--text-gap);
    }

    .collection-card h3 {
        font-size: 26px;
        line-height: 36px;
    }

    .collection-card a {
        min-height: 38px;
        padding: 9px 18px;
        font-size: 16px;
        line-height: 26px;
    }

    .collection-kicker {
        margin-bottom: var(--text-gap);
        font-size: 18px;
        line-height: 30px;
    }

    .collection-card > p:last-child {
        font-size: 16px;
        line-height: 26px;
    }

    .home-region-section {
        border-top: 30px solid var(--white);
        border-bottom: 30px solid var(--white);
        padding: 30px 0;
    }

    .region-content {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-areas:
            "heading heading estates apartments"
            "manors kerala copy copy";
        gap: var(--content-gap);
        align-items: start;
    }

    .region-heading {
        grid-area: heading;
        padding-top: 0;
    }

    .region-heading h2 {
        max-width: 610px;
        font-size: 36px;
    }

    .region-card-estates {
        grid-area: estates;
    }

    .region-card-apartments {
        grid-area: apartments;
    }

    .region-card-manors {
        grid-area: manors;
    }

    .region-card-kerala {
        grid-area: kerala;
    }

    .region-copy {
        grid-area: copy;
        align-self: end;
        max-width: 430px;
        padding: 0;
    }

    .region-copy p {
        font-size: 16px;
        line-height: 26px;
    }

    .region-card h3 {
        font-size: 16px;
        line-height: 26px;
    }

    .project-showcase-inner {
        gap: 30px;
    }

    .project-showcase-head {
        grid-template-columns: 0.75fr 1fr;
        gap: 60px;
    }

    .project-showcase-head h2 {
        font-size: 36px;
    }

    .project-tabs {
        gap: 36px;
    }

    .project-tab {
        font-size: 16px;
        line-height: 26px;
    }

    .project-showcase-body {
        grid-template-columns: 150px 1fr;
        gap: 34px;
    }

    .project-showcase-mark {
        top: 0;
        width: 126px;
    }

    .project-slider-controls {
        padding-bottom: 84px;
    }

    .project-slide > img {
        aspect-ratio: 16 / 8;
    }

    .project-slide-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 8px;
        font-size: 16px;
        line-height: 26px;
    }

    .project-slide-meta > span:nth-child(2) {
        justify-self: center;
        text-align: center;
    }

    .project-slide-meta a {
        font-size: 16px;
        line-height: 26px;
        justify-self: end;
    }

    .home-testimonials-section {
        margin-bottom: 30px;
        box-shadow: 0 -30px 0 var(--white), 0 30px 0 var(--white);
    }

    body[data-page="home"] .home-enquiry-section {
        padding: 30px 0 30px;
    }

    body[data-page="home"] .home-featured-articles-section {
        padding: 30px 0 60px;
        background: #F4EEE3;
    }

    .testimonials-inner {
        grid-template-columns: 1fr 0.94fr 1fr;
        gap: 20px;
        align-items: center;
    }

    .testimonials-center {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        min-height: 100%;
        align-self: end;
        order: 0;
    }

    .testimonial-photo-left,
    .testimonial-photo-right {
        grid-row: auto;
    }

    .testimonial-stars {
        width: 156px;
    }

    .testimonial-card {
        padding: 42px 38px 30px;
    }

    .testimonial-copy p {
        font-size: 16px;
        line-height: 26px;
    }

    .testimonial-author strong,
    .testimonial-author em {
        font-size: 14px;
        line-height: 24px;
    }

    .enquiry-inner {
        gap: 40px;
    }

    .enquiry-form {
        width: min(100%, 1040px);
        gap: 22px 64px;
    }

    .form-field label {
        font-size: 16px;
        line-height: 26px;
        font-weight: 500;
    }

    .enquiry-submit,
    .articles-view-all {
        font-size: 16px;
        line-height: 26px;
    }

    .featured-article-card time {
        font-size: 14px;
        line-height: 24px;
    }

    .featured-article-card p {
        font-size: 14px;
        line-height: 24px;
    }

    .featured-article-card > a {
        font-size: 14px;
        line-height: 24px;
    }

    .featured-article-title {
        font-size: 18px;
        line-height: 28px;
    }

    .hero-content {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
        max-width: none;
        text-align: left;
    }

    .hero-content h1 {
        max-width: 590px;
        margin-right: 0;
        margin-left: 0;
    }

    .eyebrow {
        font-size: 36px;
        line-height: 46px;
    }

    .hero-bottom-line em {
        font-size: 36px;
        line-height: 46px;
    }

}

/* Home responsive refinements */
@media (max-width: 767px) {
    .home-about-section {
        padding: var(--section-space) 0;
    }

    .about-image-card {
        top: 0;
        margin: 0 auto;
    }

    .about-copy {
        max-width: 620px;
        padding-bottom: 0;
    }

    .home-reputation-section {
        min-height: 85vh;
    }

    .hero-section {
        min-height: 100svh;
        min-height: 100dvh;
        align-items: end;
        padding-top: clamp(96px, 18svh, 145px);
        padding-bottom: 0;
        background-position: center;
    }

    .hero-bottom-line,
    .hero-content h1 .hero-bottom-line > span,
    .hero-content h1 .hero-bottom-line > em,
    .hero-bottom-line em .text-split-word {
        white-space: normal;
    }

    .hero-content h1 .hero-bottom-line > em {
        display: block;
        max-width: 92vw;
    }

    .hero-bottom-line em {
        font-size: clamp(20px, 8vw, 26px);
        line-height: 1.15;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 767px) {
    .hero-content .eyebrow,
    .hero-content .hero-bottom-line em {
        font-size: 18px;
        line-height: 28px;
    }

    .hero-content h1 {
        white-space: nowrap;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .hero-content .eyebrow,
    .hero-content .hero-bottom-line em {
        font-size: 26px;
        line-height: 36px;
    }
}

/* Final mobile and tablet safeguards */
@media (max-width: 767px) {
    .home-about-section,
    .home-collection-section,
    .home-region-section,
    .home-project-showcase,
    .home-testimonials-section,
    .home-enquiry-section,
    .home-featured-articles-section {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .home-reputation-section {
        margin-top: 0;
        margin-bottom: 15px;
    }

    .home-collection-section,
    .home-collection-section .collection-heading,
    .home-collection-section .collection-card {
        text-align: left;
    }

    #featured-articles-heading {
        text-align: left;
    }

    .home-featured-articles-section .featured-articles,
    .home-featured-articles-section .featured-articles-grid {
        gap: var(--content-gap);
    }

    .home-featured-articles-section .featured-article-card {
        gap: var(--text-gap);
        padding-bottom: 0;
    }

    .home-featured-articles-section .featured-article-card :where(time, .featured-article-title, p, a) {
        margin-top: 0;
        margin-bottom: 0;
    }

    .home-featured-articles-section .articles-view-all {
        justify-self: start;
    }

    .region-skyline {
        width: 100%;
    }

    .region-skyline img {
        width: 140%;
        margin-left: -20%;
        filter: contrast(1.2);
    }

    .hero-content h1,
    .hero-content h1 .hero-bottom-line,
    .hero-content h1 .hero-bottom-line > span,
    .hero-content h1 .hero-bottom-line > em {
        white-space: normal;
    }

    .home-about-grid,
    .collection-grid,
    .region-content,
    .testimonials-inner,
    .enquiry-form,
    .featured-articles-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-image-card,
    .region-card,
    .project-slide img,
    .testimonial-photo,
    .featured-article-card img {
        max-width: 100%;
    }

    .project-showcase-head,
    .project-showcase-body,
    .project-slide-meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: flex-start;
        gap: 8px;
        padding: 0;
        overflow: visible;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .project-tab {
        flex: 0 0 auto;
        width: 100%;
        min-height: 40px;
        padding: 7px 10px;
        border: 1px solid rgba(0, 0, 0, 0.16);
        border-radius: 2px;
        background: #f8f8f8;
        color: rgba(0, 0, 0, 0.6);
        line-height: 22px;
        text-align: center;
        white-space: normal;
    }

    .project-showcase-inner {
        gap: 18px;
    }

    .project-showcase-head {
        gap: 12px;
        text-align: left;
    }

    .project-tab.is-active {
        border-color: var(--primary);
        background: var(--primary);
        color: #000;
    }

    .project-showcase-body {
        gap: 12px;
    }

    .project-slide.is-active {
        gap: 0;
        border: 1px solid rgba(0, 0, 0, 0.1);
        background: #fff;
        overflow: hidden;
    }

    .project-slide > img {
        aspect-ratio: 4 / 3;
    }

    .project-slide-meta {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 14px;
        text-align: left;
    }

    .project-slide-meta > span:first-child {
        font-family: var(--heading-font);
        font-size: 18px;
        line-height: 28px;
    }

    .project-slide-meta a {
        min-height: 36px;
        margin-top: 6px;
        padding: 6px 16px;
        font-size: 14px;
        line-height: 24px;
    }

    .project-slider-controls {
        justify-content: center;
        gap: 8px;
    }

    .project-slider-controls button {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .enquiry-inner {
        gap: 24px;
    }

    .enquiry-form {
        gap: 15px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .collection-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: var(--text-gap);
        justify-items: start;
        text-align: left;
    }

    .collection-card img {
        margin-bottom: 0;
    }

    .collection-card-head {
        display: contents;
    }

    .collection-card-head h3 {
        order: 1;
        text-align: left;
    }

    .collection-kicker {
        order: 2;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 24px;
        font-weight: 500;
        text-align: left;
    }

    .collection-card > p:last-child {
        order: 3;
        text-align: left;
    }

    .collection-card-head a {
        order: 4;
        justify-self: start;
    }

    .home-about-section,
    .home-collection-section,
    .home-region-section,
    .home-project-showcase,
    .home-testimonials-section,
    .home-enquiry-section,
    .home-featured-articles-section {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .home-about-grid {
        grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
        gap: 30px;
        align-items: center;
    }

    .about-image-card {
        top: -140px;
        width: 100%;
        max-width: 380px;
        margin: 0;
        aspect-ratio: 0.92 / 1;
    }

    .about-watermark {
        top: 330px;
        width: 90px;
        transform: translateX(-18px);
    }

    .about-copy {
        max-width: none;
        padding-top: 0;
        padding-bottom: 0;
    }

    .about-marquee {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 24px;
    }

    .project-tabs {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }

    .project-tab {
        flex: 0 0 auto;
    }

    .project-showcase-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        align-items: start;
    }

    .project-showcase-body {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        align-items: stretch;
    }

    .project-showcase-mark {
        display: none;
    }

    .project-slider-controls {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        order: 2;
        margin-top: 4px;
        padding-bottom: 0;
    }

    .project-slider-controls button {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .project-slide-meta {
        gap: 12px;
    }

    .project-slide-meta a {
        min-height: 32px;
        padding: 4px 12px;
    }

    .testimonials-inner {
        grid-template-columns: 1fr 0.94fr 1fr;
        gap: 20px;
        align-items: center;
    }

    .testimonials-center {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        min-height: 100%;
        order: 0;
    }

    .testimonial-photo-left,
    .testimonial-photo-right {
        grid-row: auto;
    }

    .testimonial-card {
        padding: 22px 18px;
    }

    .collection-card a {
        min-height: 32px;
        padding: 4px 12px;
        font-size: 14px;
        line-height: 22px;
    }

    .enquiry-heading {
        display: grid;
        gap: 15px;
    }

    .enquiry-heading h2 {
        margin-bottom: 0;
    }

    .enquiry-inner {
        gap: 32px;
    }

    .enquiry-form {
        width: min(100%, 1040px);
        gap: 22px 40px;
    }
}

/* Responsive typography */
@media (max-width: 767px) {
    .form-field input {
        min-height: 15px;
    }

    .collection-kicker,
    .reputation-stats span,
    .region-card figcaption,
    .testimonials-heading p,
    .testimonial-author strong,
    .testimonial-author em {
        font-size: 16px;
        line-height: 26px;
    }

    .about-lead {
        font-size: 18px;
        line-height: 28px;
    }

    .reputation-heading p,
    .collection-heading p {
        font-size: 14px;
        line-height: 24px;
    }

    .about-marquee {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        height: clamp(22px, 6vw, 36px);
        margin-top: var(--content-gap);
        padding: 0 12px;
        box-sizing: border-box;
    }

    .about-marquee span {
        font-size: clamp(20px, 5.8vw, 36px);
        line-height: 1;
        transform: scaleX(0.92);
    }

    .reputation-stats strong {
        font-size: clamp(36px, 12vw, 48px);
        line-height: 1.15;
    }

    .collection-card h3 {
        font-size: 18px;
        line-height: 28px;
    }

    .region-card h3 {
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        text-align: left;
    }

    .collection-card a {
        min-height: 36px;
        padding: 6px 16px;
        font-size: 14px;
        line-height: 24px;
    }

    .about-copy h2,
    .reputation-heading h2,
    .collection-heading h2,
    .region-heading h2,
    .project-showcase-head h2,
    .testimonials-heading h2,
    .enquiry-heading h2,
    .featured-articles-heading h2 {
        font-size: 18px;
        line-height: 28px;
    }

    #region-heading {
        font-size: 18px;
        line-height: 28px;
    }

    .about-copy p,
    .collection-card > p:last-child,
    .region-copy p,
    .project-tab,
    .project-slide-meta,
    .project-slide-meta a,
    .enquiry-heading p {
        font-size: 14px;
        line-height: 24px;
    }

    .featured-article-title {
        font-size: 16px;
        line-height: 26px;
    }

    .about-button {
        min-width: 100px;
        min-height: 36px;
        margin-top: 16px;
        padding: 6px 16px;
        font-size: 14px;
        line-height: 24px;
    }

    .enquiry-submit,
    .articles-view-all {
        min-height: 36px;
        padding: 6px 16px;
        font-size: 14px;
        line-height: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .about-marquee {
        width: 100%;
        height: clamp(44px, 5.6vw, 66px);
        padding: 0 20px;
        box-sizing: border-box;
    }

    .about-marquee span {
        font-size: clamp(44px, 5.6vw, 66px);
        line-height: 1;
        transform: scaleX(0.92);
    }

    .about-copy h2,
    .reputation-heading h2,
    .collection-heading h2,
    .collection-card h3,
    .region-card h3,
    .region-heading h2,
    .project-showcase-head h2,
    .testimonials-heading h2,
    .enquiry-heading h2,
    .featured-articles-heading h2 {
        font-size: 26px;
        line-height: 36px;
    }

    .about-lead {
        font-size: 16px;
        line-height: 26px;
    }

    .about-copy p,
    .reputation-heading p,
    .collection-heading p,
    .collection-card > p:last-child,
    .region-copy p,
    .testimonial-copy p,
    .featured-article-card p,
    .enquiry-heading p {
        font-size: 14px;
        line-height: 24px;
    }
}

/* Consistent viewport usage on mobile and tablet */
@media (max-width: 1199px) {
    .hero-content,
    .home-about-grid,
    .reputation-content,
    .collection-content,
    .region-content,
    .project-showcase-inner,
    .testimonials-inner,
    .enquiry-inner,
    .home-featured-articles-section .featured-articles {
        width: 95%;
        max-width: none;
        margin-right: auto;
        margin-left: auto;
    }
}

/* Enquiry headings align left on mobile and tablet. */
@media (max-width: 1199px) {
    .home-enquiry-section .enquiry-heading,
    .home-enquiry-section .enquiry-heading :where(h2, p) {
        text-align: left;
    }

    .home-enquiry-section .enquiry-submit {
        justify-self: start;
        align-self: start;
    }
}

/* Shared infinite carousel behavior for the home testimonial section. */
.detail-testimonials-section {
    overflow: hidden;
    cursor: grab;
    outline: none;
    touch-action: pan-y;
}

.detail-testimonials-section:active {
    cursor: grabbing;
}

.detail-testimonials-section .testimonials-inner {
    width: max-content;
    max-width: none;
    display: flex;
    align-items: flex-end;
    gap: 32px;
    margin: 0;
    transform: translate3d(0, 0, 0);
    transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.detail-testimonials-section .testimonials-inner.is-jumping {
    transition: none;
}

.detail-testimonials-section .testimonials-inner > * {
    width: min(29vw, 554px);
    min-width: min(29vw, 554px);
    flex: 0 0 min(29vw, 554px);
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    padding: 0;
    user-select: none;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .detail-testimonials-section .testimonials-inner {
        gap: 24px;
    }

    .detail-testimonials-section .testimonials-inner > * {
        width: 68vw;
        min-width: 68vw;
        flex-basis: 68vw;
    }
}

@media (max-width: 767px) {
    .detail-testimonials-section .testimonials-inner {
        gap: 16px;
    }

    .detail-testimonials-section .testimonials-inner > * {
        width: 86vw;
        min-width: 86vw;
        flex-basis: 86vw;
    }
}

/* Home testimonial: maintain space between its heading and content card. */
body[data-page="home"] .home-testimonials-section .testimonials-center {
    row-gap: 30px;
}

body[data-page="home"] .home-testimonials-section .testimonial-card {
    margin-top: 0;
}

@media (min-width: 768px) and (max-width: 1199px) {
    body[data-page="home"] .home-testimonials-section .testimonials-center {
        row-gap: 24px;
    }
}

@media (max-width: 767px) {
    body[data-page="home"] .home-testimonials-section .testimonials-center {
        row-gap: 20px;
    }
}

/* Home testimonial visual treatment matches the hospitality project carousel. */
body[data-page="home"] .home-testimonials-section .testimonials-inner > * {
    aspect-ratio: 554 / 766;
    align-self: stretch;
}

body[data-page="home"] .home-testimonials-section .testimonial-photo {
    position: relative;
}

body[data-page="home"] .home-testimonials-section .testimonial-photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

body[data-page="home"] .home-testimonials-section .testimonial-photo-left::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent 55%, rgb(0 0 0 / 40%));
}

body[data-page="home"] .home-testimonials-section .testimonials-center {
    min-height: 0;
    display: grid;
    align-content: space-between;
}

body[data-page="home"] .home-testimonials-section .detail-testimonial-stars {
    width: 210px;
    margin: 0 auto 30px;
}

body[data-page="home"] .home-testimonials-section .testimonials-title-block {
    gap: 0;
}

body[data-page="home"] .home-testimonials-section .testimonials-heading h2 {
    margin: 0;
    font-size: 36px;
    line-height: 46px;
    letter-spacing: 1.08px;
}

body[data-page="home"] .home-testimonials-section .testimonials-heading p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}

body[data-page="home"] .home-testimonials-section .testimonial-card {
    width: 100%;
    aspect-ratio: 553 / 407;
    padding: 48px 42px 38px;
    align-content: center;
    background: #f8f8f8;
}

body[data-page="home"] .home-testimonials-section .testimonial-copy p {
    margin: 0 0 44px;
    font-size: 16px;
    line-height: 26px;
}

body[data-page="home"] .home-testimonials-section .testimonial-author {
    gap: 32px;
}

body[data-page="home"] .home-testimonials-section .testimonial-avatar {
    width: 80px;
    height: 80px;
    background: transparent;
}

body[data-page="home"] .home-testimonials-section .testimonial-author > span:last-child {
    display: grid;
    gap: 12px;
}

body[data-page="home"] .home-testimonials-section .testimonial-author strong,
body[data-page="home"] .home-testimonials-section .testimonial-author em {
    font-size: 14px;
    line-height: 16px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    body[data-page="home"] .home-testimonials-section .detail-testimonial-stars {
        width: 140px;
        margin-bottom: 16px;
    }

    body[data-page="home"] .home-testimonials-section .testimonial-card {
        padding: 24px;
    }

    body[data-page="home"] .home-testimonials-section .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 767px) {
    body[data-page="home"] .home-testimonials-section {
        padding: 15px 0;
    }

    body[data-page="home"] .home-testimonials-section .testimonials-center {
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
    }

    body[data-page="home"] .home-testimonials-section .detail-testimonial-stars {
        width: 150px;
        margin-bottom: 16px;
    }

    body[data-page="home"] .home-testimonials-section .testimonials-heading h2 {
        font-size: 18px;
        line-height: 28px;
        letter-spacing: 0;
    }

    body[data-page="home"] .home-testimonials-section .testimonials-heading p {
        margin-top: 4px;
        font-size: 14px;
        line-height: 24px;
    }

    body[data-page="home"] .home-testimonials-section .testimonial-card {
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        padding: 24px 20px;
    }

    body[data-page="home"] .home-testimonials-section .testimonial-copy p {
        margin-bottom: 24px;
        font-size: 14px;
        line-height: 24px;
        text-align: center;
    }

    body[data-page="home"] .home-testimonials-section .testimonial-author {
        gap: 16px;
    }

    body[data-page="home"] .home-testimonials-section .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
}
