/**
 * Metropoint portal palette — burgundy brand (not site blue).
 * Primary: #733635 · Deep: #361E1C · surfaces stay ivory.
 */

:root {
  --mp-brand: #733635;
  --mp-brand-deep: #361e1c;
  --mp-brand-soft: #f3e9e8;
  --mp-charcoal: #1c1c1c;
  --mp-olive: #363636;
  --mp-light-gray: #e8e8e8;
  --mp-silver: #c4c4c4;
  --mp-ink: #151717;
  --mp-ivory: #f8f8f6;
  --mp-paper: #fbfcfb;

  /* Septiembre template tokens */
  --black-1: var(--mp-ink);
  --white-1: var(--mp-ivory);
  --white-2: var(--mp-paper);
  /* Primary text / accent (was blue #234e6d) */
  --red-1: var(--mp-brand);
  /* Hover / secondary */
  --purple-1: var(--mp-brand-deep);
}

/* Scrollbar */
@media only screen and (min-width: 1025.1px) {
  ::-webkit-scrollbar-track {
    background: var(--mp-ivory);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--mp-brand);
  }
}

body {
  background: var(--mp-ivory);
  color: var(--mp-brand);
}

body.menu-active #header {
  --content-color: var(--mp-brand) !important;
}

.white-1 {
  color: var(--mp-brand-soft);
}

/*
 * Opening loader brand — matched to grandMetro (src/css/overrides.css)
 * Text node is plain "Metropoint"; bullet ● via ::after (not a period).
 */
.gm-brand-word {
  white-space: nowrap;
}

.gm-brand-word::after {
  content: "●";
  font-size: 0.34em;
  font-weight: 700;
  line-height: 1;
  margin-left: 0.12em;
  vertical-align: 0.55em;
  letter-spacing: 0;
}

/*
 * Wordmark under hero — same family/color/bullet as opening loader
 * (#loader .inner-loader .font-2 .gm-brand-word). Size tuned per breakpoint
 * so "MetroPoint●" fits without clipping on mobile.
 *
 * Luxury handoff (mp-brand-handoff.js): wordmark stays hidden until the
 * opening brand text flies into place, then cross-fades in via .is-settled.
 */
.mp-hero-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(2.2rem, 4.5vw, 4rem) 1.2rem;
  margin: 0;
  background: var(--white-1, #f8f8f6);
  color: var(--red-1, #733635);
  text-align: center;
  overflow: visible;
}

/*
 * JS present: wordmark is invisible until land — but NO opacity transition.
 * A CSS fade here was the “blink” when swapping clone → settled wordmark.
 * Land is an instant same-frame swap (clone off, wordmark on).
 */
html.mp-brand-handoff .mp-hero-wordmark {
  opacity: 0;
  visibility: hidden;
  transition: none !important;
}

html.mp-brand-handoff .mp-hero-wordmark.is-settled {
  opacity: 1;
  visibility: visible;
  transition: none !important;
}

/* Flying clone — lives above #loader so veil fade never blinks the glyph */
.mp-brand-fly {
  font-family: "Gilda Display", Georgia, serif !important;
  font-weight: 400 !important;
  font-feature-settings: "liga" 1, "clig" 1;
  letter-spacing: -0.07em !important; /* match loader tracking */
  line-height: 1.2em !important;
  color: var(--red-1, #733635) !important;
  pointer-events: none !important;
  user-select: none;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.mp-brand-fly .gm-brand-word::after {
  content: "●";
  font-size: 0.34em;
  font-weight: 700;
  line-height: 1;
  margin-left: 0.12em;
  vertical-align: 0.55em;
  letter-spacing: 0;
}

/* Source brand hidden under clone — never animate its opacity with the veil */
html.mp-brand-handoff body[data-load="first-leaving"] #loader .inner-loader > span.font-2,
html.mp-brand-handoff body[data-load="first-done"] #loader .inner-loader > span.font-2 {
  transition: none !important;
}

/*
 * Veil can fade only after the brand clone is pinned outside #loader.
 * Short delay gives pinClone() a paint frame; clone stays at z-index 200.
 */
html.mp-brand-handoff body[data-load="first-done"] #loader {
  transition-delay: 0.12s !important;
}

/* Never fade the original brand with the veil once handoff JS is active */
html.mp-brand-handoff body[data-load="first-done"] #loader .inner-loader > span.font-2,
html.mp-brand-handoff body[data-load="first-done"] #loader .inner-loader > span.font-2 > span {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html.mp-brand-handoff .mp-hero-wordmark {
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
  }
}

