/* Match the visual density of a browser at 90% while keeping responsive views unchanged. */
@media (min-width: 1101px) {
  :root {
    zoom: 0.9;
  }

  /* Viewport-led scenes must still occupy the same visible screen height. */
  .cinematic-hero,
  .horizontal-sticky,
  .not-found {
    height: 111.111svh;
  }
  .editorial-scene,
  .scene-media,
  .communication-scene {
    min-height: 111.111svh;
  }
  .horizontal-story {
    height: 722.222vh;
  }
  .statement-scene {
    min-height: 116.667svh;
  }
  .club-feature {
    height: 122.222svh;
  }
  .inner-hero {
    min-height: 100svh;
  }

  /* Use the available height before reducing type in the horizontal-story panels. */
  .emirates-story-layout,
  .investment-story-layout,
  .mortgage-story-layout,
  .reforms-story-layout,
  .club-story-layout {
    padding-block: calc(var(--header-h) + 10vh) 3vh;
  }

  .emirates-story-panel,
  .investment-story-panel,
  .mortgage-story-panel,
  .reforms-story-panel,
  .club-story-panel {
    align-self: center;
    max-height: none;
    overflow: visible;
    padding: clamp(24px, 2vw, 38px);
  }

  /* Only vertical rhythm is tightened; typography keeps its original scale. */
  .investment-story-lead {
    margin-bottom: 18px;
    padding-top: 16px;
  }
  .investment-story-columns {
    gap: clamp(20px, 1.8vw, 34px);
  }
  .investment-story-columns > section + section {
    padding-left: clamp(20px, 1.8vw, 34px);
  }
  .investment-steps {
    gap: 10px;
  }
  .investment-sale {
    margin-top: 16px;
    padding-block: 14px;
  }
  .investment-story-actions {
    padding-top: 14px;
  }

  .mortgage-panel-heading,
  .reforms-panel-heading,
  .emirates-panel-heading {
    margin-bottom: 16px;
  }
  .mortgage-highlight {
    margin-block: 11px;
    padding-block: 13px;
  }
  .mortgage-process {
    margin-top: 14px;
    padding-top: 15px;
  }
  .mortgage-process ol {
    gap: 9px;
  }

  .reforms-story-panel > p {
    margin-bottom: 18px;
  }
  .reforms-feature {
    gap: 22px;
    padding-block: 20px;
  }
  .reforms-feature > div {
    padding-left: 20px;
  }
  .reforms-feature small {
    margin-bottom: 10px;
  }

  .emirates-business {
    margin-top: 16px;
  }
  .emirates-business > h4 {
    margin-bottom: 16px;
  }
  .emirates-business-columns {
    gap: clamp(20px, 2.2vw, 40px);
  }
  .emirates-business ol {
    gap: 13px;
  }

  .club-panel-kicker {
    margin-bottom: 25px;
  }
  .club-story-benefits {
    margin-top: 30px;
    padding-top: 21px;
  }
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .site-header {
    height: 74px;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-grid > div:nth-child(4) {
    grid-column: 2/4;
  }
  .hero-title {
    font-size: clamp(72px, 12.5vw, 135px);
  }
  .hero-bottom {
    margin-left: 8vw;
  }
  .section-head,
  .cycle-head {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-head .intro,
  .cycle-head .intro {
    justify-self: start;
  }
  .eco-node {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-34vw)
      rotate(calc(var(--angle) * -1));
    width: 170px;
  }
  .eco-node:hover,
  .eco-node:focus-visible {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-34vw)
      rotate(calc(var(--angle) * -1)) scale(1.03);
  }
  .editorial-scene,
  .editorial-scene.reverse {
    grid-template-columns: 1fr 1fr;
  }
  .chapter .container {
    grid-template-columns: 90px 1fr;
  }
  .chapter-media {
    grid-column: 2;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 820px) {
  :root {
    --pad: 20px;
  }
  .floating-contact {
    right: 12px;
    bottom: 12px;
  }
  .floating-contact span {
    display: none;
  }
  .floating-contact {
    padding: 8px;
  }
  .cinematic-hero {
    min-height: 680px;
  }
  .hero-shot-a {
    left: 0;
    width: var(--split, 52%);
  }
  .hero-shot-b {
    left: var(--split, 52%);
    right: 0;
  }
  .hero-copy {
    top: 100px;
    bottom: 70px;
  }
  .hero-title {
    font-size: clamp(60px, 15vw, 105px);
    line-height: 0.84;
  }
  .hero-title span:nth-child(2) {
    padding-left: 0;
  }
  .hero-bottom {
    margin-left: 0;
    display: block;
  }
  .hero-bottom > p {
    max-width: 92%;
    font-size: 17px;
  }
  .hero-bottom .btn-row {
    margin-top: 24px;
  }
  .hero-bottom .btn {
    width: 100%;
  }
  .hero-markets {
    top: 44%;
    font-size: 7px;
  }
  .kinetic-strip {
    height: 56px;
  }
  .ecosystem-section {
    padding: 90px 0;
  }
  .section-head {
    margin-bottom: 45px;
  }
  .ecosystem-stage {
    aspect-ratio: auto;
    width: 100%;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 190px;
    transform: none !important;
  }
  .eco-orbit {
    display: none;
  }
  .eco-center {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
  }
  .eco-node {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 74px;
    transform: none !important;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
  }
  .eco-node i {
    margin: 0;
  }
  .eco-node small {
    text-align: right;
  }
  .editorial-scene,
  .editorial-scene.reverse {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .editorial-scene.reverse .scene-media {
    order: 1;
  }
  .editorial-scene.reverse .scene-copy {
    order: 2;
  }
  .scene-media {
    min-height: 62svh;
  }
  .scene-copy {
    padding: 80px var(--pad);
  }
  .scene-number {
    width: 240px;
  }
  .horizontal-story {
    height: auto;
  }
  .horizontal-sticky {
    height: auto;
    position: relative;
    overflow: visible;
  }
  .horizontal-head {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    padding: 85px var(--pad) 40px;
    display: block;
  }
  .horizontal-head h2 {
    margin-top: 12px;
  }
  .horizontal-head > span {
    display: none;
  }
  .horizontal-track {
    display: block;
    transform: none !important;
  }
  .story-card {
    height: 76svh;
    min-height: 620px;
  }
  .story-copy {
    bottom: 6vh;
    width: calc(100% - var(--pad) * 2);
  }
  .story-copy h3 {
    font-size: clamp(62px, 15vw, 100px);
  }
  .statement-scene {
    min-height: 90svh;
  }
  .statement-copy h2 {
    font-size: clamp(62px, 15vw, 105px);
  }
  .statement-copy h2 span:nth-child(2) {
    padding-left: 0;
  }
  .statement-copy > p:last-child {
    margin-left: 0;
    max-width: 80%;
    margin-top: 30px;
  }
  .cycle-item {
    grid-template-columns: 44px 1fr 30px;
    gap: 12px;
    padding: 24px 0;
  }
  .cycle-item p {
    grid-column: 2;
  }
  .cycle-item i {
    grid-column: 3;
    grid-row: 1/3;
  }
  .club-feature {
    height: 92svh;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-claim {
    grid-column: 1/3;
  }
  .footer-grid > div:nth-child(4) {
    grid-column: auto;
  }
  .inner-hero {
    min-height: 82svh;
  }
  .inner-hero h1 {
    font-size: clamp(58px, 15vw, 105px);
  }
  .inner-hero h1 span:nth-child(2) {
    padding-left: 0;
  }
  .hero-lead {
    margin-left: 0;
    max-width: 90%;
  }
  .inner-intro .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .chapter .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .chapter-index {
    grid-column: 1;
  }
  .chapter-copy {
    grid-column: 1;
  }
  .chapter-media {
    grid-column: 1;
    aspect-ratio: 4/3;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .editorial-card {
    min-height: 220px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-item {
    min-height: 220px;
  }
  .process-item h3 {
    margin-top: 50px;
  }
  .form-scene .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .form-intro {
    position: relative;
    top: auto;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .phone-input-group {
    grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1fr);
  }
  .legal-notice .container {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding-top: 55px;
  }
}
@media (max-width: 520px) {
  .brand {
    font-size: 16px;
  }
  .site-header .brand-logo {
    width: 234px;
    margin-right: 2px;
  }
  .site-header.scrolled .brand-logo {
    width: 195px;
  }
  .site-header {
    padding: 0 16px;
  }
  .hero-title {
    font-size: clamp(54px, 16vw, 88px);
  }
  .hero-markets {
    display: none;
  }
  .scroll-cue {
    left: 20px;
  }
  .btn-row {
    flex-direction: column;
  }
  .btn-row .btn {
    width: 100%;
  }
  .display-xxl {
    font-size: clamp(50px, 14vw, 80px);
  }
  .display-xl {
    font-size: clamp(46px, 13vw, 72px);
  }
  .display-lg {
    font-size: clamp(40px, 12vw, 66px);
  }
  .footer-topline {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-claim {
    grid-column: auto;
  }
  .footer-grid > div:nth-child(4) {
    grid-column: auto;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
  .mobile-meta {
    flex-direction: column;
    gap: 8px;
  }
  .inner-hero-copy {
    margin-bottom: 7vh;
  }
  .inner-hero h1 {
    font-size: clamp(52px, 15vw, 82px);
  }
  .editorial-card {
    grid-template-columns: 38px 1fr 24px;
    padding: 24px 18px;
  }
  .premium-form {
    gap: 24px;
  }
  .not-found-copy {
    margin-left: 20px;
  }
  .not-found-copy .code {
    display: none;
  }
}
@media (max-width: 820px) {
  .hero-shot-a,
  .hero-shot-b {
    top: -4%;
    bottom: -4%;
    width: 52.5%;
  }
  .hero-shot-a {
    left: 0;
    right: auto;
  }
  .hero-shot-b {
    left: auto;
    right: 0;
  }
  .hero-divider {
    opacity: 0.78;
  }
  .hero-divider circle,
  .hero-divider-axis {
    display: none;
  }
  .hero-copy {
    display: flex;
    justify-content: space-between;
  }
  .hero-title {
    margin-top: 0;
  }
  .hero-bottom {
    display: block;
    flex: none;
  }
  .hero-bottom > p {
    position: static;
    transform: none;
  }
  .hero-bottom .btn-row {
    position: static;
    margin-top: 24px;
  }
}

@media (max-width: 1100px) {
  .owned-projects-content {
    grid-template-columns: 1fr 0.72fr;
    gap: 34px;
  }
  .owned-projects-intro {
    grid-column: 1;
  }
  .owned-project-feature {
    grid-column: 2;
  }
  .owned-projects-media {
    left: 28%;
  }
  .owned-projects-shade {
    background:
      linear-gradient(
        90deg,
        #050505 0%,
        rgba(5, 5, 5, 0.95) 37%,
        rgba(5, 5, 5, 0.38) 72%,
        rgba(5, 5, 5, 0.25) 100%
      ),
      linear-gradient(0deg, rgba(5, 5, 5, 0.78), transparent 55%);
  }
  .project-showcase {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
@media (max-width: 760px) {
  .owned-projects {
    min-height: auto;
    display: block;
    padding-top: 0;
  }
  .owned-projects-media {
    position: relative;
    left: auto;
    inset: auto;
    height: 56svh;
    min-height: 430px;
  }
  .owned-projects-media img {
    object-position: 58% center;
  }
  .owned-projects-shade {
    background: linear-gradient(
      0deg,
      #050505 0%,
      rgba(5, 5, 5, 0.7) 30%,
      rgba(5, 5, 5, 0.12) 72%
    );
  }
  .owned-projects-content {
    display: block;
    padding: 56px var(--pad) 80px;
  }
  .owned-projects-intro {
    max-width: none;
  }
  .owned-projects-intro .display-xl {
    font-size: clamp(54px, 14vw, 86px);
  }
  .owned-projects-feature {
    margin-top: 30px;
  }
  .owned-project-feature {
    margin-top: 36px;
    padding: 26px 24px;
  }
  .owned-project-feature h3 {
    font-size: 48px;
  }
  .projects-portfolio-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .projects-intro {
    padding: 88px 0 96px;
  }
  .projects-intro:before {
    left: var(--pad);
  }
  .projects-intro .container {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .projects-intro .intro {
    max-width: 100%;
    padding-left: 22px;
    font-size: clamp(21px, 6.1vw, 27px);
    line-height: 1.46;
  }
  .projects-portfolio-head .intro {
    justify-self: start;
  }
  .project-showcase {
    display: block;
    min-height: auto;
  }
  .project-showcase-media {
    min-height: 46svh;
  }
  .project-showcase-copy {
    min-height: 390px;
  }
  .projects-next {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* Grupoinves: mobile header / consistent five-item menu across 5 languages (2026-11) */
/* Maintain enough vertical space for the actual brand image before and after scrolling. */
@media (max-width: 1100px) {
  .site-header,
  .site-header.scrolled {
    height: 100px;
  }
  .site-header .brand {
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
  }
  .site-header .brand-logo {
    display: block;
    width: 224px;
    height: auto;
    margin: 7px 4px 0 0;
  }
  .site-header.scrolled .brand-logo {
    width: 205px;
  }
  .mobile-menu {
    padding-top: calc(100px + 22px);
  }
}
@media (max-width: 520px) {
  .site-header,
  .site-header.scrolled {
    height: 92px;
  }
  .site-header .brand-logo {
    width: 200px;
    margin-top: 8px;
    margin-bottom: 0;
    margin-right: 2px;
  }
  .site-header.scrolled .brand-logo {
    width: 185px;
  }
  .mobile-menu {
    padding-top: calc(92px + 18px);
  }
  .mobile-menu nav a {
    padding: 13px 0;
    font-size: clamp(28px, 7.25vw, 40px);
  }
  .mobile-menu .menu-kicker {
    margin-bottom: 16px;
  }
}
@media (max-width: 520px) and (max-height: 700px) {
  .mobile-menu {
    padding-top: calc(92px + 10px);
  }
  .mobile-menu nav a {
    padding: 9px 0;
    font-size: clamp(25px, 6.6vw, 34px);
  }
  .mobile-menu .menu-kicker {
    margin-bottom: 12px;
  }
  .mobile-language-switcher {
    margin-top: 12px;
  }
  .mobile-meta {
    margin-top: 14px;
  }
}
