﻿@media (max-width: 1400px) {
    /* .site-header { padding-inline: 7.6vw; } */
}

@media (max-width: 1200px) {
    :root {
        --container: 960px;
    }

    .site-header {
        padding-inline: 36px;
    }

    .main-nav {
        gap: 26px;
    }

    .connectivity-layout {
        grid-template-columns: .82fr 1.18fr;
        gap: 34px;
    }

    .connect-row {
        grid-template-columns: 34px auto minmax(44px, 1fr) auto;
        gap: 14px;
    }

    .connect-row h3 {
        font-size: 22px;
    }

    .connect-row strong span {
        font-size: 12px;
    }

    .weekends .site-container {
        width: min(1060px, calc(100% - 56px));
    }

    .weekend-grid {
        grid-template-columns: 290px 360px 270px;
        gap: 28px;
        justify-content: space-between;
    }

    .weekend-main {
        height: 430px;
    }

    .weekend-side {
        height: 340px;
    }

    .weekend-copy p {
        font-size: 14px;
        line-height: 1.85;
    }

    .address-row {
        gap: 48px;
    }

    .amenity-card {
        height: 324px;
    }

    .amenity-card.tall {
        height: 384px;
    }
}

@media (max-width: 991px) {
    .site-container {
        width: min(760px, calc(100% - 40px));
    }

    .section-gap {
        padding: 88px 0;
    }

    .site-header {
        height: 74px;
        padding-inline: 22px;
        grid-template-columns: auto 1fr;
        column-gap: 20px;
    }

    .site-header.scrolled {
        height: 66px;
    }

    .brand {
        width: 82px;
    }

    .main-nav,
    .header-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
        margin-left: auto;
    }

    .hero {
        margin-top: 74px;
    }

    .weekend-grid {
        grid-template-columns: .85fr 1.15fr;
        align-items: end;
        margin-top: 64px;
    }

    .weekend-side {
        display: none;
    }

    .weekend-copy {
        order: 2;
    }

    .address-row {
        grid-template-columns: 1fr;
        margin-top: 82px;
    }

    .story-img {
        height: 420px;
    }

    .tardeo-strip {
        align-items: center;
    }

    .strip-content {
        width: min(760px, calc(100% - 40px));
        margin: 0 auto;
        text-align: right;
        justify-items: end;
    }

    .strip-content h2 {
        white-space: normal;
    }

    .number-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 54px;
    }

    .section-head,
    .connectivity-head,
    .floor-head {
        display: block;
    }

    .section-head .amenities-copy,
    .floor-head>div,
    .connectivity-head p {
        width: 100%;
        margin-left: 0;
    }

    .section-head p,
    .connectivity-head p,
    .floor-head p {
        margin: 24px 0 0;
        max-width: 560px;
        font-size: 18px;
    }

    .amenities-scroll-zone,
    .amenities-sticky-stage {
        position: relative;
        top: auto;
        min-height: 0;
    }

    .amenities-slider {
        position: static;
        display: flex;
        margin-top: 58px;
        padding-inline: 20px;
    }

    .amenity-card,
    .amenity-card.tall {
        height: 350px;
        margin: 0;
        flex: 0 0 58vw;
        min-width: 390px;
    }

    .meeting-panel {
        grid-template-columns: 1fr;
    }

    .meeting-panel img {
        min-height: 300px;
        order: -1;
    }

    .connectivity-head .giant-title,
    .floor-head .giant-title {
        white-space: normal;
        transform: none;
        font-size: 40px;
    }

    .connectivity-layout {
        grid-template-columns: 1fr;
        gap: 38px;
        margin-top: 54px;
    }

    .connectivity-map,
    .connectivity-map iframe {
        min-height: 360px;
    }

    .connect-row {
        grid-template-columns: 34px auto minmax(44px, 1fr) auto;
        gap: 14px;
        min-height: 68px;
    }

    .connect-row h3 {
        white-space: normal;
    }

    .floor-head>div {
        width: 100%;
        margin-left: 0;
    }

    .floor-parh {
        position: static;
    }

    .floor-plans-grid {
        width: min(760px, calc(100% - 40px));
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .enquiry-form {
        max-width: 620px;
        margin-inline: auto;
    }

    .footer-text {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .site-container {
        width: calc(100% - 32px);
    }

    .section-gap {
        padding: 72px 0;
    }

    .hero h1 {
        font-size: 27px;
    }

    .hero-cta {
        min-width: 156px;
        min-height: 46px;
        font-size: 14px;
    }

    .giant-title {
        font-size: 62px;
        line-height: .83;
    }

    .weekend-grid {
        grid-template-columns: 1fr;
        margin-top: 46px;
    }

    .weekend-copy {
        order: 3;
    }

    .weekend-copy p {
        max-width: none;
    }

    .weekend-main {
        height: 410px;
    }

    .story-img {
        height: 310px;
    }

    .story-copy h3 {
        font-size: 34px;
    }

    .tardeo-strip {
        min-height: 310px;
    }

    .numbers {
        padding: 62px 0;
    }

    .number-grid {
        gap: 38px 12px;
    }

    .number-grid strong {
        font-size: 58px;
    }

    .number-grid span {
        font-size: 10px;
    }

    .amenity-card::after,
    .amenity-card span {
        opacity: 1;
        transform: none;
    }

    .bhk-toggle {
        margin-top: 48px;
    }

    .meeting-panel>div {
        padding: 34px 26px;
    }

    .meeting-panel img {
        min-height: 250px;
    }

    .connectivity-map,
    .connectivity-map iframe {
        min-height: 300px;
    }

    .connect-row {
        grid-template-columns: 28px 1fr auto;
        gap: 10px 12px;
        min-height: 76px;
        padding: 12px 0;
    }

    .connect-line {
        grid-column: 2 / -1;
        grid-row: 2;
    }

    .connect-row strong {
        grid-column: 3;
        grid-row: 1;
        font-size: 15px;
        gap: 6px;
    }

    .connect-row strong span {
        font-size: 11px;
    }

    .connect-row h3 {
        font-size: 20px;
    }

    .floor-plan {
        padding-top: 70px;
        padding-bottom: 96px;
    }

    .floor-plans-grid {
        width: calc(100% - 32px);
        gap: 18px;
    }

    .amenity-card,
    .amenity-card.tall {
        flex-basis: calc(100vw - 44px);
        min-width: 0;
    }

    .footer-brand img {
        width: 104px;
    }

    .site-footer h2 {
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 38px;
    }

    .qr-row {
        gap: 12px;
    }

    .qr-row img {
        width: 70px;
    }

    .qr-modal-content {
        padding: 36px 20px 30px;
    }

    .qr-modal-row {
        gap: 14px;
    }

    .qr-modal-row img {
        width: 112px;
    }

    .enquiry-form {
        padding: 27px 21px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-text {
        font-size: 12px;
        line-height: 1.7;
    }

    .back-top {
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 575px) {
    .site-header {
        height: 66px;
    }

    .site-header.scrolled {
        height: 60px;
    }

    .brand {
        width: 74px;
    }

    .hero {
        margin-top: 0px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-cta {
        min-width: 142px;
        min-height: 42px;
        padding-inline: 24px;
        font-size: 13px;
    }

    .giant-title {
        font-size: 52px;
    }

    .weekend-main {
        height: 365px;
    }

    .address-row {
        margin-top: 62px;
    }

    .story-img {
        height: 270px;
    }

    .story-copy h3 {
        font-size: 30px;
    }

    .section-head {
        gap: 20px;
    }

    .amenity-card,
    .amenity-card.tall {
        height: 330px;
    }

    .meeting-panel h3 {
        font-size: 30px;
    }

    .floor-head p,
    .section-head p,
    .connectivity-head p {
        font-size: 15px;
    }

    .weekend-copy p,
    .story-copy p {
        font-size: 12px;
    }

    .footer-text {
        font-size: 11px;
    }
}

@media (max-width: 375px) {
    .site-container {
        width: calc(100% - 26px);
    }

    .giant-title {
        font-size: 45px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .weekend-main {
        height: 318px;
    }

    .amenity-card,
    .amenity-card.tall {
        height: 294px;
    }

    .number-grid strong {
        font-size: 50px;
    }

    .meeting-panel>div {
        padding-inline: 20px;
    }

    .qr-row img {
        width: 62px;
    }

    .qr-modal-row {
        flex-wrap: wrap;
    }

    .qr-modal-row img {
        width: 96px;
    }
}

@media (max-width: 767px) {
    .weekends .giant-title span:first-child {
        font-size: 30px;
    }

    .weekends .giant-title span:last-child {
        font-size: 45px;
    }

    .giant-title {
        line-height: 1;
        font-size: 45px;
    }

    .weekend-copy .theme-btn,
    .strip-content .theme-btn.light {
        margin-top: 0px;
        min-width: 139px;
        min-height: 35px;
        font-size: 12px;

    }

    /* .theme-btn::after {
        top: 21px;
        right: -5px;
        bottom: -15px;
        width: 1px;
    }
        .theme-btn::before {
        left: 28px;
        right: -13px;
        bottom: -7px;
        height: 1px;
    } */

    .theme-btn {
        min-height: 40px;
        padding: 0 15px;
        font-size: 13px;

    }

    .amenities-copy button {
        margin-top: 20px;
        font-size: 10px;
        min-height: 34px;
    }

    .header-btn {
        min-height: 28px;
        min-width: 97px;
        padding: 0 5px;
        font-size: 10px;
    }

    .header-btn::after,
    .header-btn::before {
        display: none;
    }

    .brand {
        width: 75px;
    }
    .hero-media { 
    width: 800px; 
}

    .hero-cta {
        min-width: 132px;
        min-height: 36px;
        padding-inline: 20px;
        font-size: 12px;
    }

    .hero-inner {
        gap: 15px;
    }

    .section-gap {
        padding: 40px 0;
    }

    .weekend-grid {
        grid-template-columns: 1.75fr 1.40fr;
        margin-top: 20px;
        gap: 20px;
    }

    .weekend-grid> :first-child {
        grid-column: 1 / -1;
    }

    .weekend-copy p,
    .story-copy p {
        font-size: 14px;
        line-height: 1.6;
    }

    .address-row {
        margin-top: 10px;
    }

    .address-row {
        gap: 20px;
    }

    .story-copy h3 {
        font-size: 26px;
        margin: 0 0 15px;
    }

    .strip-content h2 {
        font-size: 22px;
    }

    .strip-content p {
        font-size: 17px;
    }

    .numbers {
        padding: 40px 0;
        padding-bottom: 20px;
    }

    .number-grid article {
        gap: 0px;
    }

    .number-grid strong {
        font-size: 70px;
    }

    .number-grid span {
        font-size: 14px;
    }

    .bhk-tabs {
        margin-top: 40px;
    }

    .bhk-toggle {
        margin: 0 auto 20px;
    }

    .bhk-toggle label {
        font-size: 19px;
    }

    .meeting-panel h3 {
        font-size: 27px;
        margin: 0 0 15px;
    }

    .meeting-panel p {
        margin: 0 0 20px;
    }

    .floor-plan {
        padding-top: 30px;
    }

    .footer-brand img {
        width: 200px;
    }

    .site-footer h2 {
        margin-bottom: 10px;
        margin-top: 0;
    }

    .enquiry-form h3 {
        margin: 0 0 13px;
        font-weight: 400;
        font-size: 20px;
        letter-spacing: .1em;
    }

    .amenity-card,
    .amenity-card.tall {
        height: auto;
    }

    .footer-text p {
        font-size: 10px;
    }

}

@media (max-width: 991px) {
    #highlights.weekends {
        padding-block: 34px 72px;
    }

    #highlights.weekends .site-container {
        width: min(760px, calc(100% - 40px));
        padding-inline: 0;
    }

    #highlights .address-row {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    #highlights .story-copy {
        min-height: 0;
        padding: 0;
    }

    #highlights .story-copy-grid {
        margin-top: 48px;
    }

    #highlights .story-visual {
        height: min(620px, 72vw);
        min-height: 360px;
    }
}