/*
 * Match loader brand type exactly (#loader .inner-loader > span.font-2.fs--210):
 *  - Gilda Display + liga/clig
 *  - letter-spacing: -0.07em  ← critical tracking match
 *  - line-height: 1.2em / weight 400
 * Size is scaled down for layout, but tracking stays identical to loading.
 */
.mp-hero-wordmark .font-2,
.mp-hero-wordmark .fs--210,
.mp-hero-wordmark__text {
  font-family: "Gilda Display", Georgia, serif !important;
  font-weight: 400 !important;
  font-feature-settings: "liga" 1, "clig" 1 !important;
  font-style: normal;
  color: var(--red-1, #733635) !important;
  line-height: 1.2em !important;
  letter-spacing: -0.07em !important; /* same as #loader .inner-loader > span */
  margin: 0;
  white-space: nowrap;
  text-align: center;
  display: inline-block;
  /* Smaller than loader 21/15/7.8rem so it fits under hero — tracking still matches */
  font-size: clamp(3.8rem, 13.5vw, 5.4rem) !important;
}

.mp-hero-wordmark .gm-brand-word {
  letter-spacing: inherit;
  font: inherit;
  color: inherit;
  white-space: nowrap;
}

@media only screen and (min-width: 768px) {
  .mp-hero-wordmark .font-2,
  .mp-hero-wordmark .fs--210,
  .mp-hero-wordmark__text {
    font-size: clamp(6.5rem, 12vw, 12rem) !important;
  }
}

@media only screen and (min-width: 1025.1px) {
  .mp-hero-wordmark .font-2,
  .mp-hero-wordmark .fs--210,
  .mp-hero-wordmark__text {
    /* Near loader scale, slightly under full 21rem */
    font-size: clamp(10rem, 12vw, 16rem) !important;
  }
}

/*
 * Hero banner: edge-to-edge (no white gutters left/right).
 * Full natural aspect, flush to viewport sides.
 */
#pg-project-post .project-intro.mp-hero-full {
  position: relative;
  /* Full viewport width — kill white side gutters */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 !important;
  overflow: hidden;
}

/* Kill fluid gutters so image meets left/right edges */
#pg-project-post .mp-hero-full .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

#pg-project-post .mp-hero-full .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-width: 100%;
  width: 100%;
}

#pg-project-post .mp-hero-full .col-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  flex: 0 0 100%;
}

#pg-project-post .mp-hero-full__frame {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--mp-brand-deep, #361e1c);
  /* Keep text sizing normal for pitch overlay; image itself is block */
  font-size: initial;
  line-height: normal;
}

/* Full width strip, entire banner visible (no cover crop) */
#pg-project-post .mp-hero-full__frame > picture {
  display: block;
  width: 100%;
  line-height: 0;
}

#pg-project-post .mp-hero-full__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: top;
  object-fit: fill;
  object-position: center top;
}

/* Center veil — readable pitch over banner art */
#pg-project-post .mp-hero-full__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(54, 30, 28, 0.55) 0%,
    rgba(54, 30, 28, 0.72) 45%,
    rgba(26, 14, 13, 0.82) 100%
  );
}

/* ——— Hero investment pitch — centered ——— */
#pg-project-post .mp-hero-pitch {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 1.8vw, 1.45rem);
  padding: clamp(1.6rem, 4vw, 3.5rem) clamp(1.2rem, 4vw, 3rem);
  text-align: center;
  color: #f8f3f0;
  font-family: Outfit, adelphi-pe-variable, system-ui, sans-serif;
  line-height: 1.25;
  box-sizing: border-box;
}

#pg-project-post .mp-hero-pitch__kicker {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 243, 240, 0.88);
}

#pg-project-post .mp-hero-pitch__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05em;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #f8f3f0;
}

