/* MADA standalone interaction layer v3 — cache-safe motion and contact UI. */
.mada-standalone {
  overscroll-behavior-x: none;
}

.mada-standalone [class*="_imageFrame_"] img,
.mada-standalone [class*="_openingVisual_"] img,
.mada-standalone [class*="_spaceStory_"] img,
.mada-standalone [class*="_experienceCard_"] img {
  will-change: transform;
  transform: translate3d(var(--mada-x, 0px), var(--mada-shift, 0px), 0) scale(1.075) !important;
  transition: transform .18s linear, filter .8s !important;
}

.mada-standalone [class*="_occasionPhoto_"] {
  will-change: transform, filter;
  transform: translate3d(var(--mada-x, 0px), var(--mada-shift, 0px), 0) scale(1.065);
  transition: transform .18s linear, filter .7s;
}

.mada-standalone .mada-in-view {
  filter: saturate(.94) contrast(1.01) !important;
}

._journeyTrack_d78n0_8 {
  --mada-rail-progress: 0%;
  isolation: isolate;
}

._journeyTrack_d78n0_8::after {
  content: "";
  z-index: 1;
  position: absolute;
  top: 79px;
  left: 8%;
  width: var(--mada-rail-progress);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.18), #fff7e7 36%, #fff 56%, rgba(255,255,255,.36) 78%);
  background-size: 220% 100%;
  box-shadow: 0 0 8px #fff, 0 0 22px rgba(255,239,208,.85), 0 0 44px rgba(255,255,255,.42);
  transition: width .2s linear;
  animation: mada-rail-shimmer 1.8s linear infinite;
}

._journeyTrack_d78n0_8 li {
  transition: background .5s ease, box-shadow .5s ease, transform .5s ease, opacity .5s ease;
}

._journeyTrack_d78n0_8 li.mada-step-active {
  z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.035));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 24px 55px rgba(78,25,38,.2), 0 0 38px rgba(255,235,204,.1);
  transform: translateY(-7px);
}

._journeyTrack_d78n0_8 li > i::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.55);
}

._journeyTrack_d78n0_8 li.mada-step-active > i {
  background: #fffbe9;
  box-shadow: 0 0 0 1px #fff, 0 0 16px #fff, 0 0 34px rgba(255,236,193,.95);
}

._journeyTrack_d78n0_8 li.mada-step-active > i::after {
  animation: mada-pulse 1.65s ease-out infinite;
}

@keyframes mada-pulse {
  0% { opacity: .85; transform: scale(.55); }
  75%, 100% { opacity: 0; transform: scale(1.45); }
}

@keyframes mada-rail-shimmer {
  from { background-position: 110% 0; }
  to { background-position: -110% 0; }
}

.mada-contact-section._join_d78n0_18 {
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  min-height: 780px;
}

.mada-contact-intro,
.mada-contact-form {
  z-index: 2;
  position: relative;
}

.mada-contact-intro ._sectionLabel_d78n0_1 {
  margin: 0 0 30px;
}

.mada-contact-intro h2 {
  max-width: 680px;
  font-size: clamp(46px, 5vw, 72px);
}

.mada-contact-intro h2 span,
.mada-contact-intro h2 em {
  display: block;
}

.mada-contact-intro > p:not(._sectionLabel_d78n0_1) {
  color: #684f5a;
  max-width: 610px;
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 1.85;
  word-break: keep-all;
}

.mada-contact-intro small {
  display: block;
  margin-top: 24px;
  color: #604750;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.mada-contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.mada-contact-points span {
  border: 1px solid rgba(43,28,37,.16);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,.34);
  color: #503a44;
  font-size: 10px;
  font-weight: 850;
}

.mada-contact-form {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 28px;
  padding: clamp(25px, 3vw, 42px);
  background: rgba(255,250,245,.83);
  box-shadow: 0 32px 85px rgba(70,41,54,.18), inset 0 0 0 1px rgba(43,28,37,.05);
  backdrop-filter: blur(22px);
}

.mada-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mada-contact-form label {
  display: grid;
  gap: 9px;
}

.mada-contact-form label > span:first-child {
  color: #46323b;
  font-size: 11px;
  font-weight: 900;
}

.mada-contact-form label b {
  color: var(--coral);
}

.mada-contact-form input,
.mada-contact-form select,
.mada-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(43,28,37,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  outline: none;
  padding: 14px 15px;
  font-size: 13px;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.mada-contact-form textarea {
  resize: vertical;
  min-height: 146px;
}

.mada-contact-form input:focus,
.mada-contact-form select:focus,
.mada-contact-form textarea:focus {
  border-color: var(--coral);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(183,99,109,.12);
}

.mada-contact-form .mada-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #705b64;
  font-size: 10px;
  line-height: 1.6;
}

.mada-contact-form .mada-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--coral);
}

.mada-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.mada-contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 15px;
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition: transform .25s, background .25s, box-shadow .25s;
}