@media (max-width: 767px) {
    #highlights.weekends .site-container {
        width: calc(100% - 32px);
    }

    #highlights .story-kicker {
        margin-bottom: 24px;
        font-size: 10px;
    }

    #highlights .story-copy h3 {
        font-size: clamp(48px, 8vw, 78px);
        line-height: .94;
    }
    

    #highlights .story-copy-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 20px;
    }

        #highlights .story-copy { 
        height: auto;
    }
    #highlights .story-copy-grid p {
        font-size: 14px;
        line-height: 1.65;
    }

    #highlights .story-link {
        gap: 30px;
        margin-top: 38px;
        font-size: 11px;
    }

    #highlights .story-visual {
        height: 110vw;
        min-height: 320px;
        max-height: 560px;
    }
}

@media (max-width: 991px) {
    .stats-strip {
        min-height: 440px;
        padding: 90px 0;
    }

    .stats-panel {
        width: calc(100% - 56px);
        padding: 22px 16px;
    }

    .stats-panel .number-grid article {
        min-height: 108px;
        padding: 0 12px;
    }

    .stats-panel .number-grid strong {
        font-size: clamp(38px, 6vw, 54px);
    }

    .stats-panel .number-grid span {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .stats-strip {
        min-height: 430px;
        padding: 62px 0;
    }

    .stats-panel {
        width: calc(100% - 32px);
        padding: 18px 8px;
    }

    .stats-panel .number-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-panel .number-grid article {
        min-height: 104px;
        padding: 12px 8px;
    }

    .stats-panel .number-grid article:nth-child(2) {
        border-right: 0;
    }

    .stats-panel .number-grid article:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(249, 242, 223, .42);
    }

    .stats-panel .number-grid strong {
        font-size: 42px;
    }

    .stats-panel .number-grid span {
        font-size: 10px;
    }
}

