/* Quiet relationship hero; scoped to the first screen. */
.pa-page .pa-hero.relationship-hero{position:relative;min-height:740px;height:100svh;padding:0;display:block;background:#faf8f3;overflow:hidden;isolation:isolate}
.pa-page .relationship-hero:before,.pa-page .relationship-hero:after{display:none}
.pa-page .relationship-hero .pa-hero__content{display:none}
.relationship-hero .rel-layout{position:absolute;z-index:3;top:28%;left:24px;right:24px;display:flex;align-items:center;flex-direction:column;text-align:center}
.pa-page .relationship-hero .rel-heading{font-family:"Source Serif 4",serif;font-size:80px!important;font-weight:400;line-height:1.07;letter-spacing:-.045em;margin:0;max-width:1040px;text-wrap:balance;color:#29241f}
.pa-page .relationship-hero .rel-heading em{display:block;font-size:inherit!important;font-weight:400;font-style:normal;color:#c3512c}
.pa-page .relationship-hero .rel-layout .pa-form-wrap{width:min(100%,480px);margin:38px auto 0;position:relative}
.pa-page .relationship-hero .pa-form{box-shadow:0 7px 25px #62462b0b;background:#fffdf9;border:1px solid #e4dacf}
.pa-page .relationship-hero .pa-form button{box-shadow:none}
.rel-motion{position:absolute;z-index:1;width:min(1200px,100vw);height:72%;left:50%;bottom:-20%;transform:translateX(-50%);pointer-events:none;mask-image:linear-gradient(transparent 0%,#000 18%,#000 85%,transparent 100%)}
.rel-motion canvas{display:block;width:100%;height:100%}
.rel-motion:before{content:'';position:absolute;left:18%;right:18%;bottom:16%;height:9%;background:#e3bd9b;opacity:.24;border-radius:50%;filter:blur(34px);z-index:-1}
.rel-motion-fallback{display:none;position:absolute;left:18%;right:18%;top:20%;height:55%;border:52px solid #f2c7a9;border-top-color:#fff3e7;border-right-color:#df956c;border-radius:50%;transform:rotate(-24deg);box-shadow:inset 0 0 25px #fff5ea,0 0 20px #e8c5a233}
.rel-motion.no-webgl .rel-motion-fallback{display:block}
.rel-motion.no-webgl canvas{display:none}
.rel-pause{position:absolute;bottom:24px;right:40px;z-index:4;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d7c9bc;border-radius:50%;background:#faf8f399;color:#7d6958;cursor:pointer}
.rel-pause:hover{background:#fff6eb}
.rel-pause:focus-visible{outline:2px solid #b94a25;outline-offset:4px}
.rel-pause svg{width:16px;height:16px}
@media(min-width:1800px){.pa-page .relationship-hero .rel-heading{font-size:88px!important}.rel-motion{width:1400px}}
@media(max-height:780px) and (min-width:761px){.relationship-hero .rel-layout{top:23%}.pa-page .relationship-hero .rel-heading{font-size:72px!important}}
@media(max-width:760px){
 .pa-page .pa-hero.relationship-hero{height:100svh;min-height:700px;padding:0}
 .relationship-hero .rel-layout{left:20px;right:20px;top:27%}
 .pa-page .relationship-hero .rel-heading{font-size:46px!important;line-height:1.1;letter-spacing:-.045em}
 .pa-page .relationship-hero .rel-layout .pa-form-wrap{margin-top:28px;width:min(100%,380px)}
 .relationship-hero .pa-header__edition{display:none}
 .relationship-hero .pa-header{display:flex;justify-content:space-between;align-items:flex-start}
 .relationship-hero .pa-header__languages{margin-left:auto}
 .relationship-hero .pa-brand{position:relative}
 .relationship-hero .pa-brand__divider{display:none}
 .relationship-hero .pa-brand__descriptor{position:absolute;left:0;top:38px;font-size:17px;line-height:1.1;letter-spacing:0!important;white-space:nowrap}
 .rel-motion{width:780px;height:60%;bottom:-12%;mask-image:linear-gradient(transparent,#000 20%,#000 85%,transparent)}
 .rel-pause{right:20px;bottom:18px}
}
@media(max-width:360px){.pa-page .relationship-hero .rel-heading{font-size:39px!important}.relationship-hero .rel-layout{top:25%}.rel-motion{width:680px}}
@media(prefers-reduced-motion:reduce){.rel-pause{display:none}}

/* Full-width layered video hero; scoped to first screen. */
.pa-page .relationship-hero{background:#f8f7f3!important}
.relationship-hero .rel-layout{top:57%;left:24px;right:24px;transform:translateY(-50%)}
.pa-page .relationship-hero .rel-heading{font-size:clamp(40px,4.7vw,80px)!important;max-width:none;white-space:nowrap;letter-spacing:-.045em;text-shadow:0 1px 9px #f8f7f377}
.pa-page .relationship-hero .rel-heading em{display:inline;margin-left:.19em}
.pa-page .relationship-hero .rel-layout .pa-form-wrap{margin-top:32px}
.relationship-hero .rel-motion{inset:auto 0 0;width:100%;height:64%;transform:none;opacity:.43;mask-image:linear-gradient(transparent 0%,#000 24%,#000 94%,transparent 100%)}
.relationship-hero .rel-motion:before,.relationship-hero .rel-motion:after{display:none}
.relationship-hero .rel-motion video,.relationship-hero .rel-motion canvas{position:absolute;inset:0;width:100%;height:100%;transform:none;object-fit:cover;mask-image:linear-gradient(90deg,transparent 0%,#000 9%,#000 91%,transparent 100%)}
.relationship-hero .rel-motion canvas{object-fit:contain}
@media(max-width:760px){
 .relationship-hero .rel-layout{top:54%;left:20px;right:20px}
 .pa-page .relationship-hero .rel-heading{font-size:46px!important;white-space:normal;line-height:1.1}
 .pa-page .relationship-hero .rel-heading em{display:block;margin-left:0}
 .relationship-hero .rel-motion{height:55%;opacity:.35}
 .pa-page .relationship-hero .rel-layout .pa-form-wrap{margin-top:28px}
}
@media(max-width:360px){.pa-page .relationship-hero .rel-heading{font-size:39px!important}}
/* Preserve whole gestures on narrow screens instead of cropping both people. */
@media(max-width:760px){
 .relationship-hero .rel-motion video{object-fit:contain;object-position:center bottom}
}
/* Open upper footage; keep only a soft bottom edge. */
.relationship-hero .rel-motion{mask-image:none;overflow:visible}
.relationship-hero .rel-motion video{inset:auto 0 0;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;will-change:transform}
.relationship-hero .rel-motion video{mask-image:linear-gradient(90deg,transparent 0%,#000 9%,#000 91%,transparent 100%),linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%);mask-composite:intersect;-webkit-mask-composite:source-in}
.pa-page .relationship-hero .pa-form{
 background:rgba(255,253,249,.14);
 border:1px solid rgba(255,255,255,.52);
 backdrop-filter:blur(9px) saturate(115%);
 -webkit-backdrop-filter:blur(9px) saturate(115%);
 box-shadow:inset 0 1px 0 #ffffffa6,0 8px 28px #62462b10;
}
.pa-page .relationship-hero .pa-form input{background:transparent}
/* Fade the moving layer into the following section, below the readable copy. */
.pa-page .pa-hero.relationship-hero::after{content:"";display:block;position:absolute;z-index:2;left:0;right:0;top:auto;bottom:0;height:180px;transform:none;border-radius:0;background:linear-gradient(to bottom,rgba(248,247,243,0),rgba(248,247,243,.45) 38%,#f8f7f3 92%);pointer-events:none}
@media(max-width:760px){.pa-page .pa-hero.relationship-hero::after{height:130px}}
.pa-page .relationship-hero .rel-announcement{font-family:"Source Serif 4",serif;font-size:17px;font-weight:700;line-height:1.5;color:#c3512c;margin:0 0 28px}
.rel-announcement span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#f65a23;box-shadow:0 0 0 4px #f65a2312;margin-right:10px;vertical-align:middle}
.pa-page .relationship-hero .rel-product-copy{position:absolute;z-index:3;bottom:40px;left:24px;right:24px;text-align:center;font-family:"Source Serif 4",serif;font-size:17px;font-weight:400;line-height:1.65;color:#514b43;max-width:610px;margin:0 auto;text-wrap:pretty}
@media(max-width:760px){
 .pa-page .relationship-hero .rel-announcement{margin-bottom:22px}
 .pa-page .relationship-hero .rel-product-copy{bottom:72px;left:20px;right:20px;margin:0 auto;max-width:350px}
 .pa-page .relationship-hero .rel-layout .pa-form-wrap{margin-top:24px}
}

/* Hide the hero playback control. */
.pa-page .relationship-hero .rel-pause {display:none !important;}

/* Keep the MR 1534 two-line hero title readable above the video. */
.pa-page .relationship-hero .rel-heading {
  max-width: min(1040px, 100%);
  white-space: normal;
  font-size: clamp(42px, 5vw, 76px) !important;
}
.pa-page .relationship-hero .rel-heading em {
  display: block;
  margin-left: 0;
}
@media (max-width: 760px) {
  .pa-page .relationship-hero .rel-heading {
    font-size: clamp(36px, 10vw, 46px) !important;
  }
}

/* Lift the hero copy and moving artwork as one composition. */
.relationship-hero .rel-layout { top: 51%; }
.relationship-hero .rel-motion { bottom: 5%; }
.pa-page .relationship-hero .rel-product-copy { bottom: 68px; }
@media (max-width: 760px) {
  .relationship-hero .rel-layout { top: 48%; }
  .relationship-hero .rel-motion { bottom: 4%; }
  .pa-page .relationship-hero .rel-product-copy { bottom: 92px; }
  .pa-page .relationship-hero .rel-heading { font-size: clamp(32px, 8.8vw, 42px) !important; }
}

/* Hints stay quieter than entered values and selected answers. */
.pa-page .relationship-hero .pa-form input::placeholder,
#waitlist-dialog .wl-fields textarea::placeholder {
  color: #a3978b;
  opacity: 1;
}
#waitlist-dialog .wl-fields select:invalid,
#waitlist-dialog .wl-fields select option[value=''] {
  color: #a3978b;
}
