/* Plaza navigation must remain reachable above the fixed enquiry dock. */
/* A fixed mobile stage height must not derive a square grid-item width. */
@media (max-width: 760px) {
  body.ov4 .ovm .hw.hw-split { grid-template-columns: minmax(0, 1fr) !important; }
  body.ov4 .ovm .hw.hw-split .hw-stage {
    width: 100%;
    min-width: 0;
    aspect-ratio: auto !important;
    justify-self: stretch;
  }
}
body.ov4.ov-menu-open .lf-dock { visibility: hidden; pointer-events: none; }
@media (max-width: 1100px) {
  body.ov4 .sv-header nav[aria-label="Project navigation"] { display: none !important; }
  body.ov4 .sv-header .ov-menu-btn { display: inline-flex !important; }
}
@media (max-width: 360px) {
  body.ov4[data-whatsapp-project] .sv-header { gap: 4px !important; }
  body.ov4[data-whatsapp-project] .sv-header .sv-header-enquire { letter-spacing: .02em !important; padding-inline: 6px !important; }
  body.ov4[data-whatsapp-project] .sv-header > a:first-child img { width: 96px !important; }
}

/* Launch: put the offer before the film on a phone. */
@media (max-width: 760px) {
  html#plaza-cta-v1 body.ov4 .ovm .hw.hw-split { display: flex !important; flex-direction: column !important; }
  html#plaza-cta-v1 body.ov4 .ovm .hw.hw-split .hw-copy { order: 0; padding-top: 22px !important; }
  html#plaza-cta-v1 body.ov4 .ovm .hw.hw-split .hw-stage { order: 1; height: min(36svh, 250px) !important; max-height: 250px; }
  html#plaza-cta-v1 body.ov4 .ovm .hw.hw-split .hw-strip { order: 2; }
  html#plaza-cta-v1 body.ov4 .ovm .hw.hw-split .hw-copy h1 { margin-block: 10px 8px; }
  html#plaza-cta-v1 body.ov4 .ovm .hw.hw-split .hw-ctas { grid-template-columns: 1fr !important; gap: 6px !important; }
  html#plaza-cta-v1 body.ov4 .ovm .hw.hw-split .hw-btn.sec { min-height: 42px; display: inline-flex; align-items: center; }
}
.plaza-schedule { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(155px,1fr)); gap: 10px; }
.plaza-schedule li { border: 1px solid rgba(42,58,50,.2); padding: 16px; display: flex; flex-direction: column; gap: 5px; }
.plaza-schedule strong { font-size: 1.7rem; line-height: 1; }
.plaza-schedule span { font-size: .9rem; }
.plaza-plan-preview { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: start; }
.plaza-plan-preview a { display: block; color: inherit; text-align: center; text-decoration: none; }
.plaza-plan-preview img { display: block; width: 100%; height: 285px; object-fit: contain; background: #f0eee7; }
.plaza-plan-preview span { display: block; padding: 10px 4px; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 430px) { .plaza-plan-preview img { height: 205px; } .plaza-schedule { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* The legacy floor-plan section uses an absolute full-bleed image. Restore normal flow for two plans. */
html#plaza-cta-v1 body.ov4 .ovm .fp3.plaza-plans { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; min-height: 0 !important; align-items: center !important; }
html#plaza-cta-v1 body.ov4 .ovm .fp3.plaza-plans .split-text { position: relative !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: clamp(28px, 5vw, 72px) !important; }
html#plaza-cta-v1 body.ov4 .ovm .fp3.plaza-plans .split-media { position: relative !important; inset: auto !important; width: 100% !important; min-height: 0 !important; padding: 28px !important; box-sizing: border-box; }
html#plaza-cta-v1 body.ov4 .ovm .fp3.plaza-plans .split-media::after { display: none !important; }
html#plaza-cta-v1 body.ov4 .ovm .fp3.plaza-plans .plaza-plan-preview a { position: static !important; inset: auto !important; width: auto !important; height: auto !important; grid-column: auto !important; }
@media (max-width: 760px) {
  html#plaza-cta-v1 body.ov4 .ovm .fp3.plaza-plans { grid-template-columns: minmax(0, 1fr) !important; }
  html#plaza-cta-v1 body.ov4 .ovm .fp3.plaza-plans .split-text { padding: 36px 20px 12px !important; }
  html#plaza-cta-v1 body.ov4 .ovm .fp3.plaza-plans .split-media { padding: 16px 20px 30px !important; }
}

/* R2: official launch stills lead the page. The film layout is deliberately retired. */
html#plaza-cta-v1 body.ov4 .ovm #top.hw.hw-split { display: block !important; position: relative; min-height: 0 !important; background: #081c23; }
html#plaza-cta-v1 body.ov4 .ovm #top .hw-stage { position: relative !important; inset: auto !important; width: 100% !important; min-height: 0 !important; height: clamp(480px, 53vw, 680px) !important; overflow: hidden; }
html#plaza-cta-v1 body.ov4 .ovm #top .hw-slides,
html#plaza-cta-v1 body.ov4 .ovm #top .hw-slide,
html#plaza-cta-v1 body.ov4 .ovm #top picture,
html#plaza-cta-v1 body.ov4 .ovm #top picture img { display: block !important; width: 100% !important; height: 100% !important; }
html#plaza-cta-v1 body.ov4 .ovm #top picture img { object-fit: cover !important; object-position: center 43%; }
html#plaza-cta-v1 body.ov4 .ovm #top .hw-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,23,29,.76), rgba(5,23,29,.08) 65%), linear-gradient(0deg,rgba(5,23,29,.32),transparent 40%); pointer-events: none; }
html#plaza-cta-v1 body.ov4 .ovm #top .hw-copy { position: absolute !important; z-index: 2; inset: 0 auto 0 max(24px,calc((100vw - 1296px)/2)); width: min(590px,calc(100% - 48px)); padding: 72px 24px 60px 0 !important; margin: 0 !important; display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; box-sizing: border-box; background: transparent !important; }
html#plaza-cta-v1 body.ov4 .ovm #top .hw-copy .hw-lockup { max-width: 12ch; }
html#plaza-cta-v1 body.ov4 .ovm #top .hw-strip,
html#plaza-cta-v1 body.ov4 .ovm #top .hw-edge { display: none !important; }
html#plaza-cta-v1 body.ov4 .ovm #the-yards-plaza .plaza-launch-image { overflow: hidden; min-height: 390px; }
html#plaza-cta-v1 body.ov4 .ovm #the-yards-plaza .plaza-launch-image img { display: block; width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
html#plaza-cta-v1 body.ov4 .ovm #unit-types .unit-card:nth-child(2) .unit-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  html#plaza-cta-v1 body.ov4 .ovm #top.hw.hw-split { display: flex !important; flex-direction: column !important; }
  html#plaza-cta-v1 body.ov4 .ovm #top .hw-stage { order: 0 !important; height: clamp(245px, 38svh, 360px) !important; }
  html#plaza-cta-v1 body.ov4 .ovm #top picture img { object-position: center center; }
  html#plaza-cta-v1 body.ov4 .ovm #top .hw-stage::after { background: linear-gradient(0deg,rgba(5,23,29,.22),transparent 45%); }
  html#plaza-cta-v1 body.ov4 .ovm #top .hw-copy { position: relative !important; order: 1 !important; inset: auto !important; width: 100% !important; padding: 24px 20px 28px !important; display: block !important; background: #081c23 !important; }
  html#plaza-cta-v1 body.ov4 .ovm #top .hw-copy .hw-lockup { max-width: none; }
  html#plaza-cta-v1 body.ov4 .ovm #top .hw-ctas { display: grid !important; grid-template-columns: 1fr !important; }
  html#plaza-cta-v1 body.ov4 .ovm #the-yards-plaza .plaza-launch-image,
  html#plaza-cta-v1 body.ov4 .ovm #the-yards-plaza .plaza-launch-image img { min-height: 240px; max-height: 330px; }
}
@media (min-width: 761px) {
  html#plaza-cta-v1 body.ov4 .ovm #top .hw-copy { top: 0 !important; bottom: 0 !important; left: max(24px,calc((100vw - 1296px)/2)) !important; right: auto !important; }
}
@media (max-width: 760px) {
  html#plaza-cta-v1 body.ov4 .ovm #top .hw-copy { top: auto !important; bottom: auto !important; left: auto !important; right: auto !important; }
}

/* R2 hero reading contrast and immediate content visibility. */
html#plaza-cta-v1 body.ov4 .ovm #top .hw-rv { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
@media (min-width: 761px) {
  html#plaza-cta-v1 body.ov4 .ovm #top .hw-stage::after { background: linear-gradient(90deg, rgba(4,18,24,.92) 0%, rgba(4,18,24,.82) 24%, rgba(4,18,24,.58) 46%, rgba(4,18,24,.05) 80%) !important; }
  html#plaza-cta-v1 body.ov4 .ovm #top .hw-copy .hw-lockup { max-width: 470px !important; width: 100% !important; }
  html#plaza-cta-v1 body.ov4 .ovm #top .hw-copy .hw-word { max-width: 470px !important; }
}
html#plaza-cta-v1 body.ov4 .ovm #top .hw-lockup > span:last-child { text-transform: none !important; letter-spacing: 0 !important; font-size: clamp(16px,1.2vw,18px) !important; line-height: 1.45 !important; max-width: 440px; }
@media (max-width: 760px) {
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .hw-stage { height: clamp(295px, 38svh, 360px) !important; max-height: none !important; }
}

/* Final R2 layout correction: the still fills the desktop hero through the ticker. */
@media (min-width: 761px) {
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .hw-stage { position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; width: 100% !important; height: auto !important; max-height: none !important; }
}
html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #the-yards-plaza { padding-block: clamp(56px, 6.7vw, 96px) !important; }
@media (max-width: 700px) and (max-height: 700px) {
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .hw-stage { height: clamp(130px, 24svh, 170px) !important; }
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .hw-copy { padding: 12px 20px 8px !important; }
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .status-sticker { margin: 0 0 5px !important; }
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .hw-lockup { margin: 4px 0 6px !important; }
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .hw-word { font-size: clamp(35px, 10.5vw, 43px) !important; line-height: 1.04 !important; }
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .hw-lockup > span:last-child { font-size: 15px !important; line-height: 1.3 !important; }
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .hw-ctas { margin: 8px 0 0 !important; gap: 0 !important; }
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .hw-btn.pri { min-height: 48px !important; }
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #top .hw-btn.sec { display: inline-flex !important; }
}
/* Respect the section rhythm without stacking the existing split-text padding. */
@media (max-width: 760px) {
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #the-yards-plaza { padding-top: 0 !important; padding-bottom: 56px !important; }
}
@media (min-width: 761px) {
  html#plaza-cta-v1#plaza-cta-v1 body.ov4 .ovm #the-yards-plaza { padding-top: 96px !important; padding-bottom: 96px !important; }
}