@media (max-width: 991px) {
    .amenities .section-head {
        align-items: flex-start;
    }

    .amenities-title {
        width: 100%;
    }

    .amenities .giant-title {
        font-size: clamp(58px, 10vw, 86px);
    }

    .amenities .section-head .amenities-copy {
        width: 100%;
        padding-bottom: 0;
    }

    .amenities-slider {
        margin-top: 54px;
        padding-inline: 20px;
    }

    .amenity-card,
    .amenity-card.tall,
    .amenity-card.is-active,
    .amenity-card.is-preview {
        flex-basis: 58vw;
        height: 350px;
        min-width: 390px;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .amenities-kicker {
        margin-bottom: 18px;
    }

    .amenities .giant-title {
        font-size: clamp(48px, 12vw, 76px);
    }
     .amenities .giant-title br{
        display: none;
     }
        .amenities .giant-title em{
            margin-left: 10px;
        }

    .amenities .section-head .amenities-copy p {
        font-size: 14px;
        line-height: 1.65;
    }

    .amenities-slider {
        margin-top: 42px;
        padding-inline: 16px;
    }

    .amenity-card,
    .amenity-card.tall,
    .amenity-card.is-active,
    .amenity-card.is-preview {
        flex-basis: calc(100vw - 44px);
        min-width: 0;
        height: 330px;
    }

    .floor-cta {
        margin-top: 34px;
    }
        .site-header {
        height: 83px;
    }
        .vision-quote {
        padding: 80px 0px;
    }
        .vision-quote blockquote {
        font-size: clamp(34px, 7vw, 52px);
    }
        .residences-panel h2 {
        font-size: clamp(33px, 3vw, 70px);
        margin: 0 0 10px;
    }
        .amenities-intro-title {
        font-size: clamp(48px, 11vw, 76px);
    }
    #connectivity .connectivity-title {
        font-size: clamp(38px, 2vw, 82px); 
    }
        .site-footer > .site-container > h2 {
        font-size: clamp(40px, 5vw, 94px);
                margin: 24px 0 5px;
    }
        .site-footer>.site-container>h2 em {
        margin-left: 95px;
    }
     .site-footer .footer-description {
        margin-left: 00px;
    }
    .site-footer .footer-brand { 
    justify-content: center;
}
    .site-footer .footer-rera {
        margin-top: 20px;
    }
    #highlights .story-copy h3 br:nth-of-type(1) {
  
}