#pg-project-post .mp-hero-pitch__title-line {
  display: block;
}

#pg-project-post .mp-hero-pitch__title-accent {
  font-family: "Gilda Display", Georgia, serif;
  font-weight: 400;
  background: linear-gradient(105deg, #f0d7a8 0%, #e4c48a 45%, #c9a46a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

#pg-project-post .mp-hero-pitch__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin-top: 0.15rem;
}

#pg-project-post .mp-hero-pitch__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 215, 168, 0.35);
  background: rgba(54, 30, 28, 0.45);
  backdrop-filter: blur(6px);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f0d7a8;
}

#pg-project-post .mp-hero-pitch__chip--loc {
  text-transform: none;
  letter-spacing: 0.02em;
  color: #f8f3f0;
  border-color: rgba(248, 243, 240, 0.22);
}

#pg-project-post .mp-hero-pitch__pin {
  flex-shrink: 0;
  color: #e4c48a;
}

/* Stats card */
#pg-project-post .mp-hero-pitch__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: min(100%, 42rem);
  margin-top: 0.35rem;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1.1rem, 2.2vw, 1.6rem)
    clamp(1.1rem, 2vw, 1.45rem);
  border-radius: 1.15rem;
  background: linear-gradient(
    145deg,
    rgba(115, 54, 53, 0.92) 0%,
    rgba(54, 30, 28, 0.94) 100%
  );
  border: 1px solid rgba(240, 215, 168, 0.18);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

#pg-project-post .mp-hero-pitch__stats {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: 0.85rem 1.25rem;
  text-align: left;
  align-items: start;
}

#pg-project-post .mp-hero-pitch__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

#pg-project-post .mp-hero-pitch__stat:not(.mp-hero-pitch__stat--wide) {
  padding-right: 0.75rem;
  border-right: 1px solid rgba(240, 215, 168, 0.2);
}

#pg-project-post .mp-hero-pitch__stat-label {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 400;
  color: rgba(248, 243, 240, 0.72);
}

#pg-project-post .mp-hero-pitch__stat-value {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f8f3f0;
  line-height: 1.15;
}

#pg-project-post .mp-hero-pitch__stat-value strong {
  font-weight: 700;
  background: linear-gradient(105deg, #f0d7a8 0%, #e4c48a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

#pg-project-post .mp-hero-pitch__stat-unit {
  font-size: 0.55em;
  font-weight: 500;
  color: rgba(248, 243, 240, 0.85);
  -webkit-text-fill-color: rgba(248, 243, 240, 0.85);
}

#pg-project-post .mp-hero-pitch__stat-notes {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.35rem;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  font-weight: 400;
  line-height: 1.35;
  color: rgba(240, 215, 168, 0.88);
}

/* Primary CTA */
#pg-project-post .mp-hero-pitch__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f5e4c0 0%, #e4c48a 55%, #d4b078 100%);
  color: #361e1c;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 0.45rem 1.4rem rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

#pg-project-post .mp-hero-pitch__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 0.65rem 1.8rem rgba(0, 0, 0, 0.34);
}

#pg-project-post .mp-hero-pitch__cta:focus-visible {
  outline: 2px solid #f0d7a8;
  outline-offset: 3px;
}

#pg-project-post .mp-hero-pitch__cta:active {
  transform: translateY(0);
}

/* Mobile/tablet refinements are at file end — desktop styles above stay untouched. */

/*
 * Header mark (not a link).
 * Desktop: position:fixed — stays top-left while scrolling
 * Mobile: overridden to absolute inside hero — scrolls with page
 * z-index below #loader (110) so opening animation covers it
 */
.mp-fixed-logo {
  position: fixed;
  top: 1.35rem;
  left: max(1.2rem, var(--padding-fluid, 2rem));
  z-index: 100; /* content < logo < loader(110) */
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
  pointer-events: none; /* decorative only — not clickable */
  user-select: none;
}

.mp-fixed-logo__img {
  display: block;
  height: clamp(2.6rem, 3.2vw, 3.4rem);
  width: auto;
  max-width: min(40vw, 13rem);
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}