.mada-contact-submit:hover {
  background: var(--coral);
  box-shadow: 0 15px 34px rgba(99,47,61,.22);
  transform: translateY(-2px);
}

.mada-contact-submit:disabled {
  cursor: wait;
  opacity: .64;
  transform: none;
}

.mada-form-status {
  min-height: 20px;
  margin: -5px 0 0;
  color: #705b64;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
}

.mada-form-status[data-state="success"] { color: #35644a; }
.mada-form-status[data-state="error"] { color: #9d3d48; }

@media (max-width: 1100px) {
  ._journeyTrack_d78n0_8::after { display: none; }
  ._journeyTrack_d78n0_8 li.mada-step-active {
    background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.04));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 15px 35px rgba(78,25,38,.2);
  }
  ._journeyTrack_d78n0_8 li.mada-step-active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -1px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    box-shadow: 0 0 18px rgba(255,255,255,.8);
    animation: mada-rail-shimmer 1.8s linear infinite;
  }
  .mada-contact-section._join_d78n0_18 {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .mada-contact-intro { text-align: center; }
  .mada-contact-intro h2,
  .mada-contact-intro > p:not(._sectionLabel_d78n0_1) { margin-left: auto; margin-right: auto; }
  .mada-contact-points { justify-content: center; }
  .mada-contact-form { width: min(720px, 100%); margin: 0 auto; }
}

@media (max-width: 640px) {
  .mada-contact-section._join_d78n0_18 { gap: 38px; padding-top: 78px; padding-bottom: 78px; }
  .mada-contact-intro h2 { font-size: 38px; }
  .mada-contact-intro > p:not(._sectionLabel_d78n0_1) { font-size: 14px; }
  .mada-contact-form { border-radius: 20px; padding: 23px 17px; }
  .mada-form-grid { grid-template-columns: 1fr; }
  .mada-contact-points { gap: 6px; }
  .mada-contact-points span { padding: 7px 9px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .mada-standalone [class*="_imageFrame_"] img,
  .mada-standalone [class*="_openingVisual_"] img,
  .mada-standalone [class*="_spaceStory_"] img,
  .mada-standalone [class*="_experienceCard_"] img,
  .mada-standalone [class*="_occasionPhoto_"] {
    transform: none !important;
    transition: none !important;
  }
  ._journeyTrack_d78n0_8::after { display: none; }
  ._journeyTrack_d78n0_8 li { transform: none !important; }
  ._journeyTrack_d78n0_8 li > i::after { animation: none !important; }
  ._journeyTrack_d78n0_8 li::after { animation: none !important; }
}


/* 2026-08-25 · Open alert + completion experience */
.mada-open-alert {
  margin-top: 28px;
  border: 1px solid rgba(43,28,37,.12);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255,255,255,.38);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
}
.mada-open-alert-copy > span {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .16em;
}
.mada-open-alert-copy strong {
  display: block;
  color: #3f2b34;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.45;
  word-break: keep-all;
}
.mada-open-alert-copy p {
  margin: 5px 0 0;
  color: #755e68;
  font-size: 11px;
  line-height: 1.65;
}
.mada-open-alert-form { margin-top: 14px; }
.mada-open-alert-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.mada-open-alert-row label { min-width: 0; }
.mada-open-alert-row input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(43,28,37,.14);
  border-radius: 12px;
  padding: 0 13px;
  background: rgba(255,255,255,.86);
  color: var(--ink);
  outline: none;
  font: inherit;
  font-size: 12px;
}
.mada-open-alert-row input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(183,99,109,.11);
}
.mada-open-alert-row button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  background: #3f2b34;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .2s, background .2s, opacity .2s;
}
.mada-open-alert-row button:hover { background: var(--coral); transform: translateY(-1px); }
.mada-open-alert-row button:disabled { opacity: .6; cursor: wait; transform: none; }
.mada-open-alert-row button i { margin-left: 7px; font-style: normal; }
.mada-open-alert-consent {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 9px;
  color: #77616a;
  font-size: 9px;
  line-height: 1.5;
}
.mada-open-alert-consent input { width: 14px; height: 14px; margin: 0; accent-color: var(--coral); }
.mada-open-alert-status,
.mada-form-status { min-height: 22px; }
.mada-open-alert-status {
  margin: 8px 0 0;
  color: #705b64;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.55;
}
.mada-open-alert-status[data-state="success"], .mada-form-status[data-state="success"] { color: #35644a; }
.mada-open-alert-status[data-state="error"], .mada-form-status[data-state="error"] { color: #9d3d48; }
.mada-form-status strong,
.mada-open-alert-status strong { display: block; font-size: 12px; }
.mada-form-status span,
.mada-open-alert-status span { display: block; margin-top: 2px; font-weight: 700; opacity: .88; }
.mada-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 640px) {
  .mada-open-alert { text-align: left; padding: 16px; }
  .mada-open-alert-row { grid-template-columns: 1fr; }
  .mada-open-alert-row button { width: 100%; justify-content: center; }
}