#highlights .story-copy h3 br:nth-of-type(2) {
   display: none;
}
#highlights .story-copy h3 em{
    margin-left: 10px;
}
}
/* Private Rituals: preserve space between copy and the two-card carousel. */
@media (max-width: 991px) {
  .amenities .section-head {
    display: block;
    min-height: 0;
  }

  .amenities .section-head .amenities-copy {
    width: 100%;
    margin-top: 36px;
  }

  .amenities-slider {
    position: relative;
    display: block;
    width: calc(100% - 40px);
    height: 350px;
    margin: 54px 0 0 20px;
    padding: 0;
    overflow: hidden;
  }

  .amenities-slider .amenity-card.is-active {
    position: absolute;
    top: 0;
    left: 0;
    width: 64%;
    height: 350px;
    margin: 0;
  }

  .amenities-slider .amenity-card.is-preview {
    position: absolute;
    top: 60px;
    left: calc(64% + 10px);
    width: calc(36% - 10px);
    height: 230px;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .amenities .section-head .amenities-copy {
    margin-top: 10px;
  }

  .amenities-slider {
    width: calc(100% - 32px);
    height: 290px;
    margin: 42px 0 0 16px;
  }

  .amenities-slider .amenity-card.is-active {
    width: 64%;
    height: 290px;
  }

  .amenities-slider .amenity-card.is-preview {
    top: 52px;
    left: calc(64% + 10px);
    width: calc(36% - 10px);
    height: 185px;
  }
}

/* Premium motion for the Private Rituals two-card carousel. */
.amenities-slider .amenity-card {
  will-change: left, top, width, height, opacity;
  transform: translateZ(0);
  transition:
    left .9s cubic-bezier(.22, .61, .36, 1),
    top .9s cubic-bezier(.22, .61, .36, 1),
    width .9s cubic-bezier(.22, .61, .36, 1),
    height .9s cubic-bezier(.22, .61, .36, 1),
    opacity .55s ease;
}

.amenities-slider .amenity-card.is-active,
.amenities-slider .amenity-card.is-preview,
.amenities-slider .amenity-card.is-leaving-left,
.amenities-slider .amenity-card.is-leaving-right,
.amenities-slider .amenity-card.is-entering-preview,
.amenities-slider .amenity-card.is-entering-active {
  display: block !important;
}

.amenities-slider .amenity-card.is-entering-preview {
  z-index: 2;
  left: calc(100% + 28px) !important;
  top: 86px !important;
  width: calc(35% - 8px) !important;
  height: 324px !important;
  opacity: 0;
}

.amenities-slider .amenity-card.is-leaving-left {
  z-index: 4;
  left: -70% !important;
  top: 0 !important;
  width: calc(65% - 8px) !important;
  height: 496px !important;
  opacity: 0;
}

.amenities-slider .amenity-card.is-entering-active {
  z-index: 4;
  left: -70% !important;
  top: 0 !important;
  width: calc(65% - 8px) !important;
  height: 496px !important;
  opacity: 0;
}

.amenities-slider .amenity-card.is-leaving-right {
  z-index: 2;
  left: calc(100% + 28px) !important;
  top: 86px !important;
  width: calc(35% - 8px) !important;
  height: 324px !important;
  opacity: 0;
}

@media (max-width: 991px) {
  .amenities-slider .amenity-card.is-entering-preview,
  .amenities-slider .amenity-card.is-leaving-right {
    top: 60px !important;
    width: calc(36% - 10px) !important;
    height: 230px !important;
  }

  .amenities-slider .amenity-card.is-leaving-left,
  .amenities-slider .amenity-card.is-entering-active {
    width: 64% !important;
    height: 350px !important;
  }
}

@media (max-width: 767px) {
  .amenities-slider .amenity-card.is-entering-preview,
  .amenities-slider .amenity-card.is-leaving-right {
    top: 52px !important;
    width: calc(36% - 10px) !important;
    height: 185px !important;
  }

  .amenities-slider .amenity-card.is-leaving-left,
  .amenities-slider .amenity-card.is-entering-active {
    width: 64% !important;
    height: 290px !important;
  }
}

/* Keep the preview vertically centred and allow drag from every part of an image. */
.amenities-slider,
.amenities-slider .amenity-card {
  cursor: grab;
}

.amenities-slider.is-dragging,
.amenities-slider.is-dragging .amenity-card {
  cursor: grabbing;
}

.amenities-slider .amenity-card img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.amenities-slider .amenity-card.is-preview {
  left: calc(65% + 8px) !important;
  top: 86px !important;
  width: calc(35% - 8px) !important;
  height: 324px !important;
}

@media (max-width: 991px) {
  .amenities-slider .amenity-card.is-preview {
    left: calc(64% + 10px) !important;
    top: 60px !important;
    width: calc(36% - 10px) !important;
    height: 230px !important;
  }
}

@media (max-width: 767px) {
  .amenities-slider .amenity-card.is-preview {
    left: calc(64% + 10px) !important;
    top: 52px !important;
    width: calc(36% - 10px) !important;
    height: 185px !important;
  }
}

/* Direct-size slides: the incoming main image never grows from the preview size. */
.amenities-slider .amenity-card {
  transition:
    left 2s cubic-bezier(.22, .61, .36, 1),
    top 2s cubic-bezier(.22, .61, .36, 1),
    opacity .5s ease;
}






/* Final statistics motion layer, loaded after all breakpoints. */
.stats-strip .stats-strip-bg {
  transform: scale(1.08) translate3d(0, 28px, 0);
  transform-origin: center;
  transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}

.stats-strip.is-motion-ready .stats-panel {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, 64px, 0);
}