/* Hide during opening loader so it does not pierce the intro animation */
body[data-load="first-loading"] .mp-fixed-logo,
body[data-load="first-leaving"] .mp-fixed-logo,
body[data-load="loading"] .mp-fixed-logo,
body[data-load="leaving"] .mp-fixed-logo {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

body[data-load="first-done"] .mp-fixed-logo,
body[data-load="done"] .mp-fixed-logo {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease;
}

/* Keep page below logo; menu chrome normal */
#main-transition,
.wrapper,
#pg-project-post {
  position: relative;
  z-index: 1;
}

/*
 * Header hit-testing
 * -----------------
 * Vendor mobile .menu is position:fixed; 100vw×100vh. When closed it must stay
 * pointer-events:none or its invisible .btn-underline links steal every tap
 * (DevTools showed Kontak/Artikel/Galeri/Produk stacked over the WA CTA).
 *
 * Only enable menu link hits when body.menu-active (menu open).
 */
#header {
  z-index: 105;
  pointer-events: none;
}

/* Hamburger always tappable */
#header #bt-menu {
  pointer-events: auto;
}

/* Closed menu: no hit targets (do NOT force .menu / .menu a to auto) */
#header .menu,
#header .menu a,
#header .close-button {
  pointer-events: none;
}

/* Open menu: restore hits on panel + links */
body.menu-active #header {
  pointer-events: auto;
}

body.menu-active #header .menu,
body.menu-active #header .menu .menu--list,
body.menu-active #header .menu .menu--list a,
body.menu-active #header .menu .container-language,
body.menu-active #header .menu .container-language a,
body.menu-active #header .close-button {
  pointer-events: auto;
}

@media only screen and (max-width: 1025px) {
  /*
   * Mobile logo: pin to top of hero (not position:fixed).
   * Stays in hero header; scrolls away with the page.
   */
  .mp-fixed-logo {
    position: absolute !important;
    top: 2.9rem !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    justify-content: center;
    z-index: 6;
  }

  .mp-fixed-logo__img {
    height: 2.55rem;
    max-width: 34vw;
  }

  #header .row > .col-lg-9.col-6 {
    margin-left: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
}

/*
 * Contact CTA between the two media images
 * Hover: plane settles in the CENTER; label slides RIGHT (out of button).
 */
#pg-project-post .project-two-medias .mp-contact-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-top: clamp(1.6rem, 3vw, 3rem);
  margin-bottom: clamp(0.5rem, 1.5vw, 1.2rem);
  padding-left: var(--padding);
  padding-right: var(--padding);
  /* Sit above overflowing media so mobile taps hit the CTA, not the image */
  position: relative;
  z-index: 20;
  pointer-events: auto;
  isolation: isolate;
}

/*
 * Vendor .media uses top:-5rem / taller height and can overlap the CTA on mobile.
 * Decorative images must not steal taps.
 */
#pg-project-post .project-two-medias .img-wrapper,
#pg-project-post .project-two-medias .container-img,
#pg-project-post .project-two-medias .media {
  pointer-events: none;
}

.mp-send-btn {
  --mp-send-pad-y: 0.85em;
  --mp-send-pad-x: 1.5em;
  position: relative;
  z-index: 21;
  font-family: Outfit, adelphi-pe-variable, system-ui, sans-serif;
  font-size: clamp(1.45rem, 1.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  background: linear-gradient(145deg, #733635 0%, #361e1c 100%);
  color: #f8f3f0;
  min-width: min(100%, 22rem);
  min-height: 3.4em;
  padding: var(--mp-send-pad-y) var(--mp-send-pad-x);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 215, 168, 0.28);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0.55rem 1.6rem rgba(54, 30, 28, 0.28);
  /* Reliable mobile tap → WhatsApp */
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(240, 215, 168, 0.25);
  cursor: pointer;
}

/* Default: icon left of label, both centered as a pair */
.mp-send-btn__svg-wrap-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s ease-in-out;
}

.mp-send-btn__svg-wrap {
  display: block;
}

.mp-send-btn__label {
  display: block;
  margin-left: 0.4em;
  white-space: nowrap;
  transition:
    transform 0.35s ease-in-out,
    opacity 0.28s ease-in-out,
    margin 0.35s ease-in-out;
}

