/* The contact form (checkpoint 21, D-161). Built to public/assets/mtz-contact.css. Black and white, the site's own buttons, Poppins 300 to 700. */
.mq, .mq * { box-sizing: border-box; }
.mq { font-family: Poppins, Prompt, sans-serif; color: #fff; text-align: left; width: 100%; }
.mq[hidden] { display: none !important; }
.mq button, .mq input { font-family: inherit; letter-spacing: normal; }
.mq__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.mq__q { display: block; margin: 0 0 8px; padding: 0; font-size: 28px; line-height: 36px; font-weight: 700; color: inherit; outline: 0; text-transform: none; }
.mq__hint { margin: 0 0 8px; font-size: 16px; line-height: 24px; }
.mq__list { list-style: none; margin: 12px 0 0; padding: 0; }
.mq__a { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 54px; padding: 8px 0; border: 0; background: none; color: inherit; font-size: 20px; line-height: 28px; font-weight: 400; text-align: left; cursor: pointer; }
/* the answer's mark is the dot that sits over every mascot's head */
.mq__a::before { content: ""; flex: none; box-sizing: border-box; width: 24px; height: 24px; padding: 4px; border: 2px solid currentColor; border-radius: 50%; background-clip: content-box; transition: transform .18s; }
@media (hover: hover) { .mq__a:hover::before { transform: scale(1.2); } }
.mq__a[aria-pressed="true"]::before { background-color: currentColor; background-clip: content-box; }
.mq__a[aria-pressed="true"] { font-weight: 700; }
.mq__f { display: block; margin: 18px 0 0; font-size: 16px; line-height: 24px; font-weight: 700; color: inherit; }
.mq__f input { display: block; width: 100%; height: 48px; margin: 2px 0 0; padding: 0; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; background: none; color: inherit; font-size: 20px; font-weight: 400; outline: 0; }
.mq__err { margin: 8px 0 0; font-size: 16px; line-height: 24px; font-weight: 700; }
.mq__err:empty { display: none; }
.mq__way { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 4px; }
.mq__way .mq__a { width: auto; min-height: 44px; font-size: 18px; gap: 10px; }
.mq__nav { display: flex; align-items: center; gap: 24px; margin-top: 26px; min-height: 54px; }
.mq .mq__go, .mqf .mq__go { min-height: 54px; padding: 0 28px; border: 2px solid currentColor; border-radius: 7px; background: none; color: inherit; font-size: 16px; line-height: 24px; font-weight: 700; letter-spacing: 2px; cursor: pointer; }
.mqf .mq__go:hover { background: #000; border-color: #000; color: #fff; }
.mq .mq__go:hover, .mqf__ask .mq__go:hover, .mqf__ask .mq__go--fill { background: #fff !important; border-color: #fff !important; color: #000 !important; }
.mqf__ask .mq__go--fill:hover { background: #000 !important; color: #fff !important; }
.mq__link { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.mq button:focus-visible, .mqf button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.mq__f input:focus { border-bottom-width: 4px; }
#mq { scroll-margin-top: 110px; outline: 0; }
.mq, .mqf { overflow-wrap: anywhere; }
.mq__in { animation: mq-in .28s ease-out both; }
@keyframes mq-in { from { opacity: 0; transform: translateX(22px); } }

/* The form itself: the whole screen. White is for the question, black is for what their answers turn into. */
html.mq-on { overflow: hidden; }
html.mq-on .mtz-consent { display: none; } /* the cookie box would cover the buttons; it is back when the form closes */
.mqf, .mqf * { box-sizing: border-box; }
.mqf { --pad: max(6vw, calc((100vw - 1280px) / 2)); --band: 0px; position: fixed; inset: 0; z-index: 900; display: grid; grid-template-rows: auto minmax(0, max-content) auto; align-content: start; padding: 0 0 var(--band); background: #fff; color: #000; font-family: Poppins, Prompt, sans-serif; text-align: left; overflow: hidden; animation: mqf-up .4s cubic-bezier(.2, .8, .3, 1) both; transition: background-color .45s, color .45s; }
.mqf[hidden], .mqf [hidden] { display: none !important; }
.mqf button, .mqf input, .mqf textarea { font-family: inherit; letter-spacing: normal; }
@keyframes mqf-up { from { transform: translateY(100%); } }
.mqf__bar { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 6px; background: currentColor; transform: scaleX(var(--p, 0)); transform-origin: 0 0; transition: transform .5s cubic-bezier(.3, .8, .3, 1); }
.mqf__head { position: relative; display: flex; justify-content: flex-end; align-items: center; min-height: 84px; padding: 12px var(--pad); }
.mqf__head .mq__link { flex: none; white-space: nowrap; }
.mqf__main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 6vw; align-content: start; margin: 0; padding: 2vh var(--pad) 12px; overflow-y: auto; overscroll-behavior: contain; }
.mqf__q { margin: 0; font-size: clamp(34px, 4.3vw, 60px); line-height: 1.15; font-weight: 700; color: inherit; outline: 0; text-transform: none; text-wrap: balance; }
.mqf__sub { margin: 16px 0 0; font-size: 20px; line-height: 30px; color: inherit; }
.mqf__note { margin: 8px 0 20px; font-size: 16px; line-height: 24px; }
.is-band .mqf__main > :last-child { min-height: 290px; }
.mqf .mq__list { margin: 0; }
.mqf .mq__a { min-height: 58px; font-size: 24px; line-height: 32px; }
.mqf .mq__way { margin: 0; } .mqf .mq__way .mq__a { min-height: 48px; font-size: 20px; }
.mq__a--many::before { border-radius: 4px; }
.mqf__main > div > .mq__f:first-child { margin-top: 0; }
.mqf .mq__f input, .mqf .mq__f textarea { font-size: 24px; height: 54px; }
.mq__f textarea { display: block; width: 100%; margin: 0; padding: 14px 18px; border: 2px solid currentColor; border-radius: 10px; background: none; color: inherit; font-weight: 400; line-height: 32px; outline: 0; resize: none; }
.mqf .mq__f textarea { height: 200px; } .mq__f textarea:focus { border-width: 4px; padding: 12px 16px; }
.mqf__main .mq__f--bare { font-size: 0; line-height: 0; }
.mqf__nav { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 6vw; padding: 8px var(--pad) 0; }
.mqf__nav > * { grid-column: 2; }
.mqf__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.mqf__err { margin: 0; min-height: 26px; font-size: 16px; line-height: 26px; font-weight: 700; }
.mqf__hint { font-size: 16px; }
.mqf__trap { position: absolute; left: -999em; width: 1px; height: 1px; opacity: 0; }
.is-next > * { animation: mqf-in .35s ease-out both; } .is-back > * { animation: mqf-back .35s ease-out both; }
.mqf__main > :last-child { animation-delay: .06s; }
@keyframes mqf-in { from { opacity: 0; transform: translateX(48px); } } @keyframes mqf-back { from { opacity: 0; transform: translateX(-48px); } }
@keyframes mqf-fade { from { opacity: 0; } }

/* their message: our words light, their answers bold, no lines */
.mqf__side { position: absolute; left: 0; right: 0; bottom: 0; height: var(--band); padding: 32px var(--pad); background: #000; color: #fff; overflow: hidden; animation: mqf-fade .3s; }
.words { height: 100%; overflow: hidden; font-size: 28px; line-height: 1.4; }
.msg { margin: 0; padding: 0; font-size: inherit; line-height: inherit; font-weight: 300; color: inherit; overflow-wrap: anywhere; }
.msg .s { display: block; text-wrap: pretty; }
.msg .v { font-weight: 700; }
.ch { animation: ch .01s both; } @keyframes ch { from { opacity: 0; } }
.msg.is-up { animation: up .45s cubic-bezier(.3, .8, .3, 1); } @keyframes up { from { transform: translateY(1.4em); } }
.dots { display: inline-flex; gap: .2em; padding: 0 .12em; vertical-align: .06em; }
.dots i { width: .22em; height: .22em; border-radius: 50%; background: currentColor; animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .16s; } .dots i:nth-child(3) { animation-delay: .32s; }
@keyframes dot { 0%, 55%, 100% { transform: none; } 28% { transform: translateY(-.28em); } }
.is-check .v { cursor: pointer; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (hover: hover) { .is-check .v:hover { background: #fff; color: #000; box-shadow: 0 0 0 4px #fff; } }
.v:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.duo { margin: 0; font-weight: 700; overflow-wrap: anywhere; text-wrap: balance; }

/* the message runs along the bottom, then takes the whole screen */
.is-band { --band: clamp(150px, calc(100vh - 560px), 360px); } .is-band.is-more { --band: clamp(56px, calc(100vh - 662px), 290px); }
.is-black .mqf__side { display: none; }
.is-black { background: #000; color: #fff; }
.mqf.is-black .mq__go:hover { background: #fff; border-color: #fff; color: #000; }
.is-black .mqf__main, .is-black .mqf__nav { display: block; }
.is-black.is-check .mqf__q { font-size: 28px; } .is-black.is-check .mqf__sub { margin-top: 4px; }
.is-check .msg { margin-top: 4vh; font-size: clamp(22px, min(2.65vw, 4.4vh), 42px); line-height: 1.35; } .is-check .msg .s { margin-bottom: .3em; }
.is-sent .duo { margin-bottom: .5em; font-size: clamp(38px, 7vw, 108px); line-height: 1.1; }
.is-sent .mqf__q { font-size: 34px; } .is-sent .mqf__sub { margin-top: 6px; } .is-sent .mqf__main { padding-top: 10vh; } .is-sent .mq__f { max-width: 640px; margin-top: 32px; } .is-sent .mqf__nav { padding-top: 4vh; }

/* leaving: a black sheet comes up and asks */
.mqf__ask { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 24px max(6vw, calc((100vw - 1280px) / 2)); background: #000; color: #fff; animation: mqf-up .4s cubic-bezier(.2, .8, .3, 1) both; }
.mqf__ask .mqf__btns { margin-top: 32px; }
.is-sent .mqf__head { visibility: hidden; }
@media (hover: none), (max-width: 900px) { .mqf__hint { display: none; } }
@media (max-height: 760px) { .mqf__head { min-height: 64px; } .mqf .mq__a { min-height: 50px; font-size: 20px; } .is-band .mqf__main > :last-child { min-height: 250px; } .is-band { --band: clamp(130px, calc(100vh - 490px), 360px); } .is-band.is-more { --band: clamp(56px, calc(100vh - 597px), 290px); } .mqf__side { padding-top: 18px; padding-bottom: 18px; } }
@media (max-width: 760px) { /* the buttons sit at the thumb; everything fits a phone with the browser bars showing */
  .mqf.mqf { --pad: 22px; grid-template-rows: auto minmax(0, 1fr) auto; align-content: stretch; }
  .mqf.is-band { --band: clamp(84px, calc(100vh - 545px), 250px); --band: clamp(84px, calc(100dvh - 545px), 250px); } .mqf.is-band.is-more { --band: clamp(50px, calc(100vh - 630px), 250px); } .mqf.is-black { --band: 18px; }
  .mqf__head { min-height: 56px; padding-top: 10px; padding-bottom: 2px; } .mqf__head .mq__link { font-size: 15px; }
  .mqf .mqf__main { display: block; padding-top: 8px; } .mqf .mqf__q { font-size: 30px; } .mqf .mqf__sub { margin-top: 6px; font-size: 17px; line-height: 24px; }
  .mqf .mqf__main > :last-child { margin-top: 14px; min-height: 0; }
  .mqf .mq__a { min-height: 50px; font-size: 19px; line-height: 25px; padding: 5px 0; } .mqf .mq__way { gap: 0 22px; } .mqf .mq__way .mq__a { min-height: 44px; font-size: 18px; }
  .mqf .mq__f input, .mqf .mq__f textarea { font-size: 20px; height: 48px; } .mqf .mq__f textarea { height: 132px; line-height: 28px; }
  .mqf .mqf__nav { display: block; padding: 4px var(--pad) 12px; } .mqf__nav .mq__go { flex: 1; } .mqf__err { min-height: 0; } .mqf__btns { margin-top: 4px; }
  .mqf__side { padding: 14px var(--pad); }
  .mqf.is-sent .mqf__head { min-height: 0; height: 0; padding: 0; overflow: hidden; } .mqf.is-sent .mqf__main { padding-top: 30px; } .mqf.is-sent .mqf__q { font-size: 24px; }
  .mqf.is-check .mqf__q { font-size: 24px; } .mqf.is-check .msg { font-size: clamp(18px, 3.1vh, 25px); }
}
@media (max-width: 760px) and (max-height: 720px) {
  .mqf__side { padding: 10px var(--pad); }
  .mqf__head { min-height: 50px; } .mqf .mqf__main { padding-top: 2px; } .mqf .mqf__q { font-size: 26px; } .mqf .mqf__main > :last-child { margin-top: 8px; } .mqf .mq__a { min-height: 44px; font-size: 18px; line-height: 23px; padding: 3px 0; } .mqf__main .mq__f { margin-top: 8px; } .mqf__note { margin-bottom: 8px; }
  .mqf .mq__go { min-height: 50px; }
}
.mqf.mqf.is-typing { --band: 0px; bottom: auto; } .is-typing .mqf__side { display: none !important; } .is-typing .mqf__head { min-height: 48px; padding-top: 2px; padding-bottom: 2px; } .mqf.is-typing .mqf__q { font-size: 24px; } .mqf.mqf.is-typing { padding-top: 0; }

@media (prefers-reduced-motion: reduce) { .mqf, .mqf *, .mqf *::before, .mqf *::after, .mq * { animation: none !important; transition: none !important; } }