.stats-strip.is-motion-ready .stats-panel .number-grid article {
  opacity: 0;
  transform: translate3d(0, 38px, 0);
}

.stats-strip.is-revealed .stats-strip-bg {
  transform: scale(1.08) translate3d(0, calc((var(--stats-progress) - .5) * 64px), 0);
  transition: none;
}

.stats-strip.is-revealed .stats-panel {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translate3d(0, 0, 0);
  transition: opacity 1.05s cubic-bezier(.16, 1, .3, 1), transform 1.05s cubic-bezier(.16, 1, .3, 1), clip-path 1.05s cubic-bezier(.16, 1, .3, 1);
}

.stats-strip.is-revealed .stats-panel .number-grid article {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .78s cubic-bezier(.16, 1, .3, 1), transform .78s cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .stats-strip .stats-strip-bg,
  .stats-strip.is-revealed .stats-strip-bg {
    transform: none;
    transition: none;
  }

  .stats-strip.is-motion-ready .stats-panel,
  .stats-strip.is-motion-ready .stats-panel .number-grid article {
    opacity: 1;
    clip-path: none;
    transform: none;
  }
}


/* Global Lenis scrolling: preserve native sticky and nested modal/slider behavior. */
html.lenis,
html.lenis body {
  height: auto;
}