.mp-send-btn svg {
  display: block;
  width: 1.25em;
  height: 1.25em;
  color: #f0d7a8;
  transform-origin: center center;
  transition: transform 0.35s ease-in-out;
}

/* Hover: label slides RIGHT out; plane locks to button CENTER */
.mp-send-btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 0.7rem 1.9rem rgba(54, 30, 28, 0.36);
}

.mp-send-btn:hover .mp-send-btn__label {
  /* leave the layout so the icon can truly center */
  position: absolute;
  left: 50%;
  margin-left: 0;
  transform: translateX(2.2em);
  opacity: 0;
  pointer-events: none;
}

.mp-send-btn:hover .mp-send-btn__svg-wrap-1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mp-send-btn:hover .mp-send-btn__svg-wrap {
  animation: mp-send-fly 0.6s ease-in-out infinite alternate;
}

.mp-send-btn:hover svg {
  transform: rotate(45deg) scale(1.12);
}

.mp-send-btn:active {
  transform: scale(0.95);
}

.mp-send-btn:focus-visible {
  outline: 2px solid #e4c48a;
  outline-offset: 3px;
}

@keyframes mp-send-fly {
  from {
    transform: translateY(0.1em);
  }
  to {
    transform: translateY(-0.1em);
  }
}

@media only screen and (max-width: 700px) {
  #pg-project-post .project-two-medias .mp-contact-cta-wrap {
    margin-top: 1.4rem;
    z-index: 30;
  }

  .mp-send-btn {
    width: min(100%, 22rem);
    /* Avoid sticky :hover state trapping layout on touch devices */
    min-height: 3.6em;
  }

  /* Disable hover-only layout shift on touch (label must stay tappable target) */
  .mp-send-btn:hover .mp-send-btn__label {
    position: static;
    left: auto;
    transform: none;
    opacity: 1;
    margin-left: 0.4em;
    pointer-events: auto;
  }

  .mp-send-btn:hover .mp-send-btn__svg-wrap-1 {
    position: static;
    left: auto;
    top: auto;
    transform: none;
  }

  .mp-send-btn:hover .mp-send-btn__svg-wrap {
    animation: none;
  }

  .mp-send-btn:hover svg {
    transform: none;
  }
}

/* Floating WhatsApp bubble — bottom right, always visible */
.mp-wa-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow:
    0 0.55rem 1.6rem rgba(0, 0, 0, 0.3),
    0 0 0 0 rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  animation: mp-wa-pulse 2.4s ease-out infinite;
}

.mp-wa-fab__icon {
  display: block;
  width: 2.85rem;
  height: 2.85rem;
}

.mp-wa-fab:hover {
  transform: scale(1.06);
  filter: brightness(1.05);
  box-shadow: 0 0.65rem 1.8rem rgba(0, 0, 0, 0.34);
}

.mp-wa-fab:focus-visible {
  outline: 2px solid #f0d7a8;
  outline-offset: 3px;
}

.mp-wa-fab:active {
  transform: scale(0.98);
}

@keyframes mp-wa-pulse {
  0% {
    box-shadow:
      0 0.45rem 1.4rem rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow:
      0 0.45rem 1.4rem rgba(0, 0, 0, 0.28),
      0 0 0 0.9rem rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow:
      0 0.45rem 1.4rem rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media only screen and (max-width: 700px) {
  .mp-wa-fab {
    right: 1.1rem;
    bottom: 1.1rem;
    width: 4.8rem;
    height: 4.8rem;
  }

  .mp-wa-fab__icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* Center brand on viewport; leave transform free for vendor scale animation */
#loader .inner-loader {
  padding-bottom: 0 !important;
  color: var(--red-1);
}

#loader .inner-loader > span.font-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  margin: 0;
}

#loader .inner-loader > span.font-2 > span {
  transform-origin: center center;
  display: inline-block;
}

#loader .number-wrapper {
  z-index: 21;
}

/*
 * Banner kawasan: two ultra-wide panels stacked flush (no gap),
 * full content width — reads as one continuous strip.
 */
#pg-project-post section.mp-banner-stack.project-media {
  /* flush under full hero banner (same strip rhythm) */
  padding-top: 0 !important;
  padding-bottom: 2.4rem !important;
  margin: 0 !important;
}