html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: clip;
}


/* Statistics banner: compact, readable mobile stack. */
@media (max-width: 767px) {
  .stats-strip {
    min-height: 0;
    padding: 52px 0;
  }

  .stats-panel {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 8px 20px;
  }

  .stats-panel .number-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-panel .number-grid article,
  .stats-panel .number-grid article:nth-child(2) {
    min-height: 0;
    padding: 23px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(249, 242, 223, .34);
  }

  .stats-panel .number-grid article:last-child {
    border-bottom: 0;
  }

  .stats-panel .number-grid strong {
    max-width: 100%;
          font-size: 19px;
        line-height: 1.05;
        overflow-wrap: anywhere;
        text-align: initial;
  }

  .stats-panel .number-grid span {
    max-width: 31ch;
    font-size: 12px;
    line-height: 1.45;
  }
  .project-qr-grid .qr-card > span { 
    font-size: 11px; 
}
}


/* Keep the YouTube hero iframe full-bleed at every viewport size. */
.hero .hero-youtube {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%) scale(1.04);
}


/* Give the absolute YouTube iframe a real hero viewport. */
.hero {
  height: min(100vh, 56.25vw);
  min-height: 560px;
}

@media (max-width: 767px) {
  .hero {
    height: calc(100svh - 74px);
    min-height: 520px;
  }
}