#pg-project-post .mp-banner-stack .container-fluid {
  /* match page horizontal inset; image still fills the row */
  padding-left: var(--padding-fluid, 2rem);
  padding-right: var(--padding-fluid, 2rem);
  max-width: 100%;
}

#pg-project-post .mp-banner-stack .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-width: 0;
}

#pg-project-post .mp-banner-stack .col-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  flex: 0 0 100%;
}

#pg-project-post .mp-banner-stack__pair {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0 !important;
  row-gap: 0 !important;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

#pg-project-post .mp-banner-stack__item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

/* Natural 10:3 banner height; no crop box / no parallax gap */
#pg-project-post .mp-banner-stack__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: top;
  object-fit: fill;
  object-position: center top;
}

/* Text block after stacked banners — less top gap (vendor expected image above) */
#pg-project-post .mp-banner-stack + .project-media-text {
  padding-top: 3rem !important;
}

#pg-project-post .mp-banner-stack + .project-media-text .container-paragraph {
  padding-top: 2rem !important;
}


/* ==========================================================================
   MOBILE / TABLET ONLY — do not alter desktop rules above
   ========================================================================== */
@media only screen and (max-width: 900px) {
  /*
   * Wordmark under hero: compact size + tight gap before project-info.
   * Vendor .project-info { padding-top: 11.9rem } leaves a huge white band.
   */
  .mp-hero-wordmark {
    padding: 1.5rem 1rem 0.35rem;
  }

  .mp-hero-wordmark .font-2,
  .mp-hero-wordmark .fs--210,
  .mp-hero-wordmark__text {
    font-size: clamp(3.6rem, 12.8vw, 5.2rem) !important;
    line-height: 1.2em !important;
    letter-spacing: -0.07em !important; /* keep loader tracking on mobile */
  }

  #pg-project-post section.project-info {
    padding-top: 1.4rem !important;
    padding-bottom: 0 !important;
  }

  #pg-project-post .project-info .text-content {
    padding-top: 1.2rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #pg-project-post .project-info .text-content .column .column-item {
    padding-bottom: 1.4rem !important;
  }

  /*
   * Desktop stagger leaves huge empty bands on mobile:
   *  - img-2 translateY(-18.5rem) still occupies flow → white gap under image
   *  - img-1 media margin-top:-5rem / tall calc height
   *  - container-paragraph padding-top:14.7rem / padding-bottom:20rem
   */
  #pg-project-post .project-info .img-1,
  #pg-project-post .project-info .img-2 {
    width: 100% !important;
    margin: 0 0 1rem !important;
    transform: none !important;
  }

  #pg-project-post .project-info .img-1 .container-img,
  #pg-project-post .project-info .img-2 .container-img {
    width: 100% !important;
    height: auto !important;
    overflow: hidden;
  }

  #pg-project-post .project-info .img-1 .container-img .media,
  #pg-project-post .project-info .img-2 .container-img .media {
    margin-top: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    display: block;
  }

  #pg-project-post .project-info .container-paragraph {
    padding-top: 0.6rem !important;
    padding-bottom: 1.6rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #pg-project-post .project-info .container-paragraph p {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0.85rem !important;
    margin: 0 !important;
  }

  #pg-project-post .project-info .container-paragraph p:first-child {
    padding-top: 0 !important;
  }

  /* Banner stack flush under project-info (no large section gap) */
  #pg-project-post section.mp-banner-stack.project-media {
    padding-top: 0.4rem !important;
    padding-bottom: 1.6rem !important;
  }

  /*
   * Text missing: vendor [data-aos]{visibility:hidden} until JS animates.
   * On mobile scroll/parallax often fails to mark .aos-animate → force visible.
   */
  #pg-project-post [data-aos] {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Prevent 100vw horizontal overflow */
  #pg-project-post .project-intro.mp-hero-full {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
  }

  /*
   * Hero: stack image + pitch (not absolute overlay on ultra-wide strip).
   * Pitch becomes its own dark panel so all copy is readable.
   */
  #pg-project-post .mp-hero-full__frame {
    display: flex;
    flex-direction: column;
    background: #1a0e0d;
  }

  #pg-project-post .mp-hero-full__img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 38vh;
    object-fit: cover;
    object-position: center center;
  }

  #pg-project-post .mp-hero-full__scrim {
    display: none;
  }

  #pg-project-post .mp-hero-pitch {
    position: relative !important;
    inset: auto !important;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1.35rem 1.15rem 1.6rem;
    padding-top: 1.2rem;
    background: linear-gradient(180deg, #2a1614 0%, #1a0e0d 100%);
    text-align: center;
    overflow: visible;
  }

  #pg-project-post .mp-hero-pitch__kicker {
    font-size: 1.05rem;
    letter-spacing: 0.12em;
  }

  #pg-project-post .mp-hero-pitch__title {
    font-size: clamp(2.15rem, 7.5vw, 2.75rem);
    gap: 0.08em;
  }

  #pg-project-post .mp-hero-pitch__meta {
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
  }

  #pg-project-post .mp-hero-pitch__chip {
    font-size: 1.05rem;
    padding: 0.4rem 0.75rem;
  }

  #pg-project-post .mp-hero-pitch__card {
    width: 100%;
    max-width: 100%;
    margin-top: 0.25rem;
    padding: 1rem 1rem 1.1rem;
    gap: 0.9rem;
  }

  #pg-project-post .mp-hero-pitch__stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    text-align: center;
  }

  #pg-project-post .mp-hero-pitch__stat:not(.mp-hero-pitch__stat--wide) {
    padding-right: 0;
    padding-bottom: 0.75rem;
    border-right: 0;
    border-bottom: 1px solid rgba(240, 215, 168, 0.2);
  }

  #pg-project-post .mp-hero-pitch__stat-value {
    font-size: clamp(1.85rem, 6vw, 2.25rem);
  }

  #pg-project-post .mp-hero-pitch__stat-label,
  #pg-project-post .mp-hero-pitch__stat-notes {
    font-size: 1.1rem;
  }

  #pg-project-post .mp-hero-pitch__cta {
    width: 100%;
    align-self: stretch;
    min-height: 3.1rem;
    font-size: 1.35rem;
  }

  /* Logo on hero only (absolute) — does not stick to viewport while scrolling */
  .mp-fixed-logo {
    position: absolute !important;
    top: 2.9rem !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 6;
  }

  .mp-fixed-logo__img {
    height: 2.4rem;
    max-width: 36vw;
  }

  /* Project info / paragraphs readable */
  #pg-project-post .project-info .text-content,
  #pg-project-post .project-info .container-paragraph,
  #pg-project-post .project-media-text .container-paragraph {
    visibility: visible !important;
    opacity: 1 !important;
  }

  #pg-project-post .project-info .text-content .column-item .title,
  #pg-project-post .project-info .text-content .column-item .content,
  #pg-project-post .project-info .container-paragraph p,
  #pg-project-post .project-media-text .container-paragraph p {
    visibility: visible !important;
    opacity: 1 !important;
    color: inherit;
  }

  /* Banner stack: full width, map full under image on mobile */
  #pg-project-post section.mp-banner-stack.project-media {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #pg-project-post .mp-banner-stack .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Map place labels too large on mobile when using 1.6rem */
  #pg-project-post .mp-place-marker__label,
  .mp-place-marker__label {
    font-size: 1.05rem !important;
    max-width: 9rem;
  }

  .mp-map-caption {
    font-size: 1.15rem !important;
    min-height: 2.6rem;
    padding: 0.4rem 0.6rem;
  }

  .mp-place-marker {
    width: 12rem !important;
    height: 3.6rem !important;
  }

  .mp-place-marker__pin {
    width: 2.6rem !important;
    height: 3.2rem !important;
  }

  .mp-place-marker__label--project {
    font-size: 1.2rem !important;
  }

  /* Next project / misc */
  #pg-project-post .next-project .project-title {
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* WA FAB slightly smaller so it doesn't dominate */
  .mp-wa-fab {
    width: 4.4rem;
    height: 4.4rem;
    right: 1rem;
    bottom: 1rem;
  }

  .mp-wa-fab__icon {
    width: 2.3rem;
    height: 2.3rem;
  }
}

